Salut et bonne année à toutes et tous,
Pour commencer, je suis sous FC3, noyau 2.6.9-1.681_FC3
Problème Apache :
J'ai installé apache 2.0.52 depuis les sources. L'installation fonctionne.
Lorsque j'essai de déplacer le DocumentRoot de /usr/local/apache/htdocs à /home/moogli/www, je me retrouve avec une erreur 403 (Forbidden), meme chose lorsque j'essai d'utiliser un Alias ou un Virtual host en dehors de l'arborescence du server !
L'erreur :
Forbidden
You don't have permission to access /www/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
le répertoire /home/moogli/www est chmod 777 (ainsi que tout ce qui si trouve !).
Je ne comprend pas l'interdiction d'accès au répertoire extérieur !
Si quelqu'un sais comment résoudre sa merci d'avance.
Problème Mysql :
J'ai lu le post
http://www.fedora-france.org/modules/newbb/viewtopic.php?topic_id=2170&forum=5 et essayé de désactiver selinux avec setenforce 0.
Lors de l'execution du script mysql_install_db j'ai ces erreurs :
scripts/mysql_install_db --user=mysql
Installing all prepared tables
050102 2:20:47 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
050102 2:20:47 [Warning] Asked for 196608 thread stack, but got 126976
Lorsque j'essai de demarrer mysql :
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
050102 02:52:27 mysqld ended
J'ai essai d'utiliser les sources pretent a l'utilisation ou de compiler le server mais lorsque j'essai de lancer mysqld il s'arrete aussitot.
le log de mysql : mysqld.log
sources pretent al'utilisation
050102 01:51:32 mysqld started
050102 1:51:32 [Warning] Asked for 196608 thread stack, but got 126976
/usr/local/mysql/bin/mysqld: Can't read dir of 'tmp/' (Errcode: 2)
050102 1:51:32 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050102 1:51:32 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43902.
InnoDB: Doing recovery: scanned up to log sequence number 0 43902
050102 1:51:32 InnoDB: Flushing modified pages from the buffer pool...
050102 1:51:32 InnoDB: Started; log sequence number 0 43902
050102 1:51:32 [ERROR] /usr/local/mysql/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050102 1:51:32 [ERROR] Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050102 01:51:32 mysqld ended
Sources compiler :
050102 02:52:27 mysqld started
050102 2:52:27 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050102 2:52:27 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43902.
InnoDB: Doing recovery: scanned up to log sequence number 0 43902
050102 2:52:27 InnoDB: Flushing modified pages from the buffer pool...
050102 2:52:27 InnoDB: Started; log sequence number 0 43902
050102 2:52:27 [ERROR] /usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050102 2:52:27 [ERROR] Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050102 02:52:27 mysqld ended
Si quelqu'un sais pourquoi cela cloche, ou comment je peut installer mysql je lui en serait reconnaisant 🙂
Je remercie d'avance tout(e)s ceux (celles) qui auront eut la patience de ma lire et encore plus ceux qui me répondront.
@+