Hi,
I tried to install DFM3.3R1 on a Debian. Firsh the binary tests the validity of /etc/redhat-release so i gave him "Red Hat Enterprise Linux ES release 3". Second i transformed NTAPdfm.i386.rpm to a debian package with alien. The package were succesfully installed but i think the database has not been setup: not database/tables created.
When i launch "dfm service start" i get this message:
Dec 12 17:49:40 [dfm:ERROR]: Could not get valid status after attempting to start sql server. NOTE: This machine could be configured for failover as a stand by. Sql services will not be started on a stand by machine. If this machine is not configured for failover, the server may already be running. Please use the following system command to verify: "ps -e | grep dbsrv9"
I think i have to launch dbsrv8 with thoses options: dbsrv9 -n MonitorDB_leia2 -o "/opt/NTAPdfm/log/sybase.log" -os 10000000 -gd all -gl all -gk all -gp 8192 -ct- -x SharedMemory,tcpip -ud /opt/NTAPdfm/data/monitordb.db but it says me "Could not open/read file: /opt/NTAPdfm/data/monitordb.db".
Someone already had this problem ? How can i setup this db, creates the tables it needs and launch it ?
On Tue, Dec 12, 2006 at 06:45:24PM +0100, Aur?lien Beaujean wrote:
I tried to install DFM3.3R1 on a Debian. Firsh the binary tests the
...
database has not been setup: not database/tables created. When i launch "dfm service start" i get this message:
Dec 12 17:49:40 [dfm:ERROR]: Could not get valid status after attempting to start sql server. NOTE: This machine could be configured for failover as a stand by. Sql services will not be started on a stand by machine.
...
Someone already had this problem ? How can i setup this db, creates the tables it needs and launch it ?
I think, post-install script from rpm-package schoul create DB and do other necessary things before starting DFM.
You can rerun alien with `-c' to include scripts into debian package, but it is better to check contents with:
rpm -qp --scripts path/to/dfm-bla-bla.rpm
before. Sometimes, very strange and dangerous things can be found in package scripts from commercial vendors :(
Also, you most likely will need package lsb-common: it provides file /lib/lsb/init-functions, which contains functions start_daemon, log_success_msg, ... for DFM init-script.