Page 1 of 2

Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 5:17 pm
by tcobb12
For some reason I cant get the server to start for for either of these apps. They show up under servers as stopped and every time i click start it doesn't do anything. I was wondering if i was doing something wrong here.

Thanks for your Help..

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 5:39 pm
by bigfoot65
Not sure what the issue might be. Are you sure they are not running, but the dashboard is reporting incorrectly?

To check from the command line, open terminal do the following:

Code: Select all

sudo service monitorix status sudo service openvpn status
To start them manually, do the following:

Code: Select all

sudo service montitorix start sudo service openvpn start

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:10 pm
by tcobb12
When i try to start Monitorix i get this
tyler@Amahi:~$ sudo service monitorix status
Usage: /etc/init.d/monitorix {start|stop|restart|force-reload}
tyler@Amahi:~$ sudo service monitorix start
Can't locate RRDs.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/bin/monitorix line 27.
BEGIN failed--compilation aborted at /usr/bin/monitorix line 27.


This when i try openvpn
tyler@Amahi:~$ sudo service openvpn status
openvpn: unrecognized service

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:18 pm
by bigfoot65
Appears you have some bad app installs. Recommend you check /var/log/amahi-app-installer.log for errors. Might want to uninstall and reinstall the apps.

Do you have a slow internet connection? Sometimes that causes issues with apps.

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:21 pm
by tcobb12
could be the internet is not the best atm.. My wimax antenna got damaged last week by a storm and i am having to use a verizon 3g card.. that could be my problem.. will try to uninstall and re-install... Will keep ya up to date.. Thanks

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:24 pm
by bigfoot65
That could be it. Please check the app install log for errors before uninstalling and reinstalling. Would like to see what is reported.

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:35 pm
by tcobb12
here is the log for openVPN
Installing app id wzjcdmbnqp under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/a75f387e53f84b01e0a7a326c760c1740f5fad48 written in cache
cannot open '/etc/openvpn/openvpn.conf' for writing at /usr/bin/hda-install-file line 119.
openvpn: unrecognized service
App: OpenVPN installed
======= app install end @ Sun Jul 15 22:58:15 -0400 2012 ==========
======= app uninstall begin @ Sun Jul 15 23:03:22 -0400 2012 ==========
Uninstalling app id wzjcdmbnqp under /var/hda/platform/html ENV=production
App: OpenVPN uninstalled
======= app uninstall end @ Sun Jul 15 23:03:25 -0400 2012 ==========
======= app install begin @ Sun Jul 15 23:08:03 -0400 2012

Re: Open VPN and Monitorix Problem

Posted: Tue Jul 17, 2012 6:38 pm
by bigfoot65
Odd error message, but it does show the app install did not complete successfully. Is everything else working besides these two apps?

Re: Open VPN and Monitorix Problem

Posted: Wed Jul 18, 2012 3:03 pm
by tcobb12
yeah... These are the only two apps that don't seem to work except for the install of DLNA but thats a different issue..

Re: Open VPN and Monitorix Problem

Posted: Wed Jul 18, 2012 3:19 pm
by tcobb12
Scratch that last post DLNA installed but it won't start either... Here is the code I get from it

======= app install begin @ Wed Jul 18 18:14:30 -0400 2012 ==========
Installing app id ogiaus92x5 under /var/hda/platform/html ENV=production
minidlna: unrecognized service
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:1090:in `save_without_dirty!': Validation failed: Identifier has already been taken (ActiveRecord::RecordInvalid)
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/dirty.rb:87:in `save_without_transactions!'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in `save!'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:182:in `transaction'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in `save!'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
from /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in `save!'
from /var/hda/platform/html/script/../app/models/app.rb:267:in `install_bg'
from /var/hda/platform/html/script/install-app:96:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:117:in `main'
from /var/hda/platform/html/script/install-app:129