Operating System - HP-UX
1834533 Members
2603 Online
110069 Solutions
New Discussion

Unable to verify installation

 
V. Nyga
Honored Contributor

Re: Unable to verify installation

Well, maybe it's better to set no password at the moment ;-)

There's no password 'pre-installed', so you can change it anytime with 'passwd' when logged in as 'root'.

V.
*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

OK , maybe getting somewhere.

Now when I reboot, it doesn't go to the CDE login screen but automatically goes to the # prompt.

This may sound silly but how do login from here?

Thanks for your help so far guys.

Harris Mir
Frequent Advisor

Re: Unable to verify installation

sorry to keep piling the questions on but does this mean that I have to type

#mountall

every single time I reboot?

Also, is there soemthing wrong with my boot script that means I can't load the CDE environment fromt he command prompt?
Tingli
Esteemed Contributor

Re: Unable to verify installation

Do you consider to reinstall the system again?
Harris Mir
Frequent Advisor

Re: Unable to verify installation

I have already done that, takes a long time on an old machine like this. There must be another way to load the CDE from the prompt surely?
R.K. #
Honored Contributor

Re: Unable to verify installation

If the machine after booting gets into runlevel 3 i.e. multiuser mode then no need for 'mountall'.
If it gets into single user mode (because of some issue), then only few file sys will be mounted. There you might require 'mountall' or mounting specific file systens based on your requirements.
Like mounting /usr to run commands etc.
Don't fix what ain't broke
Paul McCleary
Honored Contributor

Re: Unable to verify installation

Hi,

I think the reason CDE is not starting is because you are not reaching the required run level.

I see in other posts there is an inittab error. Among other things, this file determines what run level the system will boot to.

What does:

cat /etc/inittab

show?

Are you saying you have now installed this system twice and had the same result?

Are you sure there are no errors during the install? The system is certainly not behaving like the install completed ok.

I assume you don't have any other HP-UX media to try? Or even preferably a copy of HP-UX 11i - which is still supported.

Is this the only HP-UX system you have?
Harris Mir
Frequent Advisor

Re: Unable to verify installation

R.K. - thanks for that, it makes much more sense now.

Paul - you are correct, I have installed this twice with the same result.

the first time resulted in the /d_cfg_mnt_sb61 folder being created, for this I chose only the default setup options. For the second time, I decided to install every driver and bundle that was listed in case I was missing something. This improved things a little and is what I currently have on the system.

I don't understand where the error is being caused. During the setup I select all the appropriate options. Can you think of any that might cause this?

This is the only HP-UX system I have and I won't be able to source a different version in a hurry. Unless of course I get some pointers.... :)
Tingli
Esteemed Contributor

Re: Unable to verify installation

Type in exit in the # prompt, or ^d, to see what happened.
V. Nyga
Honored Contributor

Re: Unable to verify installation

Hi again,

after getting the # prompt you should check the log files now:

cat /etc/rc.log
cat /var/adm/syslog/syslog

What does 'bdf' says?

V.

*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

V. Nyga - For all three questions it comes with "no such file or directory"
V. Nyga
Honored Contributor

Re: Unable to verify installation

Hmmm - also after mountall?
Then we are at the beginning again?
What does 'ls' or 'ls -la' says?

V.
*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

OK, so I boot up and it takes me automatically to the # prompt.

I type:

1. # mountall
2. # /sbin/rc

The results

----------------------------------------------
Starting subsystems for run-level 3

Start NFS server subsystem..............OK
Start X print server(s).................FAIL*
Start CDE login server..................N/A

* - An error has occured !
* - Refer to the file /etc/rc.log for more information

Transition to run-level 3 is complete
---------------------------------------------

If I then:

cat /etc/rc.log

Results are:

********************************************
Starting subsystems for run-level 3
(Todays Date)
********************************************
Start NFS server subsystem
Output from "/sbin/rc3.d/S100nfs.server start":

ERROR: /etc/rc.comfig.d/nfsconf defaults file is MISSING
NFS_SERVER not set to one in /etc/rc.config.d/nfsconf, exiting

Start X print server(s)
Output from"/sbin/rc3.d/S200tps.rc start":

ERROR: /etc/rc.config.d/tps configuration file is missing
"/sbin/rc3.d/S200tps.rc statrt" FAILED

Start CDE login server
Output from "/sbin/rc3.d/S990dtlogin,rc start":

ERROR: /etc/rc/comfig defaults file is MISSING
"/sbin/rc3.d/S(()dtlogin.rc start SKIPPED

********************************************
HP-UX run-level transition completed
(Todays date)
********************************************
Harris Mir
Frequent Advisor

Re: Unable to verify installation

If I do ls :

Result:

.sh_history configure home monitor_bpr stand var
.sw dev lib opt tmp
bin etc lost+found sbin usr

are all shown.
V. Nyga
Honored Contributor

Re: Unable to verify installation

Ok

'cat /var/adm/syslog/syslog' ?

Also have you installed a graphics card?
'graphinfo|head'

If command is not found:
graphinfo is under /usr/bin/

The needed software?
'swlist -l product|grep CDE'
(swlist is under /usr/sbin/)

V.
*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

in /var/adm, there is no syslog. Only:

diag rc.log shutdownlog sw
ps_data sbtab sulog

graphinfo|head results:

graphics product HP VISUALISE-fx5
driver name: hprw
archive library /opt/graphics/common/lib/libddrw.a
shared library /opt/graphics/common/lib/libddrw.sl
/opt/ghraphics/OpenGL/lib/lib35acda30.sl

As for the swlist command:

result is

ERROR: Could not contact host "unknown". Make sure the hostname is correct and an absolute pathname is specified

Re: Unable to verify installation

This still seems to me like a completely messed up installation... there have been "BAD" CD/DVD sets in the past that wouldn't install the OS correctly - perhaps you could post the _full_ descriptions printed on the CDs together with their part numbers...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Harris Mir
Frequent Advisor

Re: Unable to verify installation

Thanks Duncan,

I presume its the number on the barcode that you want for the discs?

1. hp-ux 11.0 install/update/recovery
"core os with additional core enhancements
hp 9000 enterprise servers
hp visualise workstations"

March 2004
Part no. 5013-2099

2. hp-ux 11.0 core os options
"graphics and technical computing software
hp visualise workstations"

September 2003
Part no. B3782-10526

3. support plus
hp-ux 11.0 archive
"diagnostics and tested patch bundles
hp 9000 enterprise servers
hp visualise workstations


During installation I only use these 3 discs. I have never used the others that came with it. These include application software and a Ignite-ux recovery disc.
V. Nyga
Honored Contributor

Re: Unable to verify installation

>ERROR: Could not contact host "unknown". Make sure the hostname is correct and an absolute pathname is specified

Without correct hostname also CDE login will not work.
Can you repeat set_parms command?
'set_parms hostname'
'set_parms ip_address'

V.
*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

repeated the commands you mentioned,

set_hostname

result: it just went to the next line

set_ip_address

result:

it asked me if I want to use the default address? I typed yes. It takes me back to the prompt.
V. Nyga
Honored Contributor

Re: Unable to verify installation

'uname -a' ?

'cat /etc/hosts' ?

V.
*** Say 'Thanks' with Kudos ***
Harris Mir
Frequent Advisor

Re: Unable to verify installation

1. # uname -a

result:

HP-UX unknown B.11.00 U 9000/785 2015319314 unlimited-user licence

2. cat /etc/hosts

result:

127.0.0.1 unixbox1 (i created this using set_parms)
127.0.0.1 localhost loopback
V. Nyga
Honored Contributor

Re: Unable to verify installation

>HP-UX unknown

so your hostname is not properly assigned ...
*** Say 'Thanks' with Kudos ***
Sunny123_1
Esteemed Contributor

Re: Unable to verify installation

Hi

In which run level you are?

who -r


Regards
Sunny
Sunny123_1
Esteemed Contributor

Re: Unable to verify installation

Hi

You can set hostname and ip address in /etc/rc.comfig.d/netconf then restart the net and hostname service. Only if set_parms not work.


Regards
Sunny