Hi all,
I have installed recently openbsd server and noticed that after reboot php_fpm and clamd fails to start.
Code:
bash-4.3$ dmesg | head -10
OpenBSD 5.7-current (GENERIC) #837: Wed Mar 18 18:50:05 MDT 2015
deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520081408 (495MB)
avail mem = 500477952 (477MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x1ffffec0 (10 entries)
bios0: vendor Seabios version "0.5.1" date 01/01/2007
bios0: Red Hat KVM
After server reboot I have to start the php_fpm and clamd manualy.
Code:
bash-4.3# /etc/rc.d/clamd start
clamd(ok)
bash-4.3# /etc/rc.d/php_fpm start
php_fpm(ok)
Starting of clamd takes 42 second. Do I have to put deamons in /etc/rc.conf.local in differend order?
Code:
bash-4.3# cat /etc/rc.conf.local
ntpd_flags=""
pkg_scripts=php_fpm
httpd_flags=""
smtpd_flags=""
pkg_scripts=clamd
pkg_scripts=dovecot
pf=YES # Packet filter / NAT
spamd_flags="-v"
spampd_flags="--port=10035 --relayhost=127.0.0.1:10036 --tagall -aw"
I start also clamsmtpd in /etc/rc.local. Can this have an effect on starting the other daemons?
Code:
bash-4.3# cat /etc/rc.local
/usr/local/sbin/clamsmtpd -f /etc/clamsmtpd-in.conf
/usr/local/sbin/clamsmtpd -f /etc/clamsmtpd-out.conf
Thanks for help.
Valus