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

Changing fog server IP address problems

Scheduled Pinned Locked Moved Solved
FOG Problems
5
20
5.1k
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.
  • T
    Tom Elliott @xcvtop
    last edited by Tom Elliott Sep 12, 2017, 8:27 AM Sep 12, 2017, 2:23 PM

    @xcvtop When posting logs, please enclose the log information in triple backticks.

    Example:
    ```
    TEXT HERE
    ```

    Then post. Otherwise it becomes very difficult to see the text and messages.

    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
    • T
      Tom Elliott
      last edited by Sep 12, 2017, 2:24 PM

      Your posting here:
      http:////fog//maintenance/backup_db.php: Invalid host name.

      Notice how there’s no hostname?

      You should have an ipaddress in your /opt/fog/.fogsettings file. Is this defined for your machine?

      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

      G 1 Reply Last reply Sep 12, 2017, 2:25 PM Reply Quote 1
      • G
        george1421 Moderator @Tom Elliott
        last edited by george1421 Sep 12, 2017, 8:25 AM Sep 12, 2017, 2:25 PM

        @tom-elliott said in Changing fog server IP address problems:

        Notice how there’s no hostname?

        Great eyes, I just saw that too. That is the key to why it’s not working.

        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!

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott @xcvtop
          last edited by Sep 12, 2017, 2:29 PM

          @xcvtop said in Changing fog server IP address problems:

          • Server IP Address:
          • Server Subnet Mask:
          • Interface: eth0

          And I still think ipaddress is blank in /opt/fog/.fogsettings

          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

          X 1 Reply Last reply Sep 12, 2017, 2:44 PM Reply Quote 0
          • X
            xcvtop @Tom Elliott
            last edited by Sep 12, 2017, 2:44 PM

            @tom-elliott
            IP address is there

            ## Created by the FOG Installer
            ## Version: 1.3.5
            ## Install time: Thu 10 Mar 2016 15:28:32 GMT
            
            Ipaddress='10.160.240.60'
            interface='eth0'
            routeraddress='# option routers x.x.x.x;'
            plainrouter=''
            dnsaddress='option domain-name-servers 127.0.1.1;'
            dnsbootimage='127.0.1.1'
            
            
            W T 2 Replies Last reply Sep 12, 2017, 2:53 PM Reply Quote 0
            • W
              Wayne Workman @xcvtop
              last edited by Sep 12, 2017, 2:53 PM

              @xcvtop I wrote a tool that updates the IP: https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              T 1 Reply Last reply Sep 12, 2017, 3:07 PM Reply Quote 0
              • T
                Tom Elliott @xcvtop
                last edited by Sep 12, 2017, 3:06 PM

                @xcvtop Change Ipaddress to ipaddress

                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

                X 1 Reply Last reply Sep 12, 2017, 3:36 PM Reply Quote 0
                • T
                  Tom Elliott @Wayne Workman
                  last edited by Sep 12, 2017, 3:07 PM

                  @wayne-workman His ipaddress variable is incorrect. I don’t know if your script would fix that.

                  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

                  W 1 Reply Last reply Sep 12, 2017, 3:08 PM Reply Quote 0
                  • W
                    Wayne Workman @Tom Elliott
                    last edited by Wayne Workman Sep 12, 2017, 9:09 AM Sep 12, 2017, 3:08 PM

                    @tom-elliott It would. My script only needs the system IP address to already be correct. It makes fog use whatever is set.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • X
                      xcvtop @Tom Elliott
                      last edited by Sep 12, 2017, 3:36 PM

                      @tom-elliott
                      thanks i must of changed it somehow, i would of never noticed that,

                      thanks for your help

                      T 1 Reply Last reply Sep 12, 2017, 3:38 PM Reply Quote 0
                      • T
                        Tom Elliott @xcvtop
                        last edited by Sep 12, 2017, 3:38 PM

                        @xcvtop So it works now?

                        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

                        X 1 Reply Last reply Sep 13, 2017, 8:04 AM Reply Quote 0
                        • X
                          xcvtop @Tom Elliott
                          last edited by Sep 13, 2017, 8:04 AM

                          @tom-elliott yep its working thanks for all your help guys

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

                          146

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project