Solved

Printer problem - Solaris2.6

Posted on 2000-03-23
4
211 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
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.:

747 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

15 Experts available now in Live!

Get 1:1 Help Now