Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 8th November 2011, 20:43
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Ok Till,

Sorry I've wasted your time. Don't know exact remedy, but surely this is the problem:

[Mon Nov 07 16:35:20 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Mon Nov 07 16:38:20 2011] [error] [client 173.93.151.171] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 16:38:20 2011] [error] [client 173.93.151.171] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 16:38:20 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 16:50:07 2011] [error] [client 173.93.151.171] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Mon Nov 07 16:50:07 2011] [error] [client 173.93.151.171] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Mon Nov 07 16:50:07 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Mon Nov 07 16:56:31 2011] [error] [client 173.93.151.171] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 16:56:31 2011] [error] [client 173.93.151.171] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 16:56:31 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
[Mon Nov 07 18:50:29 2011] [error] [client 173.93.151.171] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Mon Nov 07 18:50:29 2011] [error] [client 173.93.151.171] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Mon Nov 07 18:50:29 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Tue Nov 08 03:11:20 2011] [error] [client 173.93.151.171] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 03:11:20 2011] [error] [client 173.93.151.171] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 03:11:20 2011] [error] [client 173.93.151.171] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 09:46:33 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Tue Nov 08 09:46:33 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Tue Nov 08 09:46:33 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
Reply With Quote
Sponsored Links
  #32  
Old 8th November 2011, 20:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Login to ispconfig, go to sites, click on the website, there on the options tab and add

/usr/share/phpMyAdmin

separted by : at the end of the field "PHP open_basedir". Ten wait 2 minutes and ry to access phpmyadmin again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #33  
Old 8th November 2011, 21:13
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Well Till,

I gave it a go, added the line :/usr/share/phpMyAdmin to the end of PHP open_basedir:

This is the return:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Reply With Quote
  #34  
Old 8th November 2011, 21:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Then go back to the error.log and post the new error that you get there now.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #35  
Old 8th November 2011, 21:26
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Till,

Ok, now I can see open base restrictions in effect but don't know how to resolve: Latest:


[Tue Nov 08 09:46:33 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/index.php
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 09:59:59 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 10:30:48 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 11:00:35 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 11:00:35 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 11:00:35 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33, referer: http://webservertwo.hostwithsupport.com:8080/
[Tue Nov 08 11:04:21 2011] [error] [client 70.155.163.2] PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/share/phpMyAdmin/libraries/common.inc.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/excel-wireless.com/web:/srv/www/excel-wireless.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/phpmyadmin) in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 11:04:21 2011] [error] [client 70.155.163.2] PHP Warning: require_once(/usr/share/phpMyAdmin/libraries/common.inc.php): failed to open stream: Operation not permitted in /usr/share/phpMyAdmin/index.php on line 33
[Tue Nov 08 11:04:21 2011] [error] [client 70.155.163.2] PHP Fatal error: require_once(): Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpMyAdmin/index.php on line 33
Reply With Quote
  #36  
Old 8th November 2011, 21:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

The :/usr/share/phpMyAdmin is not in the open basedir path yet according to the error log. This can have several reasons:

a) You did not wait until the files had been written to disk. wait at least one minute. You can check if there are open tasks in the jobqueue of the ispconfig monitor.

b) The :/usr/share/phpMyAdmin was added to the wrong website. If you are not sure which website this is, add it to all websites.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #37  
Old 8th November 2011, 22:07
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
 
Default

Ok, I waited, the job queue is empty and there is only one set, so there can't be a mix-up there. I don't understand not having root access either.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3.0.4

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
Correct update procedure ispconfig + ubuntu? clabrown General 4 28th April 2011 14:56
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31
ISPconfig 3: can't send or receive messages zogthegreat Installation/Configuration 6 22nd May 2010 14:45
ispconfig update sygram Installation/Configuration 2 7th November 2009 21:02
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38


All times are GMT +2. The time now is 19:10.


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