1752780 Members
6734 Online
108789 Solutions
New Discussion юеВ

cfg2html

 
Madan Kumar
Occasional Advisor

cfg2html

Hi All,

I am using cfg2html to gather system information but from last week,I am not able to use it.Any idea why this is not able to gather all the information. Below is the output I am getting after executing cfg2html.
"
# cfg2html
cfg2html[7]: -h: A test command parameter is not valid.


--=[ http://come.to/cfg2html ]=---------------------------------------------
Starting cfg2html/HP-UX version 4.53 on a ia64 hp box
Path to cfg2Html /opt/cfg2html/cfg2html_hpux.sh
Path to plug-ins /opt/cfg2html/plugins
HTML Output File /tmp/ch01csip_06-Oct-2009-1054.html
Text Output File /tmp/ch01csip_06-Oct-2009-1054.txt
Errors logged to /tmp/ch01csip_06-Oct-2009-1054.err
Started at 2009-10-06 10:54:08
Command line used -0 -o/tmp
Problem If cfg2html hangs on Hardware, press twice ENTER, Ctrl-D or
Crtl-\. Then check your Diagnostics (A.42++ and PHKL_29798)!
--=[ http://come.to/cfg2html ]=---------------------------------------------
USE AT YOUR OWN RISK! (for details read /opt/cfg2html/doc/cfg2html.html)
Online help: run cfg2html_hpux.sh -h for help or look at the ~/doc directory
--=[ http://come.to/cfg2html ]=---------------------------------------------
Error (cfg2html): Returncode=1"
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: cfg2html

>>cfg2html[7]: -h: A test command parameter is not valid.

What is at line 7 of the script? Whatever the command is, there is a '-h' parameter which is does not like.

Is there anything else inf the /tmp/ch01csip_06-Oct-2009-1054.err file, since that is where errors are being written?
Suraj K Sankari
Honored Contributor

Re: cfg2html

Hi,

Its looks some one edit your cfg2html script, if possible then take a new copy of cfg2html and try.

Suraj
Michal Kapalka (mikap)
Honored Contributor

Re: cfg2html

hi,

the question is if you applied some patches or make same configuration change with SW depots.

I am using SysInfo, and i am satisfied.

mikap
Madan Kumar
Occasional Advisor

Re: cfg2html

Suraj, I installed a new version, but I am still getting the same error.

Thanks
Madan.
Suraj K Sankari
Honored Contributor

Re: cfg2html

Hi,

What is the ver. of your cfg2html bcz there are different cfg2html for different HP.

like
cfg2html 4.53 for HP-UX 11.11-11.31 (hppa+ia64

Suraj