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

    Starting and checking status of web services................Failed!

    Scheduled Pinned Locked Moved Solved FOG Problems
    3 Posts 2 Posters 19 Views
    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.
    • R
      robertkwild
      last edited by robertkwild

      hi all,

      trying to install fog 1.6 on ubuntu 24.04 but i get this error on the install script

      the exact version im trying to install is

      https://github.com/FOGProject/fogproject/archive/refs/tags/1.6.0-RC-10.tar.gz

      Starting and checking status of web services................Failed!
      
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !! The installer was not able to run all the way to the end as   !!
      !! something has caused it to fail. The following few lines are  !!
      !! from the error log file which might help us figure out what's !!
      !! wrong. Please add this information when reporting an error.   !!
      !! As well you might want to take a look at the full error log   !!
      !! in /tmp/fogproject-1.6.0-RC-10/bin/error_logs/fog_error_1.6.0-RC-10.log !!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      
                   ├─87893 "php-fpm: pool www"
                   └─87894 "php-fpm: pool www"
      
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Starting php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager...
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Started php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager.
      

      and when i look at the log

      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
      Syntax OK
      Job for apache2.service failed because the control process exited with error code.
      See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
      × apache2.service - The Apache HTTP Server
           Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled)
           Active: failed (Result: exit-code) since Wed 2026-10-14 12:57:09 UTC; 59ms ago
             Docs: https://httpd.apache.org/docs/2.4/
          Process: 87882 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
              CPU: 51ms
      
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Starting apache2.service - The Apache HTTP Server...
      Oct 14 12:57:09 lon-c-clonezilla01 apachectl[87885]: 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
      Oct 14 12:57:09 lon-c-clonezilla01 apachectl[87885]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
      Oct 14 12:57:09 lon-c-clonezilla01 apachectl[87885]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
      Oct 14 12:57:09 lon-c-clonezilla01 apachectl[87885]: no listening sockets available, shutting down
      Oct 14 12:57:09 lon-c-clonezilla01 apachectl[87885]: AH00015: Unable to open logs
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: apache2.service: Failed with result 'exit-code'.
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
      
      ● php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager
           Loaded: loaded (/usr/lib/systemd/system/php8.3-fpm.service; enabled; preset: enabled)
           Active: active (running) since Wed 2026-10-14 12:57:09 UTC; 22ms ago
             Docs: man:php-fpm8.3(8)
          Process: 87895 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.3/fpm/pool.d/www.conf 83 (code=exited, status=0/SUCCESS)
         Main PID: 87883 (php-fpm8.3)
           Status: "Ready to handle connections"
            Tasks: 6 (limit: 37986)
           Memory: 11.8M (peak: 12.3M)
              CPU: 89ms
           CGroup: /system.slice/php8.3-fpm.service
                   ├─87883 "php-fpm: master process (/etc/php/8.3/fpm/php-fpm.conf)"
                   ├─87890 "php-fpm: pool www"
                   ├─87891 "php-fpm: pool www"
                   ├─87892 "php-fpm: pool www"
                   ├─87893 "php-fpm: pool www"
                   └─87894 "php-fpm: pool www"
      
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Starting php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager...
      Oct 14 12:57:09 lon-c-clonezilla01 systemd[1]: Started php8.3-fpm.service - The PHP 8.3 FastCGI Process Manager.
      

      let me know

      thanks,
      rob

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @robertkwild
        last edited by

        @robertkwild Something else is already listening on port 80, so Apache cannot start:

        (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
        

        FOG needs port 80 (and 443) for itself. Find what holds it:

        sudo ss -ltnp 'sport = :80'
        

        The hostname suggests this box was a Clonezilla/DRBL server, so it is likely a web server left from that, or nginx/lighttpd from an earlier attempt. Stop and disable that service (for example sudo systemctl disable --now nginx), then re-run the installer.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        R 1 Reply Last reply Reply Quote 1
        • R
          robertkwild @Tom Elliott
          last edited by robertkwild

          @Tom-Elliott
          thanks it was lighttpd so i purged it

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT Tom Elliott has marked this topic as solved
          • R robertkwild has marked this topic as solved
          • 1 / 1
          • First post
            Last post

          82

          Online

          12.8k

          Users

          17.7k

          Topics

          157.2k

          Posts
          Copyright © 2012-2026 FOG Project