ISPConfig2 service issue

Discussion in 'Installation/Configuration' started by becks87, Feb 17, 2012.

  1. becks87

    becks87 New Member

    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/ 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 :confused:)
    Warning: include(/root/ispconfig/scripts/lib/ 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!!!
  2. falko

    falko Super Moderator Howtoforge Staff

    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?
  3. becks87

    becks87 New Member

    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...:confused: 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!

Share This Page