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

New Install of FOG 1.1.2 and Ubuntu 12.04 LTS

Scheduled Pinned Locked Moved
FOG Problems
5
96
49.5k
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.
  • N
    NDNtech
    last edited by Jul 10, 2014, 9:04 PM

    Okay, I ran that. Then to be sure the install worked I ran:
    [CODE]sudo apt-get install apache2.2-common[/CODE]
    By itself and got this again:
    [CODE]root@SC-Image:/# sudo apt-get install apache2.2-common
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    apache2.2-common is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[/CODE]
    and still get this:
    [CODE]root@SC-Image:/# apachectl start
    The program ‘apachectl’ is currently not installed. You can install it by typing:
    apt-get install apache2.2-common
    [/CODE]

    1 Reply Last reply Reply Quote 0
    • N
      NDNtech
      last edited by Jul 10, 2014, 9:04 PM

      Okay, ran the libapache2-mod-auth-mysql install

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 10, 2014, 9:24 PM

        okay try this:
        [code]sudo apt-get purge apache2 apache2.2-common libapache2-mod-auth-mysql[/code]

        Try rerunning the 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! 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
        • N
          NDNtech
          last edited by Jul 10, 2014, 9:36 PM

          Progress!
          [CODE] * Setting up and starting Apache Web Server…OK
          You still need to install/update your database schema.
          This can be done by opening a web browser and going to:

            http://10.120.88.146/fog/management
          

          Press [Enter] key when database is updated/installed.[/CODE]

          But I can’t access the web interface, I even tried replacing my IP with ‘localhost’

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jul 10, 2014, 9:46 PM

            and you’re going to:
            [url]http://10.120.88.146/fog/management[/url]

            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
            • N
              NDNtech
              last edited by Jul 10, 2014, 9:47 PM

              Yes

              1 Reply Last reply Reply Quote 0
              • N
                NDNtech
                last edited by Jul 10, 2014, 9:52 PM

                Apache2 even shows to be running

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jul 10, 2014, 9:57 PM

                  can you try:
                  [code]sudo ufw disable[/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! 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
                  • N
                    NDNtech
                    last edited by Jul 10, 2014, 9:58 PM

                    [CODE]root@SC-Image:/home/fog# sudo ufw disable
                    Firewall stopped and disabled on system startup
                    [/CODE]

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jul 10, 2014, 10:15 PM

                      now can you access the link?

                      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
                      • N
                        NDNtech
                        last edited by Jul 10, 2014, 10:19 PM

                        No. I tried restarting apache2 and got this:
                        [CODE]root@SC-Image:/home/fog# service apache2 restart
                        No apache MPM package installed
                        [/CODE]

                        Which led me to this:
                        [url]http://ubuntuforums.org/showthread.php?t=2114724[/url]

                        Does this give you any leads as to what to try next?

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Jul 10, 2014, 10:31 PM

                          [code]sudo apt-get install apache2-mpm-prefork[/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! 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
                          • N
                            NDNtech
                            last edited by Jul 10, 2014, 10:35 PM

                            This is odd: (still says ‘No apache MPM package installed’)

                            [CODE]root@SC-Image:/home/fog# sudo apt-get install apache2-mpm-prefork
                            Reading package lists… Done
                            Building dependency tree
                            Reading state information… Done
                            The following packages will be REMOVED:
                            apache2-mpm-worker
                            The following NEW packages will be installed:
                            apache2-mpm-prefork
                            0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
                            Need to get 0 B/2,414 B of archives.
                            After this operation, 0 B of additional disk space will be used.
                            Do you want to continue [Y/n]? y
                            dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you requested:
                            apache2 depends on apache2-mpm-worker (= 2.2.22-1ubuntu1.6) | apache2-mpm-prefork (= 2.2.22-1ubuntu1.6) | apache2-mpm-event (= 2.2.22-1ubuntu1.6) | apache2-mpm-itk (= 2.2.22-1ubuntu1.6); however:
                            Package apache2-mpm-worker is to be removed.
                            Package apache2-mpm-prefork is not installed.
                            Package apache2-mpm-event is not installed.
                            Package apache2-mpm-itk is not installed.
                            (Reading database …
                            dpkg: warning: files list file for package `apache2.2-bin’ missing, assuming package has no files currently installed.

                            dpkg: warning: files list file for package apache2-utils' missing, assuming package has no files currently installed. (Reading database ... 227723 files and directories currently installed.) Removing apache2-mpm-worker ... No apache MPM package installed Selecting previously unselected package apache2-mpm-prefork. (Reading database ... dpkg: warning: files list file for package apache2.2-bin’ missing, assuming package has no files currently installed.

                            dpkg: warning: files list file for package `apache2-utils’ missing, assuming package has no files currently installed.
                            (Reading database … 227717 files and directories currently installed.)
                            Unpacking apache2-mpm-prefork (from …/apache2-mpm-prefork_2.2.22-1ubuntu1.6_amd64.deb) …
                            Setting up apache2-mpm-prefork (2.2.22-1ubuntu1.6) …
                            No apache MPM package installed
                            root@SC-Image:/home/fog# [/CODE]

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Jul 10, 2014, 10:37 PM

                              sorry about the large block:
                              [code]apt-get purge apache2-mpm-prefork
                              apt-get install apache2-mpm-prefork
                              /etc/init.d/nginx stop
                              service apache2 start
                              cp -arp /root/apache2/mods-available/php5* /etc/apache2/mods-available/
                              cp -arp /root/apache2/mods-enabled/php5* /etc/apache2/mods-enabled/
                              service apache2 start
                              apt-get install libapache2-mod-php5[/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! 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
                              • N
                                NDNtech
                                last edited by Jul 10, 2014, 10:40 PM

                                I got to the third and got this, haven’t moved on yet:

                                [CODE]root@SC-Image:/home/fog# /etc/init.d/nginx stop
                                bash: /etc/init.d/nginx: No such file or directory[/CODE]

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Jul 10, 2014, 10:46 PM

                                  continue on. It’s just to ensure it’s not 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! 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
                                  • N
                                    NDNtech
                                    last edited by Jul 10, 2014, 10:49 PM

                                    The only thing that worked is the last one lol

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NDNtech
                                      last edited by Jul 10, 2014, 10:50 PM

                                      Kind of:
                                      [CODE]root@SC-Image:/etc/init.d# apt-get install libapache2-mod-php5
                                      Reading package lists… Done
                                      Building dependency tree
                                      Reading state information… Done
                                      Suggested packages:
                                      php-pear
                                      The following NEW packages will be installed:
                                      libapache2-mod-php5
                                      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                      Need to get 3,137 kB of archives.
                                      After this operation, 8,718 kB of additional disk space will be used.
                                      Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.13 [3,137 kB]
                                      Fetched 3,137 kB in 43s (72.6 kB/s)
                                      Selecting previously unselected package libapache2-mod-php5.
                                      (Reading database …
                                      dpkg: warning: files list file for package `apache2.2-bin’ missing, assuming package has no files currently installed.

                                      dpkg: warning: files list file for package `apache2-utils’ missing, assuming package has no files currently installed.
                                      (Reading database … 227724 files and directories currently installed.)
                                      Unpacking libapache2-mod-php5 (from …/libapache2-mod-php5_5.3.10-1ubuntu3.13_amd64.deb) …
                                      Setting up libapache2-mod-php5 (5.3.10-1ubuntu3.13) …
                                      Not replacing deleted config file /etc/php5/apache2/php.ini
                                      Action ‘configtest’ failed.
                                      The Apache error log may have more information.
                                      Your apache2 configuration is broken, so we’re not restarting it for you.
                                      root@SC-Image:/etc/init.d#
                                      [/CODE]

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by Jul 10, 2014, 10:54 PM

                                        Can you try this:
                                        sudo apt-get remove --purge $(dpkg -l apache* | grep ii | awk ‘{print $2}’)

                                        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
                                        • I
                                          ianabc Testers
                                          last edited by Jul 10, 2014, 10:56 PM

                                          Your apache config looks broken. What does
                                          [CODE]
                                          $ apachectl configtest
                                          [/CODE]
                                          return now? Also can you try restarting and tailing the end of the error.log - it might help diagnose the reason why apache won’t start.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 2 / 5
                                          2 / 5
                                          • First post
                                            37/96
                                            Last post

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project