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

1.4.1 Unable to register host (/bin/fog.man.reg)

Scheduled Pinned Locked Moved Solved
Bug Reports
8
59
21.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
    last edited by Jun 2, 2017, 4:31 PM

    Please add:

    isdebug=yes to FOG Configuration Page->FOG Settings->General Settings->FOG_KERNEL_ARGS

    Load into registration please. (this will make the system drop into a terminal so we can debug more).

    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

    D 1 Reply Last reply Jun 2, 2017, 4:39 PM Reply Quote 0
    • D
      ddeatrich @Tom Elliott
      last edited by Jun 2, 2017, 4:39 PM

      @Tom-Elliott Done. Debug mode set on kernel and ran quick registration on host computer. What would you like me to do?

      T 1 Reply Last reply Jun 2, 2017, 4:41 PM Reply Quote 0
      • T
        Tom Elliott @ddeatrich
        last edited by Jun 2, 2017, 4:41 PM

        @ddeatrich What’s output of: ifconfig -a

        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

        D 1 Reply Last reply Jun 2, 2017, 4:47 PM Reply Quote 0
        • D
          ddeatrich @Tom Elliott
          last edited by ddeatrich Jun 2, 2017, 10:47 AM Jun 2, 2017, 4:47 PM

          @Tom-Elliott http://i.imgur.com/BM6qDjx.jpg

          Sorry for imgur. It kept giving me errors when I tried to upload the image.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jun 2, 2017, 4:48 PM

            So, for the IP Address, from there can you ping <ipoffogserver>?

            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

            D 1 Reply Last reply Jun 2, 2017, 4:54 PM Reply Quote 0
            • D
              ddeatrich @Tom Elliott
              last edited by Jun 2, 2017, 4:54 PM

              @Tom-Elliott Yup. The server replies just fine. No issues

              T 1 Reply Last reply Jun 2, 2017, 4:54 PM Reply Quote 0
              • T
                Tom Elliott @ddeatrich
                last edited by Jun 2, 2017, 4:54 PM

                @ddeatrich Anything in your fog server’s Apache error log?

                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

                D Z 2 Replies Last reply Jun 2, 2017, 4:57 PM Reply Quote 0
                • D
                  ddeatrich @Tom Elliott
                  last edited by ddeatrich Jun 2, 2017, 11:00 AM Jun 2, 2017, 4:57 PM

                  @Tom-Elliott Other than Apache shutting down and starting on restarts…

                  Edit… screenshoting. There may be a few things in here.

                  http://i.imgur.com/0UN7yQZ.png

                  T G 2 Replies Last reply Jun 2, 2017, 5:03 PM Reply Quote 0
                  • T
                    Tom Elliott @ddeatrich
                    last edited by Jun 2, 2017, 5:03 PM

                    @ddeatrich Can you copy paste the text? It will be alot easier to read as your screenshot seems to be cutting off some of the text itself.

                    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
                    • G
                      george1421 Moderator @ddeatrich
                      last edited by Jun 2, 2017, 5:06 PM

                      @ddeatrich Hint: Please use putty to connect to the FOG server using ssh. With putty you can copy and paste better than snapping screen images of logs and such.

                      With Putty just click and drag across the text like you can do in a windows console then you can paste it in.

                      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!

                      D 1 Reply Last reply Jun 2, 2017, 5:12 PM Reply Quote 2
                      • D
                        ddeatrich @george1421
                        last edited by Jun 2, 2017, 5:12 PM

                        @george1421 Yup, I know. Thanks though! I’m on the phone at work at the same time doing this. I’ll be able to copy and paste shortly.

                        G 1 Reply Last reply Jun 2, 2017, 5:17 PM Reply Quote 0
                        • G
                          george1421 Moderator @ddeatrich
                          last edited by Jun 2, 2017, 5:17 PM

                          @ddeatrich The php fatal error in your snap would be interesting to see the full error message. That may give the devs a clue to at lest what point it failing.

                          I just upgraded my dev server from 1.4.0 to 1.4.1 and created a new vm client to test registration and it worked as it should. But that is not a like for like test. If you installed 1.4.1 fresh. I’ll start building a new install of FOG on Cento 7 to see if its a fresh install thing or something else.

                          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 2
                          • Z
                            zclift15 @Tom Elliott
                            last edited by Jun 2, 2017, 5:24 PM

                            @Tom-Elliott
                            I’m following along here and so far had the same results. here is my error log

                            [Thu Jun 01 12:37:11.809778 2017] [core:notice] [pid 11683] AH00094: Command line: '/usr/sbin/apache2'
                            [Thu Jun 01 12:40:24.316027 2017] [mpm_prefork:notice] [pid 11683] AH00169: caught SIGTERM, shutting down
                            [Thu Jun 01 12:42:42.516669 2017] [mpm_prefork:notice] [pid 26837] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
                            [Thu Jun 01 12:42:42.516750 2017] [core:notice] [pid 26837] AH00094: Command line: '/usr/sbin/apache2'
                            [Thu Jun 01 14:06:45.487089 2017] [:error] [pid 32023] [client 131.128.53.29:54302] PHP Warning: ftp_rename(): Rename failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 769, referer: http://131.128.53.30/fog/management/index.php?node=about&sub=kernel&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMTEuMC42NA==&arch=64
                            [Thu Jun 01 14:07:18.547598 2017] [mpm_prefork:notice] [pid 26837] AH00169: caught SIGTERM, shutting down
                            [Thu Jun 01 14:07:46.810476 2017] [mpm_prefork:notice] [pid 621] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
                            [Thu Jun 01 14:07:46.815765 2017] [core:notice] [pid 621] AH00094: Command line: '/usr/sbin/apache2'
                            [Fri Jun 02 00:28:09.222838 2017] [:error] [pid 24581] [client 139.162.78.135:43948] script '/var/www/html/echo.php' not found or unable to stat
                            [Fri Jun 02 09:18:18.591258 2017] [:error] [pid 21306] [client 131.128.53.29:56037] PHP Warning: ftp_mkdir(): Create directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 492, referer: http://131.128.53.30/fog/management/index.php?node=about&sub=kernel&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMTAuMTAuMzI=&arch=32```
                            G 2 Replies Last reply Jun 2, 2017, 5:39 PM Reply Quote 0
                            • G
                              george1421 Moderator @zclift15
                              last edited by Jun 2, 2017, 5:39 PM

                              @zclift15 That’s not the same error log as your picture. I see the php warnings about ftp (that is something else that needs to be addressed). What the devs will be interested in is the PHP Fatal error at 11:46 it may be nothing but it also could be something. Fatal generally means something bad. 😉

                              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!

                              Z D 2 Replies Last reply Jun 2, 2017, 5:40 PM Reply Quote 3
                              • Z
                                zclift15 @george1421
                                last edited by Jun 2, 2017, 5:40 PM

                                @george1421
                                ddeatrich was the one who posted that

                                G 1 Reply Last reply Jun 2, 2017, 5:42 PM Reply Quote 0
                                • G
                                  george1421 Moderator @zclift15
                                  last edited by Jun 2, 2017, 5:42 PM

                                  @zclift15 said in 1.4.1 Unable to register host (/bin/fog.man.reg):

                                  PHP Warning: ftp_rename(): Rename failed.

                                  As for this one. Where we typically see this error is if someone mucks about with the FOG service account. This is a linux account called fog. The installer manages this user account and password. The linux user fog (not the same as the web gui admin called fog) is used by FOG to move files around on the FOG server after image capture. The linux account password needs to match the password defined in the gui configuration for the storage node. If these are out of sync you will get the ftp errors like in your log.

                                  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!

                                  Z 1 Reply Last reply Jun 2, 2017, 6:00 PM Reply Quote 3
                                  • G
                                    george1421 Moderator @zclift15
                                    last edited by george1421 Jun 2, 2017, 11:43 AM Jun 2, 2017, 5:42 PM

                                    @zclift15 said in 1.4.1 Unable to register host (/bin/fog.man.reg):

                                    @george1421
                                    ddeatrich was the one who posted that

                                    Sorry only looked at the color of the icon not close enough. Sorry.

                                    Then the second post was directed at you about the FTP issue.

                                    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 3
                                    • D
                                      ddeatrich @george1421
                                      last edited by Jun 2, 2017, 5:46 PM

                                      @george1421 Here’s my error log! Pasted below:

                                      [Fri Jun 02 10:43:27.561743 2017] [mpm_event:notice] [pid 58084:tid 139735762083328] AH00489: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
                                      [Fri Jun 02 10:43:27.561816 2017] [core:notice] [pid 58084:tid 139735762083328] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 10:44:32.930751 2017] [mpm_event:notice] [pid 58084:tid 139735762083328] AH00491: caught SIGTERM, shutting down
                                      [Fri Jun 02 10:44:32.990889 2017] [mpm_prefork:notice] [pid 5599] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
                                      [Fri Jun 02 10:44:32.990991 2017] [core:notice] [pid 5599] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 10:44:33.194191 2017] [mpm_prefork:notice] [pid 5599] AH00169: caught SIGTERM, shutting down
                                      [Fri Jun 02 10:44:33.299439 2017] [mpm_prefork:notice] [pid 5669] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations
                                      [Fri Jun 02 10:44:33.299478 2017] [core:notice] [pid 5669] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 10:46:35.190386 2017] [mpm_prefork:notice] [pid 5669] AH00169: caught SIGTERM, shutting down
                                      [Fri Jun 02 10:47:16.108199 2017] [mpm_prefork:notice] [pid 18340] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
                                      [Fri Jun 02 10:47:16.108242 2017] [core:notice] [pid 18340] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 10:56:38.868268 2017] [mpm_prefork:notice] [pid 18340] AH00169: caught SIGTERM, shutting down
                                      [Fri Jun 02 10:57:03.119359 2017] [mpm_prefork:notice] [pid 1683] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
                                      [Fri Jun 02 10:57:03.161915 2017] [core:notice] [pid 1683] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 11:38:25.430410 2017] [php7:warn] [pid 4298] [client 10.10.2.218:5156] PHP Warning:  ftp_rename(): RNFR command failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769, referer: http://10.10.2.217/fog/management/index.php?node=about&sub=kernel&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMTEuMC42NA==&arch=64
                                      [Fri Jun 02 11:46:22.075080 2017] [mpm_prefork:notice] [pid 1683] AH00169: caught SIGTERM, shutting down
                                      [Fri Jun 02 11:46:30.024649 2017] [mpm_prefork:notice] [pid 6965] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
                                      [Fri Jun 02 11:46:30.024700 2017] [core:notice] [pid 6965] AH00094: Command line: '/usr/sbin/apache2'
                                      [Fri Jun 02 11:46:36.156652 2017] [php7:error] [pid 6977] [client 10.10.2.217:54518] PHP Fatal error:  Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/reportmaker.class.php(75): HookManager->processEvent('REPORT_TYPES', Array)\n#3 [internal function]: ReportMaker->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/maintenance/backup_db.php(23): FOGBase::getClass('ReportMaker')\n#6 {main}\n  thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
                                      [Fri Jun 02 11:47:44.138527 2017] [php7:error] [pid 7003] [client 10.10.2.218:6181] PHP Fatal error:  Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n  thrown in /var/www/fog/lib/db/pdodb.class.php on line 443, referer: http://10.10.2.217/fog/management/index.php?node=about&sub=settings
                                      [Fri Jun 02 11:49:45.259879 2017] [mpm_prefork:notice] [pid 6965] AH00169: caught SIGTERM, shutting down
                                      [Fri Jun 02 11:49:50.794797 2017] [mpm_prefork:notice] [pid 8551] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
                                      [Fri Jun 02 11:49:50.794838 2017] [core:notice] [pid 8551] AH00094: Command line: '/usr/sbin/apache2'
                                      
                                      
                                      G 1 Reply Last reply Jun 2, 2017, 5:47 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @ddeatrich
                                        last edited by george1421 Jun 2, 2017, 11:50 AM Jun 2, 2017, 5:47 PM

                                        @ddeatrich said in 1.4.1 Unable to register host (/bin/fog.man.reg):

                                        ftp_rename(): RNFR command failed

                                        Interesting you also have an ftp issue (probably related to that linux fog user). This is the command to rename an image after capture.

                                        Uncaught Error: Call to a member function lastInsertId()

                                        And equally as interesting this error. I’m sure I’ve see this error in the last 24 hours in another thread too. That user was using cento 7.

                                        I’m still in the process of building a new fog server. Its almost done installing centos 7. Once updated I’ll install fog and test it out.

                                        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!

                                        D 2 Replies Last reply Jun 2, 2017, 6:05 PM Reply Quote 3
                                        • Z
                                          zclift15 @george1421
                                          last edited by Jun 2, 2017, 6:00 PM

                                          @george1421
                                          This might make sense because I’m replacing a pre-existing network of nodes but i just turned them off and it didn’t fix my issue I can post the error log if that helps.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            34/59
                                            Last post

                                          205

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project