• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Apache not starting after reboot

Scheduled Pinned Locked Moved Solved
FOG Problems
1
5
2.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    John L Clark
    last edited by Sep 19, 2016, 3:12 PM

    Apache2 not starting on reboot of server. Have tried reinstalling fog and still cant get Apache to start.

    This site can’t be reached

    fog-srv refused to connect.
    Search Google for fog srv
    ERR_CONNECTION_REFUSED

    1 Reply Last reply Reply Quote 0
    • J
      John L Clark
      last edited by Sep 19, 2016, 3:37 PM

      root@FOG-SRV1:/# sudo service apache2 restart

      • Restarting web server apache2 [fail]
      • The apache2 configtest failed.
        Output of config test was:
        AH00534: apache2: Configuration error: No MPM loaded.
        Action ‘configtest’ failed.
        The Apache error log may have more information.
        root@FOG-SRV1:/#
      1 Reply Last reply Reply Quote 0
      • J
        John L Clark
        last edited by Sep 19, 2016, 3:41 PM

        I edited the apache2.conf and now I am getting this

        root@FOG-SRV1:/# sudo service apache2 restart

        • Restarting web server apache2 [fail]
        • The apache2 configtest failed.
          Output of config test was:
          apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
          Action ‘configtest’ failed.
          The Apache error log may have more information.
          root@FOG-SRV1:/#
        1 Reply Last reply Reply Quote 0
        • J
          John L Clark
          last edited by Sep 19, 2016, 3:44 PM

          Ok now i have reinstalled libphp5 and am getting

          root@FOG-SRV1:/# service apache2 restart

          • Restarting web server apache2 AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
            Segmentation fault (core dumped)
            Action ‘start’ failed.
            The Apache error log may have more information.
            [fail]
          • The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
            root@FOG-SRV1:/#
            this
          1 Reply Last reply Reply Quote 0
          • J
            John L Clark
            last edited by Sep 19, 2016, 5:02 PM

            This has been resolved by Tom.

            It was a php version issue he had me run
            rm -rf /etc/apache* /etc/php*
            apt-get purge ‘libphp’ ‘apache*’ ‘php*’

            then reinstall and it worked perfectly.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post

            225

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project