Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: cannot access phpmyadmin
PostPosted: Sat Feb 05, 2011 11:24 am 
Offline
Senior Newbie

Joined: Tue Jan 25, 2011 6:16 am
Posts: 9
Website: http://7php.com
Location: Mauritius
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

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


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 12:54 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
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

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 12:58 pm 
Offline
Senior Newbie

Joined: Tue Jan 25, 2011 6:16 am
Posts: 9
Website: http://7php.com
Location: Mauritius
obs wrote:
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

Code:
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

[/code][/quote]


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 3:04 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
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?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 4:41 pm 
Offline
Senior Newbie

Joined: Tue Jan 25, 2011 6:16 am
Posts: 9
Website: http://7php.com
Location: Mauritius
obs wrote:
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

And it's now working fine.
Cheers!
//Wasseem


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group