Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page Webmin stops working every few hours
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 4 Weeks Ago   #1 (permalink)
Los Frijoles
Just Joined!
 
Join Date: Jul 2008
Posts: 2
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?
Los Frijoles is offline   Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
ynilesh
Linux Newbie
 
Join Date: Feb 2008
Location: Bangalore, India
Posts: 112
Send a message via Yahoo to ynilesh
- Check if your webmin service is enable when your computer boots with the help of tool called
Code:
services-admin
or try
Code:
update-rc.d
- If answer is yes, try if there is any cron/script running at the same time when your application stops working.

- check message/webmin logs. If you can please post those logs here.
__________________
bigunix.blogspot.com
Registered Linux User: #476440
ynilesh is offline   Reply With Quote
Old 3 Weeks Ago   #3 (permalink)
Los Frijoles
Just Joined!
 
Join Date: Jul 2008
Posts: 2
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:
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
webmin.log:
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"
It seems as if the system doesn't realize that it is supposed to be running webmin and that something is wrong.
Los Frijoles is offline   Reply With Quote
Old 3 Weeks Ago   #4 (permalink)
ynilesh
Linux Newbie
 
Join Date: Feb 2008
Location: Bangalore, India
Posts: 112
Send a message via Yahoo to ynilesh
/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
ynilesh is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 09:40 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0