Operating System - HP-UX
1833726 Members
2504 Online
110063 Solutions
New Discussion

HPUX 10.20 X11 Cannot Start

 
Yan, SY FUNG
Occasional Advisor

HPUX 10.20 X11 Cannot Start

One of my B132L is dead where the System Disk and a 3rd party application software is still good. The hard disk is installed in another B132L. The system boot-up properly. However, X11 cannot start since the command "netstat -a|grep X11" prompts nothing.

It is very appreciated is anyone can drop me some hint to fix the X11 display problem.

Thanks a lot!
13 REPLIES 13
Simon Hargrave
Honored Contributor

Re: HPUX 10.20 X11 Cannot Start

Usually X-Windows problems are caused by DNS, such that the server cannot lookup its name because either the network or DNS server is down.

I would suggest you boot into single-user mode and do the following: -

- rename /etc/resolv.conf out of the way.
- amend your /etc/nsswitch.conf so that the hosts line reads
hosts: files
- ensure the local machines hostname is in /etc/hosts

At this point before rebooting it may also be worth

reboot and you should be able to get into x-windows. You will then need to investigate any network or dns issues you may have.
Simon Hargrave
Honored Contributor

Re: HPUX 10.20 X11 Cannot Start

I meant to say that before rebooting it may be worth checking your syslog.log for any spurious messages.
Gerard Leclercq
Trusted Contributor

Re: HPUX 10.20 X11 Cannot Start

Hello,

If you put your system disk, which I suppose contains hpux, in another B132L, it should boot and start X11 and your 3rd party application without any problem.
Except maybe the RAM size/disk swap, but if it boots and you get a login, it is fine.

Please, tell how you start X11, and error it prints.

Gerard
Yan, SY FUNG
Occasional Advisor

Re: HPUX 10.20 X11 Cannot Start

Thanks Simon and Gerard for your kindly reply!

resolv.conf and nsswitch.conf is modified and the syslog is as attached shown.

The following command entered and nothing happened at the screen.

hp01> startx

I am wonderer whehter the display/monitor type "B4071B_LZ" is OK for the A4242-66001 display card?
Sridhar Bhaskarla
Honored Contributor

Re: HPUX 10.20 X11 Cannot Start

Hi,

Run 'ps -ef|grep dtlogin' and see if you have any process running.

Also look at the end of /etc/rc.log and see if there were any failures corresponding to dtlogin.rc start-up.

Run /usr/contrib/bin/X11/dr_dt and see fix the errors if any. Compare your /etc/inittab with another working system for the lines containing 'dt'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Gerard Leclercq
Trusted Contributor

Re: HPUX 10.20 X11 Cannot Start

If I understand well, startx hangs. Then X11 may work but does not display on the screen you are in front of.

From another workstation, do a telnet to the B132L and ps -ef|grep X to see if X is running.

IF X is running, we have to look at the configuration of startx.

How many graphics ports do you have on the two B132L ?

Try also x11start instead of startx.

Gerard
Yan, SY FUNG
Occasional Advisor

Re: HPUX 10.20 X11 Cannot Start

Thanks all kindly reply!

It may be the hardware problem since "Sam->Peripheral->Monitor" shew nothing instead the error prompt is "UNEXPECTED EXIT: process /usr/lib/X11/Xserver/misc/sam/sam.ui ..... exited with non-zero exit status."

In addition, the external display cards are not the same for both B132L systems. However, the installation CD of the A4242-66001 Visualize-24 for the current operating B132L is missed.

If you can drop me the pointer to source the installation kit, it is very appreicated.
Gerard Leclercq
Trusted Contributor

Re: HPUX 10.20 X11 Cannot Start

It should be in the hpux 10.20 core/install CDROM or in the Hardware Enablement CDROM.

swinstall should guide you to find the fileset for the V24.
At least, do "update wath is installed".

Gerard
Yan, SY FUNG
Occasional Advisor

Re: HPUX 10.20 X11 Cannot Start

Thanks Gerard for your kindly reply!

I have borrowed the Core Install CD from another dept. However, the B132L device file is missed to recognize the Toshiba CD-ROM drive.

swinstall -s :/SD_CROM and got the error prompt "You do no have the required permission to perform the SD operation swacl."

How can I make the CD-ROM device locally? Or changing the "swacl" from the other B132L+?
Gerard Leclercq
Trusted Contributor

Re: HPUX 10.20 X11 Cannot Start

Nihao, bucachi (please pardon me for my very bad accent),

I do not know very well how to use swinstall from a cdrom on another workstation. There are permissions to cope with.

May be you should swregister /SD_CDROM on the remote workstation before using swinstall. Then start swinstall whithout any option, and type the name of the remote workstation in the dialog.

What you can do also is swcopy on that remote workstation which will give you a file.
Then remote copy that file on your B132L and perform swinstall from that file.

There is another way to do it : mount the remote cdrom on your B132L.

Cordialement,
Gerard
Yan, SY FUNG
Occasional Advisor

Re: HPUX 10.20 X11 Cannot Start

Thanks Gerard!

I have success mount the remote CD-ROM from the B132L.

In your last message suggestion:
"...swinstall should guide you to find the fileset for the V24.
At least, do "update wath is installed"...."

Excuse me for being stupid, please show me the steps more details.

Thanks a lot!
Gerard Leclercq
Trusted Contributor

Re: HPUX 10.20 X11 Cannot Start

If it is the hpux 10.20 core/install CDROM select Actions --> Match What Target Has, then Actions --> Install.

If it is the Hardware Enablement CDROM, it should be the same procedure. I do not remember well, since I did thzt only one time a few years ago.

Gerard
Yan, SY FUNG
Occasional Advisor

Re: HPUX 10.20 X11 Cannot Start

Thanks Gerard!

I have solved the problem by another Q&A in this forum but forgot which one.

The hint from that one is:

> rmsf /dev/*crt*
> insf -evd framebuf

Then the display devices rebuilt and the system works properly now.

Once again thanks for your efforts!