[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check transmission port
From: |
Brian Cook |
Subject: |
Re: Check transmission port |
Date: |
Tue, 15 Jan 2013 08:04:55 -0500 |
CentOS machine @home..
grep pid /etc/init.d/transmission-daemon
# pidfile: /var/run/transmission-daemon.pid
address@hidden [/var/lib/transmission]# 11 > ls -al
/var/run/transmission-daemon.pid
-rw-r--r-- 1 root root 12 Jan 2 22:22 /var/run/transmission-daemon.pid
address@hidden [/var/lib/transmission]# 12 > cat
/var/run/transmission-daemon.pid
28765 28749
rpm -qa | grep transmission
transmission-common-2.71-1geekery.x86_64
transmission-daemon-2.71-1geekery.x86_64
transmission-cli-2.71-1geekery.x86_64
transmission-2.71-1geekery.x86_64
looks like two pids.. possibly one for the GUI/Webif and the daemon..
Nothing in the settings.json regarding the pid..
On Tue, Jan 15, 2013 at 7:53 AM, Josu Lazkano <address@hidden> wrote:
> Hello list,
>
> I have Monit installed on my Debian server. I have lots of service
> monitorized by PID and all of them works great.
>
> But I have problem with transmission-daemon, there is no PID file, but
> I can check if the service is working just making a telnet to the
> service.
>
> When the service is wrong, this is what happens:
>
> # telnet localhost 9091
> Trying ::1...
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
>
> And this is when the service is working:
>
> # telnet localhost 9091
> Trying ::1...
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
>
> When the service is wrong, I just restart the service and it works great.
>
> How could I configure the transmission configuration?
>
> Thanks and best regards.
>
>
>
> --
> Josu Lazkano
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general