<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">That's the ticket!  I can see my root page now.  How do I make it start this way each time I boot up the server without having to manually start it each time?  </SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thank you very much!<VAR id=yui-ie-cursor></VAR></SPAN></div>
<div style="RIGHT: auto"><BR style="RIGHT: auto"></div>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Arial size=2>
<DIV class=hr style="BORDER-RIGHT: #ccc 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ccc 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 0px; PADDING-BOTTOM: 0px; MARGIN: 5px 0px; BORDER-LEFT: #ccc 1px solid; LINE-HEIGHT: 0; PADDING-TOP: 0px; BORDER-BOTTOM: #ccc 1px solid; HEIGHT: 0px" readonly="true" contenteditable="false"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Charles Dunbar <ccdunbar@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Central Iowa Linux Users Group <cialug@cialug.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Sunday, October 2, 2011 7:37 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Cialug] thttpd<BR></FONT><BR>Hey Tom,<BR><BR>I just did a double check on my Ubuntu 10.10 box, hopefully it's<BR>similar enough to help you out.<BR><BR>After getting the package installed (sudo apt-get install thttpd), I<BR>noticed it didn't auto-start like it says it does in the
 tutorial<BR>you've linked.<BR><BR>Most programs usually have a script in /etc/init.d/(program name) that<BR>takes "start, stop, status, restart" as basic arguments, to see if the<BR>program is running, and to start/stop the program.  thttpd's script in<BR>/etc/init.d/ did absolutely nothing, printing no errors or anything,<BR>so I just ran the command by itself<BR><BR>thttpd does not seem to work as I'd expect, with a "start" command in<BR>the command, but trying it out reveled the arguments it could take:<BR><BR>$ sudo thttpd start<BR>usage:  thttpd [-C configfile] [-p port] [-d dir] [-r|-nor] [-dd<BR>data_dir] [-s|-nos] [-v|-nov] [-g|-nog] [-u user] [-c cgipat] [-t<BR>throttles] [-h host] [-l logfile] [-i pidfile] [-T charset] [-P P3P]<BR>[-M maxage] [-V] [-D]<BR><BR><BR>Specifying the config file caused the server to start up:<BR><BR>$ sudo thttpd -C /etc/thttpd/thttpd.conf<BR><BR>search for thttpd in output of ps aux:<BR><BR>$ ps aux |
 grep thttpd<BR>www-data 23646  0.0  0.0  2312  616 ?        Ss  19:31  0:00<BR>thttpd -C /etc/thttpd/thttpd.conf<BR><BR><BR>If you have any questions about the steps along the way, feel free to<BR>ask.  Jumping head first into Linux can be a bit daunting after years<BR>of Windows.<BR><BR>Charles<BR><BR><BR>On Sun, Oct 2, 2011 at 7:00 PM, Tom Sellers <<A href="mailto:tomsellers2001@yahoo.com" ymailto="mailto:tomsellers2001@yahoo.com">tomsellers2001@yahoo.com</A>> wrote:<BR>> You are talking over my head with most of these questions.<BR>><BR>> I am the newbie of the group if you have been at the Des Moines meetings.  I<BR>> am trying to learn linux but it is quite different than I am use to since I<BR>> have been a Windows guy for years.<BR>><BR>> As for the log file there is none created.  I performed the install as the<BR>> root user (sudo).  How do I
 determine what user/permissions it is attempting<BR>> to start under?<BR>><BR>> I followed a how to at the following web addresss.<BR>><BR>> http://radagast.bglug.ca/howto_build_a_server/howto_build_a_server_part1<BR>><BR>><BR>> From: Nathan C. Smith <<A href="mailto:nathan.smith@ipmvs.com" ymailto="mailto:nathan.smith@ipmvs.com">nathan.smith@ipmvs.com</A>><BR>> To: 'Central Iowa Linux Users Group' <<A href="mailto:cialug@cialug.org" ymailto="mailto:cialug@cialug.org">cialug@cialug.org</A>><BR>> Sent: Sunday, October 2, 2011 6:29 PM<BR>> Subject: Re: [Cialug] thttpd<BR>><BR>> Check the log files to see if there are any reasons for it not to start?  Is<BR>> it starting under the correct user permissions?  Does the user it is trying<BR>> to run as have permissions to the config or for the content it is trying to<BR>> serve?<BR>><BR>> -Nate<BR>><BR>> From: <A
 href="mailto:cialug-bounces@cialug.org" ymailto="mailto:cialug-bounces@cialug.org">cialug-bounces@cialug.org</A> [mailto:<A href="mailto:cialug-bounces@cialug.org" ymailto="mailto:cialug-bounces@cialug.org">cialug-bounces@cialug.org</A>] On Behalf<BR>> Of Tom Sellers<BR>> Sent: Sunday, October 02, 2011 6:11 PM<BR>> To: Linux User Group Iowa<BR>> Subject: [Cialug] thttpd<BR>><BR>> I installed thttpd on a server running Ubuntu 11.04 and can't seem to get it<BR>> to start.  I have examined the thttpd.conf file and compared it with an<BR>> exmple that I found which did not turn up any issues.  I created a short<BR>> index.html file in the directory it told me to put it.  However when I try<BR>> to connect to the web page I get an error indicating the server is not<BR>> running (no response!).  I can ping the server from the machine I am<BR>> attempting to browse from (on same local segment) but can't
 connect to the<BR>> web page.<BR>><BR>> I used the ps -e command to see all the running processes and don't see<BR>> thttpd in there anywhere.<BR>><BR>> I also looked in the directory where the log is to be but do not see any log<BR>> there.<BR>><BR>> Anyone willing to help me out on this?<BR>><BR>> Thanks!<BR>> _______________________________________________<BR>> Cialug mailing list<BR>> <A href="mailto:Cialug@cialug.org" ymailto="mailto:Cialug@cialug.org">Cialug@cialug.org</A><BR>> http://cialug.org/mailman/listinfo/cialug<BR>><BR>><BR>><BR>> _______________________________________________<BR>> Cialug mailing list<BR>> <A href="mailto:Cialug@cialug.org" ymailto="mailto:Cialug@cialug.org">Cialug@cialug.org</A><BR>> <A href="http://cialug.org/mailman/listinfo/cialug"
 target=_blank>http://cialug.org/mailman/listinfo/cialug</A><BR>><BR>><BR>_______________________________________________<BR>Cialug mailing list<BR><A href="mailto:Cialug@cialug.org" ymailto="mailto:Cialug@cialug.org">Cialug@cialug.org</A><BR><A href="http://cialug.org/mailman/listinfo/cialug" target=_blank>http://cialug.org/mailman/listinfo/cialug</A><BR><BR><BR></DIV></DIV></div></body></html>