Operating System - HP-UX
1826417 Members
3796 Online
109692 Solutions
New Discussion

Re: xfs scoket listening problem

 
Omar Alvi_1
Super Advisor

xfs scoket listening problem

Hi,

A customer of ours wants to setup the xfs server. Following is what he encounters.

It was not configured to start at boot time.

> Starting X Font Server at TCP port 7000
> Output from "/sbin/rc2.d/S620xfs start"
> ----------------------------
> "/sbin/rc2.d/S620xfs start" SKIPPED

therefore we used the port 7000 in the following command.

hptest:/sbin/init.d>> xfs - config /etc/X11/fs/config -port 7000 -daemon

xfs error: Fatal font server error!

xfs error: Cannot establish any listening sockets

and we found out that 7000 is already in use.

> netstat | grep 7000
gives me the following
486f8a00 dgram 0 0 43a90580 439b3640
0 0 /opt/dcelocal/var/rpc/local/01466/c-3/7000
49299840 stream 48 0 44934700 0
0 0 /opt/dcelocal/var/rpc/local/26205/c-0/7000

1- Is this process, DEC desktop, and can I start the xfs server alongside it?
2- Can I use any other port for the xfs server?
3- I read elsewhere in the forum that there's a utility lsof, which will tell me the PID using 7000, can I kill the process?
4- If I enable xfs to start at boot time, and reboot the server, will it resolve this issue?
5- In any case an alternate solution would I think be more satisfying.

Thanks in advance.

Regards,

-Alvi



2 REPLIES 2
Omar Alvi_1
Super Advisor

Re: xfs scoket listening problem

oops, I meant CDE, not DEC, and the process is in fact DCE, a third permutation of the three letters.

Can the process using port 7000 be killed? Or can it be made to cooperate?

thanks and Regards,

-Alvi
Graham Cameron_1
Honored Contributor

Re: xfs scoket listening problem

I don't think the 2 lines you have found from netstat are connected to port 7000.
I have the same 2 lines on my system.

Look at this thread to see what process is listening on port 7000
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37108

or "telnet 0 7000" and see if you can work out what you are connecting to.

Or as you say, use another port for xfs with the -port command - trouble with that is you'll have to reconfigure all clients to the new port as 7000 is the default.

Hope this helps

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.