So ich denke das bringt jetzt etwas Licht ins Dunkel:
Das passiert wenn ich mh starte mit ./mh
Code:
linux-e9vq:/usr/share/misterhouse/mh/bin # ./mh
Command: mh
Pgm path : .
Pgm version: mh 2.105 Last updated: Mon Oct 13 18:51:50 2008
Perl version: 5.010000
OS version: linux linux
Other : user=puma8080 pid=9671 box=linux-e9vq cpu=-
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Read parameter files: ./mh.ini ./mh.private.ini
********************************************************************************
Warning, you should create your own code directory outside of the main
distribution directory and point code_dir to it. Otherwise, you may lose
your customizations on upgrades.
********************************************************************************
********************************************************************************
Warning, you should create your own data directory outside of the main
distribution directory and point data_dir to it. Otherwise, you may lose
your customizations on upgrades. The best way to accomplish this is to copy
the entire contents of the standard data directory into a new directory.
********************************************************************************
Code Directories:
- ./../code/test
- ./../code/common
Device::Serial could not find ioctl definitions!
Audio::Mixer not installed ... volume control is disabled
Error in use GD: Can't locate GD.pm in @INC (@INC contains: ./../code/test ./../code/common ./../lib ./../lib/site . /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at (eval 261) line 2.
BEGIN failed--compilation aborted at (eval 261) line 2.
To disable this error, set mh.ini parm gd=0
Loading Tk modules Version
Error, perl Tk module is not installed.
Tk windows will be disabled with the -tk 0 option. Error:Can't locate Tk.pm in @INC (@INC contains: ./../code/test ./../code/common ./../lib ./../lib/site . /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at (eval 262) line 2.
BEGIN failed--compilation aborted at (eval 262) line 2.
Loading other modules
Starting setup
- using simple Text distance function
- reading previous log files
- archiving previous ./../data/logs/*.log files ....
- read 1 trigger entries
- creating http on tcp 8080 buffered
- creating server mhsend on tcp 8084 buffered
- creating server telnet on tcp 1234 raw
- creating xap_send on udp 3639 send
- creating xap_hub_listen on udp 3639 listen
- mh in xAP Hub mode
- creating xap_listen_core on udp 49152 listen
- creating xap_send_49152 on udp 49152 send
- creating xpl_send on udp 3865 send
- creating xpl_listen on udp 49153 listen
- creating xpl_hub_listen on udp 3865 listen
- mh in xPL Hub mode
- creating xpl_send_49153 on udp 49153 send
- process id 9671 written to ./../data/mh.pid
- external command file (xcmd_file): ./../house_cmd.txt
- HTML file : ./../web/ia5/index.shtml
Warning: password_file ./../data/.password not found. Run mh/bin/set_password
Done with setup
07/28/09 06:25:21 PM Reading mh.private.ini and mh.ini
html_alias alias /rrd dir does not exist, dir=./../data/rrd
Voice names: Microsoft Mary, Microsoft Mike, Microsoft Sam
Read 4 entries from ./../data/pronouncable_words.list
07/28/09 06:25:21 PM Reading 1 .mht table files: test.mht
07/28/09 06:25:21 PM Translating test.mht -> ./../code/test/test.mhp
07/28/09 06:25:21 PM Initialized read_table_A.pl
Reading code_dirs: ./../code/test ./../code/common
07/28/09 06:25:21 PM Reading 17 code files
07/28/09 06:25:21 PM Evaluating user code
Warning: Dummy_Interface #0: Creating dummy interface for id=A1, state= and interface=.
Warning: Dummy_Interface #1: Creating dummy interface for id=B1, state= and interface=.
Warning: Dummy_Interface #2: Creating dummy interface for id=B2, state= and interface=.
Warning: Dummy_Interface #3: Creating dummy interface for id=C1, state= and interface=.
Warning: Dummy_Interface #4: Creating dummy interface for id=C1, state= and interface=.
Warning: Dummy_Interface #5: Creating dummy interface for id=D1, state= and interface=.
Warning: Dummy_Interface #6: Creating dummy interface for id=D2, state= and interface=.
Good code saved
running: play ./../sounds/sound_click1.wav
sh: play: command not found
Restoring object states
Object states restored
Activating voice commands
Starting monitor commands loop
Latitude: 44.0817, Longitude: -92.5038, Time Zone: -6
sunrise=5:53 AM sunset=8:39 PM
sunrise twilight=5:20 AM sunset twilight=9:13 PM
The moon is Half Waxing, 48% bright, and 7 days old
The next full moon is on Friday, September 4th
07/28/09 06:25:22 PM Rereading .menu code files.
Display call with tk disabled (-tk 0). Text=MisterHouse restarted unexpectedly! 0
07/28/09 06:25:22 PM Organizer: Calendar matches target schema and does not require upgrading
07/28/09 06:25:22 PM Organizer: Todo matches target schema and does not require upgrading
07/28/09 06:25:22 PM Organizer: Reading updated organizer calendar file now
07/28/09 06:25:22 PM Evaluating code organizer_events
07/28/09 06:25:22 PM Organizer: Reading updated organizer todo file
07/28/09 06:25:22 PM Evaluating code organizer_tasks
Warning: Dummy_Interface #1: trying to set state on
07/28/09 06:25:30 PM Light set to on
07/28/09 06:26:00 PM: Saving object states ... done
Warning: Dummy_Interface #1: trying to set state off
07/28/09 06:26:00 PM Light set to off
Warning: Dummy_Interface #1: trying to set state on
07/28/09 06:26:30 PM Light set to on
und das steht in der print.log
Code:
07/28/09 06:25:21 PM ---------- Restart ----------
07/28/09 06:25:21 PM Reading mh.private.ini and mh.ini
07/28/09 06:25:21 PM Reading 1 .mht table files: test.mht
07/28/09 06:25:21 PM Translating test.mht -> ./../code/test/test.mhp
07/28/09 06:25:21 PM Initialized read_table_A.pl
07/28/09 06:25:21 PM Reading 17 code files
07/28/09 06:25:21 PM Evaluating user code
07/28/09 06:25:22 PM Rereading .menu code files.
07/28/09 06:25:22 PM Organizer: Calendar matches target schema and does not require upgrading
07/28/09 06:25:22 PM Organizer: Todo matches target schema and does not require upgrading
07/28/09 06:25:22 PM Organizer: Reading updated organizer calendar file now
07/28/09 06:25:22 PM Evaluating code organizer_events
07/28/09 06:25:22 PM Organizer: Reading updated organizer todo file
07/28/09 06:25:22 PM Evaluating code organizer_tasks
07/28/09 06:25:30 PM Light set to on
07/28/09 06:26:00 PM Light set to off
07/28/09 06:26:30 PM Light set to on
07/28/09 06:27:00 PM Light set to off
07/28/09 06:27:30 PM Light set to on
07/28/09 06:28:00 PM Light set to off
07/28/09 06:28:30 PM Light set to on
07/28/09 06:29:00 PM Light set to off
07/28/09 06:29:30 PM Light set to on
07/28/09 06:30:00 PM Light set to off
07/28/09 06:30:30 PM Light set to on
07/28/09 06:31:00 PM Light set to off
07/28/09 06:31:30 PM Light set to on
07/28/09 06:32:00 PM Light set to off
07/28/09 06:32:30 PM Light set to on
07/28/09 06:33:00 PM Light set to off
07/28/09 06:33:30 PM Light set to on
07/28/09 06:34:00 PM Light set to off
07/28/09 06:34:30 PM Light set to on
07/28/09 06:35:00 PM Light set to off
07/28/09 06:35:30 PM Light set to on
07/28/09 06:36:00 PM Light set to off
07/28/09 06:36:30 PM Light set to on
Die Rechte habe ich auch überprüft. Es darf jeder Benutzer und jeder Gruppe alles mit der Datei machen. Was eigentlich nichts ausmachen dürfte da ich mh als root installiert habe und auch als root starte. oder?
Soweit ich das erkennen kann liest der meine .mht datei aus meinem code verzeichnis nicht weil die ist nicht aufgelistet! Da müsste doch jetzt meine code/private auch aufgezeigt sein, oder?
Code:
Code Directories:
- ./../code/test
- ./../code/common
Zur Sicherheit hier mal der Auszug aus meiner mh.private.ini ich hoffe das ist dort richtig eingetragen:
Code:
@ Point to the directory that has the user code files in it
@ Notes:
@ - $Pgm_Root is the directory that mh is installed in (e.g. x:\misterhouse\mh)
@ - code_dir_common points files that would likely be common to all mh uses.
@ - code_dir can be a comma delimited set of paths.
code_dir = /usr/share/misterhouse/code/private
code_dir_common = $Pgm_Root/code/common
Lesezeichen