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



  • 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
    


  • That did the trick. Thank you!


  • Senior Developer

    @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.



  • 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.
    

  • Senior Developer

    Those errors would not keep the httpd service from starting.

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


Log in to reply
 

394
Online

38729
Users

10555
Topics

99942
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.