LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2005, 03:10 PM   #1
mibu
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
CUPS/SAMBA share


I've setup Slackware system for a CUPS printshare via SAMBA as well as a SAMBA file share for my Apple System. This is my first time setting up CUPS and SAMBA

For CUPS setup:
CUPS is listening on default port 631. I've uncommented the octet-strem from mime.types and mime.convs. I've also cd

<Location />
AuthType None
Order Deny,Allow
Deny from None
Allow from All
</Location>
My LAN is on a 192.168.1.x subnet

the <Location /admin> has the same entry below. I don't know if both are needed.

Here is the /etc/printcap content:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
laserjet5p|laserjet5p:rm=192.168.1.58:rp=laserjet5p:

SAMBA runs properly. I can copy and delete files from within OS X. CUPS remains a problem.

Hosts.allow has
# (my Mac's LAN IP)
192.168.1.15
#The router
192.168.1.1

Hosts.deny has:
ALL:PARANOID

I had some entries in /var/log/cups about not finding the host name earlier (which I've fixed). The problem is that since then, I don't get any error messages. When I seutp OSX printing, I seutp 192.168.1.15 using Ghostscript (as it showed up in the options). <b>It seems to be finding the printer, but I'm not getting any output! </b>

This was the initial problem and I fixed it in /etc/hosts (I didn't but a dummy domain in)
E [13/Jun/2005:15:01:39 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure

This error is an attempt on my part to print from the command line, no LEDs flashed on the printer.
E [13/Jun/2005:15:29:08 -0500] print_job: resource name '/printers/cupsTonerSave=True' no good!
E [13/Jun/2005:15:29:33 -0500] print_job: resource name '/printers/hplj4' no good!


/var/log/cups/error_log:

Code:
I [13/Jun/2005:12:47:28 -0500] Listening to 0:631
I [13/Jun/2005:12:47:28 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:12:47:28 -0500] Configured for up to 100 clients.
I [13/Jun/2005:12:47:28 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:12:47:28 -0500] Full reload is required.
I [13/Jun/2005:12:47:33 -0500] LoadPPDs: Wrote "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:12:47:33 -0500] Full reload complete.
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p device-uri to "parallel:/dev/lp0" (was "file:/dev/null".)
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] New printer 'laserjet5p' added by 'root'.
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p printer-is-accepting-jobs to 1 (was 0.)
I [13/Jun/2005:14:32:57 -0500] Setting laserjet5p printer-state to 3 (was 5.)
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] Printer 'laserjet5p' modified by 'root'.
I [13/Jun/2005:14:32:57 -0500] Saving printers.conf...
I [13/Jun/2005:14:32:57 -0500] Printer 'laserjet5p' modified by 'root'.
I [13/Jun/2005:14:43:41 -0500] Listening to 0:631
I [13/Jun/2005:14:43:41 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:14:43:41 -0500] Configured for up to 100 clients.
I [13/Jun/2005:14:43:41 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:14:43:41 -0500] Full reload is required.
I [13/Jun/2005:14:43:43 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:14:43:43 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:14:43:43 -0500] Full reload complete.
I [13/Jun/2005:14:49:04 -0500] Listening to 0:631
I [13/Jun/2005:14:49:04 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:14:49:04 -0500] Configured for up to 100 clients.
I [13/Jun/2005:14:49:04 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:14:49:04 -0500] Full reload is required.
I [13/Jun/2005:14:49:07 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:14:49:07 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:14:49:07 -0500] Full reload complete.
I [13/Jun/2005:15:01:36 -0500] Listening to 0:631
I [13/Jun/2005:15:01:36 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:01:36 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:01:36 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:01:36 -0500] Full reload is required.
I [13/Jun/2005:15:01:39 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:01:39 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:01:39 -0500] Full reload complete.
E [13/Jun/2005:15:01:39 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure
I [13/Jun/2005:15:07:58 -0500] Listening to 0:631
I [13/Jun/2005:15:07:58 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:07:58 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:07:58 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:07:58 -0500] Full reload is required.
I [13/Jun/2005:15:08:00 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:08:00 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:08:00 -0500] Full reload complete.
E [13/Jun/2005:15:08:00 -0500] StartListening: Unable to find IP address for server name "local" - Host name lookup failure
I [13/Jun/2005:15:24:13 -0500] Listening to 0:631
I [13/Jun/2005:15:24:13 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:24:13 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:24:13 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:24:13 -0500] Full reload is required.
I [13/Jun/2005:15:24:16 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:24:16 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:24:16 -0500] Full reload complete.
E [13/Jun/2005:15:24:25 -0500] get_printer_attrs: resource name '/' no good!
E [13/Jun/2005:15:24:47 -0500] get_printer_attrs: resource name '/' no good!
E [13/Jun/2005:15:29:08 -0500] print_job: resource name '/printers/cupsTonerSave=True' no good!
E [13/Jun/2005:15:29:33 -0500] print_job: resource name '/printers/hplj4' no good!
I [13/Jun/2005:15:30:11 -0500] Adding start banner page "none" to job 1.
I [13/Jun/2005:15:30:11 -0500] Adding end banner page "none" to job 1.
I [13/Jun/2005:15:30:11 -0500] Job 1 queued on 'laserjet5p' by 'root'.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/pstops (PID 18685) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/pstoraster (PID 18686) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started filter /usr/lib/cups/filter/rastertohp (PID 18687) for job 1.
I [13/Jun/2005:15:30:11 -0500] Started backend /usr/lib/cups/backend/parallel (PID 18688) for job 1.
E [13/Jun/2005:15:30:11 -0500] [Job 1] No pages found!
E [13/Jun/2005:15:30:11 -0500] PID 18687 stopped with status 1!
I [13/Jun/2005:15:30:11 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
E [13/Jun/2005:15:30:11 -0500] PID 18686 stopped with status 127!
I [13/Jun/2005:15:30:11 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
I [13/Jun/2005:15:37:00 -0500] Scheduler shutting down normally.
I [13/Jun/2005:15:40:07 -0500] Listening to 0:631
I [13/Jun/2005:15:40:07 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:40:07 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:40:07 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:40:07 -0500] Full reload is required.
I [13/Jun/2005:15:40:10 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:40:10 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:40:10 -0500] Full reload complete.
I [13/Jun/2005:15:42:00 -0500] Listening to 0:631
I [13/Jun/2005:15:42:00 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [13/Jun/2005:15:42:00 -0500] Configured for up to 100 clients.
I [13/Jun/2005:15:42:00 -0500] Allowing up to 100 client connections per host.
I [13/Jun/2005:15:42:00 -0500] Full reload is required.
I [13/Jun/2005:15:42:02 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 561 PPDs...
I [13/Jun/2005:15:42:02 -0500] LoadPPDs: No new or changed PPDs...
I [13/Jun/2005:15:42:02 -0500] Full reload complete.
E [13/Jun/2005:15:50:04 -0500] get_printer_attrs: resource name '/' no good!
I'm all out of ideas. Please help me.

Thank you!
 
Old 06-13-2005, 06:00 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
do you have to create a port 631 entry in the /etc/services file?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
printer share permissions under CUPS in fedora mlu Linux - Networking 1 03-20-2005 05:01 PM
share name not found Windows Samba printer CUPS jjge Linux - Software 1 08-04-2004 09:14 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
cups share howto? drigz Linux - Hardware 2 05-20-2004 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration