cannot access phpmyadmin

I've spent too much time googling and trying so many things, but I cannot get it to work.

I did as said in this guide also: http://library.linode.com/databases/mys … 0-maverick">http://library.linode.com/databases/mysql/phpmyadmin-ubuntu-10.10-maverick

I simply cannot access http://mydomain.com/phpmyadmin

Could this be a folder permission problem? the permission is:

lrwxrwxrwx 1 root root 21 2011-02-03 22:38 phpmyadmin -> /usr/share/phpmyadmin

//Wasseem

4 Replies

What happens when you try to access it?

Also you gave the permissions of a symbolic link you need the permissions of the actual directory so give us the output of

ls -l /usr/share/phpmyadmin

@obs:

What happens when you try to access it?

Also you gave the permissions of a symbolic link you need the permissions of the actual directory so give us the output of

ls -l /usr/share/phpmyadmin

1) it says: Unable to connect / Firefox can't establish a connection to the server at mydomain.com

2) here is the full list when running: ls -l /usr/share/phpmyadmin

total 1136
-rw-r--r--  1 root root 10829 2010-04-13 22:33 browse_foreigners.php
-rw-r--r--  1 root root  4354 2010-04-13 22:33 bs_change_mime_type.php
-rw-r--r--  1 root root  1797 2010-04-13 22:33 bs_disp_as_mime_type.php
-rw-r--r--  1 root root  2368 2010-04-13 22:33 bs_play_media.php
-rw-r--r--  1 root root   798 2010-04-13 22:33 calendar.php
-rw-r--r--  1 root root  3565 2010-04-13 22:33 changelog.php
-rw-r--r--  1 root root   473 2010-04-13 22:33 chk_rel.php
-rw-r--r--  1 root root   181 2008-12-09 20:00 config.footer.inc.php
-rw-r--r--  1 root root   181 2008-12-09 20:00 config.header.inc.php
-rw-r--r--  1 root root  1263 2008-12-09 20:00 config.inc.php
-rw-r--r--  1 root root  2162 2010-04-13 22:33 config.sample.inc.php
-rw-r--r--  1 root root  1458 2010-04-13 22:33 db_create.php
-rw-r--r--  1 root root 10415 2010-04-13 22:33 db_datadict.php
-rw-r--r--  1 root root  2336 2010-04-13 22:33 db_export.php
-rw-r--r--  1 root root   537 2010-04-13 22:33 db_import.php
-rw-r--r--  1 root root 27435 2010-04-13 22:33 db_operations.php
-rw-r--r--  1 root root  7389 2010-04-13 22:33 db_printview.php
-rw-r--r--  1 root root 30581 2010-04-13 22:33 db_qbe.php
-rw-r--r--  1 root root 13102 2010-04-13 22:33 db_search.php
-rw-r--r--  1 root root   962 2010-04-13 22:33 db_sql.php
-rw-r--r--  1 root root 25259 2010-04-16 16:07 db_structure.php
-rw-r--r--  1 root root  7277 2010-04-13 22:33 db_tracking.php
lrwxrwxrwx  1 root root    26 2011-02-03 22:37 docs.css -> ../doc/phpmyadmin/docs.css
lrwxrwxrwx  1 root root    36 2011-02-03 22:37 Documentation.html -> ../doc/phpmyadmin/Documentation.html
-rw-r--r--  1 root root  2148 2010-04-13 22:33 error.php
-rw-r--r--  1 root root 25308 2010-04-13 22:33 export.php
-rw-r--r--  1 root root 18902 2010-04-13 22:33 favicon.ico
-rw-r--r--  1 root root 15315 2010-04-13 22:33 import.php
-rw-r--r--  1 root root  1077 2010-04-13 22:33 import_status.php
-rw-r--r--  1 root root  6789 2010-04-13 22:33 index.php
drwxr-xr-x  3 root root  4096 2011-02-03 22:37 js
drwxr-xr-x  2 root root  4096 2011-02-03 22:37 lang
drwxr-xr-x 11 root root  4096 2011-02-03 22:37 libraries
-rw-r--r--  1 root root   453 2010-04-13 22:33 license.php
-rw-r--r--  1 root root 13416 2010-04-16 16:07 main.php
-rw-r--r--  1 root root 26725 2010-04-13 22:33 navigation.php
-rw-r--r--  1 root root 27486 2010-04-13 22:33 pdf_pages.php
-rw-r--r--  1 root root 53299 2010-04-13 22:33 pdf_schema.php
-rw-r--r--  1 root root   421 2010-04-13 22:33 phpinfo.php
-rw-r--r--  1 root root  1079 2010-04-13 22:33 phpmyadmin.css.php
drwxr-xr-x  5 root root  4096 2011-02-03 22:37 pmd
-rw-r--r--  1 root root  9845 2010-04-13 22:33 pmd_common.php
-rw-r--r--  1 root root  1866 2010-04-13 22:33 pmd_display_field.php
-rw-r--r--  1 root root 18505 2010-04-13 22:33 pmd_general.php
-rw-r--r--  1 root root   829 2010-04-13 22:33 pmd_help.php
-rw-r--r--  1 root root  3762 2010-04-13 22:33 pmd_pdf.php
-rw-r--r--  1 root root  3994 2010-04-13 22:33 pmd_relation_new.php
-rw-r--r--  1 root root  1973 2010-04-13 22:33 pmd_relation_upd.php
-rw-r--r--  1 root root  2071 2010-04-13 22:33 pmd_save_pos.php
-rw-r--r--  1 root root  1063 2010-04-13 22:33 print.css
-rw-r--r--  1 root root  8252 2010-04-13 22:33 querywindow.php
-rw-r--r--  1 root root  7584 2010-04-13 22:33 server_binlog.php
-rw-r--r--  1 root root  2641 2010-04-13 22:33 server_collations.php
-rw-r--r--  1 root root 14967 2010-04-13 22:33 server_databases.php
-rw-r--r--  1 root root  4689 2010-04-13 22:33 server_engines.php
-rw-r--r--  1 root root  1615 2010-04-13 22:33 server_export.php
-rw-r--r--  1 root root   549 2010-04-13 22:33 server_import.php
-rw-r--r--  1 root root 98006 2010-04-13 22:33 server_privileges.php
-rw-r--r--  1 root root  2893 2010-04-13 22:33 server_processlist.php
-rw-r--r--  1 root root 16986 2010-04-13 22:33 server_replication.php
-rw-r--r--  1 root root   565 2010-04-13 22:33 server_sql.php
-rw-r--r--  1 root root 22147 2010-04-13 22:33 server_status.php
-rw-r--r--  1 root root 59473 2010-04-13 22:33 server_synchronize.php
-rw-r--r--  1 root root  2196 2010-04-13 22:33 server_variables.php
drwxr-xr-x  4 root root  4096 2011-02-03 22:37 setup
-rw-r--r--  1 root root   297 2010-04-13 22:33 show_config_errors.php
-rw-r--r--  1 root root 26626 2010-04-16 16:07 sql.php
-rw-r--r--  1 root root  8175 2010-04-13 22:33 tbl_addfield.php
-rw-r--r--  1 root root  7214 2010-04-13 22:33 tbl_alter.php
-rw-r--r--  1 root root 54252 2010-04-13 22:33 tbl_change.php
-rw-r--r--  1 root root  9781 2010-04-13 22:33 tbl_create.php
-rw-r--r--  1 root root  2573 2010-04-13 22:33 tbl_export.php
-rw-r--r--  1 root root   700 2010-04-13 22:33 tbl_import.php
-rw-r--r--  1 root root  7954 2010-04-13 22:33 tbl_indexes.php
-rw-r--r--  1 root root  2435 2010-04-13 22:33 tbl_move_copy.php
-rw-r--r--  1 root root 27565 2010-04-13 22:33 tbl_operations.php
-rw-r--r--  1 root root 16521 2010-04-13 22:33 tbl_printview.php
-rw-r--r--  1 root root 23511 2010-04-13 22:33 tbl_relation.php
-rw-r--r--  1 root root 15660 2010-04-16 16:07 tbl_replace.php
-rw-r--r--  1 root root  4825 2010-04-13 22:33 tbl_row_action.php
-rw-r--r--  1 root root 16286 2010-04-16 16:07 tbl_select.php
-rw-r--r--  1 root root   901 2010-04-13 22:33 tbl_sql.php
-rw-r--r--  1 root root 31933 2010-04-16 16:07 tbl_structure.php
-rw-r--r--  1 root root 24876 2010-04-13 22:33 tbl_tracking.php
drwxr-xr-x  4 root root  4096 2011-02-03 22:37 themes
-rw-r--r--  1 root root  1253 2010-04-13 22:33 themes.php
-rw-r--r--  1 root root  1625 2010-04-13 22:33 transformation_overview.php
-rw-r--r--  1 root root  3674 2010-04-13 22:33 transformation_wrapper.php
lrwxrwxrwx  1 root root    34 2011-02-03 22:37 translators.html -> ../doc/phpmyadmin/translators.html
-rw-r--r--  1 root root  4569 2010-04-13 22:33 user_password.php
-rw-r--r--  1 root root  5368 2010-04-13 22:33 view_create.php
-rw-r--r--  1 root root  1132 2010-04-13 22:33 webapp.php

OK well 1) indicates it's not a permission problem, it's either your web server isn't running, your firewall is blocking access or your dns isn't working.

What's your real domain and IP?

@obs:

OK well 1) indicates it's not a permission problem, it's either your web server isn't running, your firewall is blocking access or your dns isn't working.

What's your real domain and IP?

obs, thanks for the responses..

I've actually fixed the issue from some help on IRC..

The issue was because I did not configure SSL for my Apache server.

I did as shown here: http://library.linode.com/web-servers/a … ertificate">http://library.linode.com/web-servers/apache/ssl-guides/using-ssl-ubuntu-10.04-lucid#configureapachetousetheselfsigned_certificate

And it's now working fine.

Cheers!

//Wasseem

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct