Operating System - HP-UX
1833083 Members
4503 Online
110050 Solutions
New Discussion

Trouble in Jetadmin Printer Configuration

 
SIJU JOSE
Frequent Advisor

Trouble in Jetadmin Printer Configuration

Hi
I am getting the following error while trying to confgre a network printer with Jetadmin.Please tell me why it is happening so.

Ready to shut down the spooler and configure the new print queue.
The spooler will be running again after the configuration is done.

WARNING: If there are jobs currently being printed, and the page
count is enabled (i.e. when True End-of-Job is turned on), this
shutdown and rerun of the spooler may result in incorrect page count.

OK to continue? (y/n/q, default=y) y

!! Cannot shut down the spooler with lpshut !!
Having tried for 5 times. Please shut down the spooler from
the command line, then re-run this configuration."

Regds
Siju Jose
4 REPLIES 4
Thierry Poels_1
Honored Contributor

Re: Trouble in Jetadmin Printer Configuration

Hi,

1. you execute this as root? (off course, dumb question)

2. does lpshut/lpshed from the command line still work?

2b. if not: kill lpshed, remove /var/spool/lp/FIFO & /var/spool/lp/SCHEDLOCK, restart lpshed

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
SIJU JOSE
Frequent Advisor

Re: Trouble in Jetadmin Printer Configuration

Hi

I have already done that.
But what I have seen is once lpshut is given none of the files specified are present in either /var/spool/lp or /usr/spool/lp.But if you give lpstat -t it will tell scheduler is running.so I think scheduler is not getting shutdown properly.

Regds
Siju
Thierry Poels_1
Honored Contributor

Re: Trouble in Jetadmin Printer Configuration

hmmm,

after an lpshut are there still lp processes running?
if yes: kill them all & restart lpsched again.
if still not OK: search for "spoolkick procedure"

Thierry
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
PVR
Valued Contributor

Re: Trouble in Jetadmin Printer Configuration

After shutting down the scheduler using lpshut, try
#lpstat -r. If the scheduler is running kill all printing process and remove SCHEDLOCk file. Check again whether the scheduler is running or not.

Jetadmin printer definitions are in /etc/bootptab. Before reinstallaing printer, remove all entries (of prevous installation)from this file.

Don't give up. Try till success...