1830899 Members
3525 Online
110017 Solutions
New Discussion

Error on Nickel script

 
dctw
Frequent Advisor

Error on Nickel script

Hi, I encountered this when running the NICKEL script.

**************************************
Nickel Revision: A.01.12b15-HP9000-Itanium-Version

Note, the Temporary Output will go to the following Directory:
/tmp/nickel

Point your favourite Web browser to that directory and
open the file index.html to see the results.

Final Archived File:
/tmp/nickel.server.tar.gz

Collecting System Information...

Verifying Filesystem/Disk Information...

Checking Installed Software...

Collecting Network Information...

Checking Java...

Checking for Optional Software...

Checking for SuperDome, OpenCall, OpenMail, OmniBack,
MC/SG, ORB, ISDN, X25, SNA...

Checking for OpenCall software...
* Fibre Channel



tar: cannot stat nickel.server. Not dumped.

Created Archive File:
/tmp/nickel.server.tar.gz

******************************************

I have no idea where it went wrong. I was unable to open the file.
15 REPLIES 15
TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Keywords: "tar", "cannot stat", "Not dumped"

Check the followings:

1. /tmp available disk space

2. Check for possible Bad Disk(s) in /dev/vg00?

Thanks
TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Check the followings as well:

HP-UX 11.23:
PHCO_33431 tar(1) catalogs ; directory timestamp

HP-UX 11.11:
PHCO_36587 tar(1) cumulative patch

HP-UX 11.00:
PHCO_29229 Cumulative tar(1) patch

Thanks
dctw
Frequent Advisor

Re: Error on Nickel script

Hi TY,

1. /tmp was having sufficient space.
2. No bad disk issues
3. Patch exists.

Anything else that I need to check ?
TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Check the shell script content.

Modify if applicable, example "tar cvf" to "tar -cvf"

Try the followings as well:
# cd /tmp
# tar -cvf nickel.server.tar nickel.server
# rm nickel.server.tar.gz
# gzip -9 nickel.server.tar

Try to unzip nickel.server.tar.gz:
# mkdir /tmp/test
# mv /tmp/nickel.server.tar.gz /tmp/test
# cd /tmp/test
# gunzip nickel.server.tar.gz
# tar -xvf nickel.server.tar

Try to figure out which portion went wrong.

Good Luck :)

Thanks


whiteknight
Honored Contributor

Re: Error on Nickel script

dctw,

if you are collecting the system report.

you can consider using cfg2html.

http://www.cfg2html.com

Download the HPUX depot. Please try it also.

WK
Problem never ends, you must know how to fix it
Robert-Jan Goossens
Honored Contributor

Re: Error on Nickel script

Hi Dtwc,

Where did you download this specific version?

The latest nickel I found on HP.com dates froom 2001.

http://h20331.www2.hp.com/Hpsub/cache/286022-0-0-225-121.html?jumpid=reg_R1002_USEN

Regards,
Robert-Jan
TY 007
Honored Contributor

Re: Error on Nickel script

Hello Robert,

Possible is the updated modified version from the 2001 release :)

Thanks
dctw
Frequent Advisor

Re: Error on Nickel script

I checked the nickel.log from /tmp/nickel.

It says :-

/tmp/nickel
% cat nickel.log
Invalid PPA Number entry

Any idea?
dctw
Frequent Advisor

Re: Error on Nickel script

TY,

I've tried the commands you specified.. No issue.

No difference between "tar -cvf" and "tar cvf". Both works fine.
TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Check:
# cd /tmp/nickel.server/
# ls -al <-- Post the output

Are all the files complete?

Copy all the files in /tmp/nickel.server/* to PC. Double click on index.html. Is Server Information Complete? Do attach index.html if applicable.

Thanks
dctw
Frequent Advisor

Re: Error on Nickel script

Yup.. all files are there....

-rw-rw-rw- 1 root sys 386 Nov 15 13:16 exports.html
-rw-rw-rw- 1 root sys 775 Nov 15 13:17 fc.html
-rw-rw-rw- 1 root sys 1086 Nov 15 13:17 fs-disk.html
-rw-rw-rw- 1 root sys 835 Nov 15 13:17 gated.html
-rw-rw-rw- 1 root sys 315 Nov 15 13:17 hfsinfo.html
-rw-rw-rw- 1 root sys 1526 Nov 15 13:16 hosts.html
-rw-rw-rw- 1 root sys 5646 Nov 15 13:17 index.html
-rw-rw-rw- 1 root sys 6493 Nov 15 13:17 inetd.html
-rw-rw-rw- 1 root sys 12844 Nov 15 13:17 ioscan.html
-rw-rw-rw- 1 root sys 929 Nov 15 13:17 iostat.html
-rw-rw-rw- 1 root sys 7503 Nov 15 13:17 ipcs.html
-rw-rw-rw- 1 root sys 1541 Nov 15 13:17 java.html
-rw-rw-rw- 1 root sys 3050 Nov 15 13:17 lifinfo.html
-rw-rw-rw- 1 root sys 431 Nov 15 13:17 locale.html
-rw-rw-rw- 1 root sys 4723 Nov 15 13:17 lsdev.html
-rw-rw-rw- 1 root sys 1164 Nov 15 13:17 lvlnboot.html
drwxrwxrwx 3 root sys 96 Nov 15 13:17 lvmdirectory
-rw-rw-rw- 1 root sys 5451 Nov 15 13:17 lvminfo.html
-rw-rw-rw- 1 root sys 654483 Nov 15 13:17 mail.log.html
-rw-rw-rw- 1 root sys 5321 Nov 15 13:17 mount.html
-rw-rw-rw- 1 root sys 937 Nov 15 13:17 nameres.html
-rw-rw-rw- 1 root sys 13372 Nov 15 13:17 netfmt.html
-rw-rw-rw- 1 root sys 52340 Nov 15 13:17 netstat.html
-rw-rw-rw- 1 root sys 4504 Nov 15 13:17 network.html
-rw-rw-rw- 1 root sys 6561 Nov 15 13:17 nfsstat.html
-rw-rw-rw- 1 root sys 25 Nov 15 13:17 nickel.log
-rw-rw-rw- 1 root sys 19130 Nov 15 13:17 ps.html
drwxr-xr-x 2 root sys 8192 Nov 15 13:17 rc.config.d
-rw-rw-rw- 1 root sys 33243 Nov 15 13:17 rc.log.html
-rw-rw-rw- 1 root sys 46498 Nov 15 13:17 rc.log.old.html
-rw-rw-rw- 1 root sys 1478 Nov 15 13:17 sar.html
drwxrwxrwx 2 root sys 8192 Nov 15 13:17 sendmail.conf
-rw-rw-rw- 1 root sys 472 Nov 15 13:17 sendmail.html
-rw-rw-rw- 1 root sys 31863 Nov 15 13:17 services.html
-rw-rw-rw- 1 root sys 455 Nov 15 13:16 setboot.html
-rw-rw-rw- 1 root sys 366 Nov 15 13:17 showmount.html
-rw-rw-rw- 1 root sys 972 Nov 15 13:17 shutdownlog.html
-rw-rw-rw- 1 root sys 191154 Nov 15 13:17 software.html
-rw-rw-rw- 1 root sys 2404115 Nov 15 13:17 software_logfiles.html
-rw-rw-rw- 1 root sys 4325 Nov 15 13:17 stand_system.html
-rw-rw-rw- 1 root sys 617 Nov 15 13:17 strings.html
-rw-rw-rw- 1 root sys 604 Nov 15 13:17 swapinfo.html
-rw-rw-rw- 1 root sys 3859 Nov 15 13:17 sysdef.html
-rw-rw-rw- 1 root sys 98404 Nov 15 13:17 syslog.html
-rw-rw-rw- 1 root sys 16461 Nov 15 13:17 vgdisplay.html
-rw-rw-rw- 1 root sys 946 Nov 15 13:17 vmstat.html
-rw-rw-rw- 1 root sys 122848 Nov 15 13:17 what.html


The screen stops here.....
TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Last few files exist:
- fc.html
- index.html

The shell script portion of the OS info collection should be completed.

It seems the OS 'tar' portion is not working accordingly when the shell script is executing.

Troubleshoot slowly, check syslog.log, dmesg for other possible System Messages for more clues.

Meanwhile, in the Shell Script, comment out the 'tar', 'gzip' lines:
# tar cvf .....
# gzip -9 .....

Manually perform tar & gzip:
# cd /tmp
# tar -cvf nickel.server.tar nickel.server
# gzip -9 nickel.server.tar

Output file: /tmp/nickel.server.tar.gz

Log a HP Support Ticket to check on the OS Level.

Good Luck.



TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

** % cat nickel.log **

Did you execute the Shell Script as 'root'?

Thanks

TY 007
Honored Contributor

Re: Error on Nickel script

Hello,

Check for no alias for rm, tar, gzip:
# alias rm
# alias tar
# alias gzip

If alias exists:
# unalias rm
# unalias tar
# unalias gzip

Thanks
dctw
Frequent Advisor

Re: Error on Nickel script

The manual creation of the gz file was fine.
I'll log a call with the support to check.

Anyhow, learnt a few stuff here... Thank you so much for your help.