PDA

View Full Version : Installation Centreon 2.0 by using SVN error


tfc
05-28-2008, 08:32 AM
Hi,
I try to use SVN for installation and I follow instruction.
During Centreon installation I gave some error and at the end, login page cant be shown.
Here is the messages during installation :
------------------------------------------------------------------------
Start CentStorage Installation
------------------------------------------------------------------------
/usr/local/src/centreon/tools/centreon-2.0-SVN/libinstall/functions: line 1535: [: 6.0G: integer expression expected


------------------------------------------------------------------------
Start CentCore Installation
------------------------------------------------------------------------
/usr/local/src/centreon/tools/centreon-2.0-SVN/libinstall/functions: line 1535: [: 6.0G: integer expression expected


------------------------------------------------------------------------
Start CentPlugins Installation
------------------------------------------------------------------------
/usr/local/src/centreon/tools/centreon-2.0-SVN/libinstall/functions: line 1535: [: 6.0G: integer expression expected

------------------------------------------------------------------------
Start CentPlugins Traps Installation
------------------------------------------------------------------------
/usr/local/src/centreon/tools/centreon-2.0-SVN/libinstall/functions: line 1535: [: 6.0G: integer expression expected
And here is the message when i point after web installation http://10.0.0.8/centreon/ :
Fatal error: Call to undefined method DB_Error::fetchRow() in /usr/local/centreon/www/index.php on line 42
And I attache my installation log.769
Additionally, I saw the tracks http://trac.centreon.com/ticket/8but this truck was written before i install :)
Any idea?

Wolfgang
05-28-2008, 09:18 AM
new functions, new bugs...
To resolve the error message please change "df -h" to "df -H". The function only checks the disk space in the tmp-directory so it isn't the source of the error when you use the web interface.

tfc
05-28-2008, 09:33 AM
I did what you offer in source centreon/libinstall/functions and try to re-install ( I also clean centreon dirs and files in my box) . But I get same error during isntall about libinstall/functions: line 1535: [: 6.5G: integer expression expected

Wolfgang
05-28-2008, 09:42 AM
Ah, sh.., my fault. Please omit the option, no "-h", no "-H"

tfc
05-28-2008, 09:45 AM
only "df" ? no "df -H" or no "df -h" ??
I dont understand sorry.
Can you explain a little bit?

Wolfgang
05-28-2008, 10:03 AM
Can you explain a little bit?You don't read man pages, do you? ;)

free_space=$(df $tmp_dir | tail -1 | awk '{print $4}')

WAtt
05-28-2008, 10:06 AM
I'm stupid ^^, I write that fonction so quickly...

Just "df". changeset 5266 and it's ok ...

Thank for you help :)

tfc
05-28-2008, 10:11 AM
ofcourse not :)
Thanx , now errors doon't appear. But i still get error in login page
Fatal error: Call to undefined method DB_Error::fetchRow() in /usr/local/centreon/www/index.php on line 42

WAtt
05-28-2008, 10:36 AM
Could open a ticket on trac.centreon.com ? (use your wiki login)

tfc
05-28-2008, 10:50 AM
If I can get an username and password for wiki, why not?
But I can't find where the signup

WAtt
05-28-2008, 10:56 AM
http://en.doc.centreon.com/index.php?title=Special:Userlogin

tfc
05-28-2008, 11:04 AM
Ok
But I think adding a ticket very hard.

WAtt
05-28-2008, 11:27 AM
???

can you explain your problem ?

tfc
05-28-2008, 11:48 AM
I dont know how to add a ticket.
there huge instruction about trac. but all of them describe trac administration and installation.
I am just a user who wanna use centreon :)
my linux knowledge is limited.

Wolfgang
05-28-2008, 12:37 PM
Register at trac.centreon.com, login... and then you should see a new button "new ticket" next to "view tickets".

tfc
05-28-2008, 05:11 PM
Done...
Ticket added

tfc
05-29-2008, 03:06 PM
Now it si ok :)
But still I cannot use centreon healty. bec. Always there is a problem..
Is it possible because of beta version?