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

storage node is offline

Scheduled Pinned Locked Moved Solved
FOG Problems
2
12
1.3k
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.
  • O
    oraniko
    last edited by Sebastian Roth Dec 5, 2019, 3:40 AM Dec 5, 2019, 9:04 AM

    fog version: 1.5.7
    OS Version : centos 7.7.1908

    storage node is offline after fresh install.
    during the installation:

    • Creating SSL Private Key…Failed!

    /root/git/fogproject/bin/error_logs/fog_error_1.5.7.log
    shows:

    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [XX]:State or Province Name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:Generating RSA private key, 4096 bit long modulus
    ....................................................................................................................................++
    ........................................................................................................................................................................................................................................................++
    e is 65537 (0x10001)
    error on line 7 of /opt/fog/snapins/ssl//req.cnf
    140463598733200:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:345:line 7
    

    /opt/fog/.fogsettings is missing also

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Dec 5, 2019, 9:42 AM

      @oraniko said in storage node is offline:

      error on line 7 of /opt/fog/snapins/ssl//req.cnf
      140463598733200:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:345:line 7
      

      Please run cat /opt/fog/snapins/ssl//req.cnf and post full output here.

      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
      • O
        oraniko
        last edited by Dec 9, 2019, 7:19 AM

        @Sebastian-Roth said in storage node is offline:

        cat /opt/fog/snapins/ssl//req.cnf

        [req]
        distinguished_name = req_distinguished_name
        req_extensions = v3_req
        prompt = yes
        [req_distinguished_name]
        CN = 132.70.32.4
        132.70.32.4
        [v3_req]
        subjectAltName = @alt_names
        [alt_names]
        DNS.1 = 132.70.32.4
        132.70.32.4
        DNS.2 = centos7.esc.biu.ac.il

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Dec 9, 2019, 7:35 AM

          @oraniko Ok, interesting that it seems to double pipe the IP address to the cnf file. I will check out the scripts to see what is going wrong.

          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
          • S
            Sebastian Roth Moderator
            last edited by Dec 9, 2019, 7:41 AM

            @oraniko Please run the command ip -4 addr show on your server console and post the full output here in the forums.

            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
            • O
              oraniko
              last edited by Dec 9, 2019, 8:44 AM

              @Sebastian-Roth said in storage node is offline:

              ip -4 addr show

              1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
              inet 127.0.0.1/8 scope host lo
              valid_lft forever preferred_lft forever
              2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
              inet 132.70.32.4/32 brd 132.70.32.4 scope global noprefixroute ens192
              valid_lft forever preferred_lft forever
              inet 132.70.32.4/21 brd 132.70.39.255 scope global noprefixroute dynamic ens192
              valid_lft 9239sec preferred_lft 9239sec

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Dec 9, 2019, 3:43 PM

                @oraniko Why do you have two IP addresses on the same interface configured. I see it’s different subnet masks but that doesn’t make sense to me either?!

                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
                • O
                  oraniko
                  last edited by Dec 10, 2019, 7:22 AM

                  i don’t know why i had 2 ip address, i fixed that and now i have only 1, what should i do now?

                  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                  inet 127.0.0.1/8 scope host lo
                  valid_lft forever preferred_lft forever
                  inet6 ::1/128 scope host
                  valid_lft forever preferred_lft forever
                  2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                  link/ether 00:50:56🆎72:bb brd ff:ff:ff:ff:ff:ff
                  inet 132.70.32.4/32 brd 132.70.32.4 scope global noprefixroute ens192
                  valid_lft forever preferred_lft forever
                  inet6 fe80::250:56ff:feab:72bb/64 scope link
                  valid_lft forever preferred_lft forever

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Dec 10, 2019, 7:33 AM

                    @oraniko You’d rerun the installer using parameter to recreate the server Key and certificate: ./installfog.sh -K

                    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
                    • O
                      oraniko
                      last edited by Dec 10, 2019, 10:27 AM

                      i rerun the installer and now i see the storage node but during the installation i see:

                      • Setting up and starting NFS Server…Failed!

                      what now?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Dec 10, 2019, 3:06 PM

                        @oraniko Just as you have posted the last 10 lines of the error log in your initial message, take a look at this again und post here…

                        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
                        • O
                          oraniko
                          last edited by Dec 11, 2019, 7:04 AM

                          thanks, i figure up what’s the problem, i’ve add corrupted lines on /etc/fstab.
                          thanks for everything.
                          everything is working now.
                          🙂

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

                          156

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project