Operating System - HP-UX
1829692 Members
8362 Online
109992 Solutions
New Discussion

Re: X-server can not be started

 
Yaroki
Super Advisor

Re: X-server can not be started

Those config error messages come from the "strings" command to the /etc/config file.

I tried to attached it but I couldn't (see above).

 

Sorry, but I don't know what is the maxdsize and how to find out its value?

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>Those config error messages come from the "strings" command to the /etc/config file.

 

Don't do that.  That gives a list of ALL possible messages, not the one you got,

 

>but I don't know what is the maxdsiz and how to find out its value?

 

/usr/sbin/kmtune -q maxdsiz  # for 11.11

Yaroki
Super Advisor

Re: X-server can not be started

Oppsss, Ok.

 

Parameter           Current             Dyn                  Planned

===============================================

maxdsiz              3221225472    -                      3221225472

 

What does this parameter mean?

V. Nyga
Honored Contributor

Re: X-server can not be started

>Sorry, but I don't know what is the maxdsize and how to find out its value?

Also in SAM - Kernel Configuration - Configurable Parameters.
Mine is set to (hex) 0xc0000000 (or 3*1024*1024*1024)

V.
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>What does this parameter mean?

 

Your value is 3 Gb, plenty enough.  Unless you have maxdsiz too large or have used ulimit to make it smaller.

/usr/sbin/kmtune -q maxssiz  # for 11.11

ulimit -a

V. Nyga
Honored Contributor

Re: X-server can not be started

>What does this parameter mean?

http://www.docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html
*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

I attached the results of maxssiz and ulimit -a.

 

In addition the attached file shows that there are repeat messages (corn) that send to my /var/mail/root directory. It may concern to the issue.

V. Nyga
Honored Contributor

Re: X-server can not be started

Well, I can't imagine that this is a general kernel configuration problem ....

 

Please check installed graphics software
and also check for shown patches (screenshots in doc)

 

Do you have a support contract to get the latest patches?

 

V.

*** Say 'Thanks' with Kudos ***
Hakki Aydin Ucar
Honored Contributor

Re: X-server can not be started

did you try remove gvid driver and add again as reloading ?

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>I would try downloading and installing patch PHSS_36087

 

(It would be more helpful if you cut&pasted text files and not images.  I can't cut out of images.)

You maxssiz is fine.

 

Your crontab mail is useless junk, it seems to be sending your blank lines, plus the cron boilerplate.

Yaroki
Super Advisor

Re: X-server can not be started

Sorry for the late reply, I was on vacation.

 

> Please check installed graphics software

> and also check for shown patches (screenshots in doc?

 

How? what command should I run?

 

> Do you have a support contract to get the latest patches?

No, I don't have a support contract.

 

Yali

V. Nyga
Honored Contributor

Re: X-server can not be started

Did you have a nice vacation? :-)

>what command should I run?
The command are shown in the screenshot in the doc.

>No, I don't have a support contract.
That's not helpful - you can't patch the system ....
Well, with the commands we can see how up-to-date the system is.
Please post the results here.

V.
*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

Vacations are always good :-)

 

You ask me to post the results here. Since I'm working with separated nets I guess it is fine to attach the results as screenshot.

 

Yali.

Yaroki
Super Advisor

Re: X-server can not be started

BTW, it looks up to date (comparing to your results)
V. Nyga
Honored Contributor

Re: X-server can not be started

Yes - all seems to be installed.

 

Only the Xserver patch is neither the recommended nor the most recent. (-> attachment)

But I can't say if it's relevant.

 

 

If you have a backup of the patch you could try to roll it back, maybe it helps.

Have you already tried to change kernel after a new reboot?

Have you tried to boot from previous kernel?

 

Once again from your first post:

>error (pid 2709): server for display "hostname":0 cannot be started

Is there the right "hostname" shown?

 

V.

*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

>If you have a backup of the patch you could try to roll it back, maybe it helps.

Sorry, I don't have. But I do have similar HP-UX machines (B.11.11). Will it help for that issue?

 

>Have you already tried to change kernel after a new reboot?

I rebooted the system and then I tried to set the kernel parameter via SAM - unsuccessfully.

 

>Have you tried to boot from previous kernel?

What do you mean by "boot from previous kernel"? How can do it?

 

>error (pid 2709): server for display "hostname":0 cannot be started

Is there the right "hostname" shown?

> When I quoted the above message I did it as it appears. The expression "hostname" appears like that (not with the real name).

Anyway the hostname is fine (uname -a).

 

Yali.

V. Nyga
Honored Contributor

Re: X-server can not be started

>What do you mean by "boot from previous kernel"? How can do it?

Reboot the machine and interrupt the boot process
At the boot menu) type: boot pri isl
At the ISL> prompt type: hpux -is /stand/vmunix.prev

Then you should boot to init 1 (if I remember right).
Then you can change to init 2 and 3 and check for errors
(Type at prompt: init 2 - then init 3)

V.
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: X-server can not be started

Then if you try to change this kernel you should make a copy of the current kernel first:
Copy /stand/vmunix and /stand/system to ..._work.

HTH
V.

 

P.S. And make an ignite backup

*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

Hi,

 

I followed all the steps you offered.

isl> hpux -is /stand/vmunix.prev

> init 1

# login to root

no error message

 

# init 2 (lots of N/A processes as usual accepted)

error message: "Value TERM has been set to "unknown"

# init 3 (who -r)

 

. run-level 3 Oct  23 08:10    3    0    2

no error message. I can login into a CDE as root.

# env | grep TERM

TERMINAL_EMULATOR = dtterm

TERM = dtterm

So init 3 gives the possibility to login into a CDE.

Is that OK?

What is the run level should I shift to in order to work normaly? I mean, I checked other HP-UX:

# who -r

. run-level 3 Aug 14 13:10      3     0      S

What does the "S" mean (Single user)?

 

Yali

 

Dennis Handly
Acclaimed Contributor

Re: X-server can not be started

>What is the run level should I shift to in order to work normally?

 

3 is the normal user mode runlevel.

V. Nyga
Honored Contributor

Re: X-server can not be started

Hi,

level 3 is the normal level the ws would boot-up to, if you don't interrupt boot process.
Yes, 'S' is single-user environment - see the man-pages of 'who' and 'init'.

Ok, the old kernel would work.
What will happen if you do the same for the current kernel?
So:
isl> hpux -is /stand/vmunix
?
Also check how old the previous kernel is:
'll /stand'

Do you know any differencies between the kernels?
Else you have to compare kernel settings and patch level to find differencies.

What does 'diff /stand/system.prev /stand/system' says?

To change permanently to the previous kernel you have to copy /stand/vmunix.prev and /stand/system.prev to /stand/vmunix and /stand/system.

That's a decision you have to do - you can/should backup the current files before that.

More help needed?
V.
*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

Hi,

Well, current kernel didn't pass your exam :) - I receive the same error messages. (I might not mentioned it but the is another error message: " Type  ITE_x80y24 unkown ")

 

The previous kernel is old (from Feb 20 2006) and its size smaller.

 

I don't know what the differences between them are.

diff /stand/system.prev /stand/system gives nothing (no differences). BTW, they both have the same size.

 

If I can back up the files before I prefer to change to the previous kernel.

Please note, that my knowledge is limited and I should ask for assistance.

 

Thank you very much.

Yali.

 

V. Nyga
Honored Contributor

Re: X-server can not be started

Hi,

just found this hint in a thread:

Check /etc/rc.config.d/desktop f this is set:
DESKTOP=CDE

Else:
To backup the current kernel just copy /stand/vmunix to something like /stand/vmunix.new and /stand/system to /stand/system.new.
Then copy the previous kernel to the current name.

What date has the current kernel?

V.
*** Say 'Thanks' with Kudos ***
Yaroki
Super Advisor

Re: X-server can not be started

Hi,

 

DESKTOP=CDE was allready set in /etc/rc.config.d/desktop.

I backuped the current kernel as .new, then copied the .prev kernel to the current name. I rebooted the system but still, the same error message displayed...

Is there any deamon at /sbin/init.d/ that I should start?

 

The current kernel (the one that was copied to .new) is from Dec 17 2009.

 

Yali.

V. Nyga
Honored Contributor

Re: X-server can not be started

>but still, the same error message displayed...

I thought it worked with the previous kernel?

Can you post 'll' from /stand?
*** Say 'Thanks' with Kudos ***