Fix bad interpreter
the problem:
-bash: ./script.sh: /bin/bash^M: bad interpreter: No such file or directory
problem solving:
– edit file with vim
– type :set fileformat=unix
and enter
– save file and re-execute
the problem:
-bash: ./script.sh: /bin/bash^M: bad interpreter: No such file or directory
problem solving:
– edit file with vim
– type :set fileformat=unix
and enter
– save file and re-execute
swapoff -a
for disable swapmyhostname postfix/smtpd[26105]: fatal: open database /etc/postfix/sender_whitelist.db: Bad file descriptor
myhostname postfix/master[25978]: warning: process /usr/libexec/postfix/smtpd pid 26105 exit status 1
myhostname postfix/master[25978]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
solve this problem:
# vim /etc/postfix/main.cf
remove this config "check_sender_access hash:/etc/postfix/sender_whitelist"
and then restart postfix service.
(20014)Internal error: Error retrieving pid file logs/httpd.pid
Remove it before continuing if it is corrupted.
solve this problem:
# mv /usr/local/apache/logs/httpd.pid /usr/local/apache/logs/httpd.pid.bak
# /etc/init.d/httpd restart
1 |
# dmidecode --type 17 |