On 2010-07-05 14:25, Maal, Hamza wrote:
>
> I rebuilt my Ubuntu VM, Installing the icinga core goes fine but as 
> usual the icing-web does not work. I get to this point and everything 
> goes up in smoke from here. I think I am missing some essential 
> ingredient here but what is it. I have followed both the icinga-web 
> and icinga-web-from-scratch guide, chapter and verse word for word but 
> I am not winning. Anyone?
>

I still don't get why you are calling phing directly, and even more why 
you are calling it from the installed directory. Icinga Web is 
considered to be installed with ./configure and make, this is also true 
for the db setup. Therefore the source of all commands for setup should 
be the extracted tarball in your source tree.

Try
cd /path/to/src/icinga-web
(check if configure has been run)
make db-initialize

Kind regards,
Michael

> r...@ubuntu:/usr/local/icinga-web/etc# /usr/local/icinga-web/bin/phing 
> -Dproperties=/usr/local/icinga-web/etc/build.properties db-initialize
>
> Buildfile: /usr/local/icinga-web/etc/build.xml
>
>  [property] Loading /usr/local/icinga-web/etc/build.properties
>
>  [property] Unable to find property file: 
> /usr/local/icinga-web/etc/build.properties... skipped
>
> icinga-web > db-initialize:
>
> [phingcall] Calling Buildfile '/usr/local/icinga-web/etc/build.xml' 
> with target 'db-create'
>
>  [property] Loading /usr/local/icinga-web/etc/build.properties
>
>  [property] Unable to find property file: 
> /usr/local/icinga-web/etc/build.properties... skipped
>
> 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
>
>        [if] Error in IfTask
>
> Execution of target "db-prepare" failed for the following reason: 
> /usr/local/icinga-web/etc/build.xml:33:6: 
> /usr/local/icinga-web/etc/build.xml:36:32:  [wrapped: Invalid Database 
> source.Please check if ${db.agaviXML} is a valid path to the icinga 
> databases.xml (located at %icinga-web%/app/config/)]
>
> [phingcall] /usr/local/icinga-web/etc/build.xml:33:6: 
> /usr/local/icinga-web/etc/build.xml:36:32:  [wrapped: Invalid Database 
> source.Please check if ${db.agaviXML} is a valid path to the icinga 
> databases.xml (located at %icinga-web%/app/config/)]
>
> Execution of target "db-initialize" failed for the following reason: 
> /usr/local/icinga-web/etc/build.xml:95:20: Execution of the target 
> buildfile failed. Aborting.
>
> BUILD FAILED
>
> /usr/local/icinga-web/etc/build.xml:95:20: Execution of the target 
> buildfile failed. Aborting.
>
> Total time: 2.1608 seconds
>
> **********************************************************************
>
> The e-mail and attachments are confidential and intended only for 
> selected recipients. If you have received it in error, you may not in 
> any way disclose or rely on the contents. You may not keep, copy or 
> distribute the e-mail. Should you receive it, immediately notify the 
> sender of the error and delete the e-mail.Also note that this form of 
> communication is not secure, it can be intercepted, and may not 
> necessarily be free of errors and viruses in spite of reasonable 
> efforts to secure this medium.
>
> **********************************************************************
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>    


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to