• 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
    51.9k
    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

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

      1 Reply Last reply Reply Quote 0
      • N
        NDNtech
        last edited by

        [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

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

            [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

              [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

                [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

                  [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

                    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

                      [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

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

                        1 Reply Last reply Reply Quote 0
                        • N
                          NDNtech
                          last edited by

                          [quote=“ianabc, post: 32815, member: 24548”]Is apache running then?
                          [CODE]
                          $ ps -ef | grep apache
                          [/CODE][/quote]
                          [CODE]root@SC-Image:/# ps -ef | grep apache
                          root 17892 5377 0 18:06 pts/1 00:00:00 grep --color=auto apache
                          [/CODE]

                          1 Reply Last reply Reply Quote 0
                          • I
                            ianabc Testers
                            last edited by

                            OK, apache isn’t started then, you could try starting it manually to see if it throws an error
                            [CODE]
                            $ sudo apache2ctl -X -k start
                            [/CODE]

                            1 Reply Last reply Reply Quote 0
                            • N
                              NDNtech
                              last edited by

                              [CODE]root@SC-Image:/# sudo apache2ctl -X -k start
                              apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName[/CODE]

                              and now it’s sitting with a flashing cursor

                              1 Reply Last reply Reply Quote 0
                              • N
                                NDNtech
                                last edited by

                                How does a fresh Ubuntu install sound? lol

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

                                  [quote=“NDNtech, post: 32812, member: 23658”]Install??[/quote]

                                  Yes, sorry about 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! 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

                                    If it is sitting there apache should be running, so I’m not sure why the startup script isn’t working. While that command is still running (cursor is flashing) try pointing a web browser at the IP address of the machine, e.g. [url]http://10.120.88.146/fog[/url]. When you are finished you can stop the command by pressing “Ctrl-C”, that will kill off apache.

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      NDNtech
                                      last edited by

                                      [quote=“ianabc, post: 32822, member: 24548”]If it is sitting there apache should be running so I’m not sure why the startup script isn’t working. While that command is still running (cursor is flashing) try pointing a web browser at the IP address of the machine, e.g. [FONT=Consolas][url]http://10.120.88.146/fog[/url][/FONT][/quote]

                                      It’s asking me if I want to open or save a PHTML file

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        NDNtech
                                        last edited by

                                        [quote=“Tom Elliott, post: 32821, member: 7271”]Yes, sorry about that.[/quote]

                                        [CODE]root@SC-Image:/# sudo apt-get install libapache2-mod-php5 libapache2-mod-mysql php5-mysql
                                        Reading package lists… Done
                                        Building dependency tree
                                        Reading state information… Done
                                        E: Unable to locate package libapache2-mod-mysql[/CODE]

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

                                          apt-get install php5-mysql libapache2-mod-php5

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

                                            sorry
                                            [code]sudo apt-get install libapache2-mod-php5 php5 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            188

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project