New Install of FOG 1.1.2 and Ubuntu 12.04 LTS
-
is there a reason you’re creating a new thread?
-
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…
-
well, this is still the second thread you’ve started in the FOG Problems section within the hour, about the same issue.
-
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.
-
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?
-
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] -
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?
-
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.
-
What’s the exact error in the syslog
-
Tom,
Remind me where to find that again? -
/var/log/syslog
-
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] -
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.
-
It does what is the exact command our output of the command service apache2 restart
-
[CODE]apache2: unrecognized service[/CODE]
-
And when i run “service --status-all” apache2 is not listed
-
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
-
I’m home now.
-
so what is the exact messages you get when you attempt to run [code]sudo service apt-get install apache2[/code]
-
[CODE]root@SC-Image:/# sudo service apt-get install apache2
apt-get: unrecognized service[/CODE]