I did change back to the main directory. Sorry, it would have been better to
actually send a full copy of what I had done. At any rate, it appears to
have worked now:
<removed>@<removed>:/usr/src/icinga-core-git-master$ sudo git pull origin
master
remote: Counting objects: 71, done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 42 (delta 29), reused 0 (delta 0)
Unpacking objects: 100% (42/42), done.
>From git://git.icinga.org/icinga-core
* branch master -> FETCH_HEAD
Updating 14c1257..73febd3
Fast-forward
module/icinga-api | 2 +-
t-tap/smallconfig/{nagios.cfg => icinga.cfg} | 36 ++++++++--------
t-tap/smallconfig/minimal.cfg | 20 +++++-----
t-tap/var/icinga.log.dummy | 2 +-
t/920-nocontactgroup.t | 4 +-
t/etc/cgi-with-generated-status.cfg | 10 ++--
t/etc/cgi.cfg | 8 ++--
t/etc/icinga-no-contactgroup.cfg | 42
++++++++++----------
t/etc/icinga-no-service.cfg | 42
++++++++++----------
t/etc/icinga-no-status.cfg | 36 ++++++++--------
...status.cfg => icinga-with-generated-status.cfg} | 36 ++++++++--------
t/etc/icinga.cfg | 36 ++++++++--------
t/etc/minimal.cfg | 6 +-
t/etc/no-contactgroup-error.cfg | 18 ++++----
t/etc/no-service-error.cfg | 4 +-
t/var/objects.precache.expected | 6 +-
16 files changed, 154 insertions(+), 154 deletions(-)
rename t-tap/smallconfig/{nagios.cfg => icinga.cfg} (98%)
rename t/etc/{nagios-with-generated-status.cfg =>
icinga-with-generated-status.cfg} (98%)
I'll see how it goes using this. Thanks!
2010/9/27 Michael Friedrich <[email protected]>
> Khoury Brazil wrote:
>
> Hi,
>
> This is what I get after running the final command:
>
> $git status
> # On branch master
> # Your branch is ahead of 'origin/master' by 31 commits.
> #
> nothing to commit (working directory clean)
>
>
> did you change back to icinga-core main directory? i think you are still
> within ./module/icinga-api - do a $ pwd
> changing back to main dir ($ cd ../..) and then running $ git status should
> tell you what i posted before.
>
> Either way, you will have the latest icinga-api checked out.
>
> If it did not work, I have now updated the submodule pointer in
> icinga-core.git master, so you can check it out normally
>
> $ cd icinga-core
> $ git pull origin master
>
> (would be great testing this, especially on solaris as I have fixed major
> core dump issues - see #702)
>
> Kind regards,
> Michael
>
>
>
> Thank you for your assistance.
>
> Best,
> Khoury
>
>
> On Sat, Sep 25, 2010 at 5:08 AM, Michael Friedrich <
> [email protected]> wrote:
>
>> On 2010-09-25 05:50, Khoury Brazil wrote:
>> > Hi,
>> >
>> > I'm sorry for the late reply. Here's what I have from the
>> app/data/log:
>> >
>> > [Thu Sep 23 18:02:05 2010] [fatal] Uncaught AppKitPHPError: PHP Error
>> > Declaration of IcingaApiConnectionDatabase::checkConfig() should be
>> > compatible with that of IcingaApiConnection::checkConfig()
>> >
>> (/usr/local/icinga/share/icinga-api/objects/connection/IcingaApiConnectionDatabase.php:10)
>> >
>> (/usr/local/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:20)
>> >
>> > Both icinga-web and icinga were cloned from the git master.
>>
>> There's one slight problem with the icinga-api as it is a submodule of
>> icinga-core.git - the submodule pointer has not been updated, so you
>> will still get an old version of icinga-api. We do not update that
>> pointer regularly, only if there's a stable api master available.
>>
>> but there's a solution for your problem, of course.
>>
>> $ cd icinga-core
>> $ git checkout master
>> $ git pull origin master
>> $ cd module/icinga-api
>> $ git checkout master
>> $ git pull origin master
>> $ cd ../..
>> $ git status
>>
>> should tell you that module/icinga-api has been modified and you'll have
>> the latest icinga-api git master available to be installed by make
>> install-api
>>
>> kind regards,
>> Michael
>>
>>
>>
>>
>> > For the install of icinga I used these configure arguments:
>> > ./configure --with-command-group=icinga-cmd --enable-idoutils
>> >
>> > Make was run like so:
>> > make install-api
>> >
>> > Thanks,
>> > Khoury
>> >
>> >
>> > 2010/9/21 Jannis Moßhammmer <[email protected]
>> > <mailto:[email protected]>>
>> >
>> > Hi,
>> >
>> > sorry, the testing script is at this point not up to date (I
>> > generally update it after the last changes are done), but you can
>> > get it working by replacing the '#' with ';' in test.properties.
>> >
>> > No items sound like the api doesn't work. Do you have any errors
>> > in app/data/log or your apache/php error log?
>> >
>> > Regards,
>> >
>> > Jannis
>> >
>> >
>> > On 21.09.2010 03:44, Khoury Brazil wrote:
>> >> Hi,
>> >>
>> >> I've installed icinga-web from the git master and seem to be
>> >> stuck. When I authenticate with the default user it opens the
>> >> main page with the bottom section (log) just 'Loading...'
>> >> forever. If I attempt to load any of the panels from the Data
>> >> section I get more of the same. When I run 'php
>> >> icingaWebTesting.php' I get this:
>> >>
>> >> PHPUnit @package_version@ by Sebastian Bergmann.
>> >>
>> >> -> 500 internal server error!
>> >>
>> >> === Error ===
>> >> Uncaught exception AppKitPHPError thrown!
>> >>
>> >> === Message ===
>> >> PHP Error
>> >>
>> parse_ini_file(/usr/local/icinga-web/etc/..//etc/tests/test.properties):
>> >> failed to open stream: No such file or directory
>> >>
>> (/usr/local/icinga-web/etc/tests/tests/installation/userRightsTest.php:10)
>> >>
>> >> === Stacktrace ===
>> >> #0 [internal function]:
>> >> AppKitExceptionHandler::phpErrorException(2,
>> >> 'parse_ini_file(...', '/usr/local/icin...', 10, Array)
>> >> #1
>> >>
>> /usr/local/icinga-web/etc/tests/tests/installation/userRightsTest.php(10):
>> >> parse_ini_file('/usr/local/icin...')
>> >> #2
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestCase.php(701):
>> >> userRightsTest->setUp()
>> >> #3
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestResult.php(687):
>> >> PHPUnit_Framework_TestCase->runBare()
>> >> #4
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestCase.php(653):
>> >> PHPUnit_Framework_TestResult->run(Object(userRightsTest))
>> >> #5
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(757):
>> >>
>> PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
>> >> #6
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(732):
>> >> PHPUnit_Framework_TestSuite->runTest(Object(userRightsTest),
>> >> Object(PHPUnit_Framework_TestResult))
>> >> #7
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(675):
>> >>
>> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
>> >> false, Array, Array, false)
>> >> #8
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/Framework/TestSuite.php(675):
>> >>
>> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
>> >> false, Array, Array, false)
>> >> #9
>> >>
>> /usr/local/icinga-web/lib/agavi/src/vendor/PHPUnit/TextUI/TestRunner.php(350):
>> >>
>> PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult),
>> >> false, Array, Array, false)
>> >> #10
>> >>
>> /usr/local/icinga-web/lib/agavi/src/testing/AgaviTesting.class.php(101):
>> >> PHPUnit_TextUI_TestRunner->doRun(Object(AgaviTestSuite), Array)
>> >> #11 /usr/local/icinga-web/etc/tests/icingaWebTesting.php(66):
>> >> AgaviTesting::dispatch(Array)
>> >>
>> >> Any ideas?
>> >>
>> >> Thanks,
>> >> Khoury
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Start uncovering the many advantages of virtual appliances
>> >> and start using them to simplify application deployment and
>> >> accelerate your shift to cloud computing.
>> >> http://p.sf.net/sfu/novell-sfdev2dev
>> >>
>> >>
>> >> _______________________________________________
>> >> icinga-users mailing list
>> >> [email protected] <mailto:
>> [email protected]>
>> >> https://lists.sourceforge.net/lists/listinfo/icinga-users
>> >>
>> >
>> >
>> >
>> >
>> > --
>> > Jannis Moßhammer
>> > Application Developer
>> >
>> > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
>> > Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>> > GF: Julian Hein | AG Nürnberg HRB18461
>> >
>> > http://www.netways.de |[email protected] <mailto:
>> [email protected]>
>> >
>> > ** NETWAYS Open Source Monitoring Conference 2010 | Nürnberg, 06.
>> und 07. Oktober 2010 |http://www.netways.de/osmc **
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Start uncovering the many advantages of virtual appliances
>> > and start using them to simplify application deployment and
>> > accelerate your shift to cloud computing.
>> > http://p.sf.net/sfu/novell-sfdev2dev
>> > _______________________________________________
>> > icinga-users mailing list
>> > [email protected]
>> > <mailto:[email protected]>
>> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Start uncovering the many advantages of virtual appliances
>> > and start using them to simplify application deployment and
>> > accelerate your shift to cloud computing.
>> > http://p.sf.net/sfu/novell-sfdev2dev
>> >
>> >
>> > _______________________________________________
>> > icinga-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>> >
>>
>>
>> --
>> DI (FH) Michael Friedrich
>>
>> Vienna University Computer Center
>> Universitaetsstrasse 7 A-1010 Vienna, Austria
>>
>> email: [email protected]
>> phone: +43 1 4277 14359
>> fax: +43 1 4277 14279
>> web: http://www.univie.ac.at/zid
>>
>> Icinga Core& IDOUtils Developer
>> http://www.icinga.org
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> icinga-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.http://p.sf.net/sfu/novell-sfdev2dev
>
>
> _______________________________________________
> icinga-users mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
>
> --
> DI (FH) Michael Friedrich
>
> Vienna University Computer Center
> Universitaetsstrasse 7 A-1010 Vienna, Austria
>
> email: [email protected]
> phone: +43 1 4277 14359
> fax: +43 1 4277 14279
> web: http://www.univie.ac.at/zid
>
> Icinga Core & IDOUtils Developerhttp://www.icinga.org
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users