Hi all,
I am requested to move printer definitions/configurations to new box (Solaris 10). The old box (Solaris 8) only has /etc/printers.conf configured. There are no /etc/lp/interface or /etc/lp/printer files.
What I did was, I just moved /etc/printers.conf file to the new box and restarting the print service.
The new box is able to detect and register all the print servers. But they are unable to accept any requests.
NEW BOX
# lpstat -t scheduler is running system default printer: FINSGT system for laser6l: 192.200.9.38 (as lpd://192.200.9.38/printers/laser6l#Solaris) system for escp2: 192.200.9.23 (as lpd://192.200.9.23/printers/escp2#Solaris) system for FINKT: 192.200.110.74 (as lpd://192.200.110.74/printers/FINKT#Solaris) system for AMTBP: 192.200.140.159 (as lpd://192.200.140.159/printers/AMTBP#Solaris) system for FINKLG1: 192.200.150.31 (as lpd://192.200.150.31/printers/FINKLG1#Solaris) system for FINMSG: 192.200.120.32 (as lpd://192.200.120.32/printers/FINMSG#Solaris) system for FINMUAR: 192.200.130.32 (as lpd://192.200.130.32/printers/FINMUAR#Solaris) system for FINMUAR2: 192.200.130.14 (as lpd://192.200.130.14/printers/FINMUAR2#Solaris) system for FINPTN: 192.200.100.32 (as lpd://192.200.100.32/printers/FINPTN#Solaris) system for FINSGT: 192.200.160.132 (as lpd://192.200.160.132/printers/FINSGT#Solaris) system for epsonjb: 192.200.9.68 (as lpd://192.200.9.68/printers/epsonjb#Solaris) system for FIN1BP: 192.200.140.29 (as lpd://192.200.140.29/printers/FIN1BP#Solaris) system for p130157: 192.200.130.157 (as lpd://192.200.130.157/printers/p130157#Solaris) system for P-salwani: 192.200.9.31 (as lpd://192.200.9.31/printers/P-salwani#Solaris) system for secondary1: 192.200.9.16 (as lpd://192.200.9.16/printers/secondary1#Solaris) system for zaidijet2200: 192.200.9.135 (as lpd://192.200.9.135/printers/zaidijet2200#Solaris) system for idah_printer: 192.200.10.69 (as lpd://192.200.10.69/printers/idah_printer#Solaris) system for hp: 192.200.10.190 (as lpd://192.200.10.190/printers/hp#Solaris) system for LIZA_IT: 192.200.9.54 (as lpd://192.200.9.54/printers/LIZA_IT#Solaris) system for K_tinggi: 192.200.110.103 (as lpd://192.200.110.103/printers/K_tinggi#Solaris) system for AUDIT: 192.200.10.168 (as lpd://192.200.10.168/printers/AUDIT#Solaris) system for laserjet: 192.200.9.219 (as lpd://192.200.9.219/printers/laserjet#Solaris) system for LASERJET: 192.200.9.219 (as lpd://192.200.9.219/printers/LASERJET#Solaris) system for LASERJET1: 192.200.10.189 (as lpd://192.200.10.189/printers/LASERJET1#Solaris) system for HPLaserJ: 192.200.22.81 (as lpd://192.200.22.81/printers/HPLaserJ#Solaris) system for laserHR: 192.200.21.49 (as lpd://192.200.21.49/printers/laserHR#Solaris) system for stor3: 192.200.23.34 (as lpd://192.200.23.34/printers/stor3#Solaris) system for cpu3: 192.200.23.42 (as lpd://192.200.23.42/printers/cpu3#Solaris) system for OSHA: 192.200.22.67 (as lpd://192.200.22.67/printers/OSHA#Solaris) system for Rozita: 192.200.21.49 (as lpd://192.200.21.49/printers/Rozita#Solaris) system for Azhar: 192.200.22.42 (as lpd://192.200.22.42/printers/Azhar#Solaris) system for CCPRINTER: 192.200.21.56 (as lpd://192.200.21.56/printers/CCPRINTER#Solaris) system for ADMPRINTER: 192.200.21.32 (as lpd://192.200.21.32/printers/ADMPRINTER#Solaris) system for MAIMUNAH_IT: 192.200.9.71 (as lpd://192.200.9.71/printers/MAIMUNAH_IT#Solaris) system for CSPRINTER: 192.200.25.36 (as lpd://192.200.25.36/printers/CSPRINTER#Solaris) system for AMTCEK: 192.200.9.38 (as lpd://192.200.9.38/printers/AMTCEK#Solaris) laser6l accepting requests since Wed Oct 10 13:28:27 2012 escp2 accepting requests since Wed Oct 10 13:28:27 2012 FINKT accepting requests since Wed Oct 10 13:28:27 2012 AMTBP accepting requests since Wed Oct 10 13:28:27 2012 FINKLG1 accepting requests since Wed Oct 10 13:28:27 2012 FINMSG accepting requests since Wed Oct 10 13:28:27 2012 FINMUAR accepting requests since Wed Oct 10 13:28:27 2012 FINMUAR2 accepting requests since Wed Oct 10 13:28:27 2012 FINPTN accepting requests since Wed Oct 10 13:28:27 2012 FINSGT accepting requests since Wed Oct 10 13:28:27 2012 epsonjb accepting requests since Wed Oct 10 13:28:27 2012 FIN1BP accepting requests since Wed Oct 10 13:28:27 2012 p130157 accepting requests since Wed Oct 10 13:28:27 2012 P-salwani accepting requests since Wed Oct 10 13:28:27 2012 secondary1 accepting requests since Wed Oct 10 13:28:27 2012 zaidijet2200 accepting requests since Wed Oct 10 13:28:27 2012 idah_printer accepting requests since Wed Oct 10 13:28:27 2012 hp accepting requests since Wed Oct 10 13:28:27 2012 LIZA_IT accepting requests since Wed Oct 10 13:28:27 2012 K_tinggi accepting requests since Wed Oct 10 13:28:27 2012 AUDIT accepting requests since Wed Oct 10 13:28:27 2012 laserjet accepting requests since Wed Oct 10 13:28:27 2012 LASERJET accepting requests since Wed Oct 10 13:28:27 2012 LASERJET1 accepting requests since Wed Oct 10 13:28:27 2012 HPLaserJ accepting requests since Wed Oct 10 13:28:27 2012 laserHR accepting requests since Wed Oct 10 13:28:27 2012 stor3 accepting requests since Wed Oct 10 13:28:27 2012 cpu3 accepting requests since Wed Oct 10 13:28:27 2012 OSHA accepting requests since Wed Oct 10 13:28:27 2012 Rozita accepting requests since Wed Oct 10 13:28:27 2012 Azhar accepting requests since Wed Oct 10 13:28:27 2012 CCPRINTER accepting requests since Wed Oct 10 13:28:27 2012 ADMPRINTER accepting requests since Wed Oct 10 13:28:27 2012 MAIMUNAH_IT accepting requests since Wed Oct 10 13:28:27 2012 CSPRINTER accepting requests since Wed Oct 10 13:28:27 2012 AMTCEK accepting requests since Wed Oct 10 13:28:27 2012
I am not very familiar with print services and all. I wanna ask whether this lpd protocol thingy affects anything? My new box can detect the servers, just that they are shown as disabled and not accepting requests.
# lpstat -p laser6l
printer laser6l disabled since Wed Oct 10 13:30:00 2012. available.
Invalid printer
# lp test.txt
_default: not-accepting
# lp test.txt -d laser6l
_default: aborting request, -d: No such file or directory
I'm really stumped on this one. You guys happen to know anything I left out?
Thanks.
---------- Post updated at 04:02 PM ---------- Previous update was at 01:32 PM ----------
I discovered something. In the old box, there is a /etc/lp/Systems file.
#
#ident "@(#)Systems 1.8 97/06/09 SMI" /* SVr4.0 1.2 */
# This file previously contained an LP private interface. It's
# contents are no longer used by the printing system and therefore
# obsolete. Expect the file to be removed in a subsequent release
# of Solaris, along with the lpsystem(1M) command.
+:x:-:bsd:-:n:10:-:-:Allow all connections
192.200.9.23:x:-:bsd:-:n:10:-:-:Cheque_Room
192.200.110.74:x:-:bsd:-:n:10:-:-:KT_FINKT
192.200.150.31:x:-:bsd:-:n:10:-:-:KL_FINKLG1
192.200.120.32:x:-:bsd:-:n:10:-:-:MG_FINMSG
192.200.130.32:x:-:bsd:-:n:10:-:-:MR_FINMUAR
192.200.130.14:x:-:bsd:-:n:10:-:-:Stor_FINMUAR2
192.200.100.32:x:-:bsd:-:n:10:-:-:PTN_FINPTN
192.200.9.68:x:-:bsd:-:n:10:-:-:Peng_epsonjb
192.200.160.36:x:-:bsd:-:n:10:-:-:Zuraini_SGT
192.200.140.159:x:-:bsd:-:n:10:-:-:
192.200.140.29:x:-:bsd:-:n:10:-:-:
192.200.130.157:x:-:bsd:-:n:10:-:-:
192.200.9.31:x:-:bsd:-:n:10:-:-:
192.200.160.132:x:-:bsd:-:n:10:-:-:
192.200.9.16:x:-:bsd:-:n:10:-:-:
192.200.9.135:x:-:bsd:-:n:10:-:-:
192.200.10.69:x:-:bsd:-:n:10:-:-:
192.200.9.45:x:-:bsd:-:n:10:-:-:Kontrak_CPU3
192.200.10.190:x:-:bsd:-:n:10:-:-:
192.200.9.54:x:-:bsd:-:n:10:-:-:
192.200.110.103:x:-:bsd:-:n:10:-:-:
192.200.10.168:x:-:bsd:-:n:10:-:-:
-:x:-:bsd:-:n:10:-:-:
t:x:-:bsd:-:n:10:-:-:
bsd:x:-:bsd:-:n:10:-:-:
192.200.9.219:x:-:bsd:-:n:10:-:-:
192.200.10.189:x:-:bsd:-:n:10:-:-:
192.200.22.81:x:-:bsd:-:n:10:-:-:
192.200.23.34:x:-:bsd:-:n:10:-:-:
192.200.23.42:x:-:bsd:-:n:10:-:-:
192.200.22.67:x:-:bsd:-:n:10:-:-:
192.200.21.49:x:-:bsd:-:n:10:-:-:
192.200.22.42:x:-:bsd:-:n:10:-:-:
192.200.21.56:x:-:bsd:-:n:10:-:-:
192.200.21.32:x:-:bsd:-:n:10:-:-:
192.200.9.71:x:-:bsd:-:n:10:-:-:
192.200.25.36:x:-:bsd:-:n:10:-:-:
192.200.9.38:x:-:bsd:-:n:10:-:-:
That file has been obosleted.
I typed "lpsystems -l" in the old box. And it shows me this
root@Hino # lpsystem -l
System: +
Type: bsd
Connection timeout: never
Retry failed connections: after 10 minutes
Comment: Allow all connections
System: 192.200.9.23
Type: bsd
Connection timeout: never
Retry failed connections: after 10 minutes
Comment: Cheque_Room
System: 192.200.110.74
Type: bsd
Connection timeout: never
Retry failed connections: after 10 minutes
Comment: KT_FINKT
System: 192.200.150.31
Type: bsd
Connection timeout: never
Retry failed connections: after 10 minutes
Comment: KL_FINKLG1
System: 192.200.120.32
Type: bsd
Connection timeout: never
Retry failed connections: after 10 minutes
Comment: MG_FINMSG
System: 192.200.130.32
.
.
.
In the NEW BOX, it shows nothing. I suspect that is causing the issue. Anyone know of the new alternative for "/etc/lp/Systems" in Solaris 10?