Operating System - HP-UX
1829575 Members
4250 Online
109992 Solutions
New Discussion

/usr/bin/X11/xrdb error help

 
Steven Chen_1
Super Advisor

/usr/bin/X11/xrdb error help

The following messages are constantly occuring on my rc.log of HPUX 10.20 server. It is the left-over problem from last Oracle installation.

----------------------------------------
cannot connect to X server '111.222.333.444:0.0'
Set the DISPLAY environment variable and/or
use xhost to allow access control to the display
/usr/bin/X11/xrdb: Interrupted system call
/usr/bin/X11/xrdb: Can't open display '111.222.333.444:0.0'
-----------------------------------------

The IP refers to a workstation, but no graphical application other than glance is on the server.

My question is: how can I disable the messages? Should I keep X server for glance purpose?

Please help. By the way, this forums is the world #1 IT resource and help center, even better than Microsoft help.

Thanks,
Steven

Steve
20 REPLIES 20
Jesper Sivertsen
Frequent Advisor

Re: /usr/bin/X11/xrdb error help

Hi Steven

You are trying to start some kind of service from rc that needs to show something on that DISPLAY ( 111.222.333.444:0 ).

The script that starts the service i placed in /sbin/init.d
There might be a configuration-file for that service in /etc/rc.config.d where you shuld be able to disable the service.
Try to:
cd /sbin/init.d
grep 111.222.333.444 *
or do the same in /etc/rc.config.d, then you should be able to locate the script.

God luck
Jesper
All in unix is files
Alex Glennie
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Jesper is correct the X resource database 9xrdb), is used to save / utilise application resource settings such as fonts, colours etcand sounds as if its being invoked by something at a non-graphics run level ... I suspect 1 or 2 :

The most likely cause or application i have seen inthe past & especially if this is an ignited / pre-installed system is :

UIS Electronic Product Registration from July 97 app CD

Check with swlist to see if it's installed ; if yes =>

Since you don't want that daemon running, set UIS=0 in
/etc/rc.config.d/uis, which will disable UIS and solveyour problem.
/opt/uissys/uis/misc/uisrun tries to set the display even
if it doesn't have access to the Xserver. This is not a safe
thing to do; it is better to disable the daemon, and run
the application after logging in through VUE/CDE.
Steven Chen_1
Super Advisor

Re: /usr/bin/X11/xrdb error help

Thanks Jesper and Alex's help. Using grep, I couild not find IP related process. But /etc/rc.config.d/uis does have something uncommon and I would need your help here:

/etc/rc.config.d/uis is
"-rw-r--r-- 1 4636 users
111 Aug 26 1996 uis"

1) I don't know what 4636 user is.
2) /etc/group users does have 4636
3) I don't know what uis?
4) more uis, uis=1

I am using Glance, that is the only graphic application being used(plus top).

If I change uis =0, what impact would that be?

Thanks a lot!

Steve
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

have a look in /sbin/init.d and search for a file that contains uis:
cd /sbin/init.d
grep -il uis *
If you found some have a view at that file what it is doing at the start case.
The uid 4636 is not in your /etc/passwd but that's not critical. Perhaps the uid was set by a tar restore.

Regards

Andrew
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

have a look in /sbin/init.d and search for a file that contains uis:
cd /sbin/init.d
grep -il uis *
If you found some have a view at that file what it is doing at the start case.
The uid 4636 is not in your /etc/passwd but that's not critical. Perhaps the uid was set by a tar restore.

Regards

Andrew
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

have a look in /sbin/init.d and search for a file that contains uis:
cd /sbin/init.d
grep -il uis *
If you found some have a view at that file what it is doing at the start case.
The uid 4636 is not in your /etc/passwd but that's not critical. Perhaps the uid was set by a tar restore.

Regards

Andrew
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Sorry for the duplicated replies but i think there are some problems at the ITRC server, i got several error messages when submitting the reply.
Alex Glennie
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Steven .... not at lot seems like your not using UIS , and I've never known a customer complain when we've disabled it in the past .... still there's always a first time. Give it a go and see what happens ;), can always put it back but i think this is the cause !
Steven Chen_1
Super Advisor

Re: /usr/bin/X11/xrdb error help

Thanks for all the help from Jesper and Alex. Using "grep -il uis *", I found iforls and uis. Iforls='Gradient License Server Deamon', which is not known to me.
iforls is using bin/bin, 1996, uis is using 4636/users, 1996.

Please let me how could be done next. By the way, this error messages built up a lot on rc.log, so I have to trim it weekly.

Thanks,

Steven
Steve
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

the correspond file for the Gradient License Server is /etc/rc.config.d/iforls
I don't know what uis is.
Can you post the contents of /sbin/init.d/uis to the forum ?

Andrew
Steven Chen_1
Super Advisor

Re: /usr/bin/X11/xrdb error help

Hi,

Enclosed please find /sbin/init.d/iforls file for reference. I can't post two files at the same time. Please let me know if you need to look at uis file.

Again, your help is very appreciated.
Steve
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

please post the uis file - that is the interresting thing.
Iforls is for licensing software products.
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Found something for iforls:

with /opt/ifor/ls/bin/i4tv

you can check if there are running license servers.

have a look at:
man i4tv
Anthony deRito
Respected Contributor

Re: /usr/bin/X11/xrdb error help

Steven, I beleive i4admin is the tool that requires an X windows environment. It appears that someone may have wanted to automatically display the i4 admin screen on this particular server at some point (maybe for an operator to view) and is setting the display variable then running the i4admin process. Grep for i4admin in any possible admin directory such as /sbin/init.d, /etc/rc.config.d/, /usr/local/bin or any other possible directory where admins may keep admin scripts.

Tony
Steven Chen_1
Super Advisor

Re: /usr/bin/X11/xrdb error help

Hi,

Enclosed please find /sbin/init.d/iforls file for reference. I can't post two files at the same time. Please let me know if you need to look at uis file.

Again, your help is very appreciated.
Steve
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

can you please post the /sbin/init.d/uis file ?
I think iforls is not the file that has to do with your error because the grep finds a line:
# checking for reqUISite processes.
which is a comment.

Regards

Andrew
Alex Glennie
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Out of interest have you tried disabling uis yet and checked the results ?

Steven Chen_1
Super Advisor

Re: /usr/bin/X11/xrdb error help

I have had difficult time to go into this forums in the last few days and I guess HP server is in trouble.

Enclosed please find uis file. Also I change UIS from =1 to =0. I don't know if I need to stop/start uis process and how. What I need is to disable the wrong message in rc.log and do not generate problem next time I reboot.

Thanks for all.
Steve
Andreas Voss
Honored Contributor

Re: /usr/bin/X11/xrdb error help

Hi,

what about the /etc/rc.log itself ?
Can you post it to the forum please.

Regards
Jesper Sivertsen
Frequent Advisor

Re: /usr/bin/X11/xrdb error help

Hi again !
Regarding my first answer, try to resolv the ip-address to a hostname, and then search the hostname in sted of the ip-address.
nslookup 111.222.333.444
This should give you a hostname.
Try to search for the hostname in the priviusly mentiond directoryes.
Jesper
All in unix is files