grep munin-cron /etc/cron.*/*
If only one record found, than rm -rf /var/run/munin/munin-update.lock && /etc/init.d/munin-node restart
grep munin-cron /etc/cron.*/*
If only one record found, than rm -rf /var/run/munin/munin-update.lock && /etc/init.d/munin-node restart
openssl genrsa -des3 -out mail.domain.tld.key 2048
chmod 600 mail.domain.tld.key
openssl req -new -key mail.domain.tld.key -out mail.domain.tld.csr
openssl x509 -req -days 365 -in mail.domain.tld.csr -signkey mail.domain.tld.key -out mail.domain.tld.crt
openssl rsa -in mail.domain.tld.key -out mail.domain.tld.key.nopass
mv mail.domain.tld.key.nopass mail.domain.tld.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650
chmod 600 mail.domain.tld.key
chmod 600 cakey.pem
mv mail.domain.tld.key /etc/ssl/private/
mv mail.domain.tld.crt /etc/ssl/certs/
mv cakey.pem /etc/ssl/private/
mv cacert.pem /etc/ssl/certs/
postconf -e 'smtpd_tls_auth_only = no'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
postconf -e 'smtpd_tls_key_file = /etc/ssl/private/mail.domain.tld.key'
postconf -e 'smtpd_tls_cert_file = /etc/ssl/certs/mail.domain.tld.crt'
postconf -e 'smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem'
postconf -e 'smtpd_tls_loglevel = 1'
postconf -e 'smtpd_tls_received_header = yes'
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'
postconf -e 'tls_random_source = dev:/dev/urandom'
postconf -e 'myhostname = mail.example.com'
pkill -9 -u `id -u username`
smtpd_sasl_auth_enable = yes
smtp_sasl_auth_enable = no
This error also can cause such errors:
warning: process /usr/libexec/postfix/smtp pid 32605 exit status 1
warning: /usr/libexec/postfix/smtp: bad command startup — throttling
echo “hide_brute_force_notifications=1” >> /usr/local/directadmin/conf/directadmin.conf
/etc/init.d/directadmin restart
openssl req -new -newkey rsa:2048 -nodes -out www_domain_com.csr -keyout www_domain_com.key -subj "/C=US/ST=State/L=Town/O=Company Name/OU=Company Name/CN=www.domain.com"
vi /usr/local/directadmin/conf/directadmin.conf
SSL=0
/etc/init.d/directadmin restart
go build -ldflags "-s" prog.go
cd /etc/csf
sh uninstall.sh
cd /usr/local/directadmin/custombuild
./build update
./build set proftpd yes
mkdir -p custom/proftpd
wget -O custom/proftpd/configure.proftpd http://files.directadmin.com/services/all/sftp/configure.proftpd.sftp
chmod 755 custom/proftpd/configure.proftpd
./build proftpd
2) Backup old configs, and grab new ones:
cd /etc
cp proftpd.conf proftpd.conf.backup
wget -O proftpd.conf http://files.directadmin.com/services/all/sftp/proftpd.conf
wget -O proftpd.sftp.conf http://files.directadmin.com/services/all/sftp/proftpd.sftp.conf
perl -pi -e 's/\|SERVER_IP\|/1.2.3.4/' proftpd.conf
perl -pi -e 's/\|SERVER_IP\|/1.2.3.4/' proftpd.sftp.conf
cd /usr/local/directadmin/scripts
./change_username.sh olduser newuser
vi /usr/local/directadmin/conf/directadmin.conf as
max_username_length=
vi ~/.ssh/config
Host XX.XX.XX.XX
GSSAPIAuthentication no
eval `ssh-agent -s`