LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2013, 04:02 AM   #1
alejandrovk
LQ Newbie
 
Registered: Oct 2013
Posts: 4

Rep: Reputation: Disabled
Having troubles rebooting amuleweb with monit...


Hi there!

I'm trying to setup monit to start amuleweb each time it goes down...something that happens quite often I'm afraid. I already have a monit rule for amule-daemon that works really fine, but the one for amuleweb does not...

Here is my section in monit related to amuleweb

check process amuleweb
matching "amuleweb"
start program = "/usr/bin/amuleweb"
stop program = "/usr/bin/amuleweb"

The path is correct and monit is running, but it does not start amuleweb when it goes down...I've tought in creating a simple python or bash script to do this...but it seems overkill having monit...

Any ideas?

Thank you! Having troubles rebooting amuleweb with monit...
 
Old 10-10-2013, 11:14 PM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,149

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
anything on the log file to give a hint?

/var/log/amuleweb.log
 
Old 10-11-2013, 03:23 AM   #3
alejandrovk
LQ Newbie
 
Registered: Oct 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi JJCR,

You mean the reason for amuleweb crashing? I will post it when I get back home
 
Old 10-11-2013, 09:40 AM   #4
alejandrovk
LQ Newbie
 
Registered: Oct 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi again,

There is no such file in /var/log.

Closes thing is a logfile in my home .aMule/logfile

Regards,
Alejandro
 
Old 10-12-2013, 01:55 AM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,149

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
what's in the logfile?

tail -f .aMule/logfile

any thing that can give a hint?
 
Old 10-12-2013, 04:17 AM   #6
alejandrovk
LQ Newbie
 
Registered: Oct 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey,

Nope, just the typical output from amule-daemon.

Anyway, my question was regarding monit config, not why amuleweb is crashing...
 
Old 10-13-2013, 10:00 PM   #7
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,149

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Question

Quote:
Originally Posted by alejandrovk View Post
Hey,

Nope, just the typical output from amule-daemon.

Anyway, my question was regarding monit config, not why amuleweb is crashing...
the reason I was looking for the log because there might be some logs that amuleweb will record prior to the crashing, so at least it will be a good start on how to troubleshoot.

if there is no logs recorded that can give you a hint, its very difficult to find the reason for the crashing of that application.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about monit circus78 Linux - Server 3 08-09-2013 09:33 AM
Failed connect monit-5.5-1 to M/monit 3.0_beta1 shams2222 Linux - Server 2 06-16-2013 01:06 PM
Monit grob115 Linux - Server 3 02-28-2010 06:53 AM
aMuleWeb problem pfrancav Ubuntu 0 04-19-2006 09:02 PM
amuleweb - restart after crash? jess1975 Linux - Software 0 03-16-2005 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration