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
  #1  
Old 21st November 2009, 20:07
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default phpMyAdmin and webmail error?

EDIT: Solution to problem is: Set * as IP and * as subdomain for all your sites. The webmail solution is the same and for me: install squirrelmail...

Hi,

I downloaded and runned Ubuntu 9.10/ISPconfig 3.0.1.6 under VMware...

When I go to domain.com/webmail I receive:
Code:
Not Found

The requested URL /webmail was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
When I go to domain.com/phpmyadmin I receive:
Code:
Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/usr/share/php5) 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 '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
Can anyone help me with this? What can I do?

Btw
/etc/apache2/httpd.conf is empty, is that right?

Last edited by Dag Andresen; 24th November 2009 at 14:15.
Reply With Quote
Sponsored Links
  #2  
Old 22nd November 2009, 14:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

You have to use the IP address to access phpmyadmin and squirrelmail and not a domain that exists as website on your server. phpmyadmin adn squirrelmail are only accessible trogh the default vhost which can be reached trogh the IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd November 2009, 15:08
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Hi, I tried using IP
http://1.2.3.4/phpmyadmin/
http://1.2.3.4/webmail

and I get the same errors...

Last edited by till; 25th January 2012 at 15:54.
Reply With Quote
  #4  
Old 22nd November 2009, 15:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Make sure that you did not assign a website to this IP. Otherwise apache will route the Ip to your first website and not the default vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 22nd November 2009, 15:31
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

What exactly do you mean with "assign website to this ip"? If you mean IP-Address under where you create site, all sites has that one set to the local / internal IP of server.

All my websites are setup DNS like this:
Code:
 	A  	domain.com.  	 	1.2.3.4   		0  	
	A 	mail 	 	 	1.2.3.4 	 	0 	
	A 	www  	 		1.2.3.4  		0 	
	MX 	domain.com. 	 	mail.domain.com. 	10 	
	NS 	domain.com. 	 	ns1.abc.mu. 	 	0 	
	NS 	domain.com. 	 	ns2.abc.mu. 	 	0
Do you see a problem with those settings?

Also Im hosting my own nameservers with domain is.mu and I had it setup like this: .....

Last edited by till; 25th January 2012 at 15:54.
Reply With Quote
  #6  
Old 23rd November 2009, 15:34
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Anyone?
Reply With Quote
  #7  
Old 23rd November 2009, 15:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

I'am talking aboz the website settings and not dns. Did you select an ip address in the website settings or * ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 23rd November 2009, 16:09
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Hi,

I have tried both "*" and "192.168.10.20"... makes no difference.
Reply With Quote
  #9  
Old 23rd November 2009, 16:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

If you select * for all sites, then you can access the default host by IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Dag Andresen (24th November 2009)
  #10  
Old 23rd November 2009, 16:13
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

Hi, I only have 3 sites, I just tried setting them all to *, but I still can't access...
Reply With Quote
Reply

Bookmarks

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
ISPConfig breaks access to phpmyadmin vondie Installation/Configuration 4 19th October 2009 16:22
ISPConfig 3 phpmyadmin webmail Servername error 500 qriz Installation/Configuration 2 28th September 2009 16:46
404 webmail but phpmyadmin OK stefanos Server Operation 11 28th May 2009 11:32
I can't install addons as webmail and phpmyadmin. fishfree Installation/Configuration 4 22nd May 2009 04:41
phpmyadmin and webmail jcombs_31 General 13 27th January 2009 10:47


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


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