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

[rev 6134] SSL certificate error during installation

Scheduled Pinned Locked Moved Solved
Bug Reports
2
11
2.6k
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.
  • C
    ch3i Moderator
    last edited by Jan 29, 2016, 1:54 PM

    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
    
    1 Reply Last reply Reply Quote 1
    • T
      Tom Elliott
      last edited by Jan 29, 2016, 1:55 PM

      Logs are now located in : bin/error_logs

      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

      C 3 Replies Last reply Jan 29, 2016, 1:57 PM Reply Quote 0
      • C
        ch3i Moderator @Tom Elliott
        last edited by Jan 29, 2016, 1:57 PM

        @Tom-Elliott Thx 😄

        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 .
        
        1 Reply Last reply Reply Quote 0
        • C
          ch3i Moderator
          last edited by ch3i Feb 1, 2016, 2:43 AM Feb 1, 2016, 8:42 AM

          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.

          1 Reply Last reply Reply Quote 0
          • C
            ch3i Moderator @Tom Elliott
            last edited by ch3i Feb 1, 2016, 3:27 AM Feb 1, 2016, 9:25 AM

            @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

            1 Reply Last reply Reply Quote 0
            • C
              ch3i Moderator @Tom Elliott
              last edited by Feb 2, 2016, 8:03 AM

              @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.
              
              T 1 Reply Last reply Feb 2, 2016, 11:55 AM Reply Quote 0
              • T
                Tom Elliott @ch3i
                last edited by Feb 2, 2016, 11:55 AM

                @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
                

                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

                C 1 Reply Last reply Feb 2, 2016, 1:27 PM Reply Quote 0
                • C
                  ch3i Moderator @Tom Elliott
                  last edited by Feb 2, 2016, 1:27 PM

                  @Tom-Elliott I’ll test, thx 😉

                  T 1 Reply Last reply Feb 16, 2016, 9:04 PM Reply Quote 0
                  • T
                    Tom Elliott @ch3i
                    last edited by Feb 16, 2016, 9:04 PM

                    @ch3i Any status on this?

                    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

                    C 1 Reply Last reply Feb 17, 2016, 7:53 AM Reply Quote 0
                    • C
                      ch3i Moderator @Tom Elliott
                      last edited by ch3i Feb 17, 2016, 1:54 AM Feb 17, 2016, 7:53 AM

                      @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
                      
                      T 1 Reply Last reply Feb 17, 2016, 10:28 AM Reply Quote 0
                      • T
                        Tom Elliott @ch3i
                        last edited by Feb 17, 2016, 10:28 AM

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

                        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
                        • 1 / 1
                        • First post
                          Last post

                        170

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project