#2973 ErrorDocument 500 /index.shtml failure

Slashdot
open
Other (492)
7
2005-03-13
2004-07-20
No

After doing sd-control -S, no other sd-control apache commands
seem to work anymore. Presumably it's issuing a "start-static"
command or something, which the apachectl that's there doesn't
recognize.

[jamie@admin-sshgate-1 jamie]$ sd-control -S
10.2.37.201
Slashdot is in static mode.
[jamie@admin-sshgate-1 jamie]$ sd-control -p 2
Slashdot is in static mode.
10.2.37.26 SSL
/usr/local/apache/bin/apachectl stop: httpd stopped
usage: /usr/local/apache/bin/apachectl
(start|stop|restart|fullstatus|status|graceful|configtest|help)

start - start httpd
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and
mod_status enabled
status - dump a short status screen; requires lynx and
mod_status enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if
not running
configtest - do a configuration syntax test
help - this screen

<pausing 2 seconds>
10.2.37.11 static
/usr/local/apache/bin/apachectl stop: httpd stopped
usage: /usr/local/apache/bin/apachectl
(start|stop|restart|fullstatus|status|graceful|configtest|help)

[etc.]

Discussion

  • Chris Nandor

    Chris Nandor - 2004-07-21
    • assigned_to: pudge --> jamiemccarthy
     
  • Chris Nandor

    Chris Nandor - 2004-07-21

    Logged In: YES
    user_id=3660

    OK, not sure how to proceed here, let's think.

    We can either make it so apachectl understands start-static, or we can
    make it so it just does a plain start. If the latter, will it start up OK in
    static mode? You worked on the newer static stuff, and I am not sure of
    the answer.

    Apparently it did start OK, since i saw on the log you just did a plain start
    ... it started OK, and stayed in static mode? If so, I can just strip out the
    start-static stuff. Pls advise ..

     
  • Jamie McCarthy

    Jamie McCarthy - 2004-08-02

    Logged In: YES
    user_id=3889

    I don't know. Just fix it.

    [jamie@admin-sshgate-1 jamie]$ sd-control -k
    10.2.37.26 SSL
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.11 static
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.12 static
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.13 static
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.14 index
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.15 index
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.16 index
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.17 index
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.18 index
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.19 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.20 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.21 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.22 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.23 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.24 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    10.2.37.25 comments
    /usr/local/apache/bin/apachectl stop: httpd stopped
    stop-start completed in 8.05 seconds
    [jamie@admin-sshgate-1 jamie]$ sd-control -S
    10.2.37.201
    Slashdot is in static mode.
    [jamie@admin-sshgate-1 jamie]$ sd-control -s
    Slashdot is in static mode.
    10.2.37.26 SSL
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.11 static
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.12 static
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.13 static
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.14 index
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.15 index
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.16 index
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.17 index
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.18 index
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.19 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.20 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.21 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.22 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.23 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.24 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    10.2.37.25 comments
    usage: /usr/local/apache/bin/apachectl
    (start|stop|restart|fullstatus|status|graceful|configtest|help)

    start - start httpd
    stop - stop httpd
    restart - restart httpd if running by sending a SIGHUP or start if
    not running
    fullstatus - dump a full status screen; requires lynx and mod_status
    enabled
    status - dump a short status screen; requires lynx and mod_status
    enabled
    graceful - do a graceful restart by sending a SIGUSR1 or start if not
    running
    configtest - do a configuration syntax test
    help - this screen

    stop-start completed in 3.79 seconds

     
  • Jamie McCarthy

    Jamie McCarthy - 2004-08-02
    • assigned_to: jamiemccarthy --> pudge
    • priority: 8 --> 9
     
  • Chris Nandor

    Chris Nandor - 2004-08-02

    Logged In: YES
    user_id=3660

    I think I fixed this, but need to do a late-night test.

     
  • Chris Nandor

    Chris Nandor - 2004-08-03
    • assigned_to: pudge --> jamiemccarthy
     
  • Chris Nandor

    Chris Nandor - 2004-08-03

    Logged In: YES
    user_id=3660

    This works now, as best I can tell, except for the "ErrorDocument 500 /
    index.shtml" directive. It works for 404, but for 500, I get a blank page.
    I wonder if this is because of pound or something, where we've had issues
    with getting error pages that are not ours before. Any clues?

     
  • Jamie McCarthy

    Jamie McCarthy - 2004-08-11
    • assigned_to: jamiemccarthy --> pudge
    • priority: 9 --> 6
     
  • Jamie McCarthy

    Jamie McCarthy - 2004-08-11

    Logged In: YES
    user_id=3889

    No idea offhand, sorry.

     
  • Chris Nandor

    Chris Nandor - 2004-08-12
    • priority: 6 --> 4
     
  • Chris Nandor

    Chris Nandor - 2004-11-08
    • priority: 4 --> 2
     
  • Chris Nandor

    Chris Nandor - 2005-01-06
    • summary: sd-control -S screws sd-control --> ErrorDocument 500 /index.shtml failure
     
  • Jamie McCarthy

    Jamie McCarthy - 2005-03-13

    Logged In: YES
    user_id=3889

    With a new version of pound online, maybe it's worth taking another look at
    this?

     
  • Chris Nandor

    Chris Nandor - 2005-03-13

    Logged In: YES
    user_id=3660

    Yeah, OK.

     
  • Chris Nandor

    Chris Nandor - 2005-03-13
    • priority: 2 --> 7
     
  • Chris Nandor

    Chris Nandor - 2005-03-15

    Logged In: YES
    user_id=3660

    Nah, when I restart as static, I still get the blank page.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks