From: Torchris <chr...@ro...> - 2008-01-26 03:24:09
|
Hello all, I have been working with OE for a while now and everything seems fine, but the Boa webserver no longer seems to work, which was working fine with the old buildroot. When I try to start it manually I get: boa -c /var/www Could not open boa.conf for reading. /etc/boa/boa.conf is definitely there, but it isn't obvious what setting needs to be changed in the conf file to enable Boa. thanks, Chris -- View this message in context: http://www.nabble.com/Boa-not-working-in-OE-tp15101257p15101257.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Steve S. <sa...@gm...> - 2008-01-26 05:58:27
|
Chris, Boa should start automatically at boot, you'll see the following message: Starting HTTP server: boa. Could you check your boot messages to find this? If you see something like the following, boa hasn't started properly: Starting HTTP server: boagethostbyname:: Success Despite the "Success" in that message, boa will not have started. I see this in my setup depending upon which of 2 access points my gumstix connects to at boot. Connecting to the good access point results in a /etc/resolv.conf that looks like this: search sakoman.net nameserver 66.133.189.215 nameserver 216.67.192.3 Connecting to the failing access point results in a /etc/resolv.conf like this: search Belkin nameserver 192.168.2.1 For some reason in the latter case, boa doesn't like the name it gets back from gethostname + gethostbyname. There is a simple workaround if this is the case. Edit /etc/boa/boa.conf, find the following lines and set a ServerName: # ServerName: the name of this server that should be sent back to # clients if different than that returned by gethostname + gethostbyname ServerName myserver Let me know if this doesn't fix your problem. Steve |
From: Torchris <chr...@ro...> - 2008-01-26 18:12:22
|
Works like a charm! Thanks! regards, Chris Steve Sakoman wrote: > > Chris, > > Boa should start automatically at boot, you'll see the following message: > > Starting HTTP server: boa. > > Could you check your boot messages to find this? > > If you see something like the following, boa hasn't started properly: > > Starting HTTP server: boagethostbyname:: Success > > Despite the "Success" in that message, boa will not have started. > > I see this in my setup depending upon which of 2 access points my > gumstix connects to at boot. > > Connecting to the good access point results in a /etc/resolv.conf that > looks like this: > > search sakoman.net > nameserver 66.133.189.215 > nameserver 216.67.192.3 > > Connecting to the failing access point results in a /etc/resolv.conf like > this: > > search Belkin > nameserver 192.168.2.1 > > For some reason in the latter case, boa doesn't like the name it gets > back from gethostname + gethostbyname. > > There is a simple workaround if this is the case. Edit > /etc/boa/boa.conf, find the following lines and set a ServerName: > > # ServerName: the name of this server that should be sent back to > # clients if different than that returned by gethostname + gethostbyname > > ServerName myserver > > Let me know if this doesn't fix your problem. > > Steve > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Boa-not-working-in-OE-tp15101257p15110857.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Marc H. <mhu...@lo...> - 2008-01-26 18:26:32
|
Steve, I see the same issue with OE 154 with the gumstix-x11-image. The was no boa process running and there was no /etc/boa or /etc/init.d/boa files installed I then did a ipkg update and ipkg install boa which put everything in place. Followed your instruction below beauce of the servername resolution issue now boa process is up and running but still doesn't server up the default web page. I'll keep working on it but needless to say its not working as before. I'll update to the latest OE release and see if things are different now. Marc -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Steve Sakoman Sent: Saturday, January 26, 2008 12:59 AM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Boa not working in OE Chris, Boa should start automatically at boot, you'll see the following message: Starting HTTP server: boa. Could you check your boot messages to find this? If you see something like the following, boa hasn't started properly: Starting HTTP server: boagethostbyname:: Success Despite the "Success" in that message, boa will not have started. I see this in my setup depending upon which of 2 access points my gumstix connects to at boot. Connecting to the good access point results in a /etc/resolv.conf that looks like this: search sakoman.net nameserver 66.133.189.215 nameserver 216.67.192.3 Connecting to the failing access point results in a /etc/resolv.conf like this: search Belkin nameserver 192.168.2.1 For some reason in the latter case, boa doesn't like the name it gets back from gethostname + gethostbyname. There is a simple workaround if this is the case. Edit /etc/boa/boa.conf, find the following lines and set a ServerName: # ServerName: the name of this server that should be sent back to # clients if different than that returned by gethostname + gethostbyname ServerName myserver Let me know if this doesn't fix your problem. Steve ------------------------------------------------------------------------- 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/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Marc H. <mhu...@lo...> - 2008-01-26 18:40:35
|
OK - the server is functional but I was still missing the /var/www directory which I assumed would be setup with the boa install. Once I put one in place I got expected response from the server. So bottom line for me is its works but is not setup as a part of the 154 gumstix-x11-image install. Marc -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Marc Humphreys Sent: Saturday, January 26, 2008 1:26 PM To: 'General mailing list for gumstix users.' Subject: Re: [Gumstix-users] Boa not working in OE Steve, I see the same issue with OE 154 with the gumstix-x11-image. The was no boa process running and there was no /etc/boa or /etc/init.d/boa files installed I then did a ipkg update and ipkg install boa which put everything in place. Followed your instruction below beauce of the servername resolution issue now boa process is up and running but still doesn't server up the default web page. I'll keep working on it but needless to say its not working as before. I'll update to the latest OE release and see if things are different now. Marc -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Steve Sakoman Sent: Saturday, January 26, 2008 12:59 AM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Boa not working in OE Chris, Boa should start automatically at boot, you'll see the following message: Starting HTTP server: boa. Could you check your boot messages to find this? If you see something like the following, boa hasn't started properly: Starting HTTP server: boagethostbyname:: Success Despite the "Success" in that message, boa will not have started. I see this in my setup depending upon which of 2 access points my gumstix connects to at boot. Connecting to the good access point results in a /etc/resolv.conf that looks like this: search sakoman.net nameserver 66.133.189.215 nameserver 216.67.192.3 Connecting to the failing access point results in a /etc/resolv.conf like this: search Belkin nameserver 192.168.2.1 For some reason in the latter case, boa doesn't like the name it gets back from gethostname + gethostbyname. There is a simple workaround if this is the case. Edit /etc/boa/boa.conf, find the following lines and set a ServerName: # ServerName: the name of this server that should be sent back to # clients if different than that returned by gethostname + gethostbyname ServerName myserver Let me know if this doesn't fix your problem. Steve ------------------------------------------------------------------------- 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/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------- 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/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Steve S. <sa...@gm...> - 2008-01-26 21:28:50
|
Marc, Boa isn't running in x11-image because x11-image doesn't include the boa package :-) If you look at the x11-image recipe you'll see that there's a bunch of stuff it doesn't include. That's because it is so huge! We stripped things down to just x11 essentials in the hopes of getting it to fit in 16MB. And it just barely does! So it never had boa, and it never had the package (www-content) that installs the default /var/www content. Steve On Jan 26, 2008 10:25 AM, Marc Humphreys <mhu...@lo...> wrote: > Steve, > I see the same issue with OE 154 with the gumstix-x11-image. > The was no boa process running and there was no /etc/boa or /etc/init.d/boa > files installed > > I then did a ipkg update and ipkg install boa which put everything in place. > Followed your instruction below beauce of the servername resolution issue > now boa process is up and running but still doesn't server up the default > web page. > > I'll keep working on it but needless to say its not working as before. > I'll update to the latest OE release and see if things are different now. > > Marc > > > > > > -----Original Message----- > From: gum...@li... > [mailto:gum...@li...] On Behalf Of Steve > Sakoman > Sent: Saturday, January 26, 2008 12:59 AM > To: General mailing list for gumstix users. > Subject: Re: [Gumstix-users] Boa not working in OE > > Chris, > > Boa should start automatically at boot, you'll see the following message: > > Starting HTTP server: boa. > > Could you check your boot messages to find this? > > If you see something like the following, boa hasn't started properly: > > Starting HTTP server: boagethostbyname:: Success > > Despite the "Success" in that message, boa will not have started. > > I see this in my setup depending upon which of 2 access points my > gumstix connects to at boot. > > Connecting to the good access point results in a /etc/resolv.conf that > looks like this: > > search sakoman.net > nameserver 66.133.189.215 > nameserver 216.67.192.3 > > Connecting to the failing access point results in a /etc/resolv.conf like > this: > > search Belkin > nameserver 192.168.2.1 > > For some reason in the latter case, boa doesn't like the name it gets > back from gethostname + gethostbyname. > > There is a simple workaround if this is the case. Edit > /etc/boa/boa.conf, find the following lines and set a ServerName: > > # ServerName: the name of this server that should be sent back to > # clients if different than that returned by gethostname + gethostbyname > > ServerName myserver > > Let me know if this doesn't fix your problem. > > Steve > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Marc H. <mhu...@lo...> - 2008-01-26 22:21:04
|
Sorry, Steve - I should have looked deeper. I just assumed based on the original posting that it was part of the minimal image. Ipkg rocks and is the clearly way to add needed functionality to non-hardware related minimal requirements and keep the base images as small as possible. In my case. gumstix-x11-image + ipkg install boa + ipkg install www-content gave me what I want and works as expected. Marc -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Steve Sakoman Sent: Saturday, January 26, 2008 4:29 PM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] Boa not working in OE Marc, Boa isn't running in x11-image because x11-image doesn't include the boa package :-) If you look at the x11-image recipe you'll see that there's a bunch of stuff it doesn't include. That's because it is so huge! We stripped things down to just x11 essentials in the hopes of getting it to fit in 16MB. And it just barely does! So it never had boa, and it never had the package (www-content) that installs the default /var/www content. Steve On Jan 26, 2008 10:25 AM, Marc Humphreys <mhu...@lo...> wrote: > Steve, > I see the same issue with OE 154 with the gumstix-x11-image. > The was no boa process running and there was no /etc/boa or /etc/init.d/boa > files installed > > I then did a ipkg update and ipkg install boa which put everything in place. > Followed your instruction below beauce of the servername resolution issue > now boa process is up and running but still doesn't server up the default > web page. > > I'll keep working on it but needless to say its not working as before. > I'll update to the latest OE release and see if things are different now. > > Marc > > > > > > -----Original Message----- > From: gum...@li... > [mailto:gum...@li...] On Behalf Of Steve > Sakoman > Sent: Saturday, January 26, 2008 12:59 AM > To: General mailing list for gumstix users. > Subject: Re: [Gumstix-users] Boa not working in OE > > Chris, > > Boa should start automatically at boot, you'll see the following message: > > Starting HTTP server: boa. > > Could you check your boot messages to find this? > > If you see something like the following, boa hasn't started properly: > > Starting HTTP server: boagethostbyname:: Success > > Despite the "Success" in that message, boa will not have started. > > I see this in my setup depending upon which of 2 access points my > gumstix connects to at boot. > > Connecting to the good access point results in a /etc/resolv.conf that > looks like this: > > search sakoman.net > nameserver 66.133.189.215 > nameserver 216.67.192.3 > > Connecting to the failing access point results in a /etc/resolv.conf like > this: > > search Belkin > nameserver 192.168.2.1 > > For some reason in the latter case, boa doesn't like the name it gets > back from gethostname + gethostbyname. > > There is a simple workaround if this is the case. Edit > /etc/boa/boa.conf, find the following lines and set a ServerName: > > # ServerName: the name of this server that should be sent back to > # clients if different than that returned by gethostname + gethostbyname > > ServerName myserver > > Let me know if this doesn't fix your problem. > > Steve > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > ------------------------------------------------------------------------- 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/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Steve S. <sa...@gm...> - 2008-01-26 23:12:19
|
Marc, x11 inherits from minimal image, which has just the stuff enabled by the MACHINE_FEATURES tests in task-base-gumstix. All of the other images inherit from basic-image, which has the extras that most of us expect (stuff like boa, ntp, ntpdate, cron, mtdutils). So it isn't surprising that you assumed x11 included these things too. I don't really think that the x11-image in its current state makes much sense. It's just too fat and includes too little for all that weight! I have high hopes that qtopia will make more sense for gumstix class devices. Especially when we get the 18bpp issue out of the way. Steve On Jan 26, 2008 2:20 PM, Marc Humphreys <mhu...@lo...> wrote: > Sorry, Steve - I should have looked deeper. I just assumed based on the > original posting that it was part of the minimal image. Ipkg rocks and is > the clearly way to add needed functionality to non-hardware related minimal > requirements and keep the base images as small as possible. > > In my case. > > gumstix-x11-image > + ipkg install boa > + ipkg install www-content > > gave me what I want and works as expected. > > Marc > > > > -----Original Message----- > From: gum...@li... > [mailto:gum...@li...] On Behalf Of Steve > Sakoman > > Sent: Saturday, January 26, 2008 4:29 PM > To: General mailing list for gumstix users. > Subject: Re: [Gumstix-users] Boa not working in OE > > Marc, > > Boa isn't running in x11-image because x11-image doesn't include the > boa package :-) > > If you look at the x11-image recipe you'll see that there's a bunch of > stuff it doesn't include. That's because it is so huge! We stripped > things down to just x11 essentials in the hopes of getting it to fit > in 16MB. And it just barely does! > > So it never had boa, and it never had the package (www-content) that > installs the default /var/www content. > > Steve > > > > On Jan 26, 2008 10:25 AM, Marc Humphreys <mhu...@lo...> > wrote: > > Steve, > > I see the same issue with OE 154 with the gumstix-x11-image. > > The was no boa process running and there was no /etc/boa or > /etc/init.d/boa > > files installed > > > > I then did a ipkg update and ipkg install boa which put everything in > place. > > Followed your instruction below beauce of the servername resolution issue > > now boa process is up and running but still doesn't server up the default > > web page. > > > > I'll keep working on it but needless to say its not working as before. > > I'll update to the latest OE release and see if things are different now. > > > > Marc > > > > > > > > > > > > -----Original Message----- > > From: gum...@li... > > [mailto:gum...@li...] On Behalf Of Steve > > Sakoman > > Sent: Saturday, January 26, 2008 12:59 AM > > To: General mailing list for gumstix users. > > Subject: Re: [Gumstix-users] Boa not working in OE > > > > Chris, > > > > Boa should start automatically at boot, you'll see the following message: > > > > Starting HTTP server: boa. > > > > Could you check your boot messages to find this? > > > > If you see something like the following, boa hasn't started properly: > > > > Starting HTTP server: boagethostbyname:: Success > > > > Despite the "Success" in that message, boa will not have started. > > > > I see this in my setup depending upon which of 2 access points my > > gumstix connects to at boot. > > > > Connecting to the good access point results in a /etc/resolv.conf that > > looks like this: > > > > search sakoman.net > > nameserver 66.133.189.215 > > nameserver 216.67.192.3 > > > > Connecting to the failing access point results in a /etc/resolv.conf like > > this: > > > > search Belkin > > nameserver 192.168.2.1 > > > > For some reason in the latter case, boa doesn't like the name it gets > > back from gethostname + gethostbyname. > > > > There is a simple workaround if this is the case. Edit > > /etc/boa/boa.conf, find the following lines and set a ServerName: > > > > # ServerName: the name of this server that should be sent back to > > # clients if different than that returned by gethostname + gethostbyname > > > > ServerName myserver > > > > Let me know if this doesn't fix your problem. > > > > Steve > > > > > > ------------------------------------------------------------------------- > > 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/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > > ------------------------------------------------------------------------- > > 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/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |