Solved

Printer problem - Solaris2.6

Posted on 2000-03-23
4
212 Views
Last Modified: 2013-12-16
Due to a server crash, I had to rebuild a new NIS and print server on Solaris 2.6
I Reinstalled NIS and Print Server with same spooler names.
Problem:
lpstat on client shows printer accepting jobs. but when I submit a job, it doesnot print, but stays in queue. When printed from print server, it prints.
0
Comment
Question by:bhagawatula
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:dserna
ID: 2650849
Here are a few things to try:

Verify the tcp listeners are running:
   # pmadm -l -p tcp

   PMTAG          PMTYPE         SVCTAG         FLGS ID
   <PMSPECIFIC>
   tcp            listen         0              -    root
   \x00020ACE000000000000000000000000 - c - /usr/lib/saf/nlps_server #
   tcp            listen         lp             -    root     - - p -
   /var/spool/lp/fifos/listenS5 #
   tcp            listen         lpd            -    root
   \x00020203000000000000000000000000 - p -
   /var/spool/lp/fifos/listenBSD #

   If these services are not running set up a LOCAL printer on the
   printserver with Admintool.

   Command line to setup the listeners:

    # sacadm -a -p tcp -t listen       -c "/usr/lib/saf/listen tcp" -v
`nlsadmin
    -V` -n 9999

    #  pmadm -a -p tcp -s lp -i root -m `nlsadmin -o      
/var/spool/lp/fifos/
    listenS5` -v `nlsadmin -V`

    # pmadm -a -p tcp -s lpd -i root -m `nlsadmin -o  \
      /var/spool/lp/fifos/listenBSD -A    
'\x00020203000000000000000000000000'
    ` -v `nlsadmin -V`

    # pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c      
/usr/lib/saf/nlps_serve
    r -A      '\x00020ACE000000000000000000000000'` -v `nlsadmin -V`


    Also make sure that there is a process (lpNet or in.lpd) running which
    listens on tcp port 515:

    #  netstat -a | grep printer
      *.printer            *.*                0      0     0      0 LISTEN






0
 
LVL 1

Accepted Solution

by:
dserna earned 50 total points
ID: 2650854
Sorry the above post meant to go in as a "proposed answer". It sounds like the problem is that the print server is not listening for network print requests. Try the following:


:

Verify the tcp listeners are running:
   # pmadm -l -p tcp

   PMTAG          PMTYPE         SVCTAG         FLGS ID
   <PMSPECIFIC>
   tcp            listen         0              -    root
   \x00020ACE000000000000000000000000 - c - /usr/lib/saf/nlps_server #
   tcp            listen         lp             -    root     - - p -
   /var/spool/lp/fifos/listenS5 #
   tcp            listen         lpd            -    root
   \x00020203000000000000000000000000 - p -
   /var/spool/lp/fifos/listenBSD #

   If these services are not running set up a LOCAL printer on the
   printserver with Admintool.

   Command line to setup the listeners:

    # sacadm -a -p tcp -t listen       -c "/usr/lib/saf/listen tcp" -v
`nlsadmin
    -V` -n 9999

    #  pmadm -a -p tcp -s lp -i root -m `nlsadmin -o        
/var/spool/lp/fifos/
    listenS5` -v `nlsadmin -V`

    # pmadm -a -p tcp -s lpd -i root -m `nlsadmin -o  \
      /var/spool/lp/fifos/listenBSD -A      
'\x00020203000000000000000000000000'
    ` -v `nlsadmin -V`

    # pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c      
/usr/lib/saf/nlps_serve
    r -A      '\x00020ACE000000000000000000000000'` -v `nlsadmin -V`


    Also make sure that there is a process (lpNet or in.lpd) running which
    listens on tcp port 515:

    #  netstat -a | grep printer
      *.printer            *.*                0      0     0      0 LISTEN

0
 
LVL 1

Author Comment

by:bhagawatula
ID: 2650931
Trying it now, will update posting as soon as I get a result
--Thanks
0
 
LVL 1

Author Comment

by:bhagawatula
ID: 2651380
Thank you,
Adding a local printer solved the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now