phpmyadmin will not come up in browser . . .

Discussion in 'Installation/Configuration' started by DeltaNiner, Jan 18, 2009.

  1. DeltaNiner

    DeltaNiner New Member

    I have finished installing the Ub 8.10 LAMP Server with ISPConfig. I had to resort to using DHCP to get to the net. (Many thanks to Falko for helping me solve that issue)

    By using http://sever2.example.com:81/ or http://192.168.1.11:81/ ISPConfig will invoke in a browser instance. (As well as localhost & 127.0.0.1)

    I have reinstalled Phpmyadmin but it will not come up. This is the message I get:

    Not Found

    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at 192.168.1.11 Port 80


    -----------------------------------------------------------------------------------------------------------------------------

    root@server2:/# ifconfig
    eth2 Link encap:Ethernet HWaddr 00:0c:29:15:52:25
    inet addr:192.168.1.11 Bcast:255.255.255.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe15:5225/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4552 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4973 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2872702 (2.8 MB) TX bytes:1325086 (1.3 MB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:1215 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1215 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:84536 (84.5 KB) TX bytes:84536 (84.5 KB)

    root@server2:/# route -nee
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 0 0 0
    0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth2 0 0 0

    Any help with this problem would be greatly appreciated!
     
    Last edited: Jan 18, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. DeltaNiner

    DeltaNiner New Member

    I tried your advice, still no luck . . .

    Thanks for the quick reply!

    I suspect the problem lies with php, when I try the "testphp.php" script from a browser I get this:

    <?php phpinfo(); ?>

    Think this may have something to do with it?

    I installed phpmyadmin in the /home/administrator/Documents directory:

    root@server2:/home/administrator/Documents# ls -l
    total 3388
    -rw-r--r-- 1 administrator administrator 2307 2009-01-18 05:29 New Database.odb
    -rw-r--r-- 1 root root 3449964 2009-01-18 06:42 phpmyadmin-3.1.1.pkg
    drwxr-xr-x 3 administrator administrator 4096 2009-01-18 06:47 phpmyadmin-3.1.1.pkg_FILES
    -rw-r--r-- 1 administrator administrator 2816 2009-01-18 05:30 test1.odb


    root@server2:/home/administrator/Documents/phpmyadmin-3.1.1.pkg_FILES# ls -l
    total 3404
    -rw-r--r-- 1 administrator administrator 235 2008-10-23 07:27 nav.inc.php
    -rw-r--r-- 1 administrator administrator 1433 2008-10-23 07:27 package.ins
    drwxrwxrwx 11 root root 4096 2009-01-18 06:48 phpmyadmin
    -rw-r--r-- 1 administrator administrator 3466842 2008-12-12 12:30 phpmyadmin.tar.gz

    and attempting to invoke it yields the same message:

    http://localhost/phpmyadmin (same with 127.0.0.1, 192.168.1.11, server2.example.com)

    Not Found

    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at localhost Port 80
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not install phpmyadmin in this location. Please do what I suggested above and install the phpmyadmin for ispconfig with the ispconfig update function.
     
  5. DeltaNiner

    DeltaNiner New Member

    Looks like I misunderstood you directions . .

    Firstly, I am new at this.

    Secondly, I did as you instructed and went to the ISPConfig site, and downloaded the phpmyadmin tarball from there, and installed it as instructed in the accompanying documentation.

    I was not aware that one is able to install it from within the ISPConfig program; please explain how to do this, I cannot find any documentation to explain the process.

    Many thanks.
     
  6. papokergod

    papokergod New Member

    first undo whatever you did to install phpmyadmin from the tarball, I cannot help you there as I don't know how you did it,

    then go to



    ispconfig control panel >>

    management >>

    update >>

    select URL radio button >>

    enter in the URL box >>

    Code:
    http://www.ispconfig.org/downloads/phpmyadmin-2.11.9.4.pkg
    for phpmyadmin v2.11.9.4

    or

    Code:
    http://www.ispconfig.org/downloads/phpmyadmin-3.1.1.pkg 
    for phpmyadmin v3.1.1

    and click install


    after you get the message saying complete you can access phpymadmin by either:
    Code:
    https://www.yourdomain.com:81/phpmyadmin/
    
    or
    
    http://www.yourdomain.com:81/phpmyadmin/
    whichever you are using https or http

    you can also access it by:

    ispconfig control panel >> tools >> phpmyadmin

    either way will bring up a login box use either the root database username/password or the websites database username/password found in options tab for each website you have created

    hope this helps
     
    Last edited: Jan 19, 2009
  7. DeltaNiner

    DeltaNiner New Member

    It Works!

    Much Appreciated!

    Now, for another question.

    I want to install PhProjekt on the server. The distro is a standard tar, but I am not sure where in the file system to install it so that I can get to it with a browser, or who to make the owner.

    I tried installing in /home/administrator, with administrator as the owner, but it will not invoke in a browser.

    Any help would be greatly appreciated!
     
  8. papokergod

    papokergod New Member

    you might want to ask this in another section of the forum to get its due attention.
     
  9. DeltaNiner

    DeltaNiner New Member

    Will do, Thanks!

    I will do so, and many thanks for your help!
     
  10. papokergod

    papokergod New Member

    no problem, just be sure to reply back if my solution or any other has worked for you, this way someone else with the same problem knows if it also worked.
     

Share This Page