Apache Fails (trunk4004)
-
Installed the latest trunk (4004) and now my Apache fails. I can not re-install 1.2.0 now. Same error. I have tried removing, installing, nothing works. Please advise. Thanks
-
@mrbrown We need information, screenshots if possible. What OS, what version of OS? What’s the error messages, what’s the messages from apache error logs?
-
This post is deleted! -
Ubuntu 12.04 all updates installed
-
-
-
-
@mrbrown said:
Not sure but I think it’s a problem in the check of the installation of this package in the installation.
-
@ch3i Anything else I can try?
-
@mrbrown inside of trunk/lib/common/functions.sh
comment out the “exit 1” line by putting a # in front of it like this:
Then try again. All this will do is allow the installer to continue even if something “fails”. It won’t fix a problem if there actually is a problem though… and fog still might not work…
-
@Wayne-Workman Made the change so it would run out and got thisfoginstall.log
- Checking package: libapache2-mod-php5…Failed!
- Restarting Apache2 for fog vhost…Failed!
-
@mrbrown Very interesting. Can you remove both of these and then reinstall them manually?
apt-get remove libapache2-mod-php5 apache2 apt-get erase libapache2-mod-php5 apache2 apt-get install libapache2-mod-php5 apache2
I’m not really great with Ubuntu, but you get the idea right? Remove them and reinstall and try again.
-
-
Are you behind a proxy?
-
-
@Developers @Moderators any ideas?
-
@Wayne-Workman I’ve only seen the “threaded” error on our vps and that was relatively simple to fix. That said it was due to the php.ini file we need that allows php to run in threaded instances vs a single thread that php normally operates on. My question for the OP, what modifications have you attempted to make to you Apache configuration and do you have a php.ini.new file hiding in you php file tree?
-
Hi,
For what it’s worth, this happened to me on Ubuntu 12.04 and the newer SVN’s. (from about 37xx) It started off with the “json” package failing. I followed a few threads to try and “fix” it but it ended up breaking the package manager. I’m guessing here, but something may be wrong with the extra package repositories added by the SVN and it breaks the package manager. I didn’t take a snapshot of the errors but it had to do with PHP5 and dependencies and was in an endless loop. After a couple of days of frustration and no online solutions, I bit the bullet and did a fresh install of Ubuntu 14.04.3LTS. Reinstalled FOG 1.2.0, then the latest SVN installed seamlessly. I had 3 nodes all on Ubuntu 12.04 and the SVN broke them all. With Ubuntu 14.04 the SVN installs fine. I’m still experiencing problems re-imaging but at least FOG is up and running. Hope this info helps. -
Sorry, a bit late but maybe this would have helped: http://www.mylinuxguide.com/apache-is-running-a-threaded-mpm-but-your-php-module-is-not-compiled-to-be-threadsafe/
-
I was having a similar issue with trying to update to 1.20 from .032 on a Elementary OS server. The dependencies were just so old and beyond repair it would have taken forever to debug and try to find al the little pieces that were not right. I just went ahead and reloaded my server with Ubuntu 14.04 and reloaded the server. Since then its been fine. I tried all that apache removal stuff and reinstall and it was always some little issue until i reloaded. Have you tried loading a FOG VM on your existing server to just narrow it down to the OS load on your machine?
Don’t know if any of this sparks any ideas, but maybe it will help.