Home » Archive » LxAdmin » Bug Report » Apache will not start with suphp, fresh install
| | | | |
| Re: Apache will not start with suphp, fresh install [message #8461 is a reply to message #8459] |
Sat, 14 July 2007 12:42   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
>
| Quote: |
> I did the update and now I have a /etc/httpd/conf.d/suphp.nonconf file. /etc/suphp.conf is still missing.
>
> Jody (computrguru)
|
In that case, you may have to manually copy that. I have fixed the suPHP installation. It was supposed to be addon, but it seems more people are using it rather than mod_php.
cp /usr/local/lxlabs/lxadmin/file/etc_suphp.conf /etc/suphp.conf
Thanks.
|
|
|
| Re: Apache will not start with suphp, fresh install [message #8609 is a reply to message #8418] |
Tue, 17 July 2007 01:13   |
|
Well I have given up trying to get this to work for now. I have tried on a CentOS / SSE install and HIB install. I can get both files to show but can't get Apache to start with suphp.
I have also found that suphp will break the switch back to lighttp from Apache.
I have also tried forcing an update in both with no success. I have noticed that the /etc/httpd/conf.d/suphp.nonconf file is emty. Should it be?
I am willing to experiment with this on a non-production server as needed to help trouble shoot the suphp install.
Jody (computrguru)
Server- Solutionz
Quality, Affordable VPS Servers
Hosting-Solutionz
Quality, Affordable Hosting
|
|
|
| Re: Apache will not start with suphp, fresh install [message #8611 is a reply to message #8609] |
Tue, 17 July 2007 01:18   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
SuPHP is being used by most of the people who are using apache with lxadmin and it should work. Please run the below, and it will guaranteed work.
cp /usr/local/lxlabs/lxadmin/file/suphp.conf /etc/httpd/conf.d/suphp.conf
And then restart httpd. It seems the file wasn't properly copied. I will fix this properly so that all the initialiations are properly done when you switch to suPHP through the GUI.
Thanks.
|
|
| | | |
| Re: Apache will not start with suphp, fresh install [message #65030 is a reply to message #65029] |
Sun, 17 May 2009 07:56   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
Try:
On Sun, May 17, 2009 at 11:50:03AM -0000, Alexander wrote:
>
>
> I have the same Problem using Kloxo 6.0.1132
>
> When I enable suPHP, Apache shuts down.
> I tried to start it manually but it says that the suPHP-module cannot be found.
>
>
> I don`t know if it is important for you, but the command yum update does not work. It says that there are errors in different files. Before the HIB-image was updated via HyperVM, it was possible to use yum update.
>
|
|
|
| Re: Apache will not start with suphp, fresh install [message #65031 is a reply to message #8418] |
Sun, 17 May 2009 08:04   |
tuxdroid  Messages: 7 Registered: May 2009 |
Member |
|
|
Using yum I geht the following error:
yum -y install mod_suphp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 339, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 591, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 223, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 71, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
File "/usr/lib/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
As I said this happens since HIB was updated.
|
|
|
| Re: Apache will not start with suphp, fresh install [message #65032 is a reply to message #65031] |
Sun, 17 May 2009 08:08   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
run:
On Sun, May 17, 2009 at 12:05:05PM -0000, Alexander wrote:
>
>
> Using yum I geht the following error:
>
> yum -y install mod_suphp
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Traceback (most recent call last):
> File "/usr/bin/yum", line 29, in ?
|
|
|
| Re: Apache will not start with suphp, fresh install [message #65033 is a reply to message #8418] |
Sun, 17 May 2009 08:18   |
tuxdroid  Messages: 7 Registered: May 2009 |
Member |
|
|
Same, tried that earlier:
yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
yum -y install mod_suphp
Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 339, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 591, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 223, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 71, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
File "/usr/lib/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
Shall I try to redownload the HIB-os-template?
[Updated on: Sun, 17 May 2009 08:19] Report message to a moderator
|
|
|
| Re: Apache will not start with suphp, fresh install [message #65037 is a reply to message #65033] |
Sun, 17 May 2009 08:24   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
That's because you don't have enough memory. Most likely that's also why the switch to suphp failed.
On Sun, May 17, 2009 at 12:18:57PM -0000, Alexander wrote:
>
>
> Same, tried that earlier:
>
> yum clean all
> Loaded plugins: fastestmirror
> Cleaning up Everything
|
|
| |
Goto Forum:
Current Time: Fri May 24 20:37:00 EDT 2013
Total time taken to generate the page: 0.01293 seconds
|