Saturday, May 25th 2013, 7:02am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

Hindin

Beginner

Posts: 2

Number of monitoring servers: 1

Nagios Version: 3.0.3

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 80

OS: Ubuntu 8.04

Plugin Version: 1.4.12

1

Friday, May 1st 2009, 10:56am

Ubuntu 9.04 Server Nagios started nicht

Hallo,

habe das Ubuntu 9.04 und Nagios jetzt schon zweimal komplett neu installiert. Bin jedesmal exact nach dem Quickstart Script von Nagios vorgegangen. Nagios started einfach nicht.
Folgendes zeigt mir Ubuntu an wenn ich Nagios nicht als daemon starte:

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

Nagios 3.1.0
Copyright (c1999-2009 Ethan Galstad (http://www.nagios.org)
Last Modified01-25-2009
LicenseGPL

Nagios 3.1.0 starting... (PID=14647)
Local time is Fri May 01 10:49:20 CEST 2009
*** stack smashing detected ***: /usr/local/nagios/bin/nagios terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7eb5da8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7eb5d60]
/usr/local/nagios/bin/nagios[0x8083b32]
/usr/local/nagios/bin/nagios(check_for_nagios_updates+0x6a)[0x8083baa]
/usr/local/nagios/bin/nagios(main+0x552)[0x8058c72]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dce775]
/usr/local/nagios/bin/nagios[0x8058681]
======= Memory map: ========
08048000-080d7000 r-xp 00000000 fc:00 2653       /usr/local/nagios/bin/nagios
080d7000-080d8000 r--p 0008e000 fc:00 2653       /usr/local/nagios/bin/nagios
080d8000-080d9000 rw-p 0008f000 fc:00 2653       /usr/local/nagios/bin/nagios
080d9000-080da000 rw-p 080d9000 00:00 0
0865c000-0867d000 rw-p 0865c000 00:00 0          [heap]
b754c000-b7559000 r-xp 00000000 fc:00 196237     /lib/libgcc_s.so.1
b7559000-b755a000 r--p 0000c000 fc:00 196237     /lib/libgcc_s.so.1
b755a000-b755b000 rw-p 0000d000 fc:00 196237     /lib/libgcc_s.so.1
b755b000-b756d000 r-xp 00000000 fc:00 196400     /lib/tls/i686/cmov/libresolv-2.9.so
b756d000-b756e000 r--p 00011000 fc:00 196400     /lib/tls/i686/cmov/libresolv-2.9.so
b756e000-b756f000 rw-p 00012000 fc:00 196400     /lib/tls/i686/cmov/libresolv-2.9.so
b756f000-b7571000 rw-p b756f000 00:00 0
b7571000-b7576000 r-xp 00000000 fc:00 196392     /lib/tls/i686/cmov/libnss_dns-2.9.so
b7576000-b7577000 r--p 00004000 fc:00 196392     /lib/tls/i686/cmov/libnss_dns-2.9.so
b7577000-b7578000 rw-p 00005000 fc:00 196392     /lib/tls/i686/cmov/libnss_dns-2.9.so
b7578000-b7579000 ---p b7578000 00:00 0
b7579000-b7d79000 rw-p b7579000 00:00 0
b7d79000-b7d83000 r-xp 00000000 fc:00 196394     /lib/tls/i686/cmov/libnss_files-2.9.so
b7d83000-b7d84000 r--p 00009000 fc:00 196394     /lib/tls/i686/cmov/libnss_files-2.9.so
b7d84000-b7d85000 rw-p 0000a000 fc:00 196394     /lib/tls/i686/cmov/libnss_files-2.9.so
b7d85000-b7d8e000 r-xp 00000000 fc:00 196396     /lib/tls/i686/cmov/libnss_nis-2.9.so
b7d8e000-b7d8f000 r--p 00008000 fc:00 196396     /lib/tls/i686/cmov/libnss_nis-2.9.so
b7d8f000-b7d90000 rw-p 00009000 fc:00 196396     /lib/tls/i686/cmov/libnss_nis-2.9.so
b7d90000-b7da5000 r-xp 00000000 fc:00 196390     /lib/tls/i686/cmov/libnsl-2.9.so
b7da5000-b7da6000 r--p 00014000 fc:00 196390     /lib/tls/i686/cmov/libnsl-2.9.so
b7da6000-b7da7000 rw-p 00015000 fc:00 196390     /lib/tls/i686/cmov/libnsl-2.9.so
b7da7000-b7da9000 rw-p b7da7000 00:00 0
b7da9000-b7db0000 r-xp 00000000 fc:00 196391     /lib/tls/i686/cmov/libnss_compat-2.9.so
b7db0000-b7db1000 r--p 00006000 fc:00 196391     /lib/tls/i686/cmov/libnss_compat-2.9.so
b7db1000-b7db2000 rw-p 00007000 fc:00 196391     /lib/tls/i686/cmov/libnss_compat-2.9.so
b7db7000-b7db8000 rw-p b7db7000 00:00 0
b7db8000-b7f14000 r-xp 00000000 fc:00 196383     /lib/tls/i686/cmov/libc-2.9.so
b7f14000-b7f15000 ---p 0015c000 fc:00 196383     /lib/tls/i686/cmov/libc-2.9.so
b7f15000-b7f17000 r--p 0015c000 fc:00 196383     /lib/tls/i686/cmov/libc-2.9.so
b7f17000-b7f18000 rw-p 0015e000 fc:00 196383     /lib/tls/i686/cmov/libc-2.9.so
b7f18000-b7f1b000 rw-p b7f18000 00:00 0
b7f1b000-b7f1d000 r-xp 00000000 fc:00 196386     /lib/tls/i686/cmov/libdl-2.9.so
b7f1d000-b7f1e000 r--p 00001000 fc:00 196386     /lib/tls/i686/cmov/libdl-2.9.so
b7f1e000-b7f1f000 rw-p 00002000 fc:00 196386     /lib/tls/i686/cmov/libdl-2.9.so
b7f1f000-b7f20000 rw-p b7f1f000 00:00 0
b7f20000-b7f35000 r-xp 00000000 fc:00 196399     /lib/tls/i686/cmov/libpthread-2.9.so
b7f35000-b7f36000 r--p 00014000 fc:00 196399     /lib/tls/i686/cmov/libpthread-2.9.so
b7f36000-b7f37000 rw-p 00015000 fc:00 196399     /lib/tls/i686/cmov/libpthread-2.9.so
b7f37000-b7f39000 rw-p b7f37000 00:00 0
b7f39000-b7f5d000 r-xp 00000000 fc:00 196387     /lib/tls/i686/cmov/libm-2.9.so
b7f5d000-b7f5e000 r--p 00023000 fc:00 196387     /lib/tls/i686/cmov/libm-2.9.so
b7f5e000-b7f5f000 rw-p 00024000 fc:00 196387     /lib/tls/i686/cmov/libm-2.9.so
b7f63000-b7f66000 rw-p b7f63000 00:00 0
b7f66000-b7f67000 r-xp b7f66000 00:00 0          [vdso]
b7f67000-b7f83000 r-xp 00000000 fc:00 196238     /lib/ld-2.9.so
b7f83000-b7f84000 r--p 0001b000 fc:00 196238     /lib/ld-2.9.so
b7f84000-b7f85000 rw-p 0001c000 fc:00 196238     /lib/ld-2.9.so
bfb6f000-bfb84000 rw-p bffeb000 00:00 0          [stack]
Aborted


Kann mir jemand sagen, was das bedeutet? Habe bisher Nagios unter Ubuntu 8.10 am laufen gehabt ohne Probleme. Jetzt wollte ich updaten und nichts tut mehr.

Danke Daniel

pitchfork

Administrator

Posts: 18,460

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

2

Friday, May 1st 2009, 11:20am

/usr/local/nagios/bin/nagios(check_for_nagios_updates+0x6a)[0x8083baa]


/insider Denkt ihr auch was ich denke?

@Daniel


Versuch bitte nagios 3.0.6 auf diesem System zu kompilieren.
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

Hindin

Beginner

Posts: 2

Number of monitoring servers: 1

Nagios Version: 3.0.3

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 80

OS: Ubuntu 8.04

Plugin Version: 1.4.12

3

Friday, May 1st 2009, 11:31am

Hallo pitchfork,

3.0.6 funktioniert. Ich dachte die 3.1.0 sei in der zwischenzeit stabel?

Danke Dankiel

pitchfork

Administrator

Posts: 18,460

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

4

Friday, May 1st 2009, 11:36am

Ich dachte die 3.1.0 sei in der zwischenzeit stabel?


Wie du siehst nicht besonders.
Du hast sogar eben eine Lücke in der Version entdeckt. Diese steckt in einer Funktion die erst mit 3.1 eingeführt wurde.

3.1 ist eine Devel Version und ich habe Ethan mehrfach darauf hingewiesen die besser auf nagios.org zu kennzeichnen.

Nur hier -> http://nagios.org/download/download.php ist es in Klammern ersichtlich.
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

PsychoTrahe

Intermediate

Posts: 188

Birthday: Jun 28th 1984 (28)

Gender: male

Number of hosts: >20

5

Friday, May 1st 2009, 11:48am

Yeah.. die updatefunktion..

ich gehe davon aus das ist kein ubuntu Paket?
Du kannst mal schauen, ob sich ein Coredump erzeugen lässt... am besten vielleicht mit so wenigen hosts wie möglich in der cfg:
ulimit -c unlimited

per default wird nagios mit debug symbolen übersetzt. Diese werden aber beim make install rausgeschmissen. Daher
anstatt make install, make install-unstripped auswählen.

Ich kann dir nicht versprechen, ob ich/das Forum dir anhand des corefiles weiterhelfen kann, aber zur not kann man das ja dann auch noch an nagios-devel posten.

Andurin

Unregistered

6

Friday, May 1st 2009, 12:27pm

Sehr spannend!

32bit oder 64bit System?
EDIT: Kernel Version (uname -a) wäre auch nicht verkehrt.

Gruß,
Hendrik

This post has been edited 1 times, last edit by "Andurin" (May 1st 2009, 12:32pm)