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

    Moving Images and changing image location

    Scheduled Pinned Locked Moved Solved
    General
    4
    52
    36.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      @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

        Already did, no change.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          @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

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

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              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

                Ubuntu 14.04 LTS
                Fog - SVN 3463

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  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
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by Wayne Workman

                    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

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

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        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

                          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.

                          Tom ElliottT 1 Reply Last reply Reply Quote 1
                          • Tom ElliottT
                            Tom Elliott @Tim.Trageser
                            last edited by

                            @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

                              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
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                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
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  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

                                    MySQL is running and .fogsettings has the password set properly

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tim.Trageser
                                      last edited by

                                      Anybody have any other ideas? If I can’t solve both the blank FOG Homepage and having the images in the new location by early next week I will just have to completely redo my FOG machine.

                                      1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by

                                        I’m willing to help via TeamViewer if you’re up for it. PM me.

                                        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
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by

                                          via TeamViewer,

                                          I updated the OS, then ripped out everything that had anything to do with PHP.

                                          The x.x.x.x/fog/management login screen shows now, at least.

                                          Going to look at the new image location 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!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • Wayne WorkmanW
                                            Wayne Workman
                                            last edited by Wayne Workman

                                            Looks like vsftp is a big part of the problem… I have to head home in about 15 minutes…

                                            Posting this for others to look at.

                                            I’ve tried several ways to get rid of it so I can reinstall it but none work.

                                            [CODE]mj@fog-server:/$ ps -A| grep vsftp
                                            22728 ? 00:00:00 vsftpd
                                            mj@fog-server:/$ kill -KILL 22728
                                            bash: kill: (22728) - Operation not permitted
                                            mj@fog-server:/$ sudo kill -KILL 22728
                                            mj@fog-server:/$ sudo apt-get remove vsftpd
                                            Reading package lists… Done
                                            Building dependency tree
                                            Reading state information… Done
                                            The following packages will be REMOVED:
                                            vsftpd
                                            0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                            1 not fully installed or removed.
                                            After this operation, 361 kB disk space will be freed.
                                            Do you want to continue? [Y/n] y
                                            (Reading database … 199852 files and directories currently installed.)
                                            Removing vsftpd (3.0.2-1ubuntu2.14.04.1) …
                                            invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                            dpkg: error processing package vsftpd (–remove):
                                            subprocess installed pre-removal script returned error exit status 102
                                            invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                            dpkg: error while cleaning up:
                                            subprocess installed post-installation script returned error exit status 102
                                            Errors were encountered while processing:
                                            vsftpd
                                            E: Sub-process /usr/bin/dpkg returned an error code (1)
                                            mj@fog-server:/$ sudo aptitude remove vsftpd
                                            The following packages will be REMOVED:
                                            vsftpd
                                            0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                            Need to get 0 B of archives. After unpacking 361 kB will be freed.
                                            (Reading database … 199852 files and directories currently installed.)
                                            Removing vsftpd (3.0.2-1ubuntu2.14.04.1) …
                                            invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                            dpkg: error processing package vsftpd (–remove):
                                            subprocess installed pre-removal script returned error exit status 102
                                            invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                            dpkg: error while cleaning up:
                                            subprocess installed post-installation script returned error exit status 102
                                            Errors were encountered while processing:
                                            vsftpd
                                            E: Sub-process /usr/bin/dpkg returned an error code (1)
                                            A package failed to install. Trying to recover:

                                            mj@fog-server:/$
                                            mj@fog-server:/$ sudo service nfs-kernel-server status
                                            nfsd running
                                            mj@fog-server:/$ sudo service nfs-kernel-server restart

                                            • Stopping NFS kernel daemon [ OK ]
                                            • Unexporting directories for NFS kernel daemon… [ OK ]
                                            • Exporting directories for NFS kernel daemon… [ OK ]
                                            • Starting NFS kernel daemon [ OK ]
                                              mj@fog-server:/$ uname -a
                                              Linux fog-server 3.16.0-37-generic #51~14.04.1-Ubuntu SMP Wed May 6 15:23:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
                                              mj@fog-server:/$ sudo apt-get purge vsftpd
                                              Reading package lists… Done
                                              Building dependency tree
                                              Reading state information… Done
                                              The following packages will be REMOVED:
                                              vsftpd*
                                              0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                              1 not fully installed or removed.
                                              After this operation, 361 kB disk space will be freed.
                                              Do you want to continue? [Y/n] y
                                              (Reading database … 199852 files and directories currently installed.)
                                              Removing vsftpd (3.0.2-1ubuntu2.14.04.1) …
                                              invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                              dpkg: error processing package vsftpd (–purge):
                                              subprocess installed pre-removal script returned error exit status 102
                                              invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                              dpkg: error while cleaning up:
                                              subprocess installed post-installation script returned error exit status 102
                                              Errors were encountered while processing:
                                              vsftpd
                                              E: Sub-process /usr/bin/dpkg returned an error code (1)
                                              mj@fog-server:/$ sudo /etc/rc2.d/s20vsftpd stop
                                              sudo: /etc/rc2.d/s20vsftpd: command not found
                                              mj@fog-server:/$ sudo apt-get remove --purge --auto-remove vsftpd -y
                                              Reading package lists… Done
                                              Building dependency tree
                                              Reading state information… Done
                                              The following packages will be REMOVED:
                                              vsftpd*
                                              0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                              1 not fully installed or removed.
                                              After this operation, 361 kB disk space will be freed.
                                              (Reading database … 199852 files and directories currently installed.)
                                              Removing vsftpd (3.0.2-1ubuntu2.14.04.1) …
                                              invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                              dpkg: error processing package vsftpd (–purge):
                                              subprocess installed pre-removal script returned error exit status 102
                                              invoke-rc.d: dangling symlink: /etc/rc2.d/S20vsftpd
                                              dpkg: error while cleaning up:
                                              subprocess installed post-installation script returned error exit status 102
                                              Errors were encountered while processing:
                                              vsftpd
                                              E: Sub-process /usr/bin/dpkg returned an error code (1)
                                              mj@fog-server:/$
                                              [/CODE]

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

                                            152

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project