Results 1 to 4 of 4
I have a server running Ubuntu 8.04 LTS. I have webmin 1.420 installed on port 10000 using SSL. It works for a while after I install it, but then after ...
- 07-24-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 3
Webmin stops working every few hours
I have a server running Ubuntu 8.04 LTS. I have webmin 1.420 installed on port 10000 using SSL. It works for a while after I install it, but then after a while (a few hours of idleness) or after a restart, webmin does not come up when I type in the server IP address:10000, the domain:10000 or localhost:10000. However, reinstalling webmin using the .deb package seems to fix the problem for a short period. However, I am going off to college soon and this problem needs to be fixed before I leave so that my brother doesn't loose his hair before he turns 18 from server stress...
Has anyone encountered this problem before? Any fixes?
- 07-26-2008 #2Linux Newbie
- Join Date
- Feb 2008
- Location
- Bangalore, India
- Posts
- 112
- Check if your webmin service is enable when your computer boots with the help of tool called
or tryCode:services-admin
- If answer is yes, try if there is any cron/script running at the same time when your application stops working.Code:update-rc.d
- check message/webmin logs. If you can please post those logs here.bigunix.blogspot.com
Registered Linux User: #476440
- 07-26-2008 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 3
Using services-admin showed my service list and webmin was not on it. update-rc.d wouldn't work (it's my first try), so I need to research the exact syntax before I go further on that.
The (partial) logs are as follows:
miniserv.log:
webmin.log:Code:192.168.1.102 - root [18/Jul/2008:21:00:02 -0500] "GET /right.cgi?open=system&open=status HTTP/1.1" 200 1515 192.168.1.102 - root [18/Jul/2008:21:00:03 -0500] "GET /favicon.ico HTTP/1.1" 200 2303 192.168.1.102 - root [18/Jul/2008:21:00:07 -0500] "GET /images/open.gif HTTP/1.1" 200 259 192.168.1.102 - root [18/Jul/2008:21:00:16 -0500] "GET /webalizer/ HTTP/1.1" 200 4816 192.168.1.102 - root [18/Jul/2008:21:00:16 -0500] "GET /webalizer/images/empty.gif HTTP/1.1" 200 64 192.168.1.102 - root [18/Jul/2008:21:00:29 -0500] "GET /webalizer/edit_global.cgi HTTP/1.1" 200 9178 192.168.1.102 - root [18/Jul/2008:21:00:29 -0500] "GET /images/left.gif HTTP/1.1" 200 635 192.168.1.102 - root [18/Jul/2008:21:03:15 -0500] "GET /config.cgi?webalizer HTTP/1.1" 200 3796 192.168.1.102 - root [18/Jul/2008:21:05:04 -0500] "GET /webalizer HTTP/1.1" 302 0 192.168.1.102 - root [18/Jul/2008:21:05:10 -0500] "GET /webalizer/ HTTP/1.1" 200 4816 192.168.1.102 - root [18/Jul/2008:21:05:16 -0500] "POST /webalizer/mass.cgi HTTP/1.1" 302 0 192.168.1.102 - root [18/Jul/2008:21:05:22 -0500] "GET /webalizer/ HTTP/1.1" 200 4807 192.168.1.102 - root [18/Jul/2008:21:05:27 -0500] "POST /webalizer/mass.cgi HTTP/1.1" 302 0 192.168.1.102 - root [18/Jul/2008:21:05:33 -0500] "GET /webalizer/ HTTP/1.1" 200 4816 192.168.1.102 - root [18/Jul/2008:21:05:44 -0500] "GET /webalizer/edit_log.cgi?file=%2Fvar%2Flog%2Fapache2%2Faccess%2Elog&type=1&custom=1 HTTP/1.1" 200 10957 192.168.1.102 - root [18/Jul/2008:21:06:10 -0500] "GET /webalizer/save_log.cgi?new=&oldfile=%2Fvar%2Flog%2Fapache2%2Faccess.log&file=%2Fvar%2Flog%2Fapache2%2Faccess.log&type=1&dir=%2Fhd2%2Fwww-root%2Fwebalizer&user=root&over=0&cmode=0&cfile=&sched=1&clear=0&special_def=1&special=hourly&all_mins=0&mins=0&all_hours=0&hours=0&all_days=1&all_months=1&all_weekdays=1&run=Generate+Report HTTP/1.1" 200 17330 192.168.1.102 - root [18/Jul/2008:21:06:40 -0500] "GET /webalizer/view_log.cgi/%252Fvar%252Flog%252Fapache2%252Faccess%252Elog/index.html HTTP/1.1" 200 10518 192.168.1.102 - root [18/Jul/2008:21:06:41 -0500] "GET /webalizer/view_log.cgi/%252Fvar%252Flog%252Fapache2%252Faccess%252Elog/usage.png HTTP/1.1" 200 2931 192.168.1.102 - root [18/Jul/2008:21:07:19 -0500] "GET /cron/ HTTP/1.1" 200 10048 192.168.1.102 - root [18/Jul/2008:21:07:19 -0500] "GET /images/movegap.gif HTTP/1.1" 200 73 192.168.1.102 - root [18/Jul/2008:21:10:51 -0500] "GET /cron/edit_cron.cgi?idx=8 HTTP/1.1" 200 10984 192.168.1.102 - root [18/Jul/2008:21:11:14 -0500] "GET /cron/save_cron.cgi?new=&idx=8&user=root&active=1&cmd=%2Fusr%2Fshare%2Fwebmin%2Fwebalizer%2Fwebalizer.pl+%2Fvar%2Flog%2Fapache2%2Faccess.log&input=&comment=&special_def=1&special=hourly&all_mins=0&all_hours=0&all_days=0&all_months=0&all_weekdays=0&range_def=1&range_start_day=&range_start_month=1&range_start_year=&range_end_day=&range_end_month=1&range_end_year= HTTP/1.1" 302 0 192.168.1.102 - root [18/Jul/2008:21:11:15 -0500] "GET /cron/ HTTP/1.1" 200 10054 192.168.1.102 - root [18/Jul/2008:21:11:20 -0500] "GET /cron/edit_cron.cgi?idx=8 HTTP/1.1" 200 10990 192.168.1.102 - root [18/Jul/2008:21:11:25 -0500] "GET /cron/exec_cron.cgi?idx=8 HTTP/1.1" 200 1491 192.168.1.102 - root [18/Jul/2008:21:11:57 -0500] "GET /cron/edit_cron.cgi?idx=8 HTTP/1.1" 200 10990 192.168.1.102 - root [18/Jul/2008:21:12:35 -0500] "GET /cron/exec_cron.cgi?idx=8 HTTP/1.1" 200 1406 76.229.152.52 - - [19/Jul/2008:09:29:36 -0500] "GET / HTTP/1.1" 401 1660 76.229.152.52 - - [19/Jul/2008:09:29:36 -0500] "GET /unauthenticated/blue-style.css HTTP/1.1" 200 2166 76.229.152.52 - - [19/Jul/2008:09:29:36 -0500] "GET /favicon.ico HTTP/1.1" 200 2303 76.229.152.52 - root [19/Jul/2008:09:29:40 -0500] "POST /session_login.cgi HTTP/1.1" 302 0 76.229.152.52 - root [19/Jul/2008:09:29:41 -0500] "GET / HTTP/1.1" 200 440 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/webmin-blue.png HTTP/1.1" 200 12465 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /blue-left.css HTTP/1.1" 200 539 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/closed.gif HTTP/1.1" 200 233 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /left.cgi HTTP/1.1" 200 13338 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/refresh-small.gif HTTP/1.1" 200 585 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/stock_quit.gif HTTP/1.1" 200 1084 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/gohome.gif HTTP/1.1" 200 391 76.229.152.52 - root [19/Jul/2008:09:29:42 -0500] "GET /images/logs.gif HTTP/1.1" 200 571 76.229.152.52 - root [19/Jul/2008:09:29:43 -0500] "GET /images/blue.gif HTTP/1.1" 200 168 76.229.152.52 - root [19/Jul/2008:09:29:43 -0500] "GET /images/red.gif HTTP/1.1" 200 159 76.229.152.52 - root [19/Jul/2008:09:29:44 -0500] "GET /right.cgi?open=system&open=status HTTP/1.1" 200 1517 76.229.152.52 - root [19/Jul/2008:09:29:51 -0500] "GET /images/open.gif HTTP/1.1" 200 259 76.229.152.52 - root [19/Jul/2008:09:29:55 -0500] "GET /cron/ HTTP/1.1" 200 10054 76.229.152.52 - root [19/Jul/2008:09:29:55 -0500] "GET /images/movegap.gif HTTP/1.1" 200 73 76.229.152.52 - root [19/Jul/2008:09:30:04 -0500] "POST /cron/delete_jobs.cgi HTTP/1.1" 302 0 76.229.152.52 - root [19/Jul/2008:09:30:05 -0500] "GET /cron/ HTTP/1.1" 200 9300
It seems as if the system doesn't realize that it is supposed to be running webmin and that something is wrong.Code:17/Jul/2008 21:02:32] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 cron delete_jobs.cgi "delete" "crons" "1" 1216346671.13309.0 [17/Jul/2008 21:04:31] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer save_log.cgi "create" "log" "/var/log/apache2/access.log" 1216346690.13322.0 [17/Jul/2008 21:04:50] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer mass.cgi "enable" "logs" "1" 1216346724.13350.0 [17/Jul/2008 21:05:24] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer save_log.cgi "generate" "log" "/var/log/apache2/access.log" 1216346780.13453.0 [17/Jul/2008 21:06:20] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer save_log.cgi "generate" "log" "/var/log/apache2/access.log" 1216383413.23346.0 [18/Jul/2008 07:16:53] root 393905b7a3b9b8775df66e09a66aea6a 12.21.92.206 shell index.cgi "run" "-" "-" cmd='apt-get --purge remove webalizer' 1216397488.27472.0 [18/Jul/2008 11:11:28] root 393905b7a3b9b8775df66e09a66aea6a 12.21.92.206 cron delete_jobs.cgi "disable" "crons" "1" 1216433116.4773.0 [18/Jul/2008 21:05:16] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer mass.cgi "disable" "logs" "1" 1216433127.4805.0 [18/Jul/2008 21:05:27] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer mass.cgi "enable" "logs" "1" 1216433170.4834.0 [18/Jul/2008 21:06:10] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 webalizer save_log.cgi "generate" "log" "/var/log/apache2/access.log" 1216433474.5108.0 [18/Jul/2008 21:11:14] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 cron save_cron.cgi "modify" "cron" "root" active='1' all_days='0' all_hours='0' all_mins='0' all_months='0' all_weekdays='0' cmd='/usr/share/webmin/webalizer/webalizer.pl /var/log/apache2/access.log' comment='' idx='8' input='' new='' range_def='1' range_end_day='' range_end_month='1' range_end_year='' range_start_day='' range_start_month='1' range_start_year='' special='hourly' special_def='1' user='root' 1216433485.5128.0 [18/Jul/2008 21:11:25] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 cron exec_cron.cgi "exec" "cron" "root" active='1' command='/usr/share/webmin/webalizer/webalizer.pl /var/log/apache2/access.log' file='/var/spool/cron/crontabs/root' index='8' line='3' special='hourly' type='0' user='root' 1216433555.5158.0 [18/Jul/2008 21:12:35] root 8c237d6c501aa84cb956591eac437bf9 192.168.1.102 cron exec_cron.cgi "exec" "cron" "root" active='1' command='/usr/share/webmin/webalizer/webalizer.pl /var/log/apache2/access.log' file='/var/spool/cron/crontabs/root' index='8' line='3' special='hourly' type='0' user='root' 1216477804.17706.0 [19/Jul/2008 09:30:04] root 7e2dc8c517fe8980153fa5ed83fa7d2b 76.229.152.52 cron delete_jobs.cgi "delete" "crons" "1"
- 07-29-2008 #4Linux Newbie
- Join Date
- Feb 2008
- Location
- Bangalore, India
- Posts
- 112
/usr/share/webmin/webalizer/webalizer.pl /var/log/apache2/access.log' file='/var/spool/cron/crontabs/root'
check what is there in /var/spool/cron/crontabs/root and whats it does ?bigunix.blogspot.com
Registered Linux User: #476440


Reply With Quote
