The wiki is now available again. However, some recent changes may not have been restored.
Please see Computing Services' blog post for more details
Skip to end of metadata
Go to start of metadata

FRMI - Fault Management Resource Identifier

The FRMI used for BUCS customised apache startup scripts is:

svc: - service prefix
/site/ - location of local site service additions
BUCS-http - service name
apache2 - instance name

Command

Use

svcs -a BUCS-http

Lists all the apache instances on a box and their states

svcs -x BUCS-httpd:apache2

Gives information on the selected apache instance (note log location)

svcadm disable -t BUCS-httpd:apache2

Temporarily disables (so the service will come back on restart) the selected tomcat instance (removing the -t removes the instance from the startup sequence)

svcadm enable BUCS-httpd:apache2

Starts the selected instance

svcadm clear BUCS-httpd:apache2

Clears a maintenance state on an instance (see log for details of why the service has been marked as under maintenance)

svccfg -v import /var/svc/manifest/site/BUCS-httpd.xml

Imports the specified manifest file (only used at setup and configuration)

people.bath.ac.uk and staff.bath.ac.uk  

Served from pingu

Check the config:
/opt/www/apache2/bin/httpd configtest

Restart:
svcadm restart BUCS-http

www.bath.ac.uk and main bath served virtualhosts 

Currently served from snoopy/woodstock

Check the config:
/opt/www/apache2/bin/httpd configtest

Restart:
svcadm restart BUCS-http

  • No labels