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

Fog Cannot Register Host and Blank Screen on Image Startup

Scheduled Pinned Locked Moved
FOG Problems
3
24
3.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.
  • W
    Wayne Workman @Atton
    last edited by Jul 19, 2016, 3:05 PM

    @Atton said in Fog Cannot Register Host and Blank Screen on Image Startup:

    libapache2-mod-php5

    What version of Ubuntu/Debian are you running?

    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/

    A 1 Reply Last reply Jul 19, 2016, 3:06 PM Reply Quote 0
    • A
      Atton @Wayne Workman
      last edited by Jul 19, 2016, 3:06 PM

      @Wayne-Workman ubuntu 12.0.4

      W 1 Reply Last reply Jul 19, 2016, 3:07 PM Reply Quote 0
      • W
        Wayne Workman @Atton
        last edited by Jul 19, 2016, 3:07 PM

        @Atton

        sudo apt-get install aptitude -y
        sudo aptitude reinstall libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-fpm php5 -y

        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/

        A 1 Reply Last reply Jul 19, 2016, 3:09 PM Reply Quote 0
        • A
          Atton @Wayne Workman
          last edited by Jul 19, 2016, 3:09 PM

          @Wayne-Workman I can’t. The password I used to get into the machine is no longer working. I did not change it

          W 1 Reply Last reply Jul 19, 2016, 3:10 PM Reply Quote 0
          • W
            Wayne Workman @Atton
            last edited by Wayne Workman Jul 19, 2016, 9:10 AM Jul 19, 2016, 3:10 PM

            @Atton can you access the /opt/fog/.fogsettings file? The password is in there.
            cat /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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            A 1 Reply Last reply Jul 19, 2016, 3:42 PM Reply Quote 0
            • W
              Wayne Workman
              last edited by Jul 19, 2016, 3:14 PM

              This may be of help: https://www.google.com/search?q=ubuntu+recover+password&rlz=1C1CHBF_enUS702US702&oq=ubuntu+recover+password&aqs=chrome..69i57j0l5.3584j0j4&sourceid=chrome&ie=UTF-8&safe=active&ssui=on

              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
              • A
                Atton @Wayne Workman
                last edited by Jul 19, 2016, 3:42 PM

                @Wayne-Workman It says my password is the same one I have always been using but it’s no longer working.

                W 1 Reply Last reply Jul 19, 2016, 4:12 PM Reply Quote 0
                • W
                  Wayne Workman @Atton
                  last edited by Jul 19, 2016, 4:12 PM

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

                  A 1 Reply Last reply Jul 19, 2016, 4:21 PM Reply Quote 0
                  • A
                    Atton @Wayne Workman
                    last edited by Jul 19, 2016, 4:21 PM

                    @Wayne-Workman My password problem is fixed. Before I restarted I updated apache2 and php5 and there was a compatibility problem between the 2 and apache2 will not run.

                    T 1 Reply Last reply Jul 19, 2016, 4:25 PM Reply Quote 0
                    • T
                      Tom Elliott @Atton
                      last edited by Jul 19, 2016, 4:25 PM

                      @Atton I don’t know if you ahve any custom setups, but please try this:

                      sudo -i
                      rm -rf /etc/php5 /etc/apache2;
                      apt-get clean all
                      apt-get update
                      apt-get purge apache2 lib*mod*php5 php5*
                      apt-get clean all
                      rm -rf /var/www
                      

                      Then retry installing. This should fix most of those issues.

                      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

                      A W 2 Replies Last reply Jul 19, 2016, 4:37 PM Reply Quote 1
                      • A
                        Atton @Tom Elliott
                        last edited by Jul 19, 2016, 4:37 PM

                        @Tom-Elliott That fixed the apache2 issue, now when updating it says “Stopping Web Service… Failed!” and stops there.

                        T 1 Reply Last reply Jul 19, 2016, 4:38 PM Reply Quote 0
                        • T
                          Tom Elliott @Atton
                          last edited by Jul 19, 2016, 4:38 PM

                          @Atton What’s in the apache error log? What’s in the bin/error_logs/fog_error_${version}.log (where version is the version you’re installing?

                          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

                          A 1 Reply Last reply Jul 19, 2016, 4:53 PM Reply Quote 1
                          • W
                            Wayne Workman @Tom Elliott
                            last edited by Jul 19, 2016, 4:52 PM

                            @Tom-Elliott said in Fog Cannot Register Host and Blank Screen on Image Startup:

                            @Atton I don’t know if you ahve any custom setups, but please try this:

                            sudo -i
                            rm -rf /etc/php5 /etc/apache2;
                            apt-get clean all
                            apt-get update
                            apt-get purge apache2 lib*mod*php5 php5*
                            apt-get clean all
                            rm -rf /var/www
                            

                            Then retry installing. This should fix most of those issues.

                            #wiki worthy

                            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
                            • A
                              Atton @Tom Elliott
                              last edited by Jul 19, 2016, 4:53 PM

                              @Tom-Elliott I cannot find the error logs

                              T W 2 Replies Last reply Jul 19, 2016, 4:58 PM Reply Quote 0
                              • T
                                Tom Elliott @Atton
                                last edited by Jul 19, 2016, 4:58 PM

                                @Atton Where have you looked?

                                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

                                A 1 Reply Last reply Jul 19, 2016, 5:01 PM Reply Quote 0
                                • W
                                  Wayne Workman @Atton
                                  last edited by Jul 19, 2016, 4:59 PM

                                  @Atton find / | grep error_logs/fog_error_*

                                  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
                                  • A
                                    Atton @Tom Elliott
                                    last edited by Jul 19, 2016, 5:01 PM

                                    @Tom-Elliott 0_1468947612554_upload-bea68185-4639-4172-b186-e4c2d516cef9

                                    T 1 Reply Last reply Jul 19, 2016, 5:02 PM Reply Quote 0
                                    • T
                                      Tom Elliott @Atton
                                      last edited by Jul 19, 2016, 5:02 PM

                                      you need to read the file, not try to run it.

                                      Try:

                                      gedit /var/log/apache2/error.log

                                      Or (even better):

                                      tail -100 /var/log/apache2/error.log Then copy the information and paste it in the text window.

                                      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

                                      A 1 Reply Last reply Jul 19, 2016, 5:06 PM Reply Quote 0
                                      • A
                                        Atton @Tom Elliott
                                        last edited by Atton Jul 19, 2016, 11:09 AM Jul 19, 2016, 5:06 PM

                                        @Tom-Elliott It starts with this

                                        [Sun Jul 17 07:35:03 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operations
                                        [Tue Jul 19 07:11:36 2016] [error] [client 10.58.120.97] File does not exist: /var/www/favicon.ico, referer: http://10.58.8.20/fog/management/index.php
                                        [Tue Jul 19 07:52:42 2016] [notice] caught SIGTERM, shutting down
                                        [Tue Jul 19 07:53:42 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operations
                                        [Tue Jul 19 09:51:24 2016] [notice] Graceful restart requested, doing restart
                                        apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                                        [Tue Jul 19 09:51:25 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.19 with Suhosin-Patch configured – resuming normal operations

                                        Then I get this repeating for a bunch of IP addresses

                                        [Tue Jul 19 09:57:46 2016] [error] [client 10.58.12.46] PHP Fatal error: Call to a member function query() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 89

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 1 / 2
                                        1 / 2
                                        • First post
                                          15/24
                                          Last post

                                        194

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project