connectedstream
New member
- Joined
- Sep 3, 2007
- Messages
- 4
Has anyone any idea how to disable DA from restarting apache nightly as this also restarts a exec script i have running.
Ive searched the forums and tried several things but nothing seems to stop it all together.
1st of all i changed the conf so the username would be nobody instead of apache.. didint work.
so i edited /usr/local/directadmin/data/admin/service.status to httpd=OFF worked for 1 night then direct admin must of rewrote the file.
So either i can stop DA from writing to that file so service monitor can not rewrite or i can do what i am doing now which is ive delted the /etc/init.d/httpd file so nothing can restart apache, obviously not the best way but a temp solution untill i can stop DA from restarting every night.
Any help would be apreciated thankyou.
Ive searched the forums and tried several things but nothing seems to stop it all together.
1st of all i changed the conf so the username would be nobody instead of apache.. didint work.
so i edited /usr/local/directadmin/data/admin/service.status to httpd=OFF worked for 1 night then direct admin must of rewrote the file.
So either i can stop DA from writing to that file so service monitor can not rewrite or i can do what i am doing now which is ive delted the /etc/init.d/httpd file so nothing can restart apache, obviously not the best way but a temp solution untill i can stop DA from restarting every night.
Code:
DA errortaskq
2007:07:24-14:15:03: cmd: /etc/init.d/named reload >>/dev/null 2>>/dev/null
2007:07:24-14:15:03: cmd: /etc/init.d/proftpd reread >>/dev/null 2>>/dev/null
2007:07:24-14:23:02: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:07:24-14:23:02: cmd: /etc/init.d/named reload >>/dev/null 2>>/dev/null
2007:07:24-14:23:02: cmd: /etc/init.d/proftpd reread >>/dev/null 2>>/dev/null
2007:07:25-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:07:26-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:07:27-00:12:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:07:29-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:07:31-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:01-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:01-04:20:01: Reset All has started
2007:08:01-04:20:01: Reset All has finished
2007:08:01-04:22:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:04-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:05-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:06-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:07-00:12:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:08-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:09-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:10-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:11-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:12-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:13-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:14-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:16-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:17-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:18-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:19-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:20-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:21-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:22-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:23-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:24-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:25-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:27-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:28-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:28-16:14:01: cmd: /etc/init.d/directadmin restart >>/dev/null 2>>/dev/null
2007:08:30-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:08:30-16:07:01: cmd: /etc/init.d/directadmin restart >>/dev/null 2>>/dev/null
2007:08:31-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:01-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:01-04:20:01: Reset All has started
2007:09:01-04:20:02: Reset All has finished
2007:09:01-04:22:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:02-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:03-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:03-00:11:01: Error restarting service httpd : uid 0 gid 0 : /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:04-00:11:01: cmd: /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
2007:09:04-00:11:02: Error restarting service httpd : uid 0 gid 0 : /etc/init.d/httpd restart >>/dev/null 2>>/dev/null
Code:
httpd error log
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
mpg123: Can't rewind stream by 36 bits!
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
[Tue Sep 4 00:10:02 2007] [notice] SIGHUP received. Attempting to restart
[Tue Sep 4 00:10:03 2007] [notice] Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7e PHP/4.4.4 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Tue Sep 4 00:10:03 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Sep 4 00:10:03 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
sh: line 1: host: command not found
mpg123: Can't rewind stream by 9 bits!
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
mpg123: Can't rewind stream by 33 bits!
Any help would be apreciated thankyou.
Last edited: