07-20-2009 07:18 PM - edited 03-09-2019 10:27 PM
After a midnight web failure on my CAM after rebooting I get a 503 error...
Service Temporarily Unavailable
We are poking around tomcat and apache on the CAM but nothing seems wrong. Any one had this and fixed it?
If I use controlsmart with the admin flag I get the initial setup web interface OK.
07-21-2009 11:47 AM
try to shuts down the Cisco NAC Appliance service and starts it up again. This is used when the service is already running and you want to restart it.
service perfigo restart
http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/413/cam/m_instal.html
07-21-2009 02:11 PM
Yeah,
Done that about a dozen times by now. Further info.. tomcat is not listening on port 8005 or 8009 so apache cannot connect. It does connect to postgres, it seems to get partway thru setting up the first (admin) container and then stop.
If I use "controlsmart start admin" the initial configuration web page comes up ok tho.
07-22-2009 09:39 PM
tomcat is not listening on port 8009
apache mod_jk connects to tomcat on port 8009
In logs ... (/perfigo/control/tomcat/logs/localhost_log.${date}.txt
2009-07-21 12:57:39 WebappLoader[/admin]: Deploying class repositories to work directory /perfigo/control/tomcat/work/Standalone/localhost/admin
2009-07-21 12:57:39 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/jsf_hack_tld.jar to /perfigo/control/tomcat/webapps/admin/WEB-INF/lib/jsf_hack_tld.jar
2009-07-21 12:58:09 ContextConfig[/admin]: Configured an authenticator for method NONE
2009-07-21 12:58:09 PersistentManager[/admin]: Seeding random number generator class java.security.SecureRandom
2009-07-21 12:58:09 PersistentManager[/admin]: Seeding of random number generator has been completed
2009-07-21 12:58:09 PersistentManager[/admin]: No Store configured, persistence disabled
and stops, should go on to ...
2008-10-08 14:23:07 StandardWrapper[/admin:default]: Loading container servlet default
2008-10-08 14:23:07 StandardWrapper[/admin:invoker]: Loading container servlet invoker
and then load the other containers.
***********************************************************************************************************************
Fixed by reinstalling the perfigo service
cd /store/cca_upgrade-4.1.6
/etc/init.d/perfigo stop
rpm -i --force perfigo-smartmanager-server-4.1-6.i386.rpm
/etc/init.d/perfigo start
# netstat -n | grep 8009
tcp 0 0 127.0.0.1:55744 127.0.0.1:8009 ESTABLISHED
tcp 0 0 127.0.0.1:8009 127.0.0.1:55744 ESTABLISHED
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide