Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ZABBIX] Problème d'installation (non résolu))
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 109

PostPosted: Tue Oct 21, 2008 7:51 am    Post subject: [ZABBIX] Problème d'installation (non résolu)) Reply with quote

Bonjour,

j"essaye d'installer Zabbix et je suis une doc qui se trouve à http://www.zabbix.com/wiki/doku.php?id=howto:gentoo et quand j'arrive ici et je lance la commande:

mysql> source /usr/share/zabbix/database/create/schema/mysql.sql

je reçois l'erreur suivante:

ERROR:
Failed to open file '/usr/share/zabbix/database/create/schema/mysql.sql', error: 2


J'ai pensée qu'il fallait le créer mais j' obtient la même erreur que je sois root ou pas.
Merci d'avance pour votre aide,
Mich[/url]
Back to top
View user's profile Send private message
nico_calais
l33t
l33t


Joined: 09 Jun 2005
Posts: 628
Location: Saint Julien en Genevois

PostPosted: Tue Oct 21, 2008 8:02 am    Post subject: Reply with quote

Est ce que le fichier mysql.sql est bien à l'endroit indiqué ? (/usr/share/...)
_________________
"Unix IS user friendly... It's just selective about who its friends are." — Tollef Fog Heen tollef@add.no
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 109

PostPosted: Tue Oct 21, 2008 8:40 am    Post subject: Reply with quote

Salut Nico,

merci de ton aide. En faite le fichier se trouve ici:

/usr/share/zabbix/database/create/mysql/schema.sql

et non comme dans la commande :

usr/share/zabbix/database/create/schema/mysql.sql'


En faite dans /usr/share/zabbix/database/create/ il n"y a pas de schéma directoy, c'est pour ça que j'ai essayé en le créant mais je recevais la même erreur.

Mich
Back to top
View user's profile Send private message
nico_calais
l33t
l33t


Joined: 09 Jun 2005
Posts: 628
Location: Saint Julien en Genevois

PostPosted: Tue Oct 21, 2008 9:20 am    Post subject: Reply with quote

Dans ces cas là il devrait pas y avoir de soucis à lancer la commande

Code:

mysql> source /usr/share/zabbix/database/create/mysql/schema.sql


Par contre, pour voir, j'ai installé zabbix sur ma machine et le schema sql c'est bien /usr/share/zabbix/database/create/schema/mysql.sql
C'est peut être juste qu'on a pas la même version...
_________________
"Unix IS user friendly... It's just selective about who its friends are." — Tollef Fog Heen tollef@add.no
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 109

PostPosted: Tue Oct 21, 2008 10:24 am    Post subject: Reply with quote

Je viens de lancer ta commande: source /usr/share/zabbix/database/create/mysql/schema.sql est ça a l'air de marché mais entre autres messages je reçois ça aussi:

.........

Query OK, 0 rows affected, 1 warning (0.04 sec)
Query OK, 0 rows affected, 1 warning (0.01 sec)
Query OK, 0 rows affected, 2 warnings (0.02 sec)

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--delay int(4) DEFAULT '0' NOT NULL,
subject varchar(255) DEFAULT '' NOT N' at line 8




alors celle de la doc est erroné surement: source /usr/share/zabbix/database/create/schema/mysql.sql.


La dernière commande: source /usr/share/zabbix/database/create/data/images_mysql.sql est erroné aussi, au lieu de images_mysql.sql c"est images_pg.sql


Je vais continuer pour voir.

merci Nico
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 109

PostPosted: Tue Oct 21, 2008 10:36 am    Post subject: Reply with quote

Nico, est-ce que para hasard tu as /var/www/localhost/zabbix/conf/zabbix.conf.php dans ton installation? Moi j'ai /var/www/localhost/zabbix-frontend et dedans il n'ya pas zabbix.conf.php.


Merci d'avance,

Mich
Back to top
View user's profile Send private message
nico_calais
l33t
l33t


Joined: 09 Jun 2005
Posts: 628
Location: Saint Julien en Genevois

PostPosted: Tue Oct 21, 2008 12:18 pm    Post subject: Reply with quote

J'ai les 2 répértoires : zabbix et zabbix-frontend.
_________________
"Unix IS user friendly... It's just selective about who its friends are." — Tollef Fog Heen tollef@add.no
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Tue Oct 21, 2008 12:36 pm    Post subject: Reply with quote

Il faudrait aussi commencer par donner la version de Zabbix que tu essaies d'installer... Genre la 1.4.x ou la 1.6.x.

--
edit: j'allais rechercher la doc qui m'avait servi pour la 1.4.x que j'ai, mais http://gentoo-wiki.com/ est down, ça sent le paté d'après la page d'attente. Sinistre/Conflit avec l'hébergeur. Mais bref, la doc que tu dis utiliser est archi-vieille, perso j'ai pris le manuel officiel Zabbix, regardé le wiki gentoo, et roule ma poule (je n'y connais rien en BD, mais les commandes et tunings nécessaires sont tous spécifiés).
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum