bothered by bsd-gw[ID] lpr.error unknown printer (laser1)


 
Thread Tools Search this Thread
Operating Systems Solaris bothered by bsd-gw[ID] lpr.error unknown printer (laser1)
# 1  
Old 02-05-2006
bothered by bsd-gw[ID] lpr.error unknown printer (laser1)

Please help!

This message is creating a space problem in my /var/adm/messages and I don't know where it's coming from. I don't have any printer on my system.
# 2  
Old 02-05-2006
Not sure if this will help or not - example for the same type of issue but with the print job coming from another system. It should assist - just use it as if your server is also the remote one.

Quote:
On occasion a printer will get removed while a job is still queued somewhere on the network. As a result, you will have a rogue print job on a Solaris[TM] 2.6 or higher system. Usually, there is no hint of a problem unless the messages file fills the /var partition, /var/adm/messages is consulted for other problems or you see it on the system console.

Example of error message found in /var/adm/messages:

Dec 5 08:39:32 venus bsd-gw [7220]: [ID 9370 lpr.error] request to printer_X (unknown printer) from mars

Where "venus" is the host whose messages file is being written to, "printer_X" is the printer queuename that is unknown and "mars" is the host that is sending the request. bsd-gw is the stamp that the incoming in.lpd print server process uses for an id.

Solution:

Option 1: To stop the messages from being written

Telnet or otherwise access the host identified after the "from" (mars in the example above) and remove the print job and the missing printer (printer_X).

You can remove the print job with the command "# cancel <job_id>".

Then re-create the printer using the lpadmin command below:

#lpadmin -p <missing printer> -v /dev/null -I any

#enable <missing printer>

#accept <missing printer>

When the messages stop, just delete the printer.

# lpadmin -x <missing printer>
# 3  
Old 02-06-2006
chaos moderated!

Much thanks to the moderator I have one less headache! U r the guru!

____
kicko
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting unknown operator error while using a function

Hi, I wrote a function for the first time and not able to get the desired result. I have requirement to execute 10 queries. For this i wrote a function like below. function Command { typeset var SOL; if ; then CONNECTION="${CONNECTION} -e -time"; else SOL="`nzsql ${CONNECTION} -c... (8 Replies)
Discussion started by: Samah
8 Replies

2. UNIX for Advanced & Expert Users

Using SFTP Error Server Unknown

Not sure if this is the right forum and I apologies if not. I use Expression web to update our website on a UNIX server using SFTP. I use the same laptop, software, that works fine when at home, but when I travel, I tend to get a unknown server error. I am suspecting that it has something to do... (2 Replies)
Discussion started by: ae3799t
2 Replies

3. Programming

Help Unknown Syntax Error

Please excuse me if this is an easy fix, for I am new to Unix and C '/problem1.c: line2: syntax error near unexpected token ` '/problem1.c: line2: `main() and for one program it has : command not found2: (above the syntax error) As mentioned this is in C not C++, I have complied all... (3 Replies)
Discussion started by: apolo93
3 Replies

4. Shell Programming and Scripting

Unknown error - ``' unmatched

Hi Guys, I get the error while running below commands. Earlier the command used to execute, but after enclosing them in a function, the error is occuring backupPath=`echo $folderName | sed -e 's,/vobs/dte/itgClient/client/RegressionTestLibPostOHS/,,'` check_event=`cat... (7 Replies)
Discussion started by: ajincoep
7 Replies

5. Homework & Coursework Questions

FIFO possible blocking or unknown error

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Create a chat program using two FIFOs one for writing and the other for reading. The problem is something... (1 Reply)
Discussion started by: Ebodee
1 Replies

6. Solaris

"lpr.error] Warning: Received SIGPIPE" continuously appearing in logs

On a Solaris 8 print server we're continuously (every 2 minutes or so) getting these messages in the logs: printd: Warning: Received SIGPIPE; continuing I've applied this patch and restarted the printd daemon, but it doesn't help: #109320-22: SunOS 5.8: lp patch Does anyone have any idea what... (4 Replies)
Discussion started by: aussieos
4 Replies

7. Solaris

Unknown File Type error

Greetings there, i was trying to install an eclipse plugin on sunOS 4.x for the solaris sparc platform, and i got the following error: /usr/project/RAServer/bin> ./RAStart.sh Starting Agent Controller ld.so.1: RAServer: fatal: /usr/project/RAServer/lib/libxerces-c.so.24: unknown file type... (3 Replies)
Discussion started by: rohitsz
3 Replies

8. Programming

Error: unknown pseudo-op: `.weakref'

It's really strange that I have these error messages as follows when I tried to compile the C++ program. g++ -c -pipe -DOpenModeType=std::_Ios_Openmode -g -I. -o Obj/NP_genome_info.o NP_genome_info.cpp {standard input}: Assembler messages: {standard input}:10: Error: unknown pseudo-op:... (6 Replies)
Discussion started by: napapanbkk
6 Replies

9. BSD

for linux and BSD users interested in Unix system V/bsd

for all you unix/linux interested heres an online book for free that covers the basics of BSD SysV Unix commands and applications . giving the average linux user a perspective on the differences in context of the two operating systems and for BSD users covers material as a refernce guide. ... (0 Replies)
Discussion started by: moxxx68
0 Replies
Login or Register to Ask a Question