Visit The New, Modern Unix Linux Community

Help, my printers have disappeared

Thread Tools Search this Thread
Operating Systems Solaris Help, my printers have disappeared
# 1  
Help, my printers have disappeared

Hi all

I have a really strange situation. This morning I ran lpstat -p and it didn't return any results. I ran lpstat -t and the scheduler is running.

How strange, it seems all the printers have disappeared from my server.

Can anyone perhaps explain to me how this is possible?
# 2  
lpsched -v

Print and post what the log file says.. (/var/adm/lp/log)
possible of permission issue with any directories...?Smilie
# 3  
I've stopped and started lpsched, but the problem persists.

If I do a lpstat -p <printername> it does actually display the printer details. I'm also able to print to the printers.

Since the 16th of July the following message started appearing in /var/lp/logs/lpsched. I don't know if this has anything to do with the problem.

07/16 15:56:30: printer fault. type: write root, status: 14
msg: (exec exit fault)
07/16 15:57:31: printer fault. type: write root, status: 14
msg: (exec exit fault)
07/16 15:58:32: printer fault. type: write root, status: 14
msg: (exec exit fault)
07/16 15:59:33: printer fault. type: write root, status: 14
msg: (exec exit fault)
# 4  
First solution
1. check if lpsched is running
2. Yes lpshut, then lpsched
3. run lpsched

Second solution:
/etc/init.d/lp stop/start

Also, you may need :
enable lptrad
accept lptrad

Third solution:
kill -9 pid_lpshed
cd /var/spool/lp
rm -r tmp/*
rm -r requests/*
# 5  
The write root message is telling you that it is instructed that the LP print service to set a default policy of writing root - sending the printer fault messages to the terminal on which root is logged in .eg if the printer fails. This may help to get quick notification of faults as user tries to fix the problem.Smilie

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #331
Difficulty: Medium
The last Windows operating system to be based on the Windows 9x kernel was Windows 98.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris partition in boot screen disappeared - F11??

I have a problem where I installed several OSes as partitions on one disk. And suddenly I cannot see Solaris 11.3 in the bios boot screen anymore. I have no clue why. Do anyone have a suggestion so I can dig further somewhere? I first installed Solaris 11.3. Then Windows10 (gaming). Then Linux... (3 Replies)
Discussion started by: kebabbert
3 Replies

2. Solaris

LDoms disappeared

System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD. I have been experimenting on the above system, using ldmp2v to create "clones" of my physical systems as LDoms on the server when there was an unscheduled power outage. After the system came back up I had lost my LDoms, although... (7 Replies)
Discussion started by: apmcd47
7 Replies

3. Post Here to Contact Site Administrators and Moderators

Threads disappeared

Dear admins, it seems that some threads or even users have recently (~ 2 days or so) disappeared. Examples: giuliangiuseppe and greycells. The latter asked me for the solution I provided earlier this week. What happened? Can you help? Regards Rüdiger (10 Replies)
Discussion started by: RudiC
10 Replies

4. Solaris

Moved zone and data disappeared?

Can't find the data in either pool. bash-3.00# zoneadm -z PPSMzone1 move /zpool/ppsmzone1 cannot create ZFS dataset zpool/ppsmzone1: dataset already exists Moving across file-systems; copying zonepath /rpool/PPSMzone1... Cleaning up zonepath /rpool/PPSMzone1... bash-3.00# zonecfg -z... (1 Reply)
Discussion started by: LittleLebowski
1 Replies

5. Solaris

XSCF prompt disappeared, Sun M5000

Hi, I've got an issue here: After I logon to the xscf prompt of this Sun M5000 and did 'XSCF> version -c xcp', the xscf prompt disappeared. I can't get it back and can't log out. exit rebootxscf logout #. #> #> ~# ~# exit sendbreak exit I tried to set the Mode Switch to the service... (3 Replies)
Discussion started by: aixlover
3 Replies

6. Solaris

HBA disappeared after reboot

Hello all I was configuring a SUN 2540 raid and after a reboot the hba`s is gone. There is no longer an entry in etc/path_to_inst for them (2 cards). I tried a reconfigure boot several times but it does not work. The hba`s is a SUN qlogic 2200 in x4240 server (AMD). Using solaris 10 update7.... (6 Replies)
Discussion started by: vettec3
6 Replies

7. UNIX Desktop Questions & Answers

MV'd a file, now it's disappeared...

I'm doing an assignment for a Unix course at school. I attempted to rename one of the shell programming questions from home to Q1 by typing: mv home Q1 It returned a message saying mv: cannot access home And now there's no home or Q1 in the directory. Please help! (8 Replies)
Discussion started by: slogged
8 Replies

8. UNIX for Dummies Questions & Answers

crontab disappeared

when i am doing the crontab editing i am using the setenv EDITOR /usr/bin/vi but their was an error i tried to put set EDITOR /usr/bin/vi and it wnet through and i started editing using the command crontab -e but somehow it is slow and displayed something like e300 and i tried to stop because it... (3 Replies)
Discussion started by: afuella
3 Replies

9. UNIX for Dummies Questions & Answers

My partition disappeared!!!! URGENT!! (newbie factor)

I just inst freeBSD boot installation and it didnt work for(probably my lack of knowledge) reasons but i now have to partitions in freeBSD and i really need them back for windows at the moment. i just cant find them. The bad thing is that i only got this bundled version of windows so i cant really... (2 Replies)
Discussion started by: riwa
2 Replies

10. UNIX for Dummies Questions & Answers


I'm in need of finding out on how to mount and dismount printers. Thx, shawnnee (1 Reply)
Discussion started by: shawnnee
1 Replies

Featured Tech Videos