Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks, I have a headless server which requires "pass phrase" to start Apache at boot. After remote rebooting I can ssh connect the server. But I can't start Apache ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,778

    How to reboot headless server with pass phrase


    Hi folks,


    I have a headless server which requires "pass phrase" to start Apache at boot. After remote rebooting I can ssh connect the server. But I can't start Apache because I have no way to keyin the password remotely.


    After connection, running;

    $ sudo /etc/init.d/apache2 restart
    Code:
     * Forcing reload of apache 2.0 web server...                                   [Sat Jun 28 10:33:50 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
    (98)Address already in use: make_sock: could not bind to address [::]:443
    no listening sockets available, shutting down
    Unable to open logs
                                                                             [fail]
    Is there any glue. TIA


    B.R.
    satimis

  2. #2
    Just Joined!
    Join Date
    Jun 2009
    Posts
    1

    Question

    Quote Originally Posted by satimis View Post
    Hi folks,


    I have a headless server which requires "pass phrase" to start Apache at boot. After remote rebooting I can ssh connect the server. But I can't start Apache because I have no way to keyin the password remotely.


    After connection, running;

    $ sudo /etc/init.d/apache2 restart
    Code:
     * Forcing reload of apache 2.0 web server...                                   [Sat Jun 28 10:33:50 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
    (98)Address already in use: make_sock: could not bind to address [::]:443
    no listening sockets available, shutting down
    Unable to open logs
                                                                             [fail]
    Is there any glue. TIA


    B.R.
    satimis
    I have the same problem only I am not using a headless server. After booting into X, my Apache2 server is running but requires a pass phrase to work properly. I have to kill my apache2 server processes and the restart Apache2. At this point I am asked for my pass phrase.

    There must be a better way.

    OS unbuntu 8.10
    Apache 2.2.9 (Ubuntu)
    PHP 5.2.6-2ubuntu4.2 with Suhosin-Patch
    mod_ssl 2.2.9 OpenSSL 0.9.8g
    mod_perl 2.0.4 Perl v5.10.0

    Thanks for any help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •