Xinetd immediately stop after restart

Hi,

have the following phenomenon that since yesterday evening my xinetd does not run and after a restart first brings no error but then immediately in the
omd status is again on stopped

Output CLI
OMD[ensag]:~$ omd restart xinetd 
Temporary filesystem already mounted
Stopping xinetd...not running.
Starting xinetd...OK
OMD[ensag]:~$ omd status
mkeventd:       running
liveproxyd:     running
mknotifyd:      running
rrdcached:      running
cmc:            running
apache:         running
dcd:            running
redis:          running
xinetd:         stopped
crontab:        running
-----------------------
Overall state:  partially running
Xinetd.log

21/5/20@06:57:41 xinetd[4199]: ERROR: Service livestatus failed to start and is deactivated.
21/5/20@06:57:41 xinetd[4199]: CRITICAL: 4199 {init_services} no services. Exiting…
21/5/20@07:25:23 xinetd[10540]: DEBUG: Reading included configuration file: /omd/sites/ensag/etc/xinetd.d/mk-livestatus [file=/omd/sites/ensag/etc/xinetd.conf] [$
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 1
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 2
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 3
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 4
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 5
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 6
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 7
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 8
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 9
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: NOTICE: bind retry attempt 10
21/5/20@07:25:23 xinetd[10540]: ERROR: bind failed (Address already in use (errno = 98)). service = livestatus
21/5/20@07:25:23 xinetd[10540]: ERROR: Service livestatus failed to start and is deactivated.
21/5/20@07:25:23 xinetd[10540]: CRITICAL: 10540 {init_services} no services. Exiting…

Where and how can I find out whats the problem?

Greetings Bernd

Two sites active on this machine?
The bind failed points to another process using the same port.

It looks like a second livestatus TCP active.

Yes … that was the Point I have found also.
But this Sites has been running in this conf more than one week so I was a little confused for that problem.

but now everything is fine with the Xinetd

and my main Problem still exist ;(

no Informations on all Interfaces:
image

but at first hungry … and coffee

on the CLI it looks the same:

OMD[convert]:~$ cmk -nv rt-de-XX-mpls-01
Checkmk version 2.0.0p4
+ FETCHING DATA
[SNMPFetcher] Execute data source
No piggyback files for 'rt-de-XX-mpls-01'. Skip processing.
No piggyback files for '10.X.X.X'. Skip processing.
[PiggybackFetcher] Execute data source
+ PARSE FETCHER RESULTS
Received no piggyback data
CPU utilization 0    Utilization in the last 5 minutes: 7.0%
FRU Module Status 3  [C881 Mother board on Slot 0] Operational status: OK
HSRP Group 10.X.X:-40 Redundancy Group 10.X.X..X-40 is OK, Status: active
Interface FastEthernet0 [ Customer LAN], (up), MAC: C4:F7:D5:xx:xx:xx, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface FastEthernet1 [2], (down), MAC: C4:F7:D5:xx:xx:xx, Speed: 100 MBit/s
Interface FastEthernet2 [X-LINK], (up), MAC: C4:F7:D5:xx:xx:xx, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface FastEthernet3 [4], (down), MAC: C4:F7:D5:xx:xx:xx, Speed: 100 MBit/s
Interface FastEthernet4 [WAN VPN xx:xx:xx, (up), MAC: C4:F7:D5:xx:xx:xx, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Mem used I/O         Usage: 43.83% - 15.31 MB of 34.93 MB
Mem used Processor   Usage: 27.27% - 81.83 MB of 300.06 MB
Power Power supply 1 Status: normal, Source: AC
SNMP Info            xx:xx:xx, K+S_xx:xx:xx,
Temperature 1        0 °C
Temperature 2        0 °C
Temperature 3        0 °C
Temperature 4        0 °C
Temperature 5        0 °C
Temperature 6        0 °C
Uptime               Up since Oct 09 2020 11:05:11, Uptime: 222 days 21 hours
No piggyback files for 'rt-de-XX-mpls-01'. Skip processing.
No piggyback files for '10.xxxxxx'. Skip processing.
[snmp] Success, execution time 0.4 sec | execution_time=0.350 user_time=0.290 system_time=0.020 children_user_time=0.000 children_system_time=0.000 cmk_time_snmp=0.020 cmk_time_agent=0.000

any idea @andreas-doehler
for that problem I have since yesterday evening 20 clock on all interfaces

other Device
OMD[convert]:~$ cmk -nv sw-de-XXXXX
Checkmk version 2.0.0p4
+ FETCHING DATA
[SNMPFetcher] Execute data source
No piggyback files for 'sw-de-XXXXX'. Skip processing.
No piggyback files for '10.XXXXX'. Skip processing.
[PiggybackFetcher] Execute data source
+ PARSE FETCHER RESULTS
Received no piggyback data
Interface GigabitEthernet1/1 [Uplink], (up), MAC: F8:7B:20:XXXXX, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/10 [ap_lan], (up), MAC: F8:7B:20:XXXXX, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/11 [ap_lan], (up), MAC: F8:7B:20:XXXXX, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/12 [ap_lan], (up), MAC: F8:7B:20:XXXXX, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/2 [Uplink], (up), MAC: F8:7B:20:XXXXX, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/3 [Uplink], (down), MAC: F8:7B:20:XXXXX, Speed: 10 MBit/s
Interface GigabitEthernet1/4 [Uplink], (down), MAC: F8:7B:20:XXXXX, Speed: 10 MBit/s
Interface GigabitEthernet1/5 [Uplink], (down), MAC: F8:7B:20:XXXXX, Speed: 100 MBit/s
Interface GigabitEthernet1/6 [ap_lan], (down), MAC: F8:7B:20:XXXXX, Speed: 10 MBit/s
Interface GigabitEthernet1/7 [ap_lan], (down), MAC: F8:7B:20:XXXXX, Speed: 10 MBit/s
Interface GigabitEthernet1/8 [ap_lan], (down), MAC: F8:7B:20:XXXXX, Speed: 10 MBit/s
Interface GigabitEthernet1/9 [ap_lan], (up), MAC: F8:7B:20:XXXXX, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
SNMP Info            sw-de-XXXXX., ,
Uptime               Up since Apr 08 2021 11:38:04, Uptime: 41 days 20 hours
No piggyback files for 'sw-de-XXXXX'. Skip processing.
No piggyback files for '10.XXXXX'. Skip processing.
[snmp] Success, execution time 0.3 sec | execution_time=0.300 user_time=0.290 system_time=0.010 children_user_time=0.000 children_system_time=0.000 cmk_time_snmp=0.000 cmk_time_agent=0.000

One quick remark - cmk -nv will not show any counter values. With this 0/0 is ok.
If you do a “cmk -v” then the counter should be calculated.

If the problem is also there then it looks more like a problem with the counter store of CMK.
Is the tmp filesystem full?^^

same Result

cmk -v result
OMD[convert]:~$ cmk -v sw-de-xxx
Checkmk version 2.0.0p4
+ FETCHING DATA
[SNMPFetcher] Execute data source
No piggyback files for 'sw-de-xxx'. Skip processing.
No piggyback files for '10.xxx'. Skip processing.
[PiggybackFetcher] Execute data source
+ PARSE FETCHER RESULTS
Received no piggyback data
Interface GigabitEthernet1/1 [Uplink], (up), MAC: F8:7B:20:xx1, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/10 [ap_lan], (up), MAC: F8:7B:20:, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/11 [ap_lan], (up), MAC: F8:7B:20:, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/12 [ap_lan], (up), MAC: F8:7B:20:, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/2 [Uplink], (up), MAC: F8:7B:20:, Speed: 1 GBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
Interface GigabitEthernet1/3 [Uplink], (down), MAC: F8:7B:20:, Speed: 10 MBit/s
Interface GigabitEthernet1/4 [Uplink], (down), MAC: F8:7B:20:, Speed: 10 MBit/s
Interface GigabitEthernet1/5 [Uplink], (down), MAC: F8:7B:20:, Speed: 100 MBit/s
Interface GigabitEthernet1/6 [ap_lan], (down), MAC: F8:7B:20:, Speed: 10 MBit/s
Interface GigabitEthernet1/7 [ap_lan], (down), MAC: F8:7B:20:, Speed: 10 MBit/s
Interface GigabitEthernet1/8 [ap_lan], (down), MAC: F8:7B:20:, Speed: 10 MBit/s
Interface GigabitEthernet1/9 [ap_lan], (up), MAC: F8:7B:20:, Speed: 100 MBit/s, In: 0 Bit/s (0%), Out: 0 Bit/s (0%)
SNMP Info            sw-de-, ,
Uptime               Up since Apr 08 2021 10:04:51, Uptime: 41 days 22 hours
No piggyback files for 'sw-de-'. Skip processing.
No piggyback files for '10.'. Skip processing.
[snmp] Success, execution time 0.3 sec | execution_time=0.310 user_time=0.290 system_time=0.020 children_user_time=0.000 children_system_time=0.000 cmk_time_snmp=0.000 cmk_time_agent=0.000

Filesystem looks good:

OMD[convert]:~$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
udev                              32G     0   32G   0% /dev
tmpfs                            6.3G  8.8M  6.3G   1% /run
/dev/mapper/xx--vg-root  256G  154G   93G  63% /
tmpfs                             32G     0   32G   0% /dev/shm
tmpfs                            5.0M     0  5.0M   0% /run/lock
tmpfs                             32G     0   32G   0% /sys/fs/cgroup
/dev/sda1                        236M  120M  104M  54% /boot
/dev/mapper/xx--vg-home  424G  306G  100G  76% /home
tmpfs                             32G  5.5M   32G   1% /opt/omd/sites/basic/tmp
tmpfs                             32G   52M   32G   1% /opt/omd/sites/convert/tmp
tmpfs                             32G  5.9M   32G   1% /opt/omd/sites/ensag/tmp
tmpfs                             32G  6.5M   32G   1% /opt/omd/sites/test/tmp
//10.xxxx/xxxx               3.2T  107G  3.1T   4% /nas05
tmpfs                            6.3G     0  6.3G   0% /run/user/0

after an

cmk -II

all Services are correctly displayed … grummel

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.