From: Darryl V. <da...@va...> - 2008-02-05 02:10:15
|
Looks like a permissions problem on the "port" that the web server is attempting to bind to. I believe that most unix-ish os's restrict access to ports under 1024. By default I understood misterhouse to fire up on port 8080. I believe the option somewhere in the ini files is "http_port" >From the install document: "Note, the port number is controllable via mh.ini http_port parm. If you do not have any other web server running, you may want to change it from the default of 8080 to 80 so that you can use a simpler address of http://localhost ." On Feb 4, 2008 5:57 PM, Peter <pw...@gl...> wrote: > Greetings all: > > Thanks to those on this list that helped me get back in the air with > MH. I am slooowly getting up to speed on all that is needed to get MH > up and running according to my dreams. > > I will repeat some background info from prev. post. > > I followed http://misterhouse.wikispaces.com/MisterhouseOnUbuntu with > some success. I am intending to use OWFS-perl or some other variant to > access a 1-wire net pretty much according to these > instructions: > http://tomasz.korwel.net/2006/07/02/owfs-instalation-on-ubuntu-606/. > I have intalled this also an am only having problems getting the package > to run on startup. Also, I am really not very swift with Linux and am a > klutz on the command line so I have tried to use some form of gui to > administer the server. The only solution I have found is Webmin which is > adequate for a lot of things though not all. > > Attached is the output of MH startup. I did have web pages working a > month ago but I ran out of time while trying to tweak / learn and shut > system down. My problem is, now, I start the system back up and I have > problems! I don't remember doing anything to inhibit / conflict / or > interfere with MH serving up web pages when I quit, nor do I recall > having to do anything (other than to specify the IP address). My memory > may be imperfect on this however. At any rate, you can see that I need > to do something to tell the os to let MS respond to http connections. > Can anyone point me in the right direction? > > Also, as long as I don't provide an IP address, MH will run, generating > a sound on startup, festival generates announcements and (I think) x-10 > interface works. > > Thanks for taking the time to read, > > Peter > > > sh-3.1$ /opt/misterhouse/mh/bin/mh > > Command: mh > Pgm path : /opt/misterhouse/mh/bin > Pgm version: mh 2.104 Last updated: Fri Aug 31 10:32:53 2007 > Perl version: 5.008007 > OS version: linux linux > Other : user=mh pid=13465 box= 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 > /opt/misterhouse/mh.private.ini > Code Directories: > - /opt/misterhouse/code > - ./../code/common > Loading other modules > Starting setup > - using simple Text distance function > - reading previous log files > - archiving previous /opt/misterhouse/data/logs/*.log files .... > - creating festival TTS socket on localhost:1314 > - read 5 trigger entries > - creating http on tcp 192.168.1.51 80 buffered > Couldn't start a tcp server on http 80: IO::Socket::INET: Permission > denied > To get mh to run, blank out or change the http_port in mh.ini > sh-3.1$ /opt/misterhouse/mh/bin/mh > > Command: mh > Pgm path : /opt/misterhouse/mh/bin > Pgm version: mh 2.104 Last updated: Fri Aug 31 10:32:53 2007 > Perl version: 5.008007 > OS version: linux linux > Other : user=mh pid=13471 box= 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 > /opt/misterhouse/mh.private.ini > Code Directories: > - /opt/misterhouse/code > - ./../code/common > Loading other modules > Starting setup > - using simple Text distance function > - reading previous log files > - archiving previous /opt/misterhouse/data/logs/*.log files .... > - creating festival TTS socket on localhost:1314 > - read 5 trigger entries > - creating http on tcp 192.168.1.51 81 buffered > Couldn't start a tcp server on http 81: IO::Socket::INET: Permission > denied > To get mh to run, blank out or change the http_port in mh.ini > sh-3.1$ 02/04/08 05:00:30 PM Light set to off > Exiting > 02/04/08 05:00:30 PM: Saving object states ... done > Bye Bye > sh-3.1$ /opt/misterhouse/mh/bin/mhsh-3.1$ /etc/init.d/mh startsh-3.1$export mh_parms=/opt/misterhouse/mh.private.ini > sh-3.1$ export mh_parms=/opt/misterhouse/mh.private.inish-3.1$/opt/misterhouse/mh/bin/mh > > Command: mh > Pgm path : /opt/misterhouse/mh/bin > Pgm version: mh 2.104 Last updated: Fri Aug 31 10:32:53 2007 > Perl version: 5.008007 > OS version: linux linux > Other : user=mh pid=4072 box= 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 > /opt/misterhouse/mh.private.ini > Code Directories: > - /opt/misterhouse/code > - ./../code/common > Loading other modules > Starting setup > - using simple Text distance function > - reading previous log files > - archiving previous /opt/misterhouse/data/logs/*.log files .... > - creating festival TTS socket on localhost:1314 > - read 5 trigger entries > - creating http on tcp 192.168.1.51 80 buffered > Couldn't start a tcp server on http 80: IO::Socket::INET: Permission > denied > To get mh to run, blank out or change the http_port in mh.ini > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > > |