Tag: service

Starting INET services. (xinetd) failed

xinetd is not starting

root@linux:~ # service xinetd start
Starting INET services. (xinetd) failed

No services managed by xinetd are available

root@linux:~ # tail -20 /var/log/messages
Oct 9 06:15:04 linux run-crons[14711]: eds-ntpdate: OK
Oct 9 06:39:45 linux — MARK —
Oct 9 06:59:45 linux — MARK —
Oct 9 07:15:04 linux run-crons[31922]: eds-ntpdate: OK
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=26]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/discard-udp [file=/etc/xinetd.d/discard-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/netstat [file=/etc/xinetd.d/netstat] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=16]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=12]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=14]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=17]
Oct 9 07:30:51 linux xinetd[15114]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=15]
Oct 9 07:30:51 linux xinetd[15114]: 15114 {init_services} no services. Exiting…

Enabling sysstat changing disable = yes to disable = no

root@linux:~ # vi /etc/xinetd.d/sysstat
# Finger, systat and netstat give out user information which may be
# valuable to potential “system crackers.” Many sites choose to disable
# some or all of these services to improve security.
# Try “telnet localhost systat” and “telnet localhost netstat” to see that
# information yourself!
#
service systat
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /bin/ps
server_args = -auwwx
}

Starting service xinetd

root@linux:~ # service xinetd start
Starting INET services. (xinetd) done

ORA-27086: unable to lock file – already in use

My server was having a problem with Oracle saying that is unable to create dump file and the filesystem was in a NFS share

Export: Release 11.2.0.2.0 – Production on Wed Dec 2 15:08:02 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file “/orabkp/hbr022/export/reeng/expdp_reeng.20151202150630_hbr022_9964.dmp”
ORA-27086: unable to lock file – already in use
Linux-x86_64 Error: 37: No locks available
Additional information: 10

Start the service nfslock and make sure after reboot it will be started

root@linux:~ # service nfslock start
root@linux:~ # chkconfig nfslock on

abrtd and abrt showing Corrupted or bad directory in /var/log/messages

Jul 24 10:52:12 rhel6 abrtd: New client connected
Jul 24 10:52:12 rhel6 abrt-server[66371]: Saved Python crash dump of pid 66370 to /var/spool/abrt/pyhook-2014-07-24-10:52:12-66370
Jul 24 10:52:12 rhel6 abrtd: Directory ‘pyhook-2014-07-24-10:52:12-66370’ creation detected
Jul 24 10:52:27 rhel6 abrtd: Sending an email…
Jul 24 10:52:27 rhel6 abrtd: Email was sent to: root@localhost
Jul 24 10:52:27 rhel6 abrtd: Duplicate: UUID
Jul 24 10:52:27 rhel6 abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2014-06-12-14:10:18-27149
Jul 24 10:52:27 rhel6 abrtd: Corrupted or bad directory ‘/var/spool/abrt/pyhook-2014-07-24-10:47:08-41575’, deleting
Jul 24 10:54:44 rhel6 abrt: detected unhandled Python exception in ‘/usr/share/rhn/up2date_client/hardware.py’

You need to update the package rhn-client-tools and its dependencies.

root@rhel6:~ # yum update rhn-client-tools
root@rhel6:~ # service rhnsd restart

Souce: https://access.redhat.com/solutions/506353