![]() |
ispCP 1.0.0 update to 1.0.3-1 database update failed - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: ispCP 1.0.0 update to 1.0.3-1 database update failed (/thread-9322.html) |
ispCP 1.0.0 update to 1.0.3-1 database update failed - zeosunang - 01-22-2010 11:19 PM Hello, while updating ispCP from version 1.0.0 stable to 1.0.3-1 i encountered several problems. However i was able to solve most of them. But now update wont continue due to database errors: Update ispCP database shema: [failed] printing /tmp/ispcp-update-database.log results in sh: /usr/bin/php5: file or directory does not exist. i recently upgraded Debain etch to lenny, but the problem existed before. while executing "aptitude full-upgrade" my system encounter the following error: Sub-process /usr/bin/dpkg returned an error code (1) but i dont know if this has something to do with my ispcp problem. thanks for help! and sorry for my bad english ![]() RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - kilburn - 01-22-2010 11:23 PM It seems that you're missing the console php version. Try with: Code: apt-get install php5-cli RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - zeosunang - 01-22-2010 11:31 PM wow thanks for your fast help! ![]() that solved my problem! update run trough succesfully. but now ive got a new error on the administration page: Warning: session_start() [function.session-start]: open(/var/www/ispcp/gui/phptmp/sess_nRCdp7gWyIXkk,h3vk5YiFT18Ud, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 43 seems to be a permission problem, but i dont know how to solve it... RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - kilburn - 01-23-2010 12:13 AM If you're using mod_php: Code: chown -R vu2000:www-data /var/www/ispcp/gui/phptmp If you're using fastcgi/fcgid: Code: /var/www/ispcp/engine/setup/set-gui-permissions.sh RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - zeosunang - 01-23-2010 12:29 AM if im honest, i dont know which i'm using... if i type the "mod_php" commands, the recent problem is solved, but i get a new error message: Warning: require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [function.require-once]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67 another permission denied error :O executing the permissions.sh changes nothing. it reproduces the old error. at least apache is now responding with an 503 on subdomains. This is my most annoying webserver update so far :O RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - kilburn - 01-23-2010 01:25 AM Basically, using mod_php is not officially supported by ispcp, and hence you get some permission errors when doing it. Now, they can all be easily fixed if you consider that, under mod_php, scripts are run as the "www-data" user instead of "vuXXX". You can either fix all these permission errors manually or install (and properly setup, look for other threads about it) fastcgi/fcgid. RE: ispCP 1.0.0 update to 1.0.3-1 database update failed - zeosunang - 01-23-2010 02:24 AM while "playing around" with fastcgi and fcgid, apache told me, suexec doesnt work, which seemed to be very important for it to work. ![]() i reinstalled it, and now everything works fine. suEXEC caused the permission denied errors. thanks for being so patient ![]() |