DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I believe your last line needs exit 0 uncommented.
Edit /etc/rc.local accordingly.
# cat /etc/rc.local
Code:
/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf
/usr/local/sbin/clamd
su - amavis -c "/usr/local/sbin/amavisd"
exit 0
Reboot
# host linux.org 127.0.0.1
Code:
Nameserver localhost.localdomain not running
linux.org A record not found at localhost.localdomain, try again
# /usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf
No complaint
# host linux.org 127.0.0.1
Code:
linux.org A 198.182.196.48
# /usr/local/sbin/clamd
No complaint
# su - amavis -c "/usr/local/sbin/amavisd"
Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/perl: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/BerkeleyDB/BerkeleyDB.so: undefined symbol: db_version
There is an error here.
Previously rc.local worked w/o problem. I don't know why it stops working now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.