Old 17th February 2012, 16:41
becks87 becks87 is offline
Junior Member
Join Date: Oct 2010
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default ISPConfig2 service issue

Dear Everyone,
I have a problem since today morning. First of all, i wondered that the e-mail user i have set at the ISPconfig admin doesn't work when i try to authenticate. The user has not been created by the admin service, however the web showed that it exists. After that i tried to restart the ispconfig_admin service logged in by root to the Ubuntu system. I found that the service can't start again without errors. It shows:
Warning: include(): open_basedir restriction in effect. File(/root/ispconfig/scripts/lib/config.inc.php) is within the allowed path(s): (/var/www/web14/web/img) in /root/ispconfig/scripts/shell/firewall.php on line 30
(So what? /web14/web/img is one of our customer's web directory )
Warning: include(/root/ispconfig/scripts/lib/config.inc.php): failed to open stream: Operation not permitted in /root/ispconfig/scripts/shell/firewall.php on line 30
Fatal error: Call to a member function queryAllRecords() on a non-object in /root/ispconfig/scripts/shell/firewall.php on line 38
ISPConfig system is now up and running!

The browser shows that:
Warning: Unknown: open_basedir restriction in effect. File(/home/admispconfig/ispconfig/web/login.php) is not within the allowed path(s): (/var/www/web14/web/img) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/admispconfig/ispconfig/web/login.php' (include_path='.:') in Unknown on line 0

I searched for any changes in the system, but found nothing, i really can't understand what has happened with it. The system runs on a virtual machine, the phisical one had problems and had been fixed in december. Because of that it had hard shut downs for a few times by the hosting Windows 7 system's BSOD. It is possible that anything had goes wrong in the virtual machine. In january there was no modifications made in the web admin, but it was suspicious that the statistics page not showing data in the new year. So ISPConfig2 will have problems and now i'm unable to use the web admin which is very annoying, 'cause i have to made a few settings ASAP. Does anyone have an idea what to do? Thank you for your help!!!
Reply With Quote
Sponsored Links
Old 18th February 2012, 13:03
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Did you modify ISPConfig's own php.ini in /root/ispconfig/php/? Or did you somwhow modify ISPConfig to use the system's PHP version or the default Apache?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 20th February 2012, 16:27
becks87 becks87 is offline
Junior Member
Join Date: Oct 2010
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post

Thanks for the advice, you were right! There was a modification in the php.ini on 27th December. I found the /web14/web/img line at the open_basedir configuration. Henceforward i can't understand what it was searching for there... After comment it out and restarting ispconfig-server service the error messages had gone away and web admin started to work again. And i found that the traffic statistics page has started to collect data as before December. Thanks for your help again!
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 16:08
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 01:15
Update bind in Debian issue jortega General 1 20th November 2011 23:10
DRBD/HA/OpenFiler issue with 'service openfiler start' CodeChris HOWTO-Related Questions 3 31st May 2010 17:36
Sites stopped working Toucan Installation/Configuration 21 4th January 2010 00:27

All times are GMT +2. The time now is 01:21.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.