New topic: CGI Question.. Again..
<http://forums.realsoftware.com/viewtopic.php?t=43901> Page 1 of 1 [ 5 posts ] Previous topic | Next topic Author Message joeinazusa Post subject: CGI Question.. Again..Posted: Sun May 06, 2012 7:30 pm Joined: Wed Jun 13, 2007 10:08 am Posts: 21 The last part of the my test before deciding if I am going to complete a project using RB [WE] is deploying to the likely server. I did some basic testing and it was not good. Centos 6.2 App CGI I am getting a Gateway Timeout when trying to execute the script: localhost/cgi-bin/webpdf/webpdf.cgi Challenge 1 First I completed using standalone executable, just to make sure the app works (There was one library tweak for the fpdf and it worked) Challenge 2, access denied: on config.cfg. This was caused by SELINUX and basic file permissions. Change to 777 permissions, still got the error until I put SELinux into permissive mode. Challenge 3, Unable to start port....: Set Auto_port=0 Port=80 Challenge 4, Now is just looks like it doing something then it gives me the "Gateway Time-out" FYI: code is compiled on the same box and just copied to the folder for the most part, this box is a fresh install files are under /var/ww/cgi-bin are 777 config.cfg, 755 for app and cgi and libs apache test page works localhost/ I don't want to play with FastCGI until CGI is working. some errors I see: Please report what caused this error along with the information below. [Sun May 06 17:23:17 2012] [error] [client ::1] ../Common/plugin.cpp: 7534 [Sun May 06 17:23:17 2012] [error] [client ::1] Failure Condition: pluginEntryTable.GetEntry( entrypointName, out ) [Sun May 06 17:23:17 2012] [error] [client ::1] can't find plugin method _GZipFile.__init [Sun May 06 17:23:17 2012] [error] [client ::1] Runtime Error [Sun May 06 17:23:17 2012] [error] [client ::1] Please report what caused this error along with the information below. [Sun May 06 17:23:17 2012] [error] [client ::1] ../Common/plugin.cpp: 7534 [Sun May 06 17:23:17 2012] [error] [client ::1] Failure Condition: pluginEntryTable.GetEntry( entrypointName, out ) [Sun May 06 17:23:17 2012] [error] [client ::1] can't find plugin method _GZipFile.Compress(sourceFile As FolderItem, destFile As FolderItem, level As Integer = DefaultCompression) [Sun May 06 17:23:17 2012] [error] [client ::1] Runtime Error [Sun May 06 17:23:17 2012] [error] [client ::1] Please report what caused this error along with the information below. [Sun May 06 17:23:17 2012] [error] [client ::1] ../Common/plugin.cpp: 7534 [Sun May 06 17:23:17 2012] [error] [client ::1] Failure Condition: pluginEntryTable.GetEntry( entrypointName, out ) [Sun May 06 17:23:17 2012] [error] [client ::1] can't find plugin method _GZipFile.Decompress(sourceFile As FolderItem, destFile As FolderItem) One thing I noticed is on Linux, it made the libraries folder "webpdf Libs" but on the mac cgi it made it "Libs". Any help would be appreciated. Thanks! Top npalardy Post subject: Re: CGI Question.. Again..Posted: Sun May 06, 2012 8:51 pm Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7220 Location: Canada, Alberta, Near Red Deer Have you got the 32 bit libraries installed ? _________________ My web site Great White Software RBLibrary.com REALbasic learning Top joeinazusa Post subject: Re: CGI Question.. Again..Posted: Sun May 06, 2012 8:58 pm Joined: Wed Jun 13, 2007 10:08 am Posts: 21 The OS is i386, didn't think I needed the 32bit, it's not 64bit. If I am wrong, what packages do you think I am missing? Thank you. Top Akiland Post subject: Re: CGI Question.. Again..Posted: Mon May 07, 2012 1:21 am Joined: Tue Jan 04, 2011 3:02 am Posts: 735 Location: Jönköping, Sweden npalardy wrote:Have you got the 32 bit libraries installed ? ia32-libs _________________ Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.7 Using Subversion on a Synology DS409+ REAL.Studio Web Edition 2011r3 Top joeinazusa Post subject: Re: CGI Question.. Again..Posted: Mon May 07, 2012 1:32 am Joined: Wed Jun 13, 2007 10:08 am Posts: 21 Akiland wrote:npalardy wrote:Have you got the 32 bit libraries installed ? ia32-libs Thank you, but the ia32-libs package appears to be for Debian distros. I already installed the compat-libstdc++-33-3.2.3-69.el6.i686. I know Centos 6.2 is pretty new. Not to start a Holy War, but I prefer Red Hat/Centos. Do you think Centos 5/RH5 works? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 5 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
