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

    I finally broke down and reinstalled FOG 1.1.2 on a fresh install of 12.04. I extracted fog_1.1.2 into /opt and changed directories to: opt/fog_1.1.2/bin and ran sudo ./installfog.sh

    The install went through and the only error that shows is: * Setting up and starting Apache Web Server… Failed!

    And of course, that makes fog useless lol.

    It’s installing Apache2, I think, and I’ve ran the install multiple times with the same result. I even purged apache2 and reinstalled. I also tried reinstalling apache2, but it says I was missing apr, so I included that, then it said I was missing PCRE from PERL and I had no idea how to get that to work. Any ideas?

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Jul 10, 2014, 6:54 PM

      is there a reason you’re creating a new thread?

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

        It seemed like maybe you guys spend all of your time in the FOG section rather than the Linux section, and it’s looking more and more like a fog thing to me. But who knows…

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Jul 10, 2014, 6:58 PM

          well, this is still the second thread you’ve started in the FOG Problems section within the hour, about the same issue.

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

            Rather than worrying about insignificant things like that, are you willing to help me solve this? I really would like to have this fixed soon.

            1 Reply Last reply Reply Quote 0
            • B
              boblablah
              last edited by Jul 10, 2014, 7:07 PM

              Have you gone in and looked for old config folders after the apt-get purge operation you talked about? I have noticed mysql to do things like leave behind directories with config in them after a purge operation.

              Is there a possibility that you have 2 separate apache installs to different locations on the disk, and the modified one fog istalls is not starting or starting second and failing? do you also have another web server running on this box like nginx or something?

              Sounds like it can’t start or stop a previously existing service in order to update it. with apache stopped/ not started can you see if there’s another web server daemon with the port locked? “netstat -an | grep 80” or “netstat -an | grep LIST” to get an output of listening ports on the server.

              also, why go with 12.04 on a fresh install and not 14.04?

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

                I don’t know what all of this is, but I went ahead and ran them both:

                [CODE]root@SC-Image:/# netstat -an | grep 80
                unix 2 [ ACC ] STREAM LISTENING 17478 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native

                STREAM CONNECTED 16756 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native

                STREAM CONNECTED 8980 @/tmp/.X11-unix/X0

                STREAM CONNECTED 16802 @/tmp/dbus-pZMCYCLQQ1

                STREAM CONNECTED 16801 @/tmp/dbus-pZMCYCLQQ1

                STREAM CONNECTED 27819 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native

                STREAM CONNECTED 16803

                STREAM CONNECTED 14051 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native

                STREAM CONNECTED 12612 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native

                STREAM CONNECTED 10780 @/tmp/dbus-pZMCYCLQQ1

                STREAM CONNECTED 26680 @/tmp/dbus-pZMCYCLQQ1

                STREAM CONNECTED 32802 @/tmp/dbus-7EiayzkDWU

                DGRAM 1280

                STREAM CONNECTED 17480

                STREAM CONNECTED 16580 /var/run/dbus/system_bus_socket

                STREAM CONNECTED 12080 @/tmp/dbus-pZMCYCLQQ1

                STREAM CONNECTED 32780 /var/run/dbus/system_bus_socket

                root@SC-Image:/# netstat -an | grep LIST
                tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
                tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:39419 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:57823 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:35360 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:33832 0.0.0.0:* LISTEN
                tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:46093 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
                tcp 0 0 0.0.0.0:55536 0.0.0.0:* LISTEN
                tcp6 0 0 :::45525 :::* LISTEN
                tcp6 0 0 :::22 :::* LISTEN
                tcp6 0 0 ::1:631 :::* LISTEN
                tcp6 0 0 :::47479 :::* LISTEN
                tcp6 0 0 :::60060 :::* LISTEN
                tcp6 0 0 :::56992 :::* LISTEN
                tcp6 0 0 :::2049 :::* LISTEN
                tcp6 0 0 :::37795 :::* LISTEN
                tcp6 0 0 :::37262 :::* LISTEN
                tcp6 0 0 :::111 :::* LISTEN
                unix 2 [ ACC ] STREAM LISTENING 13837 @/tmp/.ICE-unix/2569
                unix 2 [ ACC ] STREAM LISTENING 9764 /tmp/.X11-unix/X0
                unix 2 [ ACC ] STREAM LISTENING 16443 @/tmp/dbus-pZMCYCLQQ1
                unix 2 [ ACC ] STREAM LISTENING 16388 /tmp/keyring-3HyNat/control
                unix 2 [ ACC ] STREAM LISTENING 1993 /tmp/ssh-dtGHIKZY2569/agent.2569
                unix 2 [ ACC ] STREAM LISTENING 13838 /tmp/.ICE-unix/2569
                unix 2 [ ACC ] STREAM LISTENING 11887 /tmp/keyring-3HyNat/gpg
                unix 2 [ ACC ] STREAM LISTENING 11895 /tmp/keyring-3HyNat/ssh
                unix 2 [ ACC ] STREAM LISTENING 11896 /tmp/keyring-3HyNat/pkcs11
                unix 2 [ ACC ] STREAM LISTENING 17478 /home/fog/.pulse/80ec9467e7bbb7cfee91e6b900000005-runtime/native
                unix 2 [ ACC ] STREAM LISTENING 9763 @/tmp/.X11-unix/X0
                unix 2 [ ACC ] SEQPACKET LISTENING 7718 /run/udev/control
                unix 2 [ ACC ] STREAM LISTENING 7760 /run/rpcbind.sock
                unix 2 [ ACC ] STREAM LISTENING 8335 @/com/ubuntu/upstart
                unix 2 [ ACC ] STREAM LISTENING 7857 /var/run/dbus/system_bus_socket
                unix 2 [ ACC ] STREAM LISTENING 42422 /var/run/mysqld/mysqld.sock
                unix 2 [ ACC ] STREAM LISTENING 9663 /var/run/sdp
                unix 2 [ ACC ] STREAM LISTENING 18772 @/tmp/dbus-7EiayzkDWU
                unix 2 [ ACC ] STREAM LISTENING 7902 /var/run/avahi-daemon/socket
                unix 2 [ ACC ] STREAM LISTENING 7937 @/org/bluez/audio
                unix 2 [ ACC ] STREAM LISTENING 9715 /var/run/acpid.socket
                unix 2 [ ACC ] STREAM LISTENING 1534 /var/run/cups/cups.sock[/CODE]

                1 Reply Last reply Reply Quote 0
                • B
                  boblablah
                  last edited by Jul 10, 2014, 7:29 PM

                  What it is is a list of open sockets with “80” in them… but none of them being a webserver or service with the http port 80 tied up. The second is to show listening services on the box, basically a list of ports you could connect to a service on… also nothing using port 80 which should be the apache default.

                  you run the install “installfog.sh” and still get the same thing every time…

                  can you try doing an apt-get install --fixmissing or --fix-missing and see if it decides to update the sofware it claims was missing in the first place?

                  or better yet, an apt-get update to see if there’s some reason your apt package can not get all the required dependencies from the public repositories?

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

                    I’ve tried --fixmissing already and it acts like nothing’s wrong. I just went and searched the entire file system for files with ‘apache’ in the name and deleted them all after I ran an apache2 purge again and then ran the fog install. Still has the same apache error.

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

                      What’s the exact error in the syslog

                      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, 7:38 PM

                        Tom,
                        Remind me where to find that again?

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

                          /var/log/syslog

                          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, 7:52 PM

                            I ran installfog.sh and from the time I started it, until it finished, I got this:
                            [CODE]Jul 10 14:47:24 SC-Image kernel: [14816.339563] type=1400 audit(1405021644.556:90): apparmor=“STATUS” operation=“profile_replace” parent=7002 profile=“unconfined” name=“/usr/sbin/mysqld” pid=7006 comm=“apparmor_parser”
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7058]: Upgrading MySQL tables if necessary.
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7061]: /usr/bin/mysql_upgrade: the ‘–basedir’ option is always ignored
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7061]: Looking for ‘mysql’ as: /usr/bin/mysql
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7061]: Looking for ‘mysqlcheck’ as: /usr/bin/mysqlcheck
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7061]: This installation of MySQL is already upgraded to 5.5.37, use --force if you still need to run mysql_upgrade
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7072]: Checking for insecure root accounts.
                            Jul 10 14:47:26 SC-Image /etc/mysql/debian-start[7077]: Triggering myisam-recover for all MyISAM tables[/CODE]

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

                              I haven’t really gotten any specific errors other than when I tried to do a manual install, it said I needed apr and PCRE from PERL. I don’t know if that helps or not.

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

                                It does what is the exact command our output of the command service apache2 restart

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

                                  [CODE]apache2: unrecognized service[/CODE]

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

                                    And when i run “service --status-all” apache2 is not listed

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

                                      Give me about 10 to 15 minutes and I should be home in better assist you doing I’ve been All this on my cell phone

                                      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
                                        Tom Elliott
                                        last edited by Jul 10, 2014, 8:20 PM

                                        I’m home 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! 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
                                          Tom Elliott
                                          last edited by Jul 10, 2014, 8:21 PM

                                          so what is the exact messages you get when you attempt to run [code]sudo service apt-get install apache2[/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
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            2/96
                                            Last post

                                          209

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project