I ran into an issue when trying to install and run WCS 188.8.131.52 on a clean install of CentOS 5 (2.6.18-194.3.1.el5.centos.plus)
After successfully installing WCS using the option "-DCHECK_OS=false" I tried to start the WCS service with the startupscript as root, but got the following error:
[[email protected] WCS184.108.40.206]# ./StartWCS
The Server seems to be unavailable. The possible reasons are
1. The server is not running yet.
2. The server is hanging.
3 The server has crashed.
If the server has crashed or is hanging
Please report the issue and follow the instructions to restart it.
1. Run StopWCS to stop all WCS processes.
2. Run StartWCS to start the WCS server.
3. If the server still fails to start, or you still get this
message, then reboot the machine.
failed to start WCS on startup Health Monitor
Failed to start WCS. Check hm_launchout.txt for details.
Log files are located under webnms/logs in the WCS install directory.
[[email protected] WCS220.127.116.11]# cat webnms/logs/hm_launchout.txt
Starting Health Monitor as a primary
Checking for Port 8082 availability... OK
Starting Health Montior Web Server...
Health Monitor Web Server Started.
Starting Health Monitor Server...
Health Monitor Server Started.
[[email protected] WCS18.104.22.168]#
[[email protected] logs]# cat launchout.txt
Invalid OS version detected, can not start Xvfb.
Checking for Port 21 availability... OK
Checking for Port 8456 availability... OK
Checking for Port 8457 availability... OK
Checking for Port 1299 availability... OK
Checking for local Port 1299 availability... OK
Checking for Port 6789 availability... OK
Checking for local Port 6789 availability... OK
Checking for UDP Port 69 availability... OK
Checking for Port 8005 availability... OK
Checking for UDP Port 162 availability... OK
Checking for Port 8009 availability... OK
Starting RMI registry on port 1299
DB is already started
Starting NMS Server...
the only error I can interpret is the "can not start Xvfb", but my google foo does not yield any results for this issue, so:
Anyone here successfully running this configuration?
PS: I do realize this is not a Cisco supported OS, but I would like to try it before falling back to RHEL
Editing /etc/redhat-release should allow WCS to start. I run ours on CentOS 5 and I had to make this change.
Just comment out the CentOS line and add the Red Hat line below. You will probably need to be root to do this and
it may require a restart. Also after running updates for CentOS I have notice that the file usually changes back
and WCS does not start again. I keep a copy of the file on the server desktop and copy it over after the updates.
I have not notice any issue with running it on CentOS, just thought I would throw that out there.
Red Hat Enterprise Linux Server release 5 (Tikanga)
#CentOS release 5.4 (Final)