Operating System - HP-UX
1833784 Members
2195 Online
110063 Solutions
New Discussion

Unable to verify installation

 
Harris Mir
Frequent Advisor

Unable to verify installation

Hi all,

Complete HP-UX virgin here so be gentle.

Got a C3700, trying to install hp-ux 11.0.

Followed the book to do a "cold install".

Configured for technical computing - Going to run Engineering packages.

Used Install, Core OS and Support plus CD's. It automatically reboots.

I want to verify that it is correctly installed, the manual tells me to use "swlist" and "swverify".

Problem occurs :

/usr/sbin/swlist not found

When I navigate into the /usr folder and "ls", nothing is shown. Even weirder, when I try to navigate to:

/bin - it says it cannot be found.

Have I missed a trick or is the installation crap?

Kinda in a bind here, any help will be good thanks.
54 REPLIES 54
Tingli
Esteemed Contributor

Re: Unable to verify installation

It seems you've missed a lot.

Try to run bdf and what is the output.
Ganesan R
Honored Contributor

Re: Unable to verify installation

Hi,

At what run level you are in? Check with this command.

#who -r

Does all the filesystems got mounted?

#bdf
Best wishes,

Ganesh.
Harris Mir
Frequent Advisor

Re: Unable to verify installation

Hi guys,

So I get to the # prompt by interrupting the boot process:

1. typed:

# who -r

result:

"sh: who: not found"

2. then tried:

# bdf

result:

"sh: bdf: not found"

As far as I can tell, the only point during cold install that I can make a mistake is the selecting of patch bundles and drivers but surely the commands you guys have mentioned should come as part of the basic installation?

Also, I get the same results as above, if I try "vi" and "head".

I am missing something obvious I think. Thanks for your help so far.
R.K. #
Honored Contributor

Re: Unable to verify installation

Hi Harris,

Any errors/failures you see when system boots up? (/etc/rc.log)
What about /etc/fstab? Entries are present and ok there.

Regds..
Don't fix what ain't broke
Harris Mir
Frequent Advisor

Re: Unable to verify installation

Hi R.K.

Errors when I boot up:

1. RPC daemon - Fails
"error has occured, check /etc/rc.config"

I can navigate to the /etc folder but my rc.config file is actually shown as a "rc.config.d" file.

If i type # /etc/fstab when I am in the root directory:

sh: /etc/fstab: cannot execute

It is there if I "ls" in the /etc directory though.
R.K. #
Honored Contributor

Re: Unable to verify installation

/etc/fstab is a file having information of the file sys to be mounted.

What is output of below commands:

# cat /etc/fstab
# mount
Don't fix what ain't broke
Dennis Handly
Acclaimed Contributor

Re: Unable to verify installation

>If I type /etc/fstab when I am in the root directory:

This is a data file, not an executable. You need to list it:
cat /etc/fstab

(Any reason you are installing obsolete 11.00 instead of 11.11?)
Harris Mir
Frequent Advisor

Re: Unable to verify installation

Dennis,

:) Thanks, there is nothing like learning as you go!

Result of cat /etc/fstab:
---------------------------------------------
#System /etc/fstab file. Static information about the file systems
#See fstab(4) and sam(1M) for further details on configuring devices.

/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
---------------------------------------------
R.K. #
Honored Contributor

Re: Unable to verify installation

And the o/p of:
# mount
Don't fix what ain't broke
Harris Mir
Frequent Advisor

Re: Unable to verify installation

Result of # mount:

/ on dev/vg/lvol3 defaults on (todays date)
/d_cfg_mnt_sb61 on dev/vg00/lvol3 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/stand on dev/vg00/lvol1 defaults on (todays date)
/d_cfg_mnt_sb61/tmp on dev/vg00/lvol4 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/home on dev/vg00/lvol5 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/opt on dev/vg00/lvol6 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/usr on dev/vg00/lvol7 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/var on dev/vg00/lvol8 delaylog,nodatainlog on (todays date)
/d_cfg_mnt_sb61/tmp/ign_configure/RAMFS on dev/vg00/lvol1 defaults on (todays date)
Dennis Handly
Acclaimed Contributor

Re: Unable to verify installation

>/d_cfg_mnt_sb61/

This prefix is strange.

What does "ls -l /d_cfg_mnt_sb61/usr/sbin/swinstall" show?
Perhaps that's where your files are?
Harris Mir
Frequent Advisor

Re: Unable to verify installation

if I try to "cd" to d_cfg_mnt_sb61 and then "ls", it just returns the content of the root directory.

using "cat d_cfg_mnt_sb61":
---------------------------------------------
8HxhTDd( ,X)
lost+foundetcstantmp Dhome
sbinHdevSr
configure3Tmonitor_bprX|envs.cfg.p3uXd_cfg_mnt_sb61%.sw}lib123,bin789012345678901234567890#
---------------------------------------------

seems like an error message to me.



I am going to try an reinstall but I am not sure what I will do any different this time round to make it work.

Are there any guidleines other than the installation guide that I should follow?

Or am I giving up too early?

Re: Unable to verify installation

are you *sure* the install ran through to completion without error?

all those d_cfg_mnt_sb61 filesytem entries look to me like an "interrupted" Ignite installation...

HTH

Duncan

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

Re: Unable to verify installation

I started with the "install/update/recovery" CD, chose all the settings as the guidelines describe, then it asked me for the "Core OS Options" CD, then for the "Support Plus" CD.

After I pop the CD, it does its thing and reboots automatically, I let it carry on. It comes with a CDE login dialog box.

At this point though, I haven't setup a "root" password.

I am sure you are right tht the process was interrupted but I am sure I didn't do it.

Could it be that there is an old installation that keeps being referred to and my installed files are going somewhere else?
Harris Mir
Frequent Advisor

Re: Unable to verify installation

More of an update:

I rebooted and managed to note down some of the many error messages. These didn't come up before (strange).
--------------------------------------------
"Error: software configuration appears to have been completed but with some errors, will continue anyway"

"Warning: /var/opt/ignite/clients/0x00306E211C9E/install.log No such file or directory (errno=2)"
---------------------------------------------

Also, the boot process takes me to the # prompt:

INIT: /etc/inittab: Cannot stat: No such file or directory

INIT: WARNING: /etcinittab is CORRUPT
INIT: System being brought up by SINGLE USER!!!

not sure what the implications are.
R.K. #
Honored Contributor

Re: Unable to verify installation

So your system is in single user mode....
Try doing :
# mountall

This will mount all file systems present in /etc/fstab (you posted in your previous thread) and that looks good.

And after that try:
# /sbin/init 2
and then..
# /sbin/init 3

This will help you bringing system to runlevel 2 and then finally to 3.

Let us see if we get any issue doing so.

Don't fix what ain't broke
Harris Mir
Frequent Advisor

Re: Unable to verify installation

OK! so ran "mountall"

as a result, I now have files in my /usr directory.
------------------------------------------
I ran : # /sbin/init

the message said:

Usage: init [0123456sQqabcMm]
--------------------------------------------
But when I run: # sbin/init 2

Result:
INIT: /etc/inittab: Cannot stat: No such file or directory
INIT: New run level: 2
INIT /etcinittab: Cannot stat: No such file or directory
INIT /etcinittab: Cannot stat: No such file or directory

And then the cursor just hangs and does nothing, so I reboot using the power button
-----------------------------------------

Are we making progress?
V. Nyga
Honored Contributor

Re: Unable to verify installation

Hi,

you're sure:
/ on dev/vg/lvol3 defaults on (todays date) ?

No '/' before dev?

From my system it should be:
/ on /dev/vg/lvol3 defaults on ...

>if I try to "cd" to d_cfg_mnt_sb61 and then "ls", it just returns the content of the root directory.

Of course - from your mount:
/ on dev/vg/lvol3 defaults on (todays date)
/d_cfg_mnt_sb61 on dev/vg00/lvol3 delaylog,nodatainlog on (todays date)

The 'root-volume' dev/vg00/lvol3 is mounted to '/' and to '/d_cfg_mnt_sb61' - well not exactly - you have vg for '/' and vg00 for the rest - that's very strange too.

>using "cat d_cfg_mnt_sb61":
>seems like an error message to me.

Please use 'ls' for directories and 'cat' only for files ;-)

Using a command you need to add this '/d_cfg_mnt_sb61' before the first '/'.

The installation really seems to be gone false.

>error has occured, check /etc/rc.config"

So check (cat) '/d_cfg_mnt_sb61/etc/rc.config' and post it here.


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

Re: Unable to verify installation

cat rc.config.d

results in:

$ X|HlD4s crashconft savecrashs'slsPxf86diagnostic@nddconfJ8netconf#
V. Nyga
Honored Contributor

Re: Unable to verify installation

>Are we making progress?

Well, as said above your pathes are wrong.

I don't know if it's possible for you to give the right mount points in single user mode.

You should mount all /dev/vg00/... to the right '/' directory.

So for example 'mount /dev/vg00/lvol5 /home'

But it seems like /etc is empty too.

You could either copy all from '/d_cfg_mnt_sb61' to '/' or also try to mount it again:
'mount /dev/vg00/lvol3 /'

What does Dennis mean? :-)

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

Re: Unable to verify installation

Hi again,

>cat rc.config.d

No, please - rc.config.d is a directory, so please use 'ls' or try 'ls -la'

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

Re: Unable to verify installation

OK, I just rebooted because it was jsut hanging and doing nothing.

The /d_cfg_mnt_sb61 directory no longer exists.

I typed the #mountall command and as a result have files in my /etc folder
V. Nyga
Honored Contributor

Re: Unable to verify installation

Hi,

sounds good :-)

what does 'bdf' says?

Btw. - I think this thread has some help for you about starting with hp-ux:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1362763

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

Re: Unable to verify installation

OK a development.

after I did #mountall, I navigated through to /usr/sbin, then ran:

set_parms

after going through the process it is saying that it will reboot so I can login as "root".

What is the root password ?

Or do I have to create one using "passwd root"?