Current time: 11-25-2024, 06:11 PM Hello There, Guest! (LoginRegister)


Thread Closed 
PHP open_basedir Problem and Apache Problem
Author Message
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #1
PHP open_basedir Problem and Apache Problem
hi,

i am got an ISPCP 1.0.7 Installation on Ubuntu 10.04TLS.

I got three problems.

First Problem is after an update for the apache what was automaticly installed over night from 11th to 12th of january i got my first problem.

The problem was that every page that works with php wrote this massages:

- Warning ... function inclue ... open_basedir restriction in effect.

This Problem is existing since this apche update.

Then i tried to restart the apache server. There was the second problem but thats isn´t so important. Because the /etc/init.d/apache2 file was empty.

To fix the second problem i am searched over google to solving the issue.

After few minutes i found an site they prefer to purge the apache2.2-common package and install it again. Now the third problem.

That i tried and the apache works but it seems that all configuration for the domains are crashed.

On every domain that got on my server its just displayed the "It works!!!" of apache.

Anybody have an idea which files after the reinstallion of apche2.2-common have been changed!?

Or is there an option reconfigure the ISPCP?

I am not sure if it helps, but every Customer Files of there Webspaces are still on the server, they are not deleted.

I am thankful for every help!

Unfortunately i don´t have an backup of my system, i plant an backup system to configure in the next days.

But i think its not a good moment to make an backup! :-)


Regards,

MFernandes
01-14-2011 01:33 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #2
RE: PHP open_basedir Problem and Apache Problem
For first problem see here: http://isp-control.net/forum/thread-1265...en_basedir
For second problem, try this one: http://isp-control.net/documentation/how...ate_config

Best Regards
Fluser
01-14-2011 01:37 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #3
RE: PHP open_basedir Problem and Apache Problem
Hi,

I tried to reconfigure my ispcp, but i got an error.

Starting ispCP update
* Stopping services: ............ [ Done ]

ispCP main configuration file
* Loading old ispCP configuration file: [ Done ]
* Update ispCP configuration file: [ Done ]
* Check ispCP configuration file: [ Done ]

Pre-installation tasks for Ubuntu
* Postgrey configuration (Updating listening port): [ Done ]

ispCP database
* Update ispCP database schema: [ Done ]

Rebuilding all services configuration files
* ispCP system resolver: [ Done ]
* ispCP crontab file: [ Done ]
* ispCP Bind9 main configuration file: [ Done ]
* ispCP Apache fastCGI modules configuration: [ Failed ]

[FATAL] An error occurred during update process!
Correct it and re-run this program.

Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum


The logfile is attached.

I can´t image why the fastcgi mod isn´t enabled.

How to fix this problem?



Regards,

MFernandes


Attached File(s)
.txt  ispcp-update-logfile.txt (Size: 26.42 KB / Downloads: 4)
01-14-2011 02:00 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #4
RE: PHP open_basedir Problem and Apache Problem
Reinstall fastcgi and fcgid

Best Regards
Fluser
01-14-2011 02:11 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #5
RE: PHP open_basedir Problem and Apache Problem
I reinstalled "fastcgi" and "fcgid" and the reconfiguration what is descriped here
-> http://isp-control.net/documentation/how...ate_config run without and error.

So this part works.

But after reconfigure the ispcp, is written on every domain where they got an homepage with PHP
-> Internel Server Error 500.

So any idea what is to do know?

Regards,

MFernandes
(This post was last modified: 01-14-2011 03:56 AM by MFernandes.)
01-14-2011 03:55 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #6
RE: PHP open_basedir Problem and Apache Problem
Logs?
01-14-2011 04:29 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #7
RE: PHP open_basedir Problem and Apache Problem
which logs you need?

/var/log/???????
01-14-2011 04:40 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #8
RE: PHP open_basedir Problem and Apache Problem
Maybe some apache2 logs?
Code:
tail -f /var/log/apache2/default-error.log

Best Regards
Fluser
01-14-2011 04:44 AM
Find all posts by this user
MFernandes Offline
Junior Member
*

Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #9
RE: PHP open_basedir Problem and Apache Problem
here the log file.


Attached File(s)
.txt  default-error-log.txt (Size: 13.46 KB / Downloads: 6)
01-14-2011 04:53 AM
Find all posts by this user
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #10
RE: PHP open_basedir Problem and Apache Problem
Also very usefull would be
Code:
tail -f /var/log/apache2/suexec.log
01-14-2011 05:03 AM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)