Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Print deamon? Solaris 4.1.4 Post 30816 by RTM on Monday 28th of October 2002 10:24:52 AM
Old 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

deamon process

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

how to activate snmptrapd deamon in solaris machine

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

Error Deamon.

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

Default installed deamon's?

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

Permissionfor some deamon

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

how to monitor deamon processes

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

Hal deamon..

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

What is the Solaris OS deamon which controls Library?

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

Setting up Solaris 10 to print to a windows print server

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

Clconfd deamon on HACMP

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
cups-lpd(8)						      Easy Software Products						       cups-lpd(8)

NAME
cups-lpd - receive print jobs and report printer status to lpd clients SYNOPSIS
cups-lpd [ -o option=value ] DESCRIPTION
cups-lpd is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. cups-lpd does not act as a standalone network daemon but instead operates using the Internet "super-server" inetd(8). Add the following line to the inetd.conf file to enable the cups-lpd daemon: printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd If you are using the newer xinetd(8) daemon, add the following lines to the xinetd.conf file: service printer { socket_type = stream protocol = tcp wait = no user = lp server = /usr/lib/cups/daemon/cups-lpd } SECURITY
cups-lpd currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny files used by TCP wrappers. Therefore, running cups-lpd on your server will allow any computer on your network (and perhaps the entire Internet) to print to your server. While xinetd has built-in access control support, you should use the TCP wrappers package with inetd to limit access to only those comput- ers that should be able to print through your server. OPTIONS
The -o option to cups-lpd inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing: printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd -o document-format=application/octet-stream server = /usr/lib/cups/daemon/cups-lpd server_args = -o document-format=application/octet-stream The example shown resets the document format to be application/octet-stream, which forces auto-detection of the print file type. COMPATIBILITY
cups-lpd does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent determined users from submitting print jobs. While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable. SEE ALSO
inetd(8), xinetd(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 4 March 2002 Common UNIX Printing System cups-lpd(8)
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy