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

                [CODE]root@SC-Image:/# sudo apt-get remove --purge $(dpkg -l apache* | grep ii | awk ‘{print $2}’)
                Reading package lists… Done
                Building dependency tree
                Reading state information… Done
                The following packages will be REMOVED:
                apache2* apache2-mpm-prefork* apache2-utils* apache2.2-bin*
                apache2.2-common* libapache2-mod-php5*
                0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
                After this operation, 13.7 MB disk space will be freed.
                Do you want to continue [Y/n]? y
                (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 … 227731 files and directories currently installed.)
                Removing apache2 …
                Removing libapache2-mod-php5 …
                Module php5 disabled.
                To activate the new configuration, you need to run:
                service apache2 restart
                Purging configuration files for libapache2-mod-php5 …
                Removing apache2-mpm-prefork …
                No apache MPM package installed
                Removing apache2.2-common …
                Purging configuration files for apache2.2-common …
                dpkg: warning: while removing apache2.2-common, directory ‘/var/www’ not empty so not removed.
                Removing apache2-utils …
                Removing apache2.2-bin …
                Processing triggers for man-db …
                Processing triggers for ufw …
                Processing triggers for ureadahead …[/CODE]

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

                  Okay, now try reinstalling?

                  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:57 PM

                    [quote=“ianabc, post: 32800, member: 24548”]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.[/quote]
                    [CODE]root@SC-Image:/# $ apachectl configtest
                    $: command not found[/CODE]

                    1 Reply Last reply Reply Quote 0
                    • I
                      ianabc Testers
                      last edited by Jul 10, 2014, 10:58 PM

                      Yeah, sorry about that, my fingers are slower than Toms! that command won’t work until apache is reinstalled.

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

                        [CODE] * Setting up and starting Apache Web Server…Failed![/CODE]

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

                          [CODE]root@SC-Image:/# apachectl configtest
                          apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                          Syntax OK
                          [/CODE]

                          1 Reply Last reply Reply Quote 0
                          • I
                            ianabc Testers
                            last edited by Jul 10, 2014, 11:02 PM

                            Alright, now could you try the configtest,
                            [CODE]
                            $ apachectl configtest
                            $ service apache start
                            $ tail -n 100 /var/log/apache2/error.log
                            [/CODE]

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

                              [code]sudo apt-get libapache2-mod-php5 libapache2-mod-mysql php5-mysql[/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
                              • I
                                ianabc Testers
                                last edited by Jul 10, 2014, 11:03 PM

                                [quote=“NDNtech, post: 32807, member: 23658”][CODE]root@SC-Image:/# apachectl configtest
                                Syntax OK
                                [/CODE][/quote]
                                That’s good, the apache config must be sane, you can ignore the fqdn stuff for the moment. What about the error.log?

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

                                  [CODE]root@SC-Image:/# apachectl configtest
                                  apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                                  Syntax OK
                                  root@SC-Image:/# service apache2 start

                                  • Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
                                    root@SC-Image:/# tail -n 100 /var/log/apache2/error.log[/CODE]
                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    NDNtech
                                    last edited by Jul 10, 2014, 11:04 PM

                                    [quote=“Tom Elliott, post: 32809, member: 7271”][code]sudo apt-get libapache2-mod-php5 libapache2-mod-mysql php5-mysql[/code][/quote]

                                    Install??

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      ianabc Testers
                                      last edited by Jul 10, 2014, 11:04 PM

                                      Sorry, that startup command was for redhat type distributions, for ubuntu it should be
                                      [CODE]
                                      $ /etc/init.d/apache2 start
                                      $ tail -n 100 /var/log/apache2/error.log
                                      [/CODE]

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

                                        [quote=“ianabc, post: 32810, member: 24548”]That’s good, the apache config must be sane, you can ignore the fqdn stuff for the moment. What about the error.log?[/quote]
                                        error log is empty

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          ianabc Testers
                                          last edited by Jul 10, 2014, 11:06 PM

                                          Is apache running then?
                                          [CODE]
                                          $ ps -ef | grep apache
                                          [/CODE]

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

                                          147

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.4k

                                          Posts
                                          Copyright © 2012-2024 FOG Project