Solved

Unable to open printcap file /etc/printcap for read!

Posted on 2006-11-16
4
6,672 Views
Last Modified: 2013-12-27
OK, I'm back again with another, probably simple, Solaris question...

We had a consultant install Solaris 9 for us a while back and it is a basic install, except for Samba and the applicaiton we use (Datafax) on the box.  We've installed our postscript printer and have the machine working, more or less, at this point.  I'm trying to learn Solaris as much as I can and tweak out the smallish problems we still have on our own.

So, I've set up a Syslog server to have all my devices send their syslogs to and noticed this error:

2006-11-16 09:01:04      Daemon.Error      solaris9      Nov 16 08:57:28 smbd[27358]: [ID 702911 daemon.error]   Unable to open printcap file /etc/printcap for read!
2006-11-16 09:01:04      Daemon.Error      solaris9      Nov 16 08:57:28 smbd[27358]: [ID 702911 daemon.error] [2006/11/16 08:57:28, 0] printing/pcap.c:(159)

It seems to happen every 10-15 minutes or so, however no definitive regularity to it... it just happens a lot!  The error seems to be related to Samba somehow and I found one or two references on the Internet to the problem, but no solutions.


Here's the rub, that file does not exist on my machine...  so do I need to create it?  If so, what's the syntax of the file?  Who should be the owner?  

Any help would be appreciated, this is not an emergency, I'm trying to clean up the machine for production!
0
Comment
Question by:ParadiseITS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 17962496
Check your priinter setting in the samba config file smb.conf , please read this doc:

http://ftp.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

for "The [printers] section"

and this samba HowTo:
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/
0
 
LVL 9

Author Comment

by:ParadiseITS
ID: 17966864
Hmm.. seems to answer all my questions except one, how do I restart the daemon?   It shows the smbd -D to start it, but I don't see a reference on how to stop it w/o rebooting my server...
0
 
LVL 38

Expert Comment

by:yuzh
ID: 17971456
you can restart inetd or smbd and nmbd.

eg:
pkill -HUP smbd
pkill -HUP nmbd

also have a look at this doc:
http://www.sun.com/bigadmin/content/submitted/samba_on_solaris8.html

Have a nice weekend!
0
 
LVL 9

Author Comment

by:ParadiseITS
ID: 18045295
Sorry I've let this go...  been busy plus the holiday.  I've stopped and restarted the services, I'll wait a couple of hours and if it looks clean I'll close the question!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question