Knowing that 0.4.3 is out, I need to test this on that platform, however...
I have found that if I reboot the system with the /etc/init.d/mini_httpd as a stock 0.4.2, it will not load. If I place the init function into the start switch, it boots all the time. So now the question is why init is not running.... -----Original Message----- From: Kristian Kielhofner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 3:17 PM To: Discussion of AstLinux - Asterisk on Compact Flash Subject: Re: [Astlinux-users] mini-httpd Tony Plack wrote: > I just reviewed the trunk files and believe there is a problem with > 4.2 and mini_httpd. This may have been covered before. > > I would post this on the bug area of sourceforge but not sure of the > procedures right now. > > The init.d script should create the /tmp/etc/mini_httpd.conf and > /tmp/etc/mini_httpd-http.conf files. I believe that there should be > some look to see if they exist on the keydisk but I did not > troubleshoot that part. > > What is happening on my system is that mini_httpd is not starting > because the file does not exist. > > In order to get it to run, you must run > /etc/init.d/mini_httpd init > to get the system running. > > The problem seems to be that either > A. we need to have a config in the /stat/etc directory and copy it to > /tmp/etc (which means modifying /etc/init.d/mini_httpd as well to > check for this file) B. we need to have init fire during > /etc/init.d/mini_httpd start > > > /etc/init.d/mini_httpd init is not documented in the script at this > time, not sure it should be but .... > > OR > Someone please set me straight > Tony, If you define HTTPDIR in rc.conf, the mini_httpd init script will create a mini_httpd-http.conf config file for you (when called with init - which is what happens during startup). When start is called, it checks for the presence of that file and then starts mini_httpd (HTTP only) mode. Are you defining HTTPDIR? -- Kristian Kielhofner _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED] _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
