Error starting heyu from frontend v2.12

454 views
Skip to first unread message

den

unread,
Dec 29, 2012, 11:39:09 AM12/29/12
to domusli...@googlegroups.com
I have heyu 2.11-rc1 installed on Fedora 17. Heyu runs just fine from a CL but the frontend has a few problems. The first is, no matter how I configure the html path, the files have to be in the root directory in order to work. he second is that when I try to start heyu, I get an error message "SPOOL directory /var/tmp/heyu does not exist". The directory does exist and is writable. Any thoughts would be appreciated.
Thanks,   Denis

Brad

unread,
Dec 29, 2012, 5:23:52 PM12/29/12
to domusli...@googlegroups.com
Since most of the testing is on Ubuntu, there may be a few differences in access rights from the owner that runs apache on Fedora. Some of the instructions from the domus.link website may give some insights, http://domus.link.co.pt/documentation/install-domus-link-first-time/, as it looks like the web server owner does not have access even to /var/tmp/heyu.

Brad

Brad

unread,
Jan 20, 2013, 3:36:55 PM1/20/13
to domusli...@googlegroups.com
WIll take a look why a dash ("-") was inserted.

Brad

On Sunday, January 20, 2013 12:45:14 AM UTC-6, jose salazar wrote:
Hello Brad,

I installed Heyu 2.11-rc1 as well and domus.Link version 2.1.2 with apache2 in Ubunty Studio release 12 64 bit.
And everything was working correctly.
I went into the utilities and edit the config.php settings via the web page, and it erased the file contents. 

I entered the setting manually but I can not longer get it to work. 

I'm getting the following error:

after I enter the password:

Exec: heyu start
Invalid parameter '-'

The apache2 error.log shows:

[Sat Jan 19 23:19:00 2013] [error] [client 127.0.0.1] domus.Link: Command execution error. [/usr/local/bin/heyu - start], referer: http://localhost/domus.Link/index.php

and my config.php contentes are as follows:

<?php 
#
# domus.Link (Heyu Frontend) Configuration File
#

# ------------------
# Computer Interface
# ------------------
# Here one can set which type of computer interface
# is in use, either a CM11A or a CM17A
$config['pc_interface'] = 'CM17A';

# --------------
# File locations
# --------------

# Heyu base use - This switch forces domus.Link to pass explicit
# path directive using -c to heyu on execution based on the heyu_base
# setting when set to "YES". If set to "NO", domus.Link will default its
# heyu_base path and x10config file settings to "/etc/heyu" and 
# "x10.conf" respectively.
$config['heyu_base_use'] = 'NO';

# Heyu base directory - This directory is where Heyu
# searches for it's configuration files, and stores
# state information
$config['heyu_base'] = '';

# Heyu subdirectory configuration - This controls where
# domus.Link uses the config and scehdule files for the controller
# or multiple configs
$config['heyu_subdir'] = '';
 
# heyuconf file - This file is typically named
# x10.conf and usually located in /etc/heyu for
# system wide use
$config['heyuconf'] = 'x10.conf';

# heyuexec setting - This setting specifies the
# location of the Heyu exectuable file. Typically
# this will be in /usr/local/bin/
$config['heyuexec'] = '/usr/local/bin/heyu';

# -----------------
# Security Setting
# -----------------

# This setting controls whether security is used
# at all for domus.Link
# WARNING!!!! Setting this to off will make your domus.Link
# and heyu setup vulnerable to hackers. Do not change unless
# you are sure your system cannot be accessed externally!!!!
$config['use_domus_security'] = 'Y';

# -----------------
# HVAC Settings for RCS usage
# -----------------


# RCS thermostats use a complete house code.
# This value specifies which house code to use
$config['hvac_house_code'] = '';

# -----------------
# Frontend Settings
# -----------------

# Language - Define the language for the frontend here.
# If left blank browsers preferred language will be used.
# In case a language is not found it will default to English
# Options: Dutch, French, English
$config['lang'] = 'English';

# Url Path - This setting defines the URL path of the frontend.
# For example if you are running domus.Link in a sub folder
# say http://your-host/domuslink, then you should define the
# url path as /domuslink. Leave blank if your are running
# domus.Link at the root ie http://your-host/
$config['url_path'] = '/domus.Link';

# Theme - Web GUI's Theme
$config['theme'] = 'default';

# Theme  View - default view as grouped or types
$config['themeview'] = 'typed';

# Mobile Theme - select mobile autodetect theme
$config['thememobile'] = 'mobileWebKit';

# Mobile Select - A list of strings to search aginst the http_user_agent to
# set the mobile theme automatically. This is a comma separated list. The search
# will be case insensitive.
$config['mobileselect'] = 'iPhone,iPad,Android';

# Images - Select ON or OFF if you want images to be displayed
# in the menu bar instead of text.
$config['imgs'] = 'ON';

# Codes - Select ON or OFF if you want codes to be displayed
# in the buttons.
$config['codes'] = 'ON';

# Refresh - This setting defines the amount of time between page
# refreshes. The page being refreshed is the main page where modules
# are displayed. Leave empty to disable this feature.
$config['refresh'] = '';
?>

the error is pointing to the index.php which I have not changed. Do you have any idea what could be causing this error?

Thanks in advance.

Jose

jose salazar

unread,
Jan 20, 2013, 7:53:41 PM1/20/13
to domusli...@googlegroups.com
I appreciated.  By the way I wanted to let you and the team that work in this project, that it is an excellent product.  I also would like to offer assistant with testing if required once I have the system up.  

Thanks again 

Brad

unread,
Jan 27, 2013, 12:17:46 PM1/27/13
to domusli...@googlegroups.com
Ahh, I see what's wrong in your config.php now.

The following is what you have:

# Heyu base use - This switch forces domus.Link to pass explicit
# path directive using -c to heyu on execution based on the heyu_base
# setting when set to "YES". If set to "NO", domus.Link will default its
# heyu_base path and x10config file settings to "/etc/heyu" and 
# "x10.conf" respectively.
$config['heyu_base_use'] = 'NO';

# Heyu base directory - This directory is where Heyu
# searches for it's configuration files, and stores
# state information
$config['heyu_base'] = '';

# Heyu subdirectory configuration - This controls where
# domus.Link uses the config and scehdule files for the controller
# or multiple configs
$config['heyu_subdir'] = '';

and should read as such (if heyu config files are in /etc/heyu):


# Heyu base use - This switch forces domus.Link to pass explicit
# path directive using -c to heyu on execution based on the heyu_base
# setting when set to "YES". If set to "NO", domus.Link will default its
# heyu_base path and x10config file settings to "/etc/heyu" and 
# "x10.conf" respectively.
$config['heyu_base_use'] = 'NO';

# Heyu base directory - This directory is where Heyu
# searches for it's configuration files, and stores
# state information
$config['heyu_base'] = '/etc/heyu/';

# Heyu subdirectory configuration - This controls where
# domus.Link uses the config and scehdule files for the controller
# or multiple configs
$config['heyu_subdir'] = 'default';

Brad

jose salazar

unread,
Feb 25, 2013, 12:53:56 PM2/25/13
to domusli...@googlegroups.com
Thank you Brad, I appreciated. I reinstalled and everything worked perfectly.

--
You received this message because you are subscribed to the Google Groups "domuslink-users" group.
To post to this group, send an email to domusli...@googlegroups.com.
To unsubscribe from this group, send email to domuslink-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages