Hi,
I have installed LPRng-3.7.4 on RedHat 7. I created the printcap entry with RedHat's printtool.
Then I runed the checkpc -f command.
I have also installed the ifhp filters but I do not hae the time to read its long documentation
because this project is needed ASAP.
The problem is that as you can see in the logs section, I am getting a:
Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915
Usually the first print job will print, but then it will take a very, very long time to print the next one, and so on.
I have checked the speed at which poscscript is processed in this machine, but that is no problem
(it only takes a few seconds).
I tweaked my /etc/ printcap with no luck. Here is a copy of it:
consig1:\
:sd=/var/spool/lpd/consig1:\
:mx#0:\
:sh:\
:rm=10.1.8.162 :\
:rp=PASS:\
:mail_operator_on_error=true:\
:network_connect_grace=10:\
:longnumber=yes:\
:max_servers_active=10:\
:send_try=0:\
:lpd_bounce=true:\
:if=/var/spool/lpd/consig1/filter:
I have also noticed that:
[root@pruebaflota /root]# checkpc -f
Warning - 'if' filter '/var/spool/lpd/consig1/filter' does not have execute perm
I give it execution permissions and then get:
[root@pruebaflota /root]# checkpc
Warning - permissions of 'filter' are 0700, not 0600
# ps ax
2043 ? S 0:00 lpd Waiting
2047 ? R 1:23 lpd (Server) 'consig1'
2191 ? Z 0:00 [lpd <defunct>]
---LOGS----------------------------------------------------------------------------------
lpq.0
Printer: consig1@pruebaflota (dest [EMAIL PROTECTED])
Queue: 256 printable jobs
Server: pid 2047 active
Unspooler: pid 2099 active
Status: consig1: Open_gdbm: cannot lock 'db.consig1' - Interrupted system call at 14:29:06.915
Status: processing 'dfA000740pruebaflota.bue.la.repsol-ypf.com', size 132554, format 'f', IF filter 'filter' at 14:29:08.479
Status: IF filter 'filter' filter finished at 14:29:10.246
Status: printing finished at 14:29:10.247
Status: sending job 'devel21@pruebaflota+740' to [EMAIL PROTECTED] at 14:29:10.247
Status: connecting to '10.1.8.162', attempt 1 at 14:29:10.247
Status: connected to '10.1.8.162' at 14:29:25.186
Status: requesting printer [EMAIL PROTECTED] at 14:29:25.186
Status: sending control file 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.891
Status: completed sending 'cfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910
Status: sending data file 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:27.910
Status: completed sending 'dfA000740pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 14:29:28.240
Status: done job 'devel21@pruebaflota+740' transfer to [EMAIL PROTECTED] at 14:29:28.240
Rank Owner/ID Class Job Files Size Time
active devel21@pruebaflota+740 A 740 3532_05.ps 132554 12:59:50
2 devel21@pruebaflota+743 A 743 3532_10.ps 131143 12:59:51
3 devel21@pruebaflota+746 A 746 3532_20.ps 503533 12:59:52
4 devel21@pruebaflota+749 A 749 3536_05.ps 132558 12:59:53
5 devel21@pruebaflota+752 A 752 3536_10.ps 131924 12:59:54
6 devel21@pruebaflota+755 A 755 3536_20.ps 505675 12:59:55
7 devel21@pruebaflota+758 A 758 3537_05.ps 132546 12:59:56
8 devel21@pruebaflota+761 A 761 3537_10.ps 131717 12:59:57
status.consig1
processing 'dfA000749pruebaflota.bue.la.repsol-ypf.com', size 132558, format 'f', IF filter 'filter' at 2001-03-30-14:42:28.576 ## A=devel21@pruebaflota+749 number=749 process=2245
waiting for subserver to exit at 2001-03-30-14:42:30.309 ## A=<NULL> number=0 process=2047
IF filter 'filter' filter finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245
printing finished at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245
sending job 'devel21@pruebaflota+749' to [EMAIL PROTECTED] at 2001-03-30-14:42:30.758 ## A=devel21@pruebaflota+749 number=749 process=2245
connecting to '10.1.8.162', attempt 1 at 2001-03-30-14:42:30.759 ## A=devel21@pruebaflota+749 number=749 process=2245
connected to '10.1.8.162' at 2001-03-30-14:42:40.761 ## A=devel21@pruebaflota+749 number=749 process=2245
requesting printer [EMAIL PROTECTED] at 2001-03-30-14:42:40.761 ## A=devel21@pruebaflota+749 number=749 process=2245
sending control file 'cfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.890 ## A=devel21@pruebaflota+749 number=749 process=2245
completed sending 'cfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.909 ## A=devel21@pruebaflota+749 number=749 process=2245
sending data file 'dfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:40.909 ## A=devel21@pruebaflota+749 number=749 process=2245
completed sending 'dfA000749pruebaflota.bue.la.repsol-ypf.com' to [EMAIL PROTECTED] at 2001-03-30-14:42:41.224 ## A=devel21@pruebaflota+749 number=749 process=2245
done job 'devel21@pruebaflota+749' transfer to [EMAIL PROTECTED] at 2001-03-30-14:42:41.224 ## A=devel21@pruebaflota+749 number=749 process=2245
subserver pid 2245 exit status 'JSUCC' at 2001-03-30-14:42:42.314 ## A=<NULL> number=0 process=2047
[EMAIL PROTECTED]: job 'cfA000749pruebaflota.bue.la.repsol-ypf.com' printed
at 2001-03-30-14:42:42.322 ## A=<NULL> number=749 process=2047
job 'cfA000749pruebaflota.bue.la.repsol-ypf.com' removed at 2001-03-30-14:42:42.346 ## A=<NULL> number=749 process=2047
--------------------------------------------------
Fern�n Rodr�guez C�spedes
Tel: (011) 4329 2000 interno 13350
e-mail: [EMAIL PROTECTED]
