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

    Hostname changer not working

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    25
    11.7k
    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.
    • G
      giejo63 @Tom Elliott
      last edited by

      @Tom-Elliott said:

      @Uncle-Frank my guess as to why he is seeing ih which is invalid host, is the MAC address being sent is the wifi while the Mac registered to the host is wired. This is just a guess.

      This host as only wired LAN it’s not a laptop so i think it’s not a MAC address problem

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        Sure you haven’t changed this client’s “Service settings” meanwhile? ‘#!nh’ to me sounds like hostnamechanger is not enabled for this client in the web interface. But maybe I am 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

        Tom ElliottT 1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @Sebastian Roth
          last edited by

          @Uncle-Frank Absolutely correct.

          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 Reply Quote 0
          • G
            giejo63 @Tom Elliott
            last edited by

            @Tom-Elliott

            Ok was my fault… for this host the hostname changer was disabled.
            I activate it in service settings but it doesn’t work.
            When i try the URL with hostname.php it keeps trying but nothing happens (so it explain the success for servicemodule-active.php and the error for hostname.php in this log)

            22/09/2015 15:18 Client-Info Version: 0.9.5
             22/09/2015 15:18 HostnameChanger Running...
             22/09/2015 15:18 Middleware::Communication URL: http://xxx.xxx.xxx.xxx/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=D4:3D:7E:D2:52:B4|&newService=1
             22/09/2015 15:18 Middleware::Communication Response: Success
             22/09/2015 15:18 Middleware::Communication URL: http://xxx.xxx.xxx.xxx/fog/service/hostname.php?moduleid=hostnamechanger&mac=D4:3D:7E:D2:52:B4|&newService=1
             22/09/2015 15:20 Middleware::Communication ERROR: Could not contact FOG server
             22/09/2015 15:20 Middleware::Communication ERROR: Le délai d'attente de l'opération a expiré.
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @giejo63 said:

              When i try the URL with hostname.php it keeps trying but nothing happens

              You mean in a web browser?? Wow… this is… not as it should be I guess!

              What do you see in the apache error logs while you try to access this URL from a browser. Depending on your distribution those files might be in /var/log/apache2/ or some similar path on the FOG server.

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

              201

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project