ispCP - Board - Support
PHP open_basedir Problem and Apache Problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: PHP open_basedir Problem and Apache Problem (/thread-12666.html)

Pages: 1 2


PHP open_basedir Problem and Apache Problem - MFernandes - 01-14-2011 01:33 AM

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


RE: PHP open_basedir Problem and Apache Problem - fluser - 01-14-2011 01:37 AM

For first problem see here: http://isp-control.net/forum/thread-12653-page-2.html?highlight=open_basedir
For second problem, try this one: http://isp-control.net/documentation/howto/ispcp/regenerate_config

Best Regards
Fluser


RE: PHP open_basedir Problem and Apache Problem - MFernandes - 01-14-2011 02:00 AM

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


RE: PHP open_basedir Problem and Apache Problem - fluser - 01-14-2011 02:11 AM

Reinstall fastcgi and fcgid

Best Regards
Fluser


RE: PHP open_basedir Problem and Apache Problem - MFernandes - 01-14-2011 03:55 AM

I reinstalled "fastcgi" and "fcgid" and the reconfiguration what is descriped here
-> http://isp-control.net/documentation/howto/ispcp/regenerate_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


RE: PHP open_basedir Problem and Apache Problem - fluser - 01-14-2011 04:29 AM

Logs?


RE: PHP open_basedir Problem and Apache Problem - MFernandes - 01-14-2011 04:40 AM

which logs you need?

/var/log/???????


RE: PHP open_basedir Problem and Apache Problem - fluser - 01-14-2011 04:44 AM

Maybe some apache2 logs?
Code:
tail -f /var/log/apache2/default-error.log

Best Regards
Fluser


RE: PHP open_basedir Problem and Apache Problem - MFernandes - 01-14-2011 04:53 AM

here the log file.


RE: PHP open_basedir Problem and Apache Problem - fluser - 01-14-2011 05:03 AM

Also very usefull would be
Code:
tail -f /var/log/apache2/suexec.log