Hi,
Do you mean that I should get 'exit_code' given by the line
syslog(LOG_WARNING, "Shutting down - %d", exit_code);
syslog, Errorlog, Accesslog all these types of files will not be created since filesystem used is ROMFS. That's why I had commented out all the commands that creates these files in boa.conf file. This is what I understood,I might be wrong in reasoning here.
So then how to see this error no?
Thanks,
--- On Mon, 4/28/08, David McCullough <[EMAIL PROTECTED]> wrote:
From: David McCullough <[EMAIL PROTECTED]> Subject: Re: [uClinux-dev] socket binding error To: "uClinux development list" <uclinux-dev@uclinux.org> Date: Monday, April 28, 2008, 4:57 AM
> I don't think that another copy is running because I have disabled the
> line from 'inittab' that executes boa automatically. I manually
run this
> boa program just once still the program exits.
You need to add a 'perror("bind")' or somehow log teh value
of errno
so that you can find out why the bind fails. The errno will almost certainly
tell you the cause,
Cheers,
Davidm
>
> --- On Mon, 4/28/08, Glenn Henshaw <[EMAIL PROTECTED]>
wrote:
>
> From: Glenn Henshaw <[EMAIL PROTECTED]>
> Subject: Re: [uClinux-dev] socket binding error
> To: "uClinux development list"
<uclinux-dev@uclinux.org>
> Date: Monday, April 28, 2008, 1:33 AM
>
>
> On 27-Apr-08, at 2:01 PM, kailash toshniwal wrote:
>
> > Hi,
> > I am trying to set the boa web server on EDOSK2674 board. When I
run boa on my board it fails. I found that the following line (if condition) in
boa.c becomes true
> > if (bind(server_s, (struct sockaddr *)
&server_sockaddr,sizeof(server_sockaddr)) == -1);
> > so it executes next line
> > die(NO_BIND);
> > and then program dies (exits).
> >
> > I don't know why binding for server is not done? Can anyone
please tell me the solution.
> >
> > Thanks
>
> The socket is probably already in use. Is there another copy running
already?
>
> --
> Glenn Henshaw Logical Outcome Ltd.
> e: [EMAIL PROTECTED] w: www.logicaloutcome.ca
>
>
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
--
David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.snapgear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev |
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.
Try it now.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev