30.11. startup

本文涉及的产品
运维安全中心(堡垒机),免费版 6个月
简介:
[root@F5:Active] config # chkconfig --list
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
bigstart        0:off   1:off   2:on    3:on    4:on    5:on    6:off
cluster         0:off   1:off   2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
dhclient        0:off   1:off   2:on    3:on    4:on    5:on    6:off
fw_update       0:off   1:off   2:off   3:on    4:off   5:off   6:off
httpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
httpd_sam       0:off   1:off   2:on    3:on    4:on    5:on    6:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
irqbalance      0:off   1:off   2:on    3:on    4:on    5:on    6:off
lm_sensors      0:off   1:off   2:on    3:on    4:on    5:on    6:off
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mcstrans        0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmonitor       0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
multipathd      0:off   1:off   2:off   3:off   4:off   5:off   6:off
netconsole      0:off   1:off   2:on    3:on    4:on    5:on    6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
netplugd        0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
postfix         0:off   1:off   2:off   3:off   4:off   5:off   6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
rdisc           0:off   1:off   2:off   3:off   4:off   5:off   6:off
restorecond     0:off   1:off   2:on    3:on    4:on    5:on    6:off
rsync           0:off   1:off   2:on    3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
smartd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
syslog-ng       0:off   1:off   2:on    3:on    4:on    5:on    6:off

		
		
[root@F5:Active] config # cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
#
# NOTE:
# - /config/startup is for customer config additions and
#   will be saved in UCS and configsynced.
#
# - /etc/rc.local should *not* be used by customers and
#   can/will be changed by F5

#
# Add /var/log/pam and set the appropriate owner, permissions
#
mkdir /var/log/pam > /dev/null 2>&1
chmod 0770 /var/log/pam
chown root:apache /var/log/pam
touch /var/log/pam/tallylog
chmod 0660 /var/log/pam/tallylog
chown root:apache /var/log/pam/tallylog
chcon -t var_log_pam_t /var/log/pam/tallylog

#
# This callback is required for various Enterprise Manager tasks that
# may be performed on the device.
#
if [ -f /shared/f5_update_action -a -f /usr/bin/f5_update_checker ]; then
        nohup /usr/bin/f5_update_checker >> /var/log/f5_update_checker.log 2>&1
fi

# run customer config additions
if [ -x /config/startup ]; then
    /config/startup
fi

touch /var/lock/subsys/local
		
		
named	 Running for 3 hours
ntpd	 Running...
postfix	 master Stopped
snmpd	 Running for 3 hours
sshd
		





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
6月前
rac Cluster Startup
https://docs.oracle.com/cd/E11882_01/rac.112/e41959/intro.htm#i1058057
35 0
|
6月前
|
关系型数据库 MySQL Apache
XAMPP启动报错: Apache shutdown unexpectedly or MySQL shutdown unexpectedly
XAMPP启动报错: Apache shutdown unexpectedly or MySQL shutdown unexpectedly
52 0
|
SQL Oracle 关系型数据库
ORA-01033: ORACLE initialization or shutdown in progress的两种解决方法
ORA-01033: ORACLE initialization or shutdown in progress通常是由于ORACLE数据库文件损坏引起的,以下是出现的问题及解决方法: 现象一: sysdba可以登录,但是在使用中就出现“数据库未打开,仅允许在固定表/视图中查询”,而normal用户无法登录使用,出现ORA-01033: ORACLE initialization or shutdown in progress 的错误。
1877 0
|
容器
SpringMVC - load-on-startup
SpringMVC - load-on-startup
155 0
|
Oracle 关系型数据库 数据库
ORA-01033:ORACLE initialization or shutdown in progress解决方法
ORA-01033:ORACLE initialization or shutdown in progress解决方法