when control_rancid runs, it actually uses temporary files which are renamed to routers.{up,down}. so, the directory must also be writable.
Fix
# cd ~rancid # chown -R rancid .
Linux, Systems, LoadBalancer, F5, Cisco, Juniper,ASA, Firewalls, Switches, Routers, MainFrames, Unix, Solaris
when control_rancid runs, it actually uses temporary files which are renamed to routers.{up,down}. so, the directory must also be writable.
Fix
# cd ~rancid # chown -R rancid .
[root@server ~]# yum -y install rsyslog
|
|
[root@server ~]# vi /etc/rsyslog.conf
|
# Provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514
# Provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514
|
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
|
[root@server ~]# systemctl restart rsyslog.service
|
[root@server ~]# netstat -antup | grep 514
tcp
0 0
0.0.0.0:514
0.0.0.0:*
LISTEN
759/rsyslogd
tcp6
0 0 :::514 :::* LISTEN
759/rsyslogd
udp
0 0
0.0.0.0:514
0.0.0.0:*
759/rsyslogd
udp6
0 0 :::514 :::*
759/rsyslogd
|