1. When the Watchman client starts processes, the database process is not started. Therefore, check whether the database is faulty. Navigate to the /opt/sybase/ASE-12_5/install folder and run the following command to manually start the Sybase:
#./startserver -f ./RUN_N2000DBServer &
After the command is used, the returned information indicates that the N2000DBServer database is successfully started. Then, run the ps-ef|grepSybase command to view the sybase process, but the sybase process cannot be found and the database_server process is grayed out on the Watchman client, which indicates that the process is not started.
2. Because the database process is not started, the installation of the N2000 BMS software is not checked.
3. Manually start the database and the database is successfully started. After running the ps command, you cannot view the sybase process. This is normal because all N2000 processes are stopped by the Watchman client previously. Even though the database is manually started later, since the Watchman has a higher priority in process control, the Watchman stops the database process again. As a result, the sybase process cannot be viewed even when you run the ps command.
4. Since the Watchman fails to start the database process, the script of the Watchman for starting the database must has errors.
5. The Watchman client uses a script of starting the database to start the sybase process. The script is startsybaseserver in the /opt/watchman/server/script/ directory and the script is saved to this directory when the N2000 UMS software is installed. To check whether the script has errors, manually run the script in this way: Navigate to the /opt/watchman/server/script/ directory and run the following command:
# ./startsybaseserver &
The returned information is as follows:
# Sun Microsystems Inc. SunOS 5.8 Generic Patch February
couldn’t push module ’ip’, No such device or address
sh: /opt/sybase/ASE-12_0/install/: cannot execute
Start database server failed!
The returned information indicates that the database fails to be started.
6. Since the Watchman can properly start and stop the database and the N2000 processes on the standby server, compare the script file on the active server with the script file on the standby server and the following differences are found:
Active server (abnormal)
Standby server (normal)
In the preceding information, the two scripts differ in the second line which defines the environment variable, and the environment variable for the active server is incorrect. Then, overwrite the script file on the active server with the script of the standby server, restart the background process of the Watchman, and start the N2000 processes on the Watchman client. As a result, all the processes are successfully started