Solved

Printer problem - Solaris2.6

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Linux :how to provide sudo access to the user 13 116
What are recommended OS for exim mail server? 10 121
Oracle Finace 3 96
Linux hostname change 2 89
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 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.:

730 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