wolfwis
Anmeldungsdatum: 15. Januar 2010
Beiträge: Zähle...
|
Hallo da draußen, localhost/phpmyadmin startet nicht mehr, obwohl das vor ein paar Tagen noch funktioniert hat. Da das Verzeichnis unter /etc/ liegt habe ich wie hier "http://forum.ubuntuusers.de/topic/phpmyadmin-laesst-sich-nicht-aufrufen/?highlight=localhost+phpmyadmin" beschrieben, den Link gesetzt. Alles top. Jetzt geht nix mehr. Ich bekomme nur noch 404er. Hat jemand eine Idee?
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Wie rufst du phpMyAdmin auf? Hast du den Apache neugestartet, nachdem du den Symlink gesetzt hast? Gruß
|
wolfwis
(Themenstarter)
Anmeldungsdatum: 15. Januar 2010
Beiträge: 15
|
Aufruf wie vorher auch http://localhost/phpmyadmin
Apache habe ich auch neu gestartet.
Ich habe heute versucht, den Link nochmal zu setzen. Antwort: gibts schon!
Danach Apache nochmal neu gestartet. PMA-Aufruf erzeugt wieder 404
Apache hab ich getestet, läuft.
Muss ich zuerst mysql starten, bevor ich PMA aufrufe? Kann aber nicht sein - oder? Danke für die schnelle Antwort
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
In welches Verzeichnis hast du den Symlink gesetzt? /etc/apache2/conf.d? Was sagt ls -l /etc/apache2/conf.d? Was sagt apache2ctl -S?
|
wolfwis
(Themenstarter)
Anmeldungsdatum: 15. Januar 2010
Beiträge: 15
|
Hier das Terminal: ls -l /etc/apache2/conf.d
insgesamt 12
lrwxrwxrwx 1 root root 27 2010-03-04 16:17 apache.conf -> /etc/phpmyadmin/apache.conf
-rw-r--r-- 1 root root 269 2009-11-12 23:48 charset
-rw-r--r-- 1 root root 2907 2009-11-12 23:48 localized-error-pages
-rw-r--r-- 1 root root 1481 2009-11-12 23:48 security
und:
apache2ctl -S
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Lass dir mal den Inhalt von /etc/phpmyadmin/apache.conf ausgeben. Steht im Error-Log sonst noch irgendwas drin?
|
wolfwis
(Themenstarter)
Anmeldungsdatum: 15. Januar 2010
Beiträge: 15
|
Das ist die apache.conf Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options Indexes FollowSymLinks
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
</Directory>
# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
<IfModule mod_authn_file.c>
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
</IfModule>
Require valid-user
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Order Deny,Allow
Deny from All
</Directory> Error log?? wo find ich das?
Die website gibt noch folgendes aus: Apache/2.2.12 (Ubuntu) Server at localhost Port 80
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Das Error-Log ist /var/log/apache2/error.log. Was sagt ls -l /usr/share/phpmyadmin? Hast du evtl. noch irgendwo von Hand in der Apache-Konfiguration Optionen für phpMyAdmin eingetragen?
|
wolfwis
(Themenstarter)
Anmeldungsdatum: 15. Januar 2010
Beiträge: 15
|
Also:
Error log: 01 2010 [error] [client 127.0.0.1] File does not exist: /var/www/phpMyadmin An der Apache-Konfiguration hab ich nichts per Hand geändert. Das ist die Termial-Ausgabe:
ls -l /usr/share/phpmyadmin
insgesamt 996
-rw-r--r-- 1 root root 10886 2009-10-13 00:01 browse_foreigners.php
-rw-r--r-- 1 root root 4354 2009-10-13 00:01 bs_change_mime_type.php
-rw-r--r-- 1 root root 1797 2009-10-13 00:01 bs_disp_as_mime_type.php
-rw-r--r-- 1 root root 2368 2009-10-13 00:01 bs_play_media.php
-rw-r--r-- 1 root root 845 2009-10-13 00:01 calendar.php
-rw-r--r-- 1 root root 3613 2009-10-13 00:01 changelog.php
-rw-r--r-- 1 root root 520 2009-10-13 00:01 chk_rel.php
-rw-r--r-- 1 root root 181 2009-10-19 17:25 config.footer.inc.php
-rw-r--r-- 1 root root 181 2009-10-19 17:25 config.header.inc.php
-rw-r--r-- 1 root root 1263 2009-10-19 17:25 config.inc.php
-rw-r--r-- 1 root root 2118 2009-10-13 00:01 config.sample.inc.php
-rw-r--r-- 1 root root 1507 2009-10-13 00:01 db_create.php
-rw-r--r-- 1 root root 10469 2009-10-13 00:01 db_datadict.php
-rw-r--r-- 1 root root 2454 2009-10-13 00:01 db_export.php
-rw-r--r-- 1 root root 491 2009-10-13 00:01 db_import.php
-rw-r--r-- 1 root root 25847 2009-10-13 00:01 db_operations.php
-rw-r--r-- 1 root root 7439 2009-10-13 00:01 db_printview.php
-rw-r--r-- 1 root root 30632 2009-10-13 00:01 db_qbe.php
-rw-r--r-- 1 root root 13151 2009-10-13 00:01 db_search.php
-rw-r--r-- 1 root root 1008 2009-10-13 00:01 db_sql.php
-rw-r--r-- 1 root root 26297 2009-10-13 00:01 db_structure.php
lrwxrwxrwx 1 root root 26 2010-03-04 16:01 docs.css -> ../doc/phpmyadmin/docs.css
lrwxrwxrwx 1 root root 36 2010-03-04 16:01 Documentation.html -> ../doc/phpmyadmin/Documentation.html
-rw-r--r-- 1 root root 2193 2009-10-13 00:01 error.php
-rw-r--r-- 1 root root 24954 2009-10-13 00:01 export.php
-rw-r--r-- 1 root root 18902 2009-10-13 00:01 favicon.ico
-rw-r--r-- 1 root root 13822 2009-10-13 00:01 import.php
-rw-r--r-- 1 root root 6836 2009-10-13 00:01 index.php
drwxr-xr-x 3 root root 4096 2010-03-04 16:01 js
drwxr-xr-x 2 root root 4096 2010-03-04 16:01 lang
drwxr-xr-x 10 root root 4096 2010-03-04 16:01 libraries
-rw-r--r-- 1 root root 500 2009-10-13 00:01 license.php
-rw-r--r-- 1 root root 13233 2009-10-13 00:01 main.php
-rw-r--r-- 1 root root 25891 2009-10-13 00:01 navigation.php
-rw-r--r-- 1 root root 27454 2009-10-13 00:01 pdf_pages.php
-rw-r--r-- 1 root root 52880 2009-10-13 00:01 pdf_schema.php
-rw-r--r-- 1 root root 468 2009-10-13 00:01 phpinfo.php
-rw-r--r-- 1 root root 1133 2009-10-13 00:01 phpmyadmin.css.php
drwxr-xr-x 5 root root 4096 2010-03-04 16:01 pmd
-rw-r--r-- 1 root root 9895 2009-10-13 00:01 pmd_common.php
-rw-r--r-- 1 root root 1917 2009-10-13 00:01 pmd_display_field.php
-rw-r--r-- 1 root root 18556 2009-10-13 00:01 pmd_general.php
-rw-r--r-- 1 root root 880 2009-10-13 00:01 pmd_help.php
-rw-r--r-- 1 root root 3773 2009-10-13 00:01 pmd_pdf.php
-rw-r--r-- 1 root root 4041 2009-10-13 00:01 pmd_relation_new.php
-rw-r--r-- 1 root root 2020 2009-10-13 00:01 pmd_relation_upd.php
-rw-r--r-- 1 root root 2108 2009-10-13 00:01 pmd_save_pos.php
-rw-r--r-- 1 root root 1063 2009-10-13 00:01 print.css
-rw-r--r-- 1 root root 8280 2009-10-13 00:01 querywindow.php
-rw-r--r-- 1 root root 7637 2009-10-13 00:01 server_binlog.php
-rw-r--r-- 1 root root 2698 2009-10-13 00:01 server_collations.php
-rw-r--r-- 1 root root 13514 2009-10-13 00:01 server_databases.php
-rw-r--r-- 1 root root 4743 2009-10-13 00:01 server_engines.php
-rw-r--r-- 1 root root 1667 2009-10-13 00:01 server_export.php
-rw-r--r-- 1 root root 506 2009-10-13 00:01 server_import.php
-rw-r--r-- 1 root root 97627 2009-10-13 00:01 server_privileges.php
-rw-r--r-- 1 root root 2951 2009-10-13 00:01 server_processlist.php
-rw-r--r-- 1 root root 615 2009-10-13 00:01 server_sql.php
-rw-r--r-- 1 root root 24593 2009-10-13 00:01 server_status.php
-rw-r--r-- 1 root root 2252 2009-10-13 00:01 server_variables.php
drwxr-xr-x 4 root root 4096 2010-03-04 16:01 setup
-rw-r--r-- 1 root root 355 2009-10-13 00:01 show_config_errors.php
-rw-r--r-- 1 root root 26577 2009-10-13 00:01 sql.php
-rw-r--r-- 1 root root 8185 2009-10-13 00:01 tbl_addfield.php
-rw-r--r-- 1 root root 7300 2009-10-13 00:01 tbl_alter.php
-rw-r--r-- 1 root root 53024 2009-10-13 00:01 tbl_change.php
-rw-r--r-- 1 root root 9830 2009-10-13 00:01 tbl_create.php
-rw-r--r-- 1 root root 2618 2009-10-13 00:01 tbl_export.php
-rw-r--r-- 1 root root 655 2009-10-13 00:01 tbl_import.php
-rw-r--r-- 1 root root 8005 2009-10-13 00:01 tbl_indexes.php
-rw-r--r-- 1 root root 2488 2009-10-13 00:01 tbl_move_copy.php
-rw-r--r-- 1 root root 26634 2009-10-13 00:01 tbl_operations.php
-rw-r--r-- 1 root root 16708 2009-10-13 00:01 tbl_printview.php
-rw-r--r-- 1 root root 22265 2009-10-13 00:01 tbl_relation.php
-rw-r--r-- 1 root root 15259 2009-10-13 00:01 tbl_replace.php
-rw-r--r-- 1 root root 4922 2009-10-13 00:01 tbl_row_action.php
-rw-r--r-- 1 root root 16257 2009-10-13 00:01 tbl_select.php
-rw-r--r-- 1 root root 948 2009-10-13 00:01 tbl_sql.php
-rw-r--r-- 1 root root 31716 2009-10-13 00:01 tbl_structure.php
drwxr-xr-x 4 root root 4096 2010-03-04 16:01 themes
-rw-r--r-- 1 root root 1299 2009-10-13 00:01 themes.php
-rw-r--r-- 1 root root 1688 2009-10-13 00:01 transformation_overview.php
-rw-r--r-- 1 root root 3734 2009-10-13 00:01 transformation_wrapper.php
lrwxrwxrwx 1 root root 34 2010-03-04 16:01 translators.html -> ../doc/phpmyadmin/translators.html
-rw-r--r-- 1 root root 4622 2009-10-13 00:01 user_password.php
-rw-r--r-- 1 root root 5412 2009-10-13 00:01 view_create.php
-rw-r--r-- 1 root root 1132 2009-10-13 00:01 webapp.php
Noch eine weitere Frage:
In mysql habe ich eine Datenbank angelegt. Wird die in einer Datei gespeichert und wenn ja, wo (verzeichnis) finde ich die? st mir bisher nicht gelungen.
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
wolfwis schrieb: Also:
Error log: 01 2010 [error] [client 127.0.0.1] File does not exist: /var/www/phpMyadmin
Bist du sicher, dass du auf http://localhost/phpmyadmin und nicht http://localhost/phpMyAdmin zugreifst?
In mysql habe ich eine Datenbank angelegt. Wird die in einer Datei gespeichert und wenn ja, wo (verzeichnis) finde ich die? st mir bisher nicht gelungen.
Die Datenbank liegen standardmäßig allesamt unter /var/lib/mysql. Gruß
|
wolfwis
(Themenstarter)
Anmeldungsdatum: 15. Januar 2010
Beiträge: 15
|
Wenn Blödheit weh täte, müsste ich jetzt schreien!
Tut mir leid, wenn ich Deine Zeit verschwendet habe. Zum Thema Datenbank wo?: Das Verzeichnis für die Datenbank habe unter /var/lib/mysql gefunden. Da ist aber nichts drin (Dateimanager). Mit ls sind die Dateien da.
Danke
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
wolfwis schrieb: Zum Thema Datenbank wo?: Das Verzeichnis für die Datenbank habe unter /var/lib/mysql gefunden. Da ist aber nichts drin (Dateimanager). Mit ls sind die Dateien da.
Puh, keine Ahnung. Das wäre dann wohl eher eine Frage zu dem Dateimanager in dem entsprechenden Unterforum, denke ich. Gruß
|