HI Sean, Actually, I was using the file from the UClibc dist on a regular Bering (Glibc 2.0.7) dist. I wasn't seeing a segfault, so I figured it was an HTML error (I was also tweaking the weblet app).
The funny thing is, I downloaded the source for parsefw to my development box running in UML, and I could not get it to compile. It was crapping out because it didn't want to process include/parse.h (Nothing to be done for make all in /include or something close to that). When it got into the src directory, main.c was complaining it needed parse.h. I haven't tried tracking that problem down yet. Thanks Tony > -----Original Message----- > From: Sean [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2003 11:12 PM > To: 'Tony' > Cc: 'Leaf-User' > Subject: RE: [leaf-devel] Quick question about Weblet/Bering UClibc > > > parsefw is a C program. It needs C libraries. Can you copy the file > onto a full distro and do a >file parsefw and see what it says? It > might be corrupt. Can you copy the file from another version of the > firewall and try to run that. > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Tony > > Sent: Sunday, August 17, 2003 10:26 PM > > To: LEAF-Dev > > Cc: Leaf-User > > Subject: [leaf-devel] Quick question about Weblet/Bering UClibc > > > > > > Good evening, > > > > I have a quick question about the pretty firewall logs screen > > in the weblet version that ships with UClibc v1.2.1. The > > parsefw file, is that a compiled program, or a shell script? > > I want to make sure it's not corrupt, and also, if it is a > > compiled program, I assume it would require UClibc libraries > > to be present to run? > > > > I'm trying to add this to a bering v1.1 firewall I have > > running now, and have copied the relevant files and made all > > the relevant changes to properly reference the files needed. > > Long and short of it, if I try to run the relevant command: > > > > cat /var/log/shorewall.log | /var/sh-www/cgi-bin/parsefw > > > > I am getting: > > > > firewall: -root- > > # cat /var/log/shorewall.log | var/sh-www/cgi-bin/parsefw > > /var/sh-www/cgi-bin/parsefw: not found > > > > Now, this is the dir listing: > > firewall: -root- > > # v > > -rwxr-xr-x 1 sh-httpd adm 2452 Mar 15 04:01 checkdisk > > -rwxr-xr-x 1 sh-httpd adm 1935 Aug 17 16:06 checkfw > > -rwxr-xr-x 1 sh-httpd adm 2243 Mar 15 04:06 checkmem > > -rwxr-xr-x 1 sh-httpd adm 9320 Mar 24 16:27 parsefw > > -rwxr-xr-x 1 sh-httpd adm 636 Mar 15 04:35 viewfw > > -rwxr-xr-x 1 sh-httpd adm 2491 Aug 17 16:23 viewhits > > -rwxr-xr-x 1 sh-httpd adm 1804 Mar 15 04:33 viewhits.bak > > -rwxr-xr-x 1 sh-httpd adm 835 Aug 17 16:34 viewlogs > > lrwxrwxrwx 1 root root 8 Aug 17 16:46 > > viewlogs-snort -> > > viewlogs > > lrwxrwxrwx 1 root root 8 Aug 17 16:46 > > viewlogs-www -> > > viewlogs > > -rwxr-xr-x 1 sh-httpd adm 738 Aug 17 15:50 > > viewlogs.backup > > -rwxr-xr-x 1 sh-httpd adm 1575 Mar 15 04:58 viewmasq > > -rwxr-xr-x 1 sh-httpd adm 947 Mar 15 05:01 viewnet > > -rwxr-xr-x 1 sh-httpd adm 808 Mar 23 08:37 viewshorewall > > -rwxr-xr-x 1 sh-httpd adm 1026 Mar 15 05:05 viewsys > > -rwxr-xr-x 1 sh-httpd adm 2648 Mar 14 06:24 > > weblet.functions > > > > As you can see, the file is there, the group and owner are > > proper, the file is executable (I even tried chmod 777 on it > > to make sure) and yet it still tells me it can't find the file. > > > > I would think if it was a library issue, it would have > > crapped out with a segfault or something. > > > > Any help would be appreciated. > > > > Thanks > > > > Tony > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > including Data Reports, E-commerce, Portals, and Forums are > > available now. Download today and enter to win an XBOX or > > Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > > _______________________________________________ > leaf-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html