Whole document tree 2.9. Installation ProblemsRead the notes for your OS in section System-dependent notes for specific installation help (if any). The following is a list of commonly encountered problems and their solution. If these do not solve your problem, then send mail to the lprng@lprng.com mailing list. You will have to subscribe to the list in order to post to the list.
After you have installed the LPRng software and rebooted your system, do the following commands: If you do not get status displayed, or you get some other error message, then the following are a series of tests can use to check that LPRng is installed correctly. First we will run lpd in the foreground and are used to make sure that our system configuration is correct. You will need root permissions to do the following steps. Stop the running currently running lpd process. Next, run lpd in foreground mode: h4: {17} # ps -aux | grep lpd daemon 240 0.0 0.0 1292 0 ?? IWs - 0:00.00 lpd: lpd Waiting h4: {18} # kill 240 h4: {19} # checkpc -f h4: {20} # /usr/local/bin/lpd -F -D1 Fatal error - Another print spooler is using TCP printer port If you get the above error message, then you have either not terminated the running lpd server, there is another process using TCP/IP port 515, or you are not starting the lpd server as ROOT. See the System Specific Notes for details on how to resolve these issues. Correct the problem and then restart the server. You should see the output indicated below: h4: {21} # /usr/local/bin/lpd -F -D1 1999-04-05-14:35:14.023 astart27 [2667] Waiting lpd: LOOP START 1999-04-05-14:35:14.024 astart27 [2667] Waiting Get_max_servers: \ getrlimit returns 256 1999-04-05-14:35:14.024 astart27 [2667] Waiting Get_max_servers: \ returning 128 1999-04-05-14:35:14.025 astart27 [2667] Waiting lpd: \ max_servers 128, active 0 1999-04-05-14:35:14.025 astart27 [2667] Waiting lpd: \ starting select timeout 'yes', 600 sec Now from another window do the following commands: At this point your LPRng software has been installed and tested. See the Updating Print Spooler Software and Startup Scripts for details on how to automatically start lpd at boot time. |