we (would like to) run an automated backup nightly.
we need to shut down the entire stack (briefly) so that we can get a cold snapshot of fedora and mulgara before starting the backup.
we run all of the commands to stop, snapshot, start, and backup from plosnas01 over ssh. the scripts are run as the user backup, who has sudo privileges on the production servers for the appropriate commands.
when running 'service fedora start' over ssh, the server starts up just fine, however after start up it throws a log4j error, and then fails to terminate. the backup script hangs at this point waiting for the startup script to finish.
so we cannot run automated backups.
i'm guessing that the log4j error (which does not happen if you run service locally) is due to some missing environment variables, but i have no idea what.
you can reproduce this on plosfail01 by logging in as topazdev.
first stop the fedora server.
then say:
[topazdev@plosfail01 ~]$ ssh topazdev@localhost sudo /sbin/service fedora start
topazdev@localhost's password:
Starting Fedora
Starting the Fedora server...
Using server profile: mysql
2007-01-03 14:49:09PM PST - Waiting for startup to begin
2007-01-03 14:49:11PM PST - Starting Fedora Server instance
2007-01-03 14:49:11PM PST - Initializing Server
2007-01-03 14:49:11PM PST - Fedora Version: 2.1.1
2007-01-03 14:49:11PM PST - Fedora Build: 1
2007-01-03 14:49:11PM PST - Server Host Name: plosone-stage.plos.org
2007-01-03 14:49:11PM PST - Server Port: 9090
2007-01-03 14:49:11PM PST - Debugging: OFF
2007-01-03 14:49:11PM PST - Initializing Modules
2007-01-03 14:49:11PM PST - Post-Initializing Modules
2007-01-03 14:49:11PM PST - Initializing XACML Authorization Module
2007-01-03 14:49:13PM PST - Started
Finished. To stop server, use fedora-stop.
log4j:WARN No appenders could be found for logger (org.topazproject.bootstrap.MasterWebAppListener).
log4j:WARN Please initialize the log4j system properly.