WHY??? This is not a depend on any other linux system I have the hsm installed on....
I can't seem to get this package working. I now have the .deb file but I get the following if I remove the dependency on hpasm.
# dpkg -i hpsmh_2.1.4-143_i386.deb (Reading database ... 84442 files and directories currently installed.) Preparing to replace hpsmh 2.1.4-143 (using hpsmh_2.1.4-143_i386.deb) ...
Shutting down hpsmhd/etc/init.d/hpsmhd: line 197: 32612 Segmentation fault /opt/hp/hpsmh/sbin/hpsmhd -k stop -f /opt/hp/hpsmh/conf/smhpd.conf >/dev/null 2>&1 dpkg: warning - old pre-removal script returned error exit status 139 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. Unpacking replacement hpsmh ... Removing any system startup links for /etc/init.d/hpsmhd ... /etc/rc0.d/K10hpsmhd /etc/rc1.d/K10hpsmhd /etc/rc2.d/S91hpsmhd /etc/rc3.d/S91hpsmhd /etc/rc4.d/S91hpsmhd /etc/rc5.d/S91hpsmhd /etc/rc6.d/K10hpsmhd Setting up hpsmh (2.1.4-143) ...
********************************************************** * System Management Homepage installed successfully with * * default configuration values. To change the default * * configuration values, type the following command at * * the root prompt: * * * * perl /usr/local/hp/hpSMHSetup.pl * * * **********************************************************
/opt/hp/hpsmh/install/doinst.sh: line 216: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 217: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 218: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 219: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 220: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 221: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 222: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 223: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 224: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 225: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 226: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 227: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 228: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 229: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 230: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 231: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory /opt/hp/hpsmh/install/doinst.sh: line 232: /opt/hp/hpsmh/conf/smhpd.xml: No such file or directory chmod: cannot access `/opt/hp/hpsmh/conf/mime.types': No such file or directory chmod: cannot access `/opt/hp/hpsmh/conf/magic': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/WEB_INF/cgi/namazu.cgi': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/WEB_INF/cgi/.namazurc': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/*.jar': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/*.res': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/*.js': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/*.htm': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/*.css': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/graphics/*.png': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/proxy/en/*.html': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/proxy/en/*.xml': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/proxy/en/sys-map.properties': No such file or directory chmod: cannot access `/opt/hp/hpsmh/data/help/WEB_INF/cgi/var/en/proxy/*': No such file or directory /opt/hp/support/cs-final.sh: line 162: chkconfig: command not found /opt/hp/support/cs-final.sh: line 163: chkconfig: command not found Adding system startup for /etc/init.d/hpsmhd ... /etc/rc0.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc1.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc6.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc2.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc3.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc4.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc5.d/S91hpsmhd -> ../init.d/hpsmhd
Shutting down hpsmhd/etc/init.d/hpsmhd: line 197: 441 Segmentation fault /opt/hp/hpsmh/sbin/hpsmhd -k stop -f /opt/hp/hpsmh/conf/smhpd.conf >/dev/null 2>&1
Starting hpsmhd ]
/etc/init.d/hpsmhd: line 197: 461 Segmentation fault $START_BIN
chown: cannot access `/opt/hp/hpsmh/data/help': No such file or directory dpkg: error processing hpsmh (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: hpsmh
You do need the hpasm package to use the HPsmh. Try removing all of the previously installed HPsmh+HPasm components (and directories), and reinstall all, starting with HPasm, then HPsmh.
Hi, I have installed hpasm and when I try to install hpsmh, I get this. Any idea?
Code:
# dpkg -i hpsmh_2.1.4-143_i386.deb Selecting previously deselected package hpsmh. (Reading database ... 33036 files and directories currently installed.) Unpacking hpsmh (from hpsmh_2.1.4-143_i386.deb) ... Setting up hpsmh (2.1.4-143) ...
********************************************************** * System Management Homepage installed successfully with * * default configuration values. To change the default * * configuration values, type the following command at * * the root prompt: * * * * perl /usr/local/hp/hpSMHSetup.pl * * * **********************************************************
Adding system startup for /etc/init.d/hpsmhd ... /etc/rc0.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc1.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc6.d/K10hpsmhd -> ../init.d/hpsmhd /etc/rc2.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc3.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc4.d/S91hpsmhd -> ../init.d/hpsmhd /etc/rc5.d/S91hpsmhd -> ../init.d/hpsmhd /opt/hp/support/cs-final.sh: line 194: chkconfig: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found Shutting down hpsmhd/etc/init.d/hpsmhd: line 170: rc_status: command not found /etc/init.d/hpsmhd: line 201: rc_exit: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found Starting hpsmhd ]
/etc/init.d/hpsmhd: line 161: startproc: command not found
/etc/init.d/hpsmhd: line 201: rc_exit: command not found /etc/init.d/hpsmhd: line 182: rc_status: command not found /etc/init.d/hpsmhd: line 201: rc_exit: command not found dpkg: error processing hpsmh (--install): subprocess post-installation script returned error exit status 127 Errors were encountered while processing: hpsmh #
install hpasm first, then hpsmh. if the error still persists tell me please
I did it, but same error.
Code:
# ls -l /opt/ total 8 dr-xr-xr-x 10 bin bin 4096 Apr 20 16:23 hpwebadmin dr-xr-xr-x 15 root bin 4096 Apr 20 17:18 mx # ls -l /var/spool/ total 16 drwxr-xr-x 5 root root 4096 Jun 1 2005 cron drwxr-x--- 5 Debian-exim Debian-exim 4096 Jun 1 2005 exim4 lrwxrwxrwx 1 root root 7 Aug 17 2005 mail -> ../mail drwxr-xr-x 19 root root 4096 Jun 1 2005 postfix drwxr-x--- 18 proxy proxy 4096 May 2 06:26 squid # dpkg -i hpasm_7.4.0-56_i386.deb Selecting previously deselected package hpasm. (Reading database ... 32103 files and directories currently installed.) Unpacking hpasm (from hpasm_7.4.0-56_i386.deb) ... Setting up hpasm (7.4.0-56) ... Adding group `hpsmh' (106)... Done. adduser: Warning: The home dir you specified already exists. Adding system user `hpsmh'... Adding new user `hpsmh' (105) with group `hpsmh'. Home directory `/opt/hp/hpsmh' already exists. Please read the Licence Agreement for this software at
/opt/compaq/hpasm/hpasm.license
By not removing this package, you are accepting the terms of the "License for HP Value Added Software". ============================================================================== NOTE: In order to activate the software contained in this package, you must type 'hpasm activate' as 'root' user. You may subsequently reset your agent configuration by typing '/etc/init.d/hpasm configure' or '/etc/init.d/hpasm reconfigure'. ============================================================================== The hpasm package has installed successfully.
# dpkg -i hpsmh_2.1.4-143_i386.deb Selecting previously deselected package hpsmh. (Reading database ... 33046 files and directories currently installed.) Unpacking hpsmh (from hpsmh_2.1.4-143_i386.deb) ... Setting up hpsmh (2.1.4-143) ...
********************************************************** * System Management Homepage installed successfully with * * default configuration values. To change the default * * configuration values, type the following command at * * the root prompt: * * * * perl /usr/local/hp/hpSMHSetup.pl * * * **********************************************************
System startup links for /etc/init.d/hpsmhd already exist. /opt/hp/support/cs-final.sh: line 194: chkconfig: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found Shutting down hpsmhd/etc/init.d/hpsmhd: line 170: rc_status: command not found /etc/init.d/hpsmhd: line 201: rc_exit: command not found
/etc/init.d/hpsmhd: line 124: rc_reset: command not found /etc/init.d/hpsmhd: line 128: rc_reset: command not found Starting hpsmhd ]
/etc/init.d/hpsmhd: line 161: startproc: command not found
/etc/init.d/hpsmhd: line 201: rc_exit: command not found /etc/init.d/hpsmhd: line 182: rc_status: command not found /etc/init.d/hpsmhd: line 201: rc_exit: command not found dpkg: error processing hpsmh (--install): subprocess post-installation script returned error exit status 127 Errors were encountered while processing: hpsmh #