According to the amahi dashboard under servers my crashplan server and openvpn server have stopped.
But both are functioning, but in the log I see amahi keeps trying to start the crashplan service that is already started. see messages log below.
How do I convince amahi that there is nothing wrong? with crashplan and openvpn?
Dec 14 17:39:24 localhost smbd[869]: [2014/12/14 17:39:24.386972, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
Dec 14 17:39:24 localhost smbd[869]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Dec 14 17:40:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:41:36 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:41:54 localhost dnsmasq-dhcp[1166]: DHCPREQUEST(em1) 192.168.178.156 90:e6:ba:c9:e3:ce
Dec 14 17:41:54 localhost dnsmasq-dhcp[1166]: DHCPACK(em1) 192.168.178.156 90:e6:ba:c9:e3:ce mediacenter
Dec 14 17:43:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:44:36 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:46:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:47:36 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:49:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:50:36 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:50:39 localhost nmbd[715]: [2014/12/14 17:50:39.231473, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec 14 17:50:39 localhost nmbd[715]: find_domain_master_name_query_fail:
Dec 14 17:50:39 localhost nmbd[715]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec 14 17:50:39 localhost nmbd[715]: Unable to sync browse lists in this workgroup.
Dec 14 17:52:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:52:25 localhost smbd[1255]: [2014/12/14 17:52:25.009910, 0] ../source3/printing/print_cups.c:151(cups_connect)
Dec 14 17:52:25 localhost smbd[1255]: Unable to connect to CUPS server localhost:631 - Overdrachtseindpunt is niet verbonden
Dec 14 17:52:25 localhost smbd[869]: [2014/12/14 17:52:25.010663, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
Dec 14 17:52:25 localhost smbd[869]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Dec 14 17:53:36 localhost systemd[1]: Started LSB: CrashPlan Engine.
Dec 14 17:55:06 localhost systemd[1]: Started LSB: CrashPlan Engine.
amahi dashboard incorrect server status
Re: amahi dashboard incorrect server status
see what I mean in the picture below. (BTW zoneminder is switched off deliberately)
- Attachments
-
- amahi servers
- amahiservers.jpg (61.4 KiB) Viewed 3925 times
Re: amahi dashboard incorrect server status
Have you tried restarting the services via the dashboard? I have seen this behavior in the past and that usually corrects it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: amahi dashboard incorrect server status
restarting did work on the crashplan server, it's status is now "active" But the openvpn is still marked "stopped"
I have identical behaviour on a remote amahi server that I use for backup puposes. Also crashplan and openvpn server stopped, and restarting solves the problem for crashplan but not for openvpn. But the server is working normally.
I have identical behaviour on a remote amahi server that I use for backup puposes. Also crashplan and openvpn server stopped, and restarting solves the problem for crashplan but not for openvpn. But the server is working normally.
Re: amahi dashboard incorrect server status
Try this as root user:
Code: Select all
/usr/bin/systemctl restart openvpn@amahi.service
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: amahi dashboard incorrect server status
I did the restart as root, but according to the dashboard the server status is still "stopped"
The service is however functioning normally as openvpn test on the control panel at amahi.org works.
So only the status is wrong, the server is OK.
[ Post made via Android ]
The service is however functioning normally as openvpn test on the control panel at amahi.org works.
So only the status is wrong, the server is OK.
[ Post made via Android ]
Re: amahi dashboard incorrect server status
Ok. There are a few things to check. Do the following and post the results:
Also check the pid file:
You may need to stop the service, then restart it to get things aligned.
Code: Select all
cat /etc/monit.d/openvpn\@amahi.conf
Code: Select all
ls -al /var/run/openvpn/amahi.pid
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: amahi dashboard incorrect server status
Code: Select all
login as: root
root@hda's password:
Last login: Mon Dec 15 21:52:35 2014
[root@localhost ~]# cat /etc/monit.d/openvpn\@amahi.conf
# WARNING - This file was automatically generated on 2014-11-28 16:24:55 +0100
check process openvpn-amahi with pidfile "/var/run/openvpn/amahi.pid"
start program = "/usr/bin/systemctl start openvpn@amahi.service"
stop program = "/usr/bin/systemctl stop openvpn@amahi.service"
[root@localhost ~]# ls -al /var/run/openvpn/amahi.pid
-rw-r--r-- 1 root root 6 15 dec 21:53 /var/run/openvpn/amahi.pid
[root@localhost ~]# ^C
[root@localhost ~]#
Code: Select all
login as: root
root@hda's password:
Last login: Wed Dec 3 12:37:08 2014 from 192.168.178.219
[root@h113 ~]# cat /etc/monit.d/openvpn\@amahi.conf
# WARNING - This file was automatically generated on 2014-11-26 16:26:52 +0100
check process openvpn-amahi with pidfile "/var/run/openvpn/amahi.pid"
start program = "/usr/bin/systemctl start openvpn@amahi.service"
stop program = "/usr/bin/systemctl stop openvpn@amahi.service"
[root@h113 ~]# ls -al /var/run/openvpn/amahi.pid
-rw-r--r-- 1 root root 6 15 dec 00:43 /var/run/openvpn/amahi.pid
[root@h113 ~]#
Re: amahi dashboard incorrect server status
Everything appears as it should. Try this and post the results:
Code: Select all
echo "SELECT pidfile FROM servers WHERE name = 'OpenVPN'" | mysql -uroot -phda hda_production
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: amahi dashboard incorrect server status
Code: Select all
login as: willem
willem@hda's password:
Last login: Mon Dec 15 21:52:14 2014 from android-1eea0fa6ae9cb05b.amahi.net
[willem@localhost ~]$ echo "SELECT pidfile FROM servers WHERE name = 'OpenVPN'" | mysql -uroot -phda hda_production
[willem@localhost ~]$ su -
Wachtwoord:
[root@localhost ~]# echo "SELECT pidfile FROM servers WHERE name = 'OpenVPN'" | mysql -uroot -phda hda_production
[root@localhost ~]#
[root@localhost ~]#
Oh and BTW, many thanks for helping me out with this problem!
Who is online
Users browsing this forum: No registered users and 49 guests