PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.database.mysql > Can't Run 5.0
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Can't Run 5.0

Réponse
 
LinkBack Outils de la discussion
Vieux 25/03/2006, 15h15   #1
47computers@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can't Run 5.0

I just upgraded my Slackware Linux box from MySQL 4.0 to 5.0 and I'm
getting a strange error when I try to start the service. The error log
says:

/usr/libexec/mysqld: File '/var/log/mysql.000001' not found (Errcode:
13)
060324 15:05:19 [ERROR] Could not use /var/log/mysql for logging (error
13). Turning logging off for the whole duration of the MySQL server
process. To turn it on again: fix the cause, shutdown the MySQL server
and restart it.
060324 15:05:19 [ERROR] Aborting

If I create that file (/var/log/mysql.000001) then the error just says
"/var/log/mysql.000002" and then "/var/log/mysql.000003" and so on.
What would be causing something like this, and how would I fix it?


Regards,
David P. Donahue
ddonahue@ccs.neu.edu
http://www.cyber0ne.com

  Réponse avec citation
Vieux 25/03/2006, 20h06   #2
Bill Karwin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't Run 5.0

<47computers@gmail.com> wrote in message
news:1143299706.730505.129200@i39g2000cwa.googlegr oups.com...
>I just upgraded my Slackware Linux box from MySQL 4.0 to 5.0 and I'm
> getting a strange error when I try to start the service. The error log
> says:
>
> /usr/libexec/mysqld: File '/var/log/mysql.000001' not found (Errcode:
> 13)


Is the mysqld process running as a user id (e.g. user mysql) that lacks the
privilege to create files in /var/log?

Regards,
Bill K.


  Réponse avec citation
Vieux 26/03/2006, 03h36   #3
47computers@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can't Run 5.0

Strange. Your reply got me poking around with file permissions and
whatnot, and you're right about that. The strange part, though, was
that this seems to be some kind of change between 4.0 and 5.0.

My config file for 4.0 specified a couple log files in /var/log for
query logging, which were owned by the mysql user and worked fine. But
the default log file location was still the mysql data directory for
anything else. With 5.0, it seems that those couple log specifications
were enough to change the default directory of all mysqld logging to
the same directory that those specific ones were in (/var/log).

I'll just give the mysql user a subdirectory of /var/log and let it
write to that. I wonder if this is some kind of side effect to another
change between 4.0 and 5.0 that just hasn't been documented, or if I
just missed the documentation on it. Anyway, thanks for pointing me in
the right direction


Regards,
David P. Donahue
ddonahue@ccs.neu.edu
http://www.cyber0ne.com

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08419 seconds with 11 queries