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

    Installation halts on in-place upgrade with build 6683 on CentOS 7.1

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    5
    1.5k
    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.
    • sudburrS
      sudburr
      last edited by

      Performing an in-place upgrade on a build 6403 to build 6683, installation halts at …

       * Resetting SSL Permissions...................................OK
       * Setting up SSL FOG Server...................................OK
       * Restarting Apache2 for fog vhost............................Failed!
      

      From /var/log/httpd/error_log (CentOS 7.1)

      PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/bootmenu.class.php on line 115
      PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/bootmenu.class.php on line 116
      

      [ Standing in between extinction in the cold and explosive radiating growth ]

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

        Those errors would not keep the httpd service from starting.

        What’s in the bin/error_logs/fog_error_6683.log file?

        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

        1 Reply Last reply Reply Quote 0
        • sudburrS
          sudburr
          last edited by

          Tried again with build 6687. Same results.
          Snipped from bottom of /opt/trunkgit/fogproject/bin/error_logs/fog_error_6687.log

          Getting CA Private Key
          ln: failed to create symbolic link ‘/var/www/html/fog/fog’: File exists
          Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
          ● httpd.service - The Apache HTTP Server
             Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
             Active: failed (Result: exit-code) since Fri 2016-03-11 15:27:03 EST; 2s ago
               Docs: man:httpd(8)
                     man:apachectl(8)
            Process: 4345 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
            Process: 4337 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
           Main PID: 4337 (code=exited, status=1/FAILURE)
          
          Mar 11 15:27:03 devfog systemd[1]: Starting The Apache HTTP Server...
          Mar 11 15:27:03 devfog httpd[4337]: AH00526: Syntax error on line 15 of /etc/httpd/conf.d/fog.conf:
          Mar 11 15:27:03 devfog httpd[4337]: SSLCertificateKeyFile: file '/etc/httpd/\\/opt\\/fog\\/snapins\\/ssl\\/.srvprivate.key' does not exist or is empty
          Mar 11 15:27:03 devfog systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
          Mar 11 15:27:03 devfog kill[4345]: kill: cannot find process ""
          Mar 11 15:27:03 devfog systemd[1]: httpd.service: control process exited, code=exited status=1
          Mar 11 15:27:03 devfog systemd[1]: Failed to start The Apache HTTP Server.
          Mar 11 15:27:03 devfog systemd[1]: Unit httpd.service entered failed state.
          Mar 11 15:27:03 devfog systemd[1]: httpd.service failed.
          
          ● php-fpm.service - The PHP FastCGI Process Manager
             Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
             Active: active (running) since Fri 2016-03-11 15:27:03 EST; 2s ago
           Main PID: 4338 (php-fpm)
             Status: "Ready to handle connections"
             CGroup: /system.slice/php-fpm.service
                     ├─4338 php-fpm: master process (/etc/php-fpm.conf
                     ├─4339 php-fpm: pool www
                     ├─4340 php-fpm: pool www
                     ├─4341 php-fpm: pool www
                     ├─4342 php-fpm: pool www
                     └─4343 php-fpm: pool www
          
          Mar 11 15:27:03 devfog systemd[1]: Starting The PHP FastCGI Process Manager...
          Mar 11 15:27:03 devfog systemd[1]: Started The PHP FastCGI Process Manager.
          

          [ Standing in between extinction in the cold and explosive radiating growth ]

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

            @sudburr Edit your /opt/fog/.fogsettings file.

            You’ll likely see an area that says something along the lines of:

            sslpath='\/opt\/fog\/snapins\/ssl'
            

            Delete the line and rerun 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

            1 Reply Last reply Reply Quote 1
            • sudburrS
              sudburr
              last edited by sudburr

              That did the trick. Thank you!

              [ Standing in between extinction in the cold and explosive radiating growth ]

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              199

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project