1833042 Members
2407 Online
110049 Solutions
New Discussion

Re: rlpdaemon

 
Leen Biesemans
Advisor

rlpdaemon

Hi,

I can't start rlpdaemon on my server. I get the following messages in the lpd.log:
unable to bind address (internet domain bind): Address already in use
/usr/sbin/rlpdaemon: cleanup()

Can someone tell me how I can solve this problem?
Thanks,
Leen
15 REPLIES 15
James R. Ferguson
Acclaimed Contributor

Re: rlpdaemon

Hi Leen:

It appears that the port number used by the 'rlpdaemon' is already in use by another process.

If you grep for 'rlpdaemon' in '/etc/inetd.conf' you will find that it uses the 'printer' service name in '/etc/services'. From there, you will note that this is port 515. I'd use 'lsof' to determine what process is using this port:

# lsof -i tcp:515
# lsof -i udp:515

Regards!

...JRF...
Alex Glennie
Honored Contributor

Re: rlpdaemon

In addition to JRF's comments the above has been seen to occur if you have the 3rd party s/w lpsnet installed and running I beleive it's produced by Easy Spool ..... just a thought
Leen Biesemans
Advisor

Re: rlpdaemon

Hi,

Is there an alternative for the "lsof" command, because hp-ux 11 doesn't seem to know this command.

(I'm not so familiar with unix)

regards,

Leen
Alex Glennie
Honored Contributor
Leen Biesemans
Advisor

Re: rlpdaemon

Hi Alex,

I don't think that I have installed that program, unless it installs itself automatically with the installation of hp-ux 11

regards,

Leen
Leen Biesemans
Advisor

Re: rlpdaemon

Hi,

I cannot execute the lsof command I downloaded of the internet.

Isn't there any other possebility to see which process uses the address 515?

thanks,

Leen
Alex Glennie
Honored Contributor

Re: rlpdaemon

not that I'm aware of .... so why can't you run lsof or what errors are you seeing .... please post details ...
Leen Biesemans
Advisor

Re: rlpdaemon

/sbin/sh: /usr/sbin/lsof execute permission denied

This is the error I have.

regards,

Leen
James R. Ferguson
Acclaimed Contributor

Re: rlpdaemon

Hi Leen:

Do you have execute permissions set on the binary?

Regards!

...JRF...
Leen Biesemans
Advisor

Re: rlpdaemon

yep

regards,

Leen
Alex Glennie
Honored Contributor

Re: rlpdaemon

Only things I can think of are you've not run this as root user or perhaps you've installed a 32 bit binary on a 64 bit system or the sticky bit is not set on the binary ....

ll lsof ?-r-sr-sr-x 1 root sys

is this a 64 bit or 32 bit system and which url did you use to download lsof ?

Leen Biesemans
Advisor

Re: rlpdaemon

I'm logged in as root, so that's not the problem.

First I tried the first link, but there I got the same error "execute permission denied". Then I tried the second link and I got that error again.

I have turned all my permissions on, so that isn't the problem too.

regards,

Leen
Leen Biesemans
Advisor

Re: rlpdaemon

and the workstation is a visualize B132L, so I think it is a 64 bit.

regards,

Leen
Alex Glennie
Honored Contributor

Re: rlpdaemon

run getconf KERNEL_BITS

post output + email address I can send you an appropriate binary too .
Leen Biesemans
Advisor

Re: rlpdaemon

When I run getconf KERNEL_BITS, I get the output 32 and my e-mail address is leen.biesemans@hogelimb.be

regards,

Leen