HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Phpmyadmin Error 404 (http://www.howtoforge.com/forums/showthread.php?t=54183)

abintipl 19th September 2011 12:02

Phpmyadmin Error 404
 
Hello Sir,

I have installed Debain Lenny 5.0 with ISPconfig 3

I have 5 Ips on my server & have assigned seperate IP for each website

In ISPconfig control Panel under System> System Config, I have given PHPMyAdmin URL as xx.xxx.xxx.xxx(Ip addess)/phpmyadmin and also have checked box "Link to phpmyadmin in DB List"

I have also Used the following command in shell

ln -s /usr/share/phpmyadmin /var/www/

Now, when I try to access in browser by giving command

http://xx.xxx.xxx.xx/phpmyadmin

I get an Error Page not found 404

Please advice

falko 20th September 2011 10:21

If you just use http://xx.xxx.xxx.xxx, do you go to the /var/www directory (you should get the default "It works!" page)?

abintipl 20th September 2011 11:08

Reply
 
Hello Sir,

Yes, if I go to browser http://xx.xxx.xxx.xx, I get message "It works"

But if I give http://xx.xxx.xxx.xx, I get an error 404

Thanks & regards,

Abin

falko 21st September 2011 14:01

What are the outputs of
Code:

ls -la /var/www/
and
Code:

ls -la /etc/apache2/conf.d/
?

abintipl 26th September 2011 08:35

Reply
 
Dear Sir,

Sorry for my late reply.

The outputs are as under;
ls -la /var/www/

total 36
drwxr-xr-x 8 root root 4096 2011-08-25 04:35 .
drwxr-xr-x 16 root root 4096 2011-08-26 00:30 ..
drwxr-xr-x 2 ispapps ispapps 4096 2011-08-25 03:11 apps
lrwxrwxrwx 1 root root 30 2011-08-25 03:26 abc.com -> /var/www/cl
ients/client2/web2/
drwxr-xr-x 5 root root 4096 2011-08-25 03:28 clients
drwxr-xr-x 2 root root 4096 2011-08-25 03:25 conf
-rw-r--r-- 1 root root 45 2011-08-25 02:53 index.html
lrwxrwxrwx 1 root root 34 2011-08-25 03:11 ispconfig -> /usr/local/ispconfig/interface/web
lrwxrwxrwx 1 root root 30 2011-08-25 03:28 bcb.co -> /var
/www/clients/client3/web3/
drwxr-xr-x 5 root root 4096 2011-08-26 07:52 php-cgi-scripts
drwxr-xr-x 5 root root 4096 2011-08-25 03:25 php-fcgi-scripts
lrwxrwxrwx 1 root root 21 2011-08-25 04:35 phpmyadmin/usr/share/phpmyadmin
lrwxrwxrwx 1 root root 30 2011-08-25 03:25 xxx.com -> /var/www/clie
nts/client1/web1/
drwxr-xr-x 2 root root 4096 2011-09-01 06:25 webalizer
lrwxrwxrwx 1 root root 24 2011-08-25 03:03 webmail -> /usr/share/squirrelmail/


server1:~# ls -la /etc/apache2/conf.d/
total 20
drwxr-xr-x 2 root root 4096 2011-08-25 02:53 .
drwxr-xr-x 7 root root 4096 2011-08-25 02:53 ..
-rw-r--r-- 1 root root 237 2010-12-11 12:59 apache2-doc
-rw-r--r-- 1 root root 269 2010-12-11 15:32 charset
-rw-r--r-- 1 root root 1464 2010-12-11 15:32 security


Regards,

Abin

falko 27th September 2011 10:43

Can you run
Code:

ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
/etc/init.d/apache2 restart

?

abintipl 28th September 2011 10:55

reply
 
Hello Sir,

Now it working

Thank you so much for your help and advice

regards,

Abin


All times are GMT +2. The time now is 09:57.

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