1753879 Members
7644 Online
108809 Solutions
New Discussion юеВ

lpstat problem

 
SOLVED
Go to solution
j773303
Super Advisor

lpstat problem

OS: 11.23
lp scheduler is runnig now.


Does anyone has the experience about the below message, how to fix it ? Thanks.

lpstat -v
lpstat: Unable to connect to server: Connection refused.
Hero
10 REPLIES 10
rariasn
Honored Contributor

Re: lpstat problem

Hi j773303,

# lpshut

# lpsched -v


Paste output of next command,

# lpstat -t

rgs,

ran
Raj D.
Honored Contributor

Re: lpstat problem

i773303,

You can stop and restart the scheduler. And check.

# /usr/sbin/lpshut
# lpstat -r

# slep 10
# /usr/sbin/lpsched
# /usr/sbin/lpstat -v

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
j773303
Super Advisor

Re: lpstat problem

If login root.

lpstat -t/-v are no problem.

But, if login by normal user.

lpstat -v/-t will get the
"Unable t0 connect to server: Connection refused"

Please give me a hand, any advise ? Thanks
Hero
rariasn
Honored Contributor

Re: lpstat problem

Hi j773303,

Verify file,

/var/adm/lp/log

rgs,

ran
j773303
Super Advisor

Re: lpstat problem

No log in /var/adm/lp/log.

Does anyone has any advice about this problem?
Hero
rariasn
Honored Contributor
Solution

Re: lpstat problem

Do you use CUPS or another print utility?
j773303
Super Advisor

Re: lpstat problem

yes.
Do CUPS or other tools impact the system?
Hero
rariasn
Honored Contributor

Re: lpstat problem

Hi don't know this utility.

Start and stop cups utility.

http://www.oreilly.com/catalog/linuxckbk/chapter/ch14.pdf

rgs,

ran

rariasn
Honored Contributor

Re: lpstat problem

Sorry,

Stop and start.