Opened 14 years ago

Closed 13 years ago

#8 closed defect (fixed)

Probleme with "/etc/init.d/dataeng start" in dellomsa_5.3.0-9_i386.deb package

Reported by: anonymous Owned by: bas
Priority: major Milestone:
Version: 5.3.0 Keywords: dataeng
Cc:

Description

All three Daemons do not start when i use "/etc/init.d/dataeng start"

I have to start them directly and then all works.

gil:~/dellomsa# /etc/init.d/dataeng enablesnmp Data Engine SNMP enabled gil:~/dellomsa# /etc/init.d/dataeng start Starting Systems Management Data Engine: Starting dsm_sa_datamgr32d: /etc/init.d/dataeng: line 966: daemon: command not found Starting dsm_sa_eventmgr32d: /etc/init.d/dataeng: line 966: daemon: command not found Starting dsm_sa_snmp32d: /etc/init.d/dataeng: line 966: daemon: command not found

Change History (6)

comment:1 Changed 14 years ago by bas

  • Owner set to bas
  • Status changed from new to assigned

Which debian distro do you run and is lsb-base installed?

comment:2 Changed 14 years ago by anonymous

I use Debian Etch. lsb-base package is install, so i think yes, it's an lsb-base distro. ;)

comment:3 Changed 14 years ago by bas

Yes, we have the same setup and everthing works as expected ;-) It must find the wrong script or something. Did you do a bash -x on one of the startup scripts. It must print out that is uses the "/lib/lsb/init-functions" functions

comment:4 Changed 14 years ago by anonymous

with a bash -X i got this:

+ '0 = 1?' + return 127 + dataeng_status + DENG_STATUS=3 + '1 = 1?' + for DENG_DAEMON in '${DENG_DAEMON_START_LIST}' + dataeng_supt_daemonstatus dsm_sa_datamgr32d + DAEMON=dsm_sa_datamgr32d + '-z dsm_sa_datamgr32d?' ++ pidof -o 12286 -o 11915 -o %PPID -x dsm_sa_datamgr32d + PIDLIST= + '[' -n ']' + PIDFILE=/var/run/dsm_sa_datamgr32d.pid + '-f /var/run/dsm_sa_datamgr32d.pid?' + LOCKFILE=/var/lock/subsys/dsm_sa_datamgr32d + '-f /var/lock/subsys/dsm_sa_datamgr32d?' + echo 'dsm_sa_datamgr32d is stopped' + return 3 + '3 = 0?' + for DENG_DAEMON in '${DENG_DAEMON_START_LIST}' + dataeng_supt_daemonstatus dsm_sa_eventmgr32d + DAEMON=dsm_sa_eventmgr32d + '-z dsm_sa_eventmgr32d?' ++ pidof -o 12286 -o 11915 -o %PPID -x dsm_sa_eventmgr32d + PIDLIST= + '[' -n ']' + PIDFILE=/var/run/dsm_sa_eventmgr32d.pid + '-f /var/run/dsm_sa_eventmgr32d.pid?' + LOCKFILE=/var/lock/subsys/dsm_sa_eventmgr32d + '-f /var/lock/subsys/dsm_sa_eventmgr32d?' + echo 'dsm_sa_eventmgr32d is stopped' + return 3 + '3 = 0?' + for DENG_DAEMON in '${DENG_DAEMON_START_LIST}' + dataeng_supt_daemonstatus dsm_sa_snmp32d + DAEMON=dsm_sa_snmp32d + '-z dsm_sa_snmp32d?' ++ pidof -o 12286 -o 11915 -o %PPID -x dsm_sa_snmp32d + PIDLIST= + '[' -n ']' + PIDFILE=/var/run/dsm_sa_snmp32d.pid + '-f /var/run/dsm_sa_snmp32d.pid?' + LOCKFILE=/var/lock/subsys/dsm_sa_snmp32d + '-f /var/lock/subsys/dsm_sa_snmp32d?' + echo 'dsm_sa_snmp32d is stopped' + return 3 + '3 = 0?' + return 3 + '3 = 0?' + return 0 + for DENG_DAEMON in '${DENG_DAEMON_START_LIST}' + dataeng_startdaemon dsm_sa_eventmgr32d + DAEMON=dsm_sa_eventmgr32d + '-z dsm_sa_eventmgr32d?' + IS_DENG_DAEMON=0 + for DENG_DAEMON in '${DENG_DAEMON_ALL_LIST}' + 'dsm_sa_eventmgr32d = dsm_sa_datamgr32d?' + for DENG_DAEMON in '${DENG_DAEMON_ALL_LIST}' + 'dsm_sa_eventmgr32d = dsm_sa_eventmgr32d?' + IS_DENG_DAEMON=1 + break + '1 = 0?' + echo -n 'Starting dsm_sa_eventmgr32d: ' Starting dsm_sa_eventmgr32d: + DENG_DAEMON_FILE=/opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d + DENG_DAEMON_OPTS= + dataeng_supt_daemonstatus dsm_sa_eventmgr32d + DAEMON=dsm_sa_eventmgr32d + '-z dsm_sa_eventmgr32d?' ++ pidof -o 12286 -o 11915 -o %PPID -x dsm_sa_eventmgr32d + PIDLIST= + '[' -n ']' + PIDFILE=/var/run/dsm_sa_eventmgr32d.pid + '-f /var/run/dsm_sa_eventmgr32d.pid?' + LOCKFILE=/var/lock/subsys/dsm_sa_eventmgr32d + '-f /var/lock/subsys/dsm_sa_eventmgr32d?' + echo 'dsm_sa_eventmgr32d is stopped' + return 3 + '[' 3 '!=' 0 ']' + dataeng_supt_daemonstart /opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d + DAEMON_PFNAME=/opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d ++ basename /opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d + DAEMON=dsm_sa_eventmgr32d + shift + '/etc/init.d/functions = /etc/init.d/functions?' + daemon /opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d /etc/init.d/dataeng: line 966: daemon: command not found + STATUS=127 + SHOW_STATUS=0 + echo


This machine is an old etch, installed one year before the stable release. It's up to date, but i think it's why it don't work.

I install the same package on a new install of etch and it works.

comment:5 Changed 14 years ago by bas

Did you upgrade the dellomsa on this host. I do not see any message that it finds the lsb-base package. Can you purge the package. dpkg -P dellomsa and see if the init.d script is gone and then reinstall it again

comment:6 Changed 13 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

No response

Note: See TracTickets for help on using tickets.