Results 1 to 3 of 3
Hi folks,
Debian Etch
I installed mysql and postfix from source. They can be started with:
Code:
# /etc/init.d/mysql.server start
# /usr/local/mysql/share/mysql/mysql.server start
# postfix start
Both are now running. ...
- 11-02-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
How to start mysql.server and postfix at boot
Hi folks,
Debian Etch
I installed mysql and postfix from source. They can be started with:Both are now running. But I can't make them started at boot. Tried on /etc/rc.local;Code:# /etc/init.d/mysql.server start # /usr/local/mysql/share/mysql/mysql.server start # postfix start
mysql - testing them one by onenone of them can work.Code:/etc/init.d/mysql.server /etc/init.d/mysql.server start echo /etc/init.d/mysql.server start /usr/local/mysql/share/mysql/mysql.server /usr/local/mysql/share/mysql/mysql.server start echo /usr/local/mysql/share/mysql/mysql.server start etc.
postfix - testing them one by onenone of them can work.Code:postfix start echo postfix start /usr/sbin/postfix start echo /usr/sbin/postfix start echo /usr/sbin/postfix etc.
However both of follows on /etc/rc.localwork without problem.Code:/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"
Please advise how to get mysql.server and postfix started at boot. TIA
B.R.
satimis
- 11-02-2008 #2
Add the following cronjob
HTML Code:@reboot /etc/init.d/mysql start @reboot /etc/init.d/postfix start
- 11-03-2008 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546


Reply With Quote

