PDA

View Full Version : ISPconfig3 and PhpMyAdmin


otger
19th March 2009, 19:09
Hi!!!
I followed "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" and everything seems OK except PhpMyAdmin.

I can't access to PhpMyAdmin from my browser, it says:

Not Found
The requested URL /phpmyadmin was not found on this server.

I read de FAQ's from ispconfig, howtoforge and phpmyadmin... I don't see nothing.
I'm looking for the directive $cfg['OBGZip'] and then, set False but I can't find It in the configuration files from phpMyAdmin.

Later, when I re-read "The Perfect Server.." I see that I install phpmyadmin in point 9 and 11...

Any Idea???

Thanks!!! :)

till
20th March 2009, 09:56
You are only able to connect to phpmyadmin like this if you do not use any ip based vhosts (have not added any IP addresses in the system module). If you need ip based vhosts and not just namebased, then you will have to create a website for phpmyadmin and then install or symlink phpmyadmin to this website directory.

3cwired_com
31st May 2009, 20:05
How do the clients log in to Phymyadmin? I know of my own user account password, but how about the clients?

till
31st May 2009, 20:08
The database login.

3cwired_com
31st May 2009, 20:39
thanks i forgot that. :-D

F4LLEN
16th July 2009, 02:57
You are only able to connect to phpmyadmin like this if you do not use any ip based vhosts (have not added any IP addresses in the system module). If you need ip based vhosts and not just namebased, then you will have to create a website for phpmyadmin and then install or symlink phpmyadmin to this website directory.

Hi Till, are you able to elaborate on this statement? I dont follow what you mean by "not adding any IP addresses in the system module", where abouts exactly? i want to be able to access my phpmyadmin like previously mentioned.

till
16th July 2009, 11:52
phpmyadmin is accessed trogh the default vhost of the linux distribution. If you assign an IP to a website, then this default vhost is not accessible anymore trough this IP.

By the way, please do not post to every phpmyadmin thread that you find in the forum. Posting to one thread is enough.

emdok
12th December 2009, 22:44
I've just installed ispconfig on centos 5.4 x86_64 followed the perfect server guide. I get a blank page when i try to access ispconfig from ip address and from the machines dns name. I suppose it isn't asking for login? I have set the config.inc.php authentication to http. What else can I check?

falko
13th December 2009, 15:18
Any errors in Apache's error log?

emdok
14th December 2009, 01:30
Access Log:
127.0.0.1 - - [13/Dec/2009:14:20:05 -0500] "GET /phpmyadmin HTTP/1.1" 301 310 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102918 CentOS/3.0.15-3.el5.centos Firefox/3.0.15"
127.0.0.1 - - [13/Dec/2009:14:20:05 -0500] "GET /phpmyadmin/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102918 CentOS/3.0.15-3.el5.centos Firefox/3.0.15"
127.0.0.1 - - [13/Dec/2009:14:20:08 -0500] "GET /favicon.ico HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102918 CentOS/3.0.15-3.el5.centos Firefox/3.0.15"


Error Log:
[Sun Dec 13 04:02:16 2009] [notice] SIGHUP received. Attempting to restart

falko
14th December 2009, 17:42
What's the output of netstat -tap?
Did you disable SELinux?

emdok
14th December 2009, 17:53
SElinux is disabled.

netstat -tap output:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 2491/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 2574/master
tcp 0 0 *:mysql *:* LISTEN 2428/mysqld
tcp 0 0 *:973 *:* LISTEN 2063/rpc.statd
tcp 0 0 localhost.local:dyna-access *:* LISTEN 2344/clamd
tcp 0 0 *:sunrpc *:* LISTEN 2028/portmap
tcp 0 0 *:ftp *:* LISTEN 2610/pure-ftpd (SER
tcp 0 0 laforza.emdataserver:domain *:* LISTEN 2453/mydns
tcp 0 0 localhost.localdomai:domain *:* LISTEN 2453/mydns
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2331/cupsd
tcp 0 0 *:smtp *:* LISTEN 2574/master
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:56327 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:60937 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:41739 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:54798 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.lo:rockwell-encap CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:46868 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:34071 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:58647 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:41497 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:54559 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45090 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:34084 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:33070 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:59955 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:50741 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:46390 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:36150 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:46392 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57403 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:54331 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:54080 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57664 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37184 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:40257 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:55619 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:47683 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57420 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:56397 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:49231 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:39761 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:53335 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:55389 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:33629 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:49504 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:34144 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:56166 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:47462 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:56679 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45671 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:44903 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:39018 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:35179 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:43373 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37233 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:47474 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57203 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:60276 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:40825 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:40060 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38269 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:54144 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:48770 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:46469 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38536 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37001 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38537 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57739 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45453 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45969 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:50066 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45209 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38300 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:42396 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:34717 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:48799 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:55472 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:42419 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:51892 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37045 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:50869 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:60856 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:51903 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:59841 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:42945 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:33220 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:59589 CLOSE_WAIT -
tcp 0 0 localhost.localdomain:56943 localhost.localdomain:smtp ESTABLISHED 2310/python
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:60104 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37836 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:43470 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:51152 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:53460 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45525 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:59607 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:52699 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:37851 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:48604 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:56287 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:60895 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:55781 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:34285 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:57587 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:45299 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38899 CLOSE_WAIT -
tcp 1 0 localhost.localdomain:smtp localhost.localdomain:38906 CLOSE_WAIT -
tcp 0 0 *:imaps *:* LISTEN 2510/couriertcpd
tcp 0 0 *:pop3s *:* LISTEN 2522/couriertcpd
tcp 0 0 *:pop3 *:* LISTEN 2516/couriertcpd
tcp 0 0 *:imap *:* LISTEN 2503/couriertcpd
tcp 0 0 *:webcache *:* LISTEN 2598/httpd
tcp 0 0 *:http *:* LISTEN 2598/httpd
tcp 0 0 *:ftp *:* LISTEN 2610/pure-ftpd (SER
tcp 0 0 localhost6.localdoma:domain *:* LISTEN 2453/mydns
tcp 0 0 *:ssh *:* LISTEN 2322/sshd
tcp 0 0 *:https *:* LISTEN 2598/httpd

falko
15th December 2009, 17:42
What are the outputs of iptables -L and getenforce?

emdok
16th December 2009, 01:10
getenforce
Disabled

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

emdok
18th December 2009, 23:38
should I wipe the box and re-try installation of the OS and ISPConfig 3?

falko
19th December 2009, 17:40
Maybe yes - unfortunately I have no idea what's causing the problem... :(

eponymous
24th August 2010, 05:00
Sorry to resurrect a year-old thread. But I recently installed ISPConfig 3, but I can't figure out how to access phpmyadmin. In my set up, I have two IPs which serve as nameservers, website servers, webmail, everything.

My webmail URL (IP_ADDRESS/webmail) works fine.

Could you explan in layman's terms how to access phpmyadmin?

till
24th August 2010, 07:39
Which tutorial did you use to install the system?

eponymous
24th August 2010, 08:25
Which tutorial did you use to install the system?

Thanks for the reply

I used this tutorial: http://www.how2forge.org/perfect-server-debian-lenny-ispconfig3

eponymous
24th August 2010, 08:27
Since I started another thread, which you also replied to, I'll abandon this one.

http://www.howtoforge.com/forums/showthread.php?t=48202&goto=newpost

juan_g
15th September 2010, 20:42
I had a similar problem for phpMyAdmin and ISPConfig 3, and found a simple solution (http://www.howtoforge.com/forums/showthread.php?p=239299#post239299) with a symlink and some ISPConfig configuration. I've seen other people have also found other different solutions.