10-28-2002
Found the following on SunSolve - hope it helps:
Quote:
After booting a system, trying to print gives an error message
as follows :
% lpr /etc/motd
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.
%
% lpq
Warning: no daemon present
Rank Owner Job Files Total Size
1st ...
%
The /usr/lib/lpd process must be manually started in order for
printing to work successfully.
Problem Solution Top
Check the /etc/rc file and make sure the following section
is not commented out :
#if [ -f /usr/lib/lpd ]; then
# rm -f /dev/printer /var/spool/lpd.lock
# /usr/lib/lpd; echo -n ' printer'
#fi
If it is, uncomment this section in the /etc/rc file, and the
lpd daemon will automatically be started at boot-up time :
if [ -f /usr/lib/lpd ]; then
rm -f /dev/printer /var/spool/lpd.lock
/usr/lib/lpd; echo -n ' printer'
fi
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi
how to write deamon program
i specified in detail i want to write c++ program when it run it run like deamon process (1 Reply)
Discussion started by: munnu
1 Replies
2. Solaris
hi i am able to see the snmpd service running in my machine. i would like to get activate snmptrapd deamon services in my solaris box, could any one suggest me in getting activate the snmptrapd service (0 Replies)
Discussion started by: praveen.yenegal
0 Replies
3. AIX
How will we check whether error deamon is started or not? any command is there? If it is not started how will we start the deamon. This server is highly critical server.
Pls, Let me know.
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
4. UNIX for Dummies Questions & Answers
Hi experts,
I haved checked dir /etc/xinetd.d and there are no ftp and telnet files
in this dir
It means that the deamon's for ftp and telnet has not been installed on
my server or OS.
But,my question is in the same folder /etc/xinetd.d i have got files like:
echo netstat ....
so,... (1 Reply)
Discussion started by: salil2012
1 Replies
5. Red Hat
Hi everyone.
Now, i want to permit for an user to start, stop and reconfig some of daemon on Redhat system without root permission.
So how can i do ?
Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies
6. AIX
we have several deamon processes which were killed for some unknown reasons. we have to bring the deamon back manually everytime. Deamons running on 2 identical instances. It is ok on one instance but be killed 3 or 4 times a day on another. Any idea how to monitor it? like who/how the processes be... (3 Replies)
Discussion started by: hamiltonhall
3 Replies
7. Linux
I have install centos on my server,.. then after rebooting 2 ,3 times , hal deamon cannot start, and system hang on boot.. when i google, i found the solution which is off the hal daemon service... my question is, what is the effect if i off the deamon service ?:confused:
tq (2 Replies)
Discussion started by: ultramen7
2 Replies
8. Solaris
Hi All,
What is the Solaris OS deamon which controls the Libraries?
Regards,
Rakesh. (2 Replies)
Discussion started by: rakesh.413
2 Replies
9. Solaris
Guys, I have a issue that I am trying to rectify please advise.
lpstat -t shows
scheduler is running
printer lext644 disabled since Mon Dec 02 19:48:18 2013. available.I have restarted the printer service and it shows online but the above says disabled. I have a lot of jobs in the print... (1 Reply)
Discussion started by: terrywhitejr
1 Replies
10. AIX
Hello,
In my HACMP cluster in 2 nodes, on active node, I have a core generated , so in errpt errors, I see BC3BE5A3 and the Failing Module is "clconfd" because "caavg_private" exists in this active node.
This deamon "clconfd" is inoperative.
Should I restart this deamon dynamically ?
Do... (2 Replies)
Discussion started by: LoLo92
2 Replies
PSF(8) System Manager's Manual PSF(8)
NAME
psf - PostScript filter
SYNOPSIS
psf [ -n name ] [ -h host ] [ -w width ] [ -l length ] [ -i indent ] [ -c ]
DESCRIPTION
psf is an lpd filter for PostScript printing. psf interprets the name it was called with to determine what filters to invoke. First, if
the string ``pap'' appears anywhere in the name, psf invokes pap to talk to a printer via AppleTalk. Next, if the string ``rev'' appears,
psf invokes psorder to reverse the pages of the job. Finally, if psf was called with a filter's name as the leading string, it invokes that
filter. If there is no filter to run, psf examines the magic number of the input, and if the input is not PostScript, converts it to Post-
Script.
KLUDGE
In the default configuration, psf supports two kludges. The first causes psf to check its name for the letter `m'. If this letter is
found and accounting is turned on, psf calls pap twice, once to get an initial page count and to print the job, and another time to get a
final page count. This is a work-around for bugs in a variety of PAP implementions that cause printers to never properly close the PAP
output file. A notable example is any printer by Hewlett-Packard.
The second kludge causes psf to examine its name for the letter `w'. If this letter is found and accounting is turned on, psf calls pap
with the -w flag. This flag causes pap to wait until the printer's status contains the string `idle'. Once this string is found, the job
is printed as normal. This kludge is a work-around for printers, notably Hewlett-Packard's LaserJet IV, which will report a page count
while a previous jobs is still printing.
EXAMPLE
The sample printcap entry below invokes psf to print text files, PostScript files, troff's C/A/T output, and TeX's DVI output, to an
AppleTalk connected LaserWriter Plus. Since the LaserWriter Plus stacks pages in descending order, we reverse the pages and print the burst
page last.
laser|lp|LaserWriter Plus on AppleTalk:
:sd=/usr/spool/lpd/laser:
:lp=/usr/spool/lpd/laser/null:
:lf=/var/adm/lpd-errs:pw#80:hl:
:of=/usr/lib/filters/ofpap:
:if=/usr/lib/filters/ifpaprev:
:tf=/usr/lib/filters/tfpaprev:
:df=/usr/lib/filters/dfpaprev:
Note that if the host in question spools to more than one AppleTalk printer, /dev/null should not be used for the lp capability. Instead, a
null device should be created with mknod for each printer, as has been done above.
Finally, there is a file in the spool directory, /var/spool/lpd/laser, called .paprc, which pap reads for the AppleTalk name of the
printer.
SEE ALSO
psorder(1), printcap(5), lpd(8), mknod(8), pap(8).
netatalk 1.2 17 Dec 1991 PSF(8)