[rev 6134] SSL certificate error during installation


  • Moderator

    Hi,

    I’ve an error during installation : * Creating SSL Certificate....................................Failed!

    There is no log :

    ls -l /var/log/fog_error_*
    -rw-r--r-- 1 root root 28563 janv.  7 12:56 /var/log/fog_error_5874.log
    -rw-r--r-- 1 root root 24644 janv.  8 09:17 /var/log/fog_error_5903.log
    -rw-r--r-- 1 root root     0 janv. 29 09:35 /var/log/fog_error_6134.log
    

  • Senior Developer

    @ch3i they are part of the installer and a few additional things so the symlinks that are created are refreshed with the proper things as well.


  • Moderator

    @Tom-Elliott Hi Tom, with your Start/Stop configuration all services work fine. I’ve modify it by hand… I’had understood that you had updated the installer with these settings. You will add these modifications on the installer ?

     * Setting permissions on FOGMulticastManager.service script...OK
     * Enabling FOGMulticastManager.service Service................OK
     * Setting permissions on FOGImageReplicator.service script....OK
     * Enabling FOGImageReplicator.service Service.................OK
     * Setting permissions on FOGSnapinReplicator.service script...OK
     * Enabling FOGSnapinReplicator.service Service................OK
     * Setting permissions on FOGScheduler.service script..........OK
     * Enabling FOGScheduler.service Service.......................OK
     * Setting permissions on FOGPingHosts.service script..........OK
     * Enabling FOGPingHosts.service Service.......................OK
     * Setting up FOG Services.....................................OK
     * Starting FOGMulticastManager.service Service................OK
     * Starting FOGImageReplicator.service Service.................OK
     * Starting FOGSnapinReplicator.service Service................OK
     * Starting FOGScheduler.service Service.......................OK
     * Starting FOGPingHosts.service Service.......................OK
    

  • Senior Developer

    @ch3i Any status on this?


  • Moderator

    @Tom-Elliott I’ll test, thx ;)


  • Senior Developer

    @ch3i said:

    Default-Start contains no runlevels, aborting.

    This shouldn’t be happening.

    I’ve added the Start and Stop run levels the way ubuntu/debian update-rc.d expects.

    Here’s the heading information for the file. Maybe we can get more info with some testing. My version of Ubuntu is now using systemd so I’m not seeing the same issues anymore.

    FOGImageReplicator Headings:

     #!/bin/sh
     ### BEGIN INIT INFO
     # Provides: FOGImageReplicator
     # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd $apache2 $mysql
     # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
     # Default-Start: 2 3 4 5
     # Default-Stop: 0 1 6
     # X-Interactive: true
     # Short-Description: Start/Stop FOGImageReplicator
     # Long-Description: Created by Chuck Syperski
     # Used to stop and start the FOGImageReplicator Service.
     # FOGImageReplicator enacts upon the FOG System to replicate
     # Images to nodes.  It only replicates if it is the master node.
     ### END INIT INFO
    

    FOGMulticastManager Headings:

     #!/bin/sh
     ### BEGIN INIT INFO
     # Provides: FOGMulticastManager
     # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd $apache2 $mysql
     # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
     # Default-Start: 2 3 4 5
     # Default-Stop: 0 1 6
     # X-Interactive: true
     # Short-Description: Start/Stop FOGMulticastManager
     # Long-Description: Created by Chuck Syperski
     # Used to stop and start the FOGMulticastManager Service.
     # FOGMulticastManager is used to destribute images through
     # Multicast.  Useful to image large amounts of systems simultaneously.
     # It serves this ability only if it's the master node.
     ### END INIT INFO
    

    FOGPingHosts Headings:

     #!/bin/sh
     ### BEGIN INIT INFO
     # Provides: FOGPingHosts
     # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd $apache2 $mysql
     # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
     # Default-Start: 2 3 4 5
     # Default-Stop: 0 1 6
     # X-Interactive: true
     # Short-Description: Start/Stop FOGPingHosts
     # Long-Description: Created by Chuck Syperski
     # Used to stop and start the FOGPingHosts Service.
     # FOGPingHosts is used to ping hosts outside of the GUI
     ### END INIT INFO
    

    FOGScheduler headings:

     #!/bin/sh
     ### BEGIN INIT INFO
     # Provides: FOGScheduler
     # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd $apache2 $mysql
     # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
     # Default-Start: 2 3 4 5
     # Default-Stop: 0 1 6
     # X-Interactive: true
     # Short-Description: Start/Stop FOGScheduler
     # Long-Description: Created by Chuck Syperski
     # Used to stop and start the FOGScheduler Service.
     # FOGScheduler is used to start tasks on a delayed or cron-style setup.
     ### END INIT INFO
    

    FOGSnapinReplicator Headings:

     #!/bin/sh
     ### BEGIN INIT INFO
     # Provides: FOGSnapinReplicator
     # Required-Start: $local_fs $remote_fs $network $syslog $network $inetd $apache2 $mysql
     # Required-Stop: $local_fs $remote_fs $network $syslog $network $inetd
     # Default-Start: 2 3 4 5
     # Default-Stop: 0 1 6
     # X-Interactive: true
     # Short-Description: Start/Stop FOGSnapinReplicator
     # Long-Description: Created by Chuck Syperski
     # Used to stop and start the FOGSnapinReplicator Service.
     # FOGSnapinReplicator enacts upon the FOG System to replicate
     # Snapins to nodes.  It only replicates if it is the master node.
     ### END INIT INFO
    

  • Moderator

    @Tom-Elliott Hi Tom, I solved the certificate problem with recreate option of the installer. Now I’ve a problem with multicast :

    Executing /usr/sbin/update-rc.d FOGMulticastManager enable
    update-rc.d: error: FOGMulticastManager Default-Start contains no runlevels, aborting.
    

  • Moderator

    @Tom-Elliott Hi Tom, I’ve updated my debian Jessie installation, because in the fog installation log I’d some errors. Below the latest fog_error log after apt-get upgrade :

    http://paste.ofcode.org/byLs7bTzEH7qLjWiETVXit


  • Moderator

    Hi,

    I’ve update to the latest SVN, I’ve the same problem.
    I can’t find the file fog.csr in the whole installation.


  • Moderator

    @Tom-Elliott Thx :D

    Synchronizing state for apache2.service with sysvinit using update-rc.d...
    Executing /usr/sbin/update-rc.d apache2 defaults
    Executing /usr/sbin/update-rc.d apache2 enable
    Synchronizing state for php5-fpm.service with sysvinit using update-rc.d...
    Executing /usr/sbin/update-rc.d php5-fpm defaults
    Executing /usr/sbin/update-rc.d php5-fpm enable
    /opt/fog/snapins/ssl/fog.csr: No such file or directory
    
    ls -lhart /opt/fog/snapins/ssl/
    total 12K
    -rw-r--r-- 1 fog www-data 3,2K nov.  16 09:19 .srvprivate.key
    drwxrwxr-x 4 fog www-data 4,0K janv. 15 16:48 ..
    drwxr-xr-x 2 fog www-data 4,0K janv. 15 16:48 .
    

  • Senior Developer

    Logs are now located in : bin/error_logs


Log in to reply
 

367
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

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