Phpmyadmin Error 404

Discussion in 'Installation/Configuration' started by abintipl, Sep 19, 2011.

  1. abintipl

    abintipl New Member

    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
     
  2. falko

    falko Super Moderator

    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)?
     
  3. abintipl

    abintipl New Member

  4. falko

    falko Super Moderator

    What are the outputs of
    Code:
    ls -la /var/www/
    and
    Code:
    ls -la /etc/apache2/conf.d/
    ?
     
  5. abintipl

    abintipl New Member

    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
     
  6. falko

    falko Super Moderator

    Can you run
    Code:
    ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
    /etc/init.d/apache2 restart
    ?
     
  7. abintipl

    abintipl New Member

    reply

    Hello Sir,

    Now it working

    Thank you so much for your help and advice

    regards,

    Abin
     

Share This Page