Anton Müller
2010-08-09 09:49:11 UTC
Hi,
my problem for during installing icinga-web-1.0.1
on suse linux 11.1:
the "make db-initialize" tries to connect to:
'/var/lib/mysql/mysql.sock'
But my mysql runs on:
'/var/run/mysql/mysql.sock'
I greped the whold /etc but didn't find out,
how "make db-initialize" gets his configuration.
I am just reading:
http://docs.icinga.org/latest/en/icinga-web-scratch.html
I am at step 4, "Create Database".
I type:
#> make db-initialize
I get:--------------------------
[property] Loading /home/anton/install/icinga/icinga-web-1.0.1/etc/build.properties
icinga-web > db-initialize:
[phingcall] Calling Buildfile '/home/anton/install/icinga/icinga-web-1.0.1/etc/build.xml' with target 'db-create'
[property] Loading /home/anton/install/icinga/icinga-web-1.0.1/etc/build.properties
icinga-web > prepare:
icinga-web > db-prepare:
Use the db-user specified in icinga-webs database.xml (Needs create Database/create Table rights)?(n,y)? y
icinga-web > db-create:
Error during schema creation - are you sure the table doesn't already exist? If so, use the update command.
PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
WARNING: Initial data import may have failed due too many references.
BUILD FINISHED
# end ---------------------------------------
Could you give me a hint???
Thanks a lot
Anton
my problem for during installing icinga-web-1.0.1
on suse linux 11.1:
the "make db-initialize" tries to connect to:
'/var/lib/mysql/mysql.sock'
But my mysql runs on:
'/var/run/mysql/mysql.sock'
I greped the whold /etc but didn't find out,
how "make db-initialize" gets his configuration.
I am just reading:
http://docs.icinga.org/latest/en/icinga-web-scratch.html
I am at step 4, "Create Database".
I type:
#> make db-initialize
I get:--------------------------
make db-initialize
Buildfile: /home/anton/install/icinga/icinga-web-1.0.1/etc/build.xml[property] Loading /home/anton/install/icinga/icinga-web-1.0.1/etc/build.properties
icinga-web > db-initialize:
[phingcall] Calling Buildfile '/home/anton/install/icinga/icinga-web-1.0.1/etc/build.xml' with target 'db-create'
[property] Loading /home/anton/install/icinga/icinga-web-1.0.1/etc/build.properties
icinga-web > prepare:
icinga-web > db-prepare:
Use the db-user specified in icinga-webs database.xml (Needs create Database/create Table rights)?(n,y)? y
icinga-web > db-create:
Error during schema creation - are you sure the table doesn't already exist? If so, use the update command.
PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
WARNING: Initial data import may have failed due too many references.
BUILD FINISHED
# end ---------------------------------------
Could you give me a hint???
Thanks a lot
Anton
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01