imposibilidad de autentificarme en Xampp

Iniciado por mitx00, 19 Diciembre 2011, 18:38 PM

0 Miembros y 1 Visitante están viendo este tema.

mitx00

Buenos días a tod@s,

Quería crear un blog en wordpress y para ello instalé Xampp 1.7.7 en mi Ubuntu 11.10. Aunque al principio me daba el error de :

Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


Lo solucioné con:

sudo /etc/init.d/apache2 stop
sudo /opt/lampp/lampp restart




Lo que me pasa ahora, una vez he configurado la contraseña con:

sudo /opt/lampp/lampp security


Al intentar entrar en http://localhost, me pide un usuario y una contraseña.La contraseña es la que acabo de poner, pero ¿el usuario?.Introduzco admin, lampp, root, el nombre de mi equipo...Pero nada. Según doy en aceptar vuelve a salirme el formulario de la contraseña.

Ya no sé qué hacer. No sé si es algo que está mal configurado o qué.

Si alguien tiene idea, y me puede echar un cable, se lo agradecería.

Un saludo.
En una sociedad basada en la explotación y la servidumbre, la naturaleza humana se degrada.  Pior Kropotkin.

madpitbull_99

En la carpeta de wwwroot, o la carpeta que tengas configurada como directorio del servidor web, tiene que haber algún fichero
.htaccess.

Búscalo y editalo, ahí deberías ver el nombre del usuario y la contraseña cifrada.

Para el tema del inicio de apache, te recomiendo leer los logs, si no consigues descifrarlos, puedes pegarlos aquí y te echaremos una mano.





«Si quieres la paz prepárate para la guerra» Flavius Vegetius


[Taller]Instalación/Configuración y Teoría de Servicios en Red

mitx00

Gracias por responder, madpitbull_99 :

El directorio donde tengo configurado xampp es: /opt/lampp/

Aquí entro como root y encuentro estas carpetas:

bin
cgi bin
error
etc
htdocs
icons
libs
libexec
licenses
log
modules
phpmyadmin
sbin
share
tmp
var

Pero he "bicheado" por ellas y no encuentro .htaccess :-(

El manual lo saqué de  aquíhttp://robersoft.blogcindario.com/2011/09/00022-instalar-xampp-servidor-web-en-linux.html, donde asegura que el usuario por defecto es lampp, aunque a mí no me funciona.

No sé si puede ser un problema con la base de datos, pues al reiniciar xampp me sale esto:
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache...
XAMPP: Starting MySQL...
[b]XAMPP: Couldn't start MySQL![/b]
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


En los logs no he encontrado nada.Los pego por si acaso:

access_log

127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/ HTTP/1.1" 200 589
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/head.php HTTP/1.1" 200 1362
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/navi.php HTTP/1.1" 200 2321
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/start.php HTTP/1.1" 200 856
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/img/blank.gif HTTP/1.1" 200 43
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/xampp.js HTTP/1.1" 200 463
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/xampp.css HTTP/1.1" 200 3991
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/img/xampp-logo-new.gif HTTP/1.1" 200 4878
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/img/head-linux.gif HTTP/1.1" 200 1002
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/img/head-for.gif HTTP/1.1" 200 791
127.0.0.1 - - [19/Dec/2011:13:14:33 +0100] "GET /xampp/img/strichel.gif HTTP/1.1" 200 61
127.0.0.1 - - [19/Dec/2011:13:14:34 +0100] "GET /xampp/img/apachefriends.gif HTTP/1.1" 200 979
127.0.0.1 - - [19/Dec/2011:13:14:34 +0100] "GET /favicon.ico HTTP/1.1" 200 30894
127.0.0.1 - - [19/Dec/2011:13:14:35 +0100] "GET /xampp/php.php HTTP/1.0" 200 2
127.0.0.1 - - [19/Dec/2011:13:14:35 +0100] "GET /xampp/mysql.php HTTP/1.0" 200 3
127.0.0.1 - - [19/Dec/2011:13:14:35 +0100] "GET /xampp/cgi.cgi HTTP/1.0" 200 3
127.0.0.1 - - [19/Dec/2011:13:14:36 +0100] "GET /xampp/ssi.shtml HTTP/1.0" 200 4
127.0.0.1 - - [19/Dec/2011:13:14:36 +0100] "GET /xampp/perl.pl HTTP/1.0" 200 2
127.0.0.1 - - [19/Dec/2011:13:14:35 +0100] "GET /xampp/status.php HTTP/1.1" 200 3880
127.0.0.1 - - [19/Dec/2011:13:14:37 +0100] "GET /xampp/security.php HTTP/1.1" 200 3953
127.0.0.1 - - [19/Dec/2011:13:14:39 +0100] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [19/Dec/2011:13:14:43 +0100] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [19/Dec/2011:13:16:51 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:17:06 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:17:19 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:05 +0100] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [19/Dec/2011:13:18:05 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:08 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:08 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:09 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:09 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:18:09 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:13:31:35 +0100] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [19/Dec/2011:13:31:35 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:18:33:14 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:20:49:44 +0100] "GET /wordpress/wp-admin/install.php HTTP/1.1" 500 3088
127.0.0.1 - - [19/Dec/2011:20:49:44 +0100] "GET /favicon.ico HTTP/1.1" 200 30894
127.0.0.1 - - [19/Dec/2011:20:51:37 +0100] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [19/Dec/2011:20:51:37 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:20:51:58 +0100] "GET /xampp/ HTTP/1.1" 401 1612
127.0.0.1 - - [19/Dec/2011:21:23:16 +0100] "GET /wordpress HTTP/1.1" 301 408
127.0.0.1 - - [19/Dec/2011:21:23:16 +0100] "GET /wordpress/ HTTP/1.1" 500 277

cgisock.11083 no se puede abrir
cgisock.14185 no se puede abrir
httpd.pid
error_log
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[Mon Dec 19 13:14:09 2011] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 19 13:14:09 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Dec 19 13:14:09 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 13:14:09 2011] [notice] Digest: done
[Mon Dec 19 13:14:10 2011] [notice] Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 13:17:06 2011] [error] [client 127.0.0.1] user lampp: authentication failure for "/xampp/": Password Mismatch
[Mon Dec 19 13:17:19 2011] [error] [client 127.0.0.1] user admin not found: /xampp/
[Mon Dec 19 13:17:38 2011] [notice] caught SIGTERM, shutting down
[Mon Dec 19 13:17:45 2011] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 19 13:17:45 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Dec 19 13:17:45 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 13:17:45 2011] [notice] Digest: done
[Mon Dec 19 13:17:46 2011] [notice] Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 13:18:08 2011] [error] [client 127.0.0.1] user  not found: /xampp/
[Mon Dec 19 13:18:08 2011] [error] [client 127.0.0.1] user  not found: /xampp/
[Mon Dec 19 13:18:09 2011] [error] [client 127.0.0.1] user  not found: /xampp/
[Mon Dec 19 13:18:09 2011] [error] [client 127.0.0.1] user  not found: /xampp/
[Mon Dec 19 13:18:09 2011] [error] [client 127.0.0.1] user  not found: /xampp/
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[Mon Dec 19 20:29:04 2011] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 19 20:29:04 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Dec 19 20:29:04 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 20:29:04 2011] [notice] Digest: done
[Mon Dec 19 20:29:05 2011] [notice] Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 20:50:22 2011] [notice] caught SIGTERM, shutting down
[Mon Dec 19 20:50:29 2011] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 19 20:50:29 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Dec 19 20:50:29 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 20:50:29 2011] [notice] Digest: done
[Mon Dec 19 20:50:30 2011] [notice] Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 20:50:49 2011] [notice] caught SIGTERM, shutting down
[Mon Dec 19 20:50:56 2011] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Mon Dec 19 20:50:56 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Dec 19 20:50:56 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 19 20:50:56 2011] [notice] Digest: done
[Mon Dec 19 20:50:57 2011] [notice] Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_apreq2-20090110/2.7.1 mod_perl/2.0.5 Perl/v5.10.1 configured -- resuming normal operations
[Mon Dec 19 20:51:58 2011] [error] [client 127.0.0.1] user root not found: /xampp/


php_error_log vacio

ssl_request_log vacio

Gracioas por la ayuda y un saludo :)

En una sociedad basada en la explotación y la servidumbre, la naturaleza humana se degrada.  Pior Kropotkin.