Operating System - HP-UX
1833959 Members
2000 Online
110063 Solutions
New Discussion

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

Hi all:

HPUX 11.23 on rx2620.
Wanting to check out some kernel parameters.
I invoke the kcweb command and ti get the error message;
/usr/sbin/kcweb[31]: /opt/hpwebadmin/lbin/web_or_tui: not found.

I have checked 'swlist -l fileset | grep -i kernelcon' and I have the components.
# swlist -l fileset | grep -i kernelco
# KernelConfig B.11.23.10 Kernel Configuration
KernelConfig.KC-CMDS B.11.23.10 Kernel Configuration Commands
KernelConfig.KC-ENG-A-MAN B.11.23.10 Kernel Configuration English manpages
KernelConfig.KC-FRE-I-MSG B.11.23.10 Kernel Configuration French ISO message catalogs
KernelConfig.KC-GER-I-MSG B.11.23.10 Kernel Configuration German ISO message catalogs
KernelConfig.KC-ITA-I-MSG B.11.23.10 Kernel Configuration Italian ISO message catalogs
KernelConfig.KC-JPN-E-MAN B.11.23.10 Kernel Configuration Japanese EUC manpages
KernelConfig.KC-JPN-S-MAN B.11.23.10 Kernel Configuration Japanese SJIS manpages
KernelConfig.KC-JPN-S-MSG B.11.23.10 Kernel Configuration Japanese SJIS message catalogs
KernelConfig.KC-KOR-E-MSG B.11.23.10 Kernel Configuration Korean EUC message catalogs
KernelConfig.KC-SCH-H-MSG B.11.23.10 Kernel Configuration S-Chinese HP15 message catalogs
KernelConfig.KC-SPA-I-MSG B.11.23.10 Kernel Configuration Spanish ISO message catalogs
KernelConfig.KC-TCH-B-MSG B.11.23.10 Kernel Configuration T-Chinese Big5 message catalogs
KernelConfig.KC-WEB-ADM B.11.23.10 Kernel Configuration Web Server Configuration
KernelConfig.KC-WEB-GUI B.11.23.10 Kernel Configuration Web Based GUI
# KernelConfig B.11.23.22 Kernel Configuration
KernelConfig.KC-ENG-A-HELP B.11.23.22 Kernel Configuration English Online Help
KernelConfig.KC-FRE-U-HELP B.11.23.22 Kernel Configuration French Online Help
KernelConfig.KC-GER-U-HELP B.11.23.22 Kernel Configuration German Online Help
KernelConfig.KC-ITA-I-HELP B.11.23.22 Kernel Configuration Italian Online Help
KernelConfig.KC-JPN-S-HELP B.11.23.22 Kernel Configuration Japanese Online Help
KernelConfig.KC-KOR-U-HELP B.11.23.22 Kernel Configuration Korean Online Help
KernelConfig.KC-SCH-H-HELP B.11.23.22 Kernel Configuration Simplified Chinese Online Help
KernelConfig.KC-SPA-I-HELP B.11.23.22 Kernel Configuration Spanish Online Help
KernelConfig.KC-TCH-B-HELP B.11.23.22 Kernel Configuration Traditional Chinese Online Help
KernelConfig.KC-TUI B.11.23.22 Kernel Configuration Terminal User Interface

So where are these files to allow me to execute kcweb?
6 REPLIES 6
moonchild
Regular Advisor
Solution

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

Rick,

Have you tried starting kcweb from SAM-> Kernel Config?
Was it working before?

Rick Garland
Honored Contributor

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

Get the same results from SAM or command line.
Cannot answer if it was working before. I have come across this system after it was built.
moonchild
Regular Advisor

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

try swlist -l fileset -a state | grep -i kernelconfig and see if all filesets are configured if not you can reinstall kcweb.

The main directory for kcweb is:

/opt/hpwebadmin/ (instead of /opt/webadmin on 11.11 and 11.22)


The swlist command reports kcweb as the following product:

KernelConfig B.11.23 Kernel Configuration

It is installed as a subproduct of the following bundle:

HPUXBaseAux B.11.23 HP-UX Base OS Auxiliary



What main files and directories does installing kcweb create?

The following are the upper level directories used by kcweb:

/opt/hpwebadmin/

bin
cgi-bin -->/opt/hpwebadmin/htdocs/casey
conf
htdocs
lbin
lib
logs *
newconfig
webapps
work

* Note: this 'logs' directory is empty, the server logs file
are under /var/opt/hpwebadmin/logs.

/opt/hpwebadmin/conf/
catalina.policy
httpd.conf
openssl.cnf
server.xml
ssl.conf
tomcat4.conf.hpux
tomcat4.conf.linux
web.xml

/opt/hpwebadmin/lbin/
apachectl
autowa
wacertificate
waclient
wagenurl
waservactive
waserver
waservmon
wastart

/var/opt/hpwebadmin/
casey
certificates
lock
logs
parmgr
session


/usr/lbin/kccmd /usr/sbin/kcalarm
/kcdevice /kclog
/kconv /kcmodule
/kcgenurl /kconfig
/kcmond /kcpath
/kcmkkern /kctune
/kcservactive /kcusage
/kcservmon /kcweb

/var/adm/kc.log


for more info check itrc doc:
MJFKBRC00014217

Steven E. Protter
Exalted Contributor

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

Shalom,

You might wish to swverify the relavent components and swconfigure them if not correct.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rick Garland
Honored Contributor

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

Listed in the original post is the swlist output.

I have verified they are configured (-a state)

I will be ignited the system later today or tomorrow, will see what happens then.

Rick Garland
Honored Contributor

Re: kcweb - /opt/hpwebadmin/lbin/web_or_tui: not found

As mentioned, the OS believed the kcweb tools were installed, configured and available on the system. But looking in the /opt/hpwebadmin/lbin directory there were no files.

Did the re-ignite of the system as mentioned. (The re-ignite was for another reason.) The /opt/hpwebadmin/lbin files were back and kcweb is working.

Not sure what happened as I happened upon the situation and I was under a very short time constraint to resolve other issues with this server, hence no time for the research.

Thanks all!