[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Printer problem - Solaris2.6

Posted on 2000-03-23
4
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

656 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