Re: [Web-ftp] problems starting 2.2.1 in OpenBSD 3.9
Status: Beta
Brought to you by:
aball
From: Anthony R. J. B. <an...@su...> - 2006-07-11 18:23:42
|
Do you have gcc? If that doesn't work I think I know what to do. On Tue, Jul 11, 2006 at 08:21:28PM +0200, FTP wrote: > indeed you are right. In the INSTALL doc you refer to the "web-ftp.c" but I think that its the "web-ftpc.c" instead - correct? > Now I tried to compile it by running: > > cc web-ftpc.c -o web-ftpc.cgi > > and get the following: > > ------------ > web-ftpc.c:111:12: missing terminating " character > web-ftpc.c: In function `main': > web-ftpc.c:113: error: `HTML' undeclared (first use in this function) > web-ftpc.c:113: error: (Each undeclared identifier is reported only once > web-ftpc.c:113: error: for each function it appears in.) > web-ftpc.c:113: error: syntax error before '<' token > web-ftpc.c:116: error: stray '\' in program > web-ftpc.c:116:15: missing terminating " character > web-ftpc.c:120: error: stray '\' in program > web-ftpc.c:120:15: missing terminating " character > web-ftpc.c:122: error: stray '\' in program > web-ftpc.c:122:108: missing terminating " character > web-ftpc.c:123:15: missing terminating " character > ------------ > > Thanks > > George > > On Tue, Jul 11, 2006 at 01:52:07PM -0400, Anthony R. J. Ball wrote: > > > > Hehe.. THAT one is covered in the docs. The web-ftpc.cgi is a > > compiled C program, compiled under Linux, you are using BSD you said... > > > > INSTALL should help... > > > > Or just change to > > MainCGI=web-ftp.cgi > > > > That just uses pure Perl, no C. slower and more processor intensive, > > but should work. > > > > On Tue, Jul 11, 2006 at 07:06:19PM +0200, FTP wrote: > > > ops! Sorry. You were right :-( I forgot to start the FTP server :-( > > > > > > But now I get another error message. When the user credentials are correct, the browser displays the following: > > > > > > ------------------ > > > Internal Server Error > > > The server encountered an internal error or misconfiguration and was unable to complete your request. > > > > > > Please contact the server administrator, yo...@yo...dress and inform them of the time the error occurred, and anything you might have done that may have caused the error. > > > > > > More information about this error may be available in the server error log. > > > ------------------- > > > > > > and the error_log: > > > > > > Premature end of script headers: /var/www/cgi-bin/web-ftpc.cgi > > > > > > Thanks > > > > > > George > > > > > > On Tue, Jul 11, 2006 at 11:52:44AM -0400, Anthony R. J. Ball wrote: > > > > > > > > So there is definately an FTP server running on the default port of > > > > the host you specified? > > > > > > > > On Tue, Jul 11, 2006 at 05:12:14PM +0200, FTP wrote: > > > > > Hi there, > > > > > > > > > > I did follow the installation procedure as described in 2.2.1 and actually placed all the files in the apache cgi-bin directory. > > > > > > > > > > Now, when I run: > > > > > > > > > > https://<my server>/cgi-bin/web-ftp.cgi > > > > > > > > > > and log-in with an existing UNIX user, I get the following in my browser: > > > > > > > > > > -------------------- > > > > > There has been an error > > > > > > > > > > Server said: Net::FTP: connect: Connection refused > > > > > > > > > > Click here to go to the log in screen. > > > > > -------------------- > > > > > > > > > > regardless if I type in a correct or a wrong password. The Apache "error_log" file shows the following: > > > > > > > > > > Server said: at /var/www/cgi-bin/web-ftp.cgi line 140, <STDIN> line 1. > > > > > > > > > > Any help is more than welcome in order to troubleshoot the above. > > > > > > > > > > Thanks > > > > > > > > > > George > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Using Tomcat but need to do more? Need to support web services, security? > > > > > Get stuff done quickly with pre-integrated technology to make your job easier > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > _______________________________________________ > > > > > Web-ftp-general mailing list > > > > > Web...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/web-ftp-general > > > > > > > > > > > > > -- > > > > www.suave.net - Anthony Ball - an...@su... > > > > OSB - http://rivendell.suave.net/Beer > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > > > And Thom was left crying to the Butter Cow > > > > > > > > > > > -- > > www.suave.net - Anthony Ball - an...@su... > > OSB - http://rivendell.suave.net/Beer > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > Can you be on the edge of time and still dance at the center? - Merry > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Web-ftp-general mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-ftp-general > -- www.suave.net - Anthony Ball - an...@su... OSB - http://rivendell.suave.net/Beer -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I can fall down quicker than you could possibly hit me. |