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

Moving Images and changing image location

Scheduled Pinned Locked Moved Solved
General
4
52
36.6k
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
    Tim.Trageser
    last edited by May 27, 2015, 11:53 AM

    This is what is filling the apache logs:

    [Tue May 26 16:23:52.091869 2015] [:error] [pid 10042] [client 172.25.100.46:58826] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 146, referer: http://172.25.5.80/fog/management/index.php?node=home
    [Tue May 26 16:23:53.348758 2015] [mpm_prefork:notice] [pid 10036] AH00169: caught SIGTERM, shutting down

    1 Reply Last reply Reply Quote 0
    • T
      Tim.Trageser
      last edited by May 27, 2015, 12:19 PM

      I am going to move the Apache issue to the Technical Help I think since it is now turning into something that is truely broken.

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by May 27, 2015, 12:50 PM

        On the modified storage node, can you un-check the “Is Graph Enabled
        (On Dashboard)” just to see if it makes a difference?

        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
        • T
          Tim.Trageser
          last edited by May 27, 2015, 12:57 PM

          I wish I could. Since Apache is not starting I can’t get to the Webpage.

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by May 27, 2015, 1:00 PM

            @Tim.Trageser said:

            move the Apache issue to the Technical Help I think since it is now turning into something

            Can you re-run your installer?

            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
            • T
              Tim.Trageser
              last edited by May 27, 2015, 1:01 PM

              Already did, no change.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by May 27, 2015, 5:10 PM

                @Tim-Trageser Can you rerun installer, but as:

                sudo ./installfog.sh --recreate-vhost --recreate-CA --recreate-keys

                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
                  Tim.Trageser
                  last edited by May 27, 2015, 5:50 PM

                  No change still get * Setting up and starting Apache Web Server…Failed!

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by May 27, 2015, 5:51 PM

                    What exact distro of Linux and version are you running for this?

                    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
                    • T
                      Tim.Trageser
                      last edited by May 27, 2015, 5:53 PM

                      Ubuntu 14.04 LTS
                      Fog - SVN 3463

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by May 27, 2015, 5:56 PM

                        Can you update and then try the installer command below?

                        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
                        • W
                          Wayne Workman
                          last edited by Wayne Workman May 27, 2015, 12:00 PM May 27, 2015, 5:59 PM

                          Do what Tom says first. If that doesn’t work, then try this:

                          Can we try moving your DB to a new spot temporarily?

                          [CODE]mv /var/lib/mysql /var/lib/mysqlOLD[/CODE]

                          Then try re-starting apache and/or re-installing FOG.

                          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
                          • T
                            Tim.Trageser
                            last edited by May 27, 2015, 6:05 PM

                            Well Apache starts now, but I get a blank screen when I open up the webpage.

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman
                              last edited by May 27, 2015, 6:07 PM

                              Shift + F5

                              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
                              • T
                                Tim.Trageser
                                last edited by May 27, 2015, 6:12 PM

                                Refreshing with Shift+F5 did not work. Just for transparency I did what Tom said and that fixed Apache. I did not do what Wayne suggested.

                                T 1 Reply Last reply May 27, 2015, 6:14 PM Reply Quote 1
                                • T
                                  Tom Elliott @Tim.Trageser
                                  last edited by May 27, 2015, 6:14 PM

                                  @Tim.Trageser said:

                                  Refreshing with Shift+F5 did not work. Just for transparency I did what Tom said and that fixed Apache. I did not do what Wayne suggested.
                                  Can you get a copy of the Apache error logs

                                  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
                                    Tim.Trageser
                                    last edited by May 27, 2015, 6:20 PM

                                    This is a snippet of the bottom of the log:

                                    Apache Error Log

                                    Any more ideas about getting the page to show properly, rather than just white? Should I do what Wayne suggested?

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wayne Workman
                                      last edited by May 27, 2015, 6:29 PM

                                      Well… What i suggested can easily be un-done by just swapping the directories back.

                                      You might ought to export your DB before hand.

                                      backup:
                                      [CODE]mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql[/CODE]

                                      restore:
                                      [CODE]mysql -u root -p[root_password] [database_name] < dumpfilename.sql[/CODE]

                                      Move the db out:
                                      [CODE]mv /var/lib/mysql /var/lib/mysqlOLD[/CODE]

                                      Put the db back:
                                      [CODE]mv /var/lib/mysqlOLD /var/lib/mysql[/CODE]

                                      After moving the DB out of there, you should be presented with the DB schema updater. Go ahead and do it. It can always be undone later by moving the files back.

                                      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
                                      • T
                                        Tom Elliott
                                        last edited by May 27, 2015, 6:33 PM

                                        Can you check that MySQL is running and if you have a MySQL password that it is properly set in config?

                                        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
                                          Tim.Trageser
                                          last edited by May 27, 2015, 6:37 PM

                                          MySQL is running and .fogsettings has the password set properly

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            26/52
                                            Last post

                                          181

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project