New Install of FOG 1.1.2 and Ubuntu 12.04 LTS
-
[CODE]root@SC-Image:/# sudo service apt-get install apache2
apt-get: unrecognized service[/CODE] -
sorry
[code]sudo apt-get install apache2[/code] -
[CODE]root@SC-Image:/# sudo apt-get install apache2
Reading package lists… Done
Building dependency tree
Reading state information… Done
apache2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@SC-Image:/#
[/CODE] -
okay
what about
apachectl start -
[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] -
okay
run
[code]sudo apt-get update;sudo apt-get upgrade;sudo apt-get install apache2.2-common[/code] -
After that’s all done run:
[code]sudo apt-get install libapache2-mod-auth-mysql[/code] -
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] -
Okay, ran the libapache2-mod-auth-mysql install
-
okay try this:
[code]sudo apt-get purge apache2 apache2.2-common libapache2-mod-auth-mysql[/code]Try rerunning the installer.
-
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’
-
and you’re going to:
[url]http://10.120.88.146/fog/management[/url] -
Yes
-
Apache2 even shows to be running
-
can you try:
[code]sudo ufw disable[/code] -
[CODE]root@SC-Image:/home/fog# sudo ufw disable
Firewall stopped and disabled on system startup
[/CODE] -
now can you access the link?
-
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?
-
[code]sudo apt-get install apache2-mpm-prefork[/code]
-
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]