CLOSED: Amahi Energy Saver

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Amahi Energy Saver

Postby jayrock » Fri May 27, 2011 11:21 pm

Hi hypertense,

thanks for the nice feedback.

To your problem. Seems that this time there are multiple problems with the install file :shock: Let's try to figure out what's going on.

(i) Are you running as root?
(ii) Which version did you install?
(iii) Please go to the directory where you extracted the downloaded file, run

Code: Select all

ls -lR | fpaste
and post the result

Thanks,

jayrock

hypertense
Posts: 51
Joined: Thu Jan 27, 2011 3:53 pm

Re: Amahi Energy Saver

Postby hypertense » Sat May 28, 2011 12:07 pm

Hello jayrock.

Answers to your questions are:

(i) Installed as root
(ii) Installed this version : Amahi-Energy-Saver-0.8.2-0-gf384bdc.tar.gz
(iii) fpaste results attached

I hope this helps.

hypertense
Attachments
Fpaste.pdf
(28.44 KiB) Downloaded 341 times

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Amahi Energy Saver

Postby jayrock » Sat May 28, 2011 3:46 pm

Hi hypertense,

can you please try to run the installer from its directory instead, ie.

Code: Select all

cd installfiles ./aes-install.sh
Cheers,
jayrock

hypertense
Posts: 51
Joined: Thu Jan 27, 2011 3:53 pm

Re: Amahi Energy Saver

Postby hypertense » Sun May 29, 2011 12:13 am

Hello jayrock

Works fine now. I should have tried that myself. Sorry to have bothered you.

hypertense

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Amahi Energy Saver

Postby jayrock » Sun May 29, 2011 12:20 am

Thanks hypertense!

/jayrock

paurey
Posts: 25
Joined: Mon Apr 18, 2011 12:50 pm

Re: Amahi Energy Saver

Postby paurey » Sun May 29, 2011 10:57 am

Hi jayrock,

tired to install new version as per instructions. Got the following messages:

Code: Select all

Installing amahienergysaver Stopping Amahi-Energy-Saverkill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] [ OK ] gem "ri_cal" is already installed. skipped. Existing AES installation detected Migrating Amahi Energy Saver config file.... Finished Existing AES-app installation detected cp: cannot stat `aes-app-daemon.sh': No such file or directory chmod: cannot access `/etc/init.d/aes-app': No such file or directory error reading information on service aes-app: Bad file descriptor Done
Started AES service manually, worked.

Webapp canot be opened.
Hi there,

I have similar problem. I installed yesterday follwoing instructions but cannot access webapp through http://hda:6500

Does it need to be installed from a specific folder maybe?

Thanks

karlbonde
Posts: 3
Joined: Sun May 29, 2011 10:56 am

Re: Amahi Energy Saver

Postby karlbonde » Sun May 29, 2011 11:07 am

Hi Jayrock. I'm seem to be having some similar issues as well. It looks like I've successfully installed the program, but when I go to http://hda:6500 the webpage is entitled
NoMethodError in ConfigurationsController#index
and lists the following:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:1994:in `method_missing'
/usr/share/aes-app/app/models/monitoredhost.rb:68:in `load_monitored_hosts'
/usr/share/aes-app/app/models/monitoredhost.rb:37:in `monitoredhosts'
/usr/share/aes-app/app/controllers/configurations_controller.rb:60:in `index'
In addition, I can tell the program is working because the machine shuts down after five minutes. I'm attaching an fpaste as well. Any ideas?

Thanks!
Attachments
Fpaste.txt
(795 Bytes) Downloaded 332 times

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Amahi Energy Saver

Postby jayrock » Sun May 29, 2011 11:34 am

Hello paurey,
hello karlbonde,

did you install the latest version 0.8.2?

Do you execute the installation as root?

There is a bug with the install command as I orignially posted it. Instead of

Code: Select all

installfiles/aes-install
please type

Code: Select all

cd installfiles ./aes-install

karlbonde
Posts: 3
Joined: Sun May 29, 2011 10:56 am

Re: Amahi Energy Saver

Postby karlbonde » Sun May 29, 2011 1:25 pm

Hi Jayrock. Yes, I did the installation as root, I used version 0.8.2, and I used the following install command:

Code: Select all

cd installfiles ./aes-install.sh

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Amahi Energy Saver

Postby jayrock » Sun May 29, 2011 1:45 pm

Hello karlbonde,

this is a bug indeed. Do you have a little Linux knowledge? Start gedit and load /usr/share/aes-app/app/models/monitoredhost.rb and go to line 68, which currently reads

Code: Select all

put'aes-monitoredhosts does not exist'
Change this line to

Code: Select all

puts 'aes-monitoredhosts does not exist'
Let me know if this fixes the problem.

Cheers

jayrock

Who is online

Users browsing this forum: No registered users and 4 guests