Re: [WebDNA] Successful, working WebDNA7/CentOS install?
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110706
interpreted = N
texte = Oh, and I do not expect this to be free support of course. Please do bill me afterwards. Thanks.-Dan Stronghttp://www.DanStrong.comOn 9/13/2013 9:00 AM, Dan Strong wrote:> Since it's a vm on my local dev machine, it's not as simple as giving > you an IP to ssh into... but if you're wiling to remote in via > crossloop or teamviewer you'd be able to root the vm. Email me offlist?>> -Dan Strong> http://www.DanStrong.com>> On 9/13/2013 8:57 AM, christophe.billiottet@webdna.us wrote:>> If we could have a look, we would probably solve it and explain what >> the problem was. But to do this, we need a temporary root access.>>>> - chris>>>>>>>>>> On Sep 13, 2013, at 6:47 PM, Dan Strong
wrote:>>>>> Did as you've instructed and got same error -- Webpage shows 500 >>> Internal Server Error, and apache error log shows>>>>>> [Mon Sep 09 20:29:31 2013] [notice] mod_fcgid: call >>> /var/www/html/danTest/index.html with wrapper >>> /var/www/html/WebDNA/WebDNA.fcgi>>> [Mon Sep 09 20:29:31 2013] [warn] mod_fcgid: Read data error, >>> fastcgi server has close connection>>> [Mon Sep 09 20:29:31 2013] [error] [client 192.168.1.129] Premature >>> end of script headers: index.html>>>>>>>>> About ready to throw in the towel on this one. Any final ideas >>> before I do?>>>>>> -Dan Strong>>> http://www.DanStrong.com>>>>>> On 9/9/2013 10:25 PM, christophe.billiottet@webdna.us wrote:>>>> I think i get it:>>>>>>>> the version you have is an older linux-glibcv2-64-libmysql16 or >>>> linux-glibcv2-64-libmysql15, from the time we had to build many >>>> different versions depending on the libmysql libraries and other libs.>>>>>>>> Go to http://dev.webdna.us/products.html and download "WebDNA 7.1 >>>> FastCGI LINUX-UNIX UNIVERSAL - 64bits">>>>>>>> Just replace the executable, give it a 755 permission and >>>> apache:apache UID and GID, restart apache.>>>>>>>> That should make it.>>>>>>>> - chris>>>>>>>>>>>> On Sep 10, 2013, at 6:20 AM, Dan Strong wrote:>>>>>>>>> - OS is CentOS 5.9 Linux 2.6.18-348.16.1.el5 on x86_64>>>>> - WebDNA.zip download says "WebDNA-fCGI-linux-glibcv2-64" <--any >>>>> way to verify this internally on server?>>>>> - WebDNA.fcgi perms were 755, and I even just did "chmod -R 777 >>>>> WebDNA/" to rule out permissions... no change, still 500 error.>>>>> - /WebDNA/ directory and all contents was and are apache:apache>>>>>>>>>> ?>>>>>>>>>> Since this is a virtual dev box I can get pretty heavy handed with >>>>> it if need be for troubleshooting and am willing... any creative >>>>> ideas? I'm definitely stumped.>>>>>>>>>> -Dan Strong>>>>> http://www.DanStrong.com>>>>>>>>>> On 9/9/2013 1:15 AM, christophe.billiottet@webdna.us wrote:>>>>>> Hi Dan! i agree, it is weird… the AddHandler instruction informs >>>>>> apache to link to the FastcCGI and starts it: the problem might >>>>>> no be in the line itself, but in the fact that WebDNA.fcgi tries >>>>>> to start and produces the error 500 you see. Are you sure you run >>>>>> the proper 32 or 64 bits WebDNA.fcgi version, depending on your >>>>>> OS? did you check the WebDNA.fcgi permissions (755) and does the >>>>>> /WebDNA folder allows an executable to run? finally, i think >>>>>> apache runs with apache:apache as UID:GID under CentOS, so the >>>>>> WebDNA directory and its content should be apache:apache too >>>>>> (chown -R apache:apache …)>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>> AddType text/html .dna>>>>>>> >>>>>>>>>>>>>> Options All +ExecCGI>>>>>>> AddHandler fcgid-script .dna>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna>>>>>>> DefaultMaxClassProcessCount 1>>>>>> just to be sure. Otherwise,>>>>>>>>>>>> On Sep 9, 2013, at 2:58 AM, Dan Strong wrote:>>>>>>>>>>>>> I have narrowed the issue down to the following line in >>>>>>> httpd.conf which when included throws a 500 Internal Server Error>>>>>>> AddHandler fcgid-script .html .dna>>>>>>>>>>>>>> Which causes apache error log to show this:>>>>>>> ==========================================>>>>>>> [Sun Sep 08 16:42:15 2013] [notice] Apache configured -- >>>>>>> resuming normal operations>>>>>>> [Sun Sep 08 16:42:19 2013] [notice] mod_fcgid: call >>>>>>> /var/www/html/danTest/index.html with wrapper >>>>>>> /var/www/html/WebDNA/WebDNA.fcgi>>>>>>> [Sun Sep 08 16:42:19 2013] [warn] mod_fcgid: Read data error, >>>>>>> fastcgi server has close connection>>>>>>> [Sun Sep 08 16:42:19 2013] [error] [client 192.168.1.129] >>>>>>> Premature end of script headers: index.html>>>>>>> [Sun Sep 08 16:42:22 2013] [notice] mod_fcgid: process >>>>>>> /var/www/html/danTest/index.html(4164) exit(communication >>>>>>> error), get unexpected signal 11>>>>>>> ==========================================>>>>>>>>>>>>>> Commenting that line --and only that line-- makes apache happy >>>>>>> and allows it to serve the index.html page above (with no WebDNA >>>>>>> parsing of course).>>>>>>>>>>>>>> Pertinent config here:>>>>>>> ==========================================>>>>>>> # Dynamic Shared Object (DSO) Support>>>>>>> LoadModule fcgid_module modules/mod_fcgid.so>>>>>>>>>>>>>> #------// Needed for WebDNA7 //-------------------->>>>>>> SocketPath run/mod_fcgid>>>>>>>>>>>>>> >>>>>>> AddType text/html .html .dna>>>>>>> >>>>>>>>>>>>>> Options All +ExecCGI>>>>>>> AddHandler fcgid-script .html .dna>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .html>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna>>>>>>> DefaultMaxClassProcessCount 1>>>>>>>>>>>>>> #This part protects your files from direct access>>>>>>>>>>>>>> >>>>>>> Deny from all>>>>>>> >>>>>>> #------// END Needed for WebDNA7 //--------------->>>>>>>>>>>>>> NameVirtualHost 192.168.1.135>>>>>>>>>>>>>> >>>>>>> Options All +ExecCGI>>>>>>> ServerAdmin dan@danstrong.com>>>>>>> DocumentRoot /var/www/html/danTest/>>>>>>> ServerName danTest.com>>>>>>> ServerAlias www.danTest.com>>>>>>> DirectoryIndex index.htm index.html index.dna>>>>>>>>>>>>>> #------// Needed for WebDNA7 //--------->>>>>>> >>>>>>> RewriteEngine on>>>>>>> RewriteRule .* - >>>>>>> [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]>>>>>>> >>>>>>> #------// END Needed for WebDNA7 //------>>>>>>> >>>>>>> ================================================>>>>>>>>>>>>>> This exact same config on an exact same production server is >>>>>>> running fine, which is what's confusing me, so I have to believe >>>>>>> it's either a deeper server config issue, a stupid typo on my >>>>>>> part, or a fundamental misunderstanding of how WebDNA7 is >>>>>>> supposed to work, or any combination of these things.>>>>>>>>>>>>>> Any further guidance is very much appreciated.>>>>>>>>>>>>>> CentOS 5.9/Apache 2.2.3/WebDNA 7>>>>>>>>>>>>>> -Dan Strong>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>> On 9/6/2013 9:59 AM, christophe.billiottet@webdna.us wrote:>>>>>>>> When apache gets a request for a .dna page, it should >>>>>>>> automatically start WebDNA.fcgi and keep it running. If the >>>>>>>> fastCGI process stops for a reason or another, apache should >>>>>>>> automatically start it again. This is why there is no need for >>>>>>>> a webmonitor.>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 6, 2013, at 7:17 PM, Dan Strong wrote:>>>>>>>>>>>>>>>>> Ok making progress...>>>>>>>>>>>>>>>>>> I went ahead and just scrapped the vm instance I was working >>>>>>>>> on and went back to a snapshot where CentOS/Apache were >>>>>>>>> freshly installed and then followed the W7 install >>>>>>>>> instructions again like before. This time Apache starts with >>>>>>>>> no problems so that's good. This would lead me to believe that >>>>>>>>> I made an error in httpd.conf last time, but I ran a diff on >>>>>>>>> the old (non-working) conf and the new (working) conf and they >>>>>>>>> are identical, so not the issue. I guess it must have been >>>>>>>>> something else I did on the server unrelated to W7, but I >>>>>>>>> checked all the usual suspects (paths, permissions, are things >>>>>>>>> where they are supposed to be?, etc.). Nothing jumps out.>>>>>>>>>>>>>>>>>> A mystery, but I'll just chalk it up to user error on my part >>>>>>>>> and move on.>>>>>>>>>>>>>>>>>> So now, after restarting server, apache is running and I can >>>>>>>>> get to my test website, but WebDNA7 isn't parsing [date] - >>>>>>>>> [time] on the page, so I guess W7 isn't running... I don't see >>>>>>>>> the WebDNA.fcgi process in 'top' so I assume I need to >>>>>>>>> manually start it the first time and then set it to load on >>>>>>>>> boot, or is it supposed to configure itself to do this >>>>>>>>> naturally? If I need to do it manually, that's not an issue >>>>>>>>> for me, I am just unsure of expected behavior though the >>>>>>>>> provided documentation would lead me to believe it should >>>>>>>>> "just work" after restarting server.>>>>>>>>>>>>>>>>>> Looking forward to the day when I can do "yum install webdna" ;-)>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>> On 9/6/2013 7:42 AM, Dan Strong wrote:>>>>>>>>>> I appreciate the root access offer, but this is a local dev >>>>>>>>>> system setup via VirtualBox within my home network -- I don't >>>>>>>>>> give anyone access to my home network ;-)>>>>>>>>>>>>>>>>>>>> I'll post config shortly.>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>> On 9/6/2013 7:38 AM, christophe.billiottet@webdna.us wrote:>>>>>>>>>>> If you want to give a root access to support@webdna.us, we >>>>>>>>>>> will start WebDNA for you. It would be weird that you have a >>>>>>>>>>> corrupted mod_fcgid.so, but that might happen.>>>>>>>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 6, 2013, at 4:51 PM, Dan Strong >>>>>>>>>>> wrote:>>>>>>>>>>>>>>>>>>>>>>> I did that, followed the readme instructions and had >>>>>>>>>>>> problems. Due to that I have been unable to experience its >>>>>>>>>>>> extreme stability and fastness on CentOS 5.9, which is why >>>>>>>>>>>> I posted to the list initially looking for help.>>>>>>>>>>>>>>>>>>>>>>>> The main problem I am having involves, apparently, >>>>>>>>>>>> mod_fcgid.so. It seems apache doesn't like it and refuses >>>>>>>>>>>> to start when I attempt to load it. Further, Apache doesn't >>>>>>>>>>>> like the term "SocketPath" and calls it a syntax error, and >>>>>>>>>>>> then I believe apache also curses at me and says something >>>>>>>>>>>> about my mother but I'll confirm when I post pertinent >>>>>>>>>>>> config a little later. :-)>>>>>>>>>>>>>>>>>>>>>>>> Most confusing thing of all is that I have mimicked -- word >>>>>>>>>>>> for word -- a working config from a live server running a >>>>>>>>>>>> W7/CentOS setup, so I know it can work.>>>>>>>>>>>>>>>>>>>>>>>> My gut feeling at this point is that I may have a corrupt >>>>>>>>>>>> mod_fcgid.so>>>>>>>>>>>>>>>>>>>>>>>> Thanks for your help and I'll post config in a bit.>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>> On 9/5/2013 11:05 PM, christophe.billiottet@webdna.us wrote:>>>>>>>>>>>>> Dan,>>>>>>>>>>>>>>>>>>>>>>>>>> just download the WebDNA 7.1 FastCGI LINUX-UNIX UNIVERSAL >>>>>>>>>>>>> - 64bits at http://dev.webdna.us/products.html (7.1.705)>>>>>>>>>>>>> then follow the readme file instructions.>>>>>>>>>>>>>>>>>>>>>>>>>> You should not have any problem, and it is extremely >>>>>>>>>>>>> stable and fast, whatever your CentOS version (recent or >>>>>>>>>>>>> older).>>>>>>>>>>>>>>>>>>>>>>>>>> If you have, just post your configuration and explain the >>>>>>>>>>>>> problem you find.>>>>>>>>>>>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 5, 2013, at 11:33 PM, Dan Strong >>>>>>>>>>>>> wrote:>>>>>>>>>>>>>>>>>>>>>>>>>>> Ok, I'll go ahead and assume that nobody (except for one >>>>>>>>>>>>>> that I know of) has successfully installed WebDNA7 on >>>>>>>>>>>>>> CentOS, thanks.>>>>>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 9/4/2013 11:37 AM, Dan Strong wrote:>>>>>>>>>>>>>>> Nobody?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 8/30/2013 11:00 AM, Dan Strong wrote:>>>>>>>>>>>>>>>> Would anybody care to share a working W7/CentOS >>>>>>>>>>>>>>>> httpd.conf file, so I can do some comparisons to my >>>>>>>>>>>>>>>> non-working setup?>>>>>>>>>>>>>>>> Thanks in advance.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>>>> the mailing list .>>>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>>> the mailing list .>>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>> the mailing list .>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>> the mailing list .>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>> --------------------------------------------------------->>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>> the mailing list .>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>> --------------------------------------------------------->>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>> the mailing list .>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>> --------------------------------------------------------->>>>>>>> This message is sent to you because you are subscribed to>>>>>>>> the mailing list .>>>>>>>> To unsubscribe, E-mail to: >>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>> Bug Reporting: support@webdna.us>>>>>>> --------------------------------------------------------->>>>>>> This message is sent to you because you are subscribed to>>>>>>> the mailing list .>>>>>>> To unsubscribe, E-mail to: >>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>> Bug Reporting: support@webdna.us>>>>>> --------------------------------------------------------->>>>>> This message is sent to you because you are subscribed to>>>>>> the mailing list .>>>>>> To unsubscribe, E-mail to: >>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>> Bug Reporting: support@webdna.us>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> Bug Reporting: support@webdna.us>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> Bug Reporting: support@webdna.us>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
|
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (WebDNA 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (george r 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: SOLVED - [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- SOLVED - [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
- RE: [WebDNA] Successful, working WebDNA7/CentOS install? ("Terry Nair" 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? ( bob.minor@cybermill.com 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (WebDNA 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
- [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
|
Oh, and I do not expect this to be free support of course. Please do bill me afterwards. Thanks.-Dan Stronghttp://www.DanStrong.comOn 9/13/2013 9:00 AM, Dan Strong wrote:> Since it's a vm on my local dev machine, it's not as simple as giving > you an IP to ssh into... but if you're wiling to remote in via > crossloop or teamviewer you'd be able to root the vm. Email me offlist?>> -Dan Strong> http://www.DanStrong.com>> On 9/13/2013 8:57 AM, christophe.billiottet@webdna.us wrote:>> If we could have a look, we would probably solve it and explain what >> the problem was. But to do this, we need a temporary root access.>>>> - chris>>>>>>>>>> On Sep 13, 2013, at 6:47 PM, Dan Strong wrote:>>>>> Did as you've instructed and got same error -- Webpage shows 500 >>> Internal Server Error, and apache error log shows>>>>>> [Mon Sep 09 20:29:31 2013] [notice] mod_fcgid: call >>> /var/www/html/danTest/index.html with wrapper >>> /var/www/html/WebDNA/WebDNA.fcgi>>> [Mon Sep 09 20:29:31 2013] [warn] mod_fcgid: Read data error, >>> fastcgi server has close connection>>> [Mon Sep 09 20:29:31 2013] [error] [client 192.168.1.129] Premature >>> end of script headers: index.html>>>>>>>>> About ready to throw in the towel on this one. Any final ideas >>> before I do?>>>>>> -Dan Strong>>> http://www.DanStrong.com>>>>>> On 9/9/2013 10:25 PM, christophe.billiottet@webdna.us wrote:>>>> I think i get it:>>>>>>>> the version you have is an older linux-glibcv2-64-libmysql16 or >>>> linux-glibcv2-64-libmysql15, from the time we had to build many >>>> different versions depending on the libmysql libraries and other libs.>>>>>>>> Go to http://dev.webdna.us/products.html and download "WebDNA 7.1 >>>> FastCGI LINUX-UNIX UNIVERSAL - 64bits">>>>>>>> Just replace the executable, give it a 755 permission and >>>> apache:apache UID and GID, restart apache.>>>>>>>> That should make it.>>>>>>>> - chris>>>>>>>>>>>> On Sep 10, 2013, at 6:20 AM, Dan Strong wrote:>>>>>>>>> - OS is CentOS 5.9 Linux 2.6.18-348.16.1.el5 on x86_64>>>>> - WebDNA.zip download says "WebDNA-fCGI-linux-glibcv2-64" <--any >>>>> way to verify this internally on server?>>>>> - WebDNA.fcgi perms were 755, and I even just did "chmod -R 777 >>>>> WebDNA/" to rule out permissions... no change, still 500 error.>>>>> - /WebDNA/ directory and all contents was and are apache:apache>>>>>>>>>> ?>>>>>>>>>> Since this is a virtual dev box I can get pretty heavy handed with >>>>> it if need be for troubleshooting and am willing... any creative >>>>> ideas? I'm definitely stumped.>>>>>>>>>> -Dan Strong>>>>> http://www.DanStrong.com>>>>>>>>>> On 9/9/2013 1:15 AM, christophe.billiottet@webdna.us wrote:>>>>>> Hi Dan! i agree, it is weird… the AddHandler instruction informs >>>>>> apache to link to the FastcCGI and starts it: the problem might >>>>>> no be in the line itself, but in the fact that WebDNA.fcgi tries >>>>>> to start and produces the error 500 you see. Are you sure you run >>>>>> the proper 32 or 64 bits WebDNA.fcgi version, depending on your >>>>>> OS? did you check the WebDNA.fcgi permissions (755) and does the >>>>>> /WebDNA folder allows an executable to run? finally, i think >>>>>> apache runs with apache:apache as UID:GID under CentOS, so the >>>>>> WebDNA directory and its content should be apache:apache too >>>>>> (chown -R apache:apache …)>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>> AddType text/html .dna>>>>>>> >>>>>>>>>>>>>> Options All +ExecCGI>>>>>>> AddHandler fcgid-script .dna>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna>>>>>>> DefaultMaxClassProcessCount 1>>>>>> just to be sure. Otherwise,>>>>>>>>>>>> On Sep 9, 2013, at 2:58 AM, Dan Strong wrote:>>>>>>>>>>>>> I have narrowed the issue down to the following line in >>>>>>> httpd.conf which when included throws a 500 Internal Server Error>>>>>>> AddHandler fcgid-script .html .dna>>>>>>>>>>>>>> Which causes apache error log to show this:>>>>>>> ==========================================>>>>>>> [Sun Sep 08 16:42:15 2013] [notice] Apache configured -- >>>>>>> resuming normal operations>>>>>>> [Sun Sep 08 16:42:19 2013] [notice] mod_fcgid: call >>>>>>> /var/www/html/danTest/index.html with wrapper >>>>>>> /var/www/html/WebDNA/WebDNA.fcgi>>>>>>> [Sun Sep 08 16:42:19 2013] [warn] mod_fcgid: Read data error, >>>>>>> fastcgi server has close connection>>>>>>> [Sun Sep 08 16:42:19 2013] [error] [client 192.168.1.129] >>>>>>> Premature end of script headers: index.html>>>>>>> [Sun Sep 08 16:42:22 2013] [notice] mod_fcgid: process >>>>>>> /var/www/html/danTest/index.html(4164) exit(communication >>>>>>> error), get unexpected signal 11>>>>>>> ==========================================>>>>>>>>>>>>>> Commenting that line --and only that line-- makes apache happy >>>>>>> and allows it to serve the index.html page above (with no WebDNA >>>>>>> parsing of course).>>>>>>>>>>>>>> Pertinent config here:>>>>>>> ==========================================>>>>>>> # Dynamic Shared Object (DSO) Support>>>>>>> LoadModule fcgid_module modules/mod_fcgid.so>>>>>>>>>>>>>> #------// Needed for WebDNA7 //-------------------->>>>>>> SocketPath run/mod_fcgid>>>>>>>>>>>>>> >>>>>>> AddType text/html .html .dna>>>>>>> >>>>>>>>>>>>>> Options All +ExecCGI>>>>>>> AddHandler fcgid-script .html .dna>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .html>>>>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna>>>>>>> DefaultMaxClassProcessCount 1>>>>>>>>>>>>>> #This part protects your files from direct access>>>>>>>>>>>>>> >>>>>>> Deny from all>>>>>>> >>>>>>> #------// END Needed for WebDNA7 //--------------->>>>>>>>>>>>>> NameVirtualHost 192.168.1.135>>>>>>>>>>>>>> >>>>>>> Options All +ExecCGI>>>>>>> ServerAdmin dan@danstrong.com>>>>>>> DocumentRoot /var/www/html/danTest/>>>>>>> ServerName danTest.com>>>>>>> ServerAlias www.danTest.com>>>>>>> DirectoryIndex index.htm index.html index.dna>>>>>>>>>>>>>> #------// Needed for WebDNA7 //--------->>>>>>> >>>>>>> RewriteEngine on>>>>>>> RewriteRule .* - >>>>>>> [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]>>>>>>> >>>>>>> #------// END Needed for WebDNA7 //------>>>>>>> >>>>>>> ================================================>>>>>>>>>>>>>> This exact same config on an exact same production server is >>>>>>> running fine, which is what's confusing me, so I have to believe >>>>>>> it's either a deeper server config issue, a stupid typo on my >>>>>>> part, or a fundamental misunderstanding of how WebDNA7 is >>>>>>> supposed to work, or any combination of these things.>>>>>>>>>>>>>> Any further guidance is very much appreciated.>>>>>>>>>>>>>> CentOS 5.9/Apache 2.2.3/WebDNA 7>>>>>>>>>>>>>> -Dan Strong>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>> On 9/6/2013 9:59 AM, christophe.billiottet@webdna.us wrote:>>>>>>>> When apache gets a request for a .dna page, it should >>>>>>>> automatically start WebDNA.fcgi and keep it running. If the >>>>>>>> fastCGI process stops for a reason or another, apache should >>>>>>>> automatically start it again. This is why there is no need for >>>>>>>> a webmonitor.>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 6, 2013, at 7:17 PM, Dan Strong wrote:>>>>>>>>>>>>>>>>> Ok making progress...>>>>>>>>>>>>>>>>>> I went ahead and just scrapped the vm instance I was working >>>>>>>>> on and went back to a snapshot where CentOS/Apache were >>>>>>>>> freshly installed and then followed the W7 install >>>>>>>>> instructions again like before. This time Apache starts with >>>>>>>>> no problems so that's good. This would lead me to believe that >>>>>>>>> I made an error in httpd.conf last time, but I ran a diff on >>>>>>>>> the old (non-working) conf and the new (working) conf and they >>>>>>>>> are identical, so not the issue. I guess it must have been >>>>>>>>> something else I did on the server unrelated to W7, but I >>>>>>>>> checked all the usual suspects (paths, permissions, are things >>>>>>>>> where they are supposed to be?, etc.). Nothing jumps out.>>>>>>>>>>>>>>>>>> A mystery, but I'll just chalk it up to user error on my part >>>>>>>>> and move on.>>>>>>>>>>>>>>>>>> So now, after restarting server, apache is running and I can >>>>>>>>> get to my test website, but WebDNA7 isn't parsing [date] - >>>>>>>>> [time] on the page, so I guess W7 isn't running... I don't see >>>>>>>>> the WebDNA.fcgi process in 'top' so I assume I need to >>>>>>>>> manually start it the first time and then set it to load on >>>>>>>>> boot, or is it supposed to configure itself to do this >>>>>>>>> naturally? If I need to do it manually, that's not an issue >>>>>>>>> for me, I am just unsure of expected behavior though the >>>>>>>>> provided documentation would lead me to believe it should >>>>>>>>> "just work" after restarting server.>>>>>>>>>>>>>>>>>> Looking forward to the day when I can do "yum install webdna" ;-)>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>> On 9/6/2013 7:42 AM, Dan Strong wrote:>>>>>>>>>> I appreciate the root access offer, but this is a local dev >>>>>>>>>> system setup via VirtualBox within my home network -- I don't >>>>>>>>>> give anyone access to my home network ;-)>>>>>>>>>>>>>>>>>>>> I'll post config shortly.>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>> On 9/6/2013 7:38 AM, christophe.billiottet@webdna.us wrote:>>>>>>>>>>> If you want to give a root access to support@webdna.us, we >>>>>>>>>>> will start WebDNA for you. It would be weird that you have a >>>>>>>>>>> corrupted mod_fcgid.so, but that might happen.>>>>>>>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 6, 2013, at 4:51 PM, Dan Strong >>>>>>>>>>> wrote:>>>>>>>>>>>>>>>>>>>>>>> I did that, followed the readme instructions and had >>>>>>>>>>>> problems. Due to that I have been unable to experience its >>>>>>>>>>>> extreme stability and fastness on CentOS 5.9, which is why >>>>>>>>>>>> I posted to the list initially looking for help.>>>>>>>>>>>>>>>>>>>>>>>> The main problem I am having involves, apparently, >>>>>>>>>>>> mod_fcgid.so. It seems apache doesn't like it and refuses >>>>>>>>>>>> to start when I attempt to load it. Further, Apache doesn't >>>>>>>>>>>> like the term "SocketPath" and calls it a syntax error, and >>>>>>>>>>>> then I believe apache also curses at me and says something >>>>>>>>>>>> about my mother but I'll confirm when I post pertinent >>>>>>>>>>>> config a little later. :-)>>>>>>>>>>>>>>>>>>>>>>>> Most confusing thing of all is that I have mimicked -- word >>>>>>>>>>>> for word -- a working config from a live server running a >>>>>>>>>>>> W7/CentOS setup, so I know it can work.>>>>>>>>>>>>>>>>>>>>>>>> My gut feeling at this point is that I may have a corrupt >>>>>>>>>>>> mod_fcgid.so>>>>>>>>>>>>>>>>>>>>>>>> Thanks for your help and I'll post config in a bit.>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>> On 9/5/2013 11:05 PM, christophe.billiottet@webdna.us wrote:>>>>>>>>>>>>> Dan,>>>>>>>>>>>>>>>>>>>>>>>>>> just download the WebDNA 7.1 FastCGI LINUX-UNIX UNIVERSAL >>>>>>>>>>>>> - 64bits at http://dev.webdna.us/products.html (7.1.705)>>>>>>>>>>>>> then follow the readme file instructions.>>>>>>>>>>>>>>>>>>>>>>>>>> You should not have any problem, and it is extremely >>>>>>>>>>>>> stable and fast, whatever your CentOS version (recent or >>>>>>>>>>>>> older).>>>>>>>>>>>>>>>>>>>>>>>>>> If you have, just post your configuration and explain the >>>>>>>>>>>>> problem you find.>>>>>>>>>>>>>>>>>>>>>>>>>> - chris>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sep 5, 2013, at 11:33 PM, Dan Strong >>>>>>>>>>>>> wrote:>>>>>>>>>>>>>>>>>>>>>>>>>>> Ok, I'll go ahead and assume that nobody (except for one >>>>>>>>>>>>>> that I know of) has successfully installed WebDNA7 on >>>>>>>>>>>>>> CentOS, thanks.>>>>>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 9/4/2013 11:37 AM, Dan Strong wrote:>>>>>>>>>>>>>>> Nobody?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -Dan Strong>>>>>>>>>>>>>>> http://www.DanStrong.com>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On 8/30/2013 11:00 AM, Dan Strong wrote:>>>>>>>>>>>>>>>> Would anybody care to share a working W7/CentOS >>>>>>>>>>>>>>>> httpd.conf file, so I can do some comparisons to my >>>>>>>>>>>>>>>> non-working setup?>>>>>>>>>>>>>>>> Thanks in advance.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>>>> the mailing list .>>>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>>> the mailing list .>>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>>> the mailing list .>>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>>> --------------------------------------------------------->>>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>>> the mailing list .>>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>>> --------------------------------------------------------->>>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>>> the mailing list .>>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>>> --------------------------------------------------------->>>>>>>>> This message is sent to you because you are subscribed to>>>>>>>>> the mailing list .>>>>>>>>> To unsubscribe, E-mail to: >>>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>>> Bug Reporting: support@webdna.us>>>>>>>> --------------------------------------------------------->>>>>>>> This message is sent to you because you are subscribed to>>>>>>>> the mailing list .>>>>>>>> To unsubscribe, E-mail to: >>>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>>> Bug Reporting: support@webdna.us>>>>>>> --------------------------------------------------------->>>>>>> This message is sent to you because you are subscribed to>>>>>>> the mailing list .>>>>>>> To unsubscribe, E-mail to: >>>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>>> Bug Reporting: support@webdna.us>>>>>> --------------------------------------------------------->>>>>> This message is sent to you because you are subscribed to>>>>>> the mailing list .>>>>>> To unsubscribe, E-mail to: >>>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>>> Bug Reporting: support@webdna.us>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> Bug Reporting: support@webdna.us>>>> --------------------------------------------------------->>>> This message is sent to you because you are subscribed to>>>> the mailing list .>>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>> Bug Reporting: support@webdna.us>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Dan Strong
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WriteFile] problems (1997)
Strange database format import (2000)
CASTEGORIES IN DIFFERENT FRAMES (1997)
Custom WebCat Prefs ... (1997)
WebCat B13 Mac CGI -- Frames question (1997)
WebDNA 4.5 & iTools 7 (2003)
Rhapsody? (1997)
Limit to Field Length in DB (1998)
WebCat2 beta 11 - new prefs ... (1997)
download database (2000)
math on date? (1997)
Bug or syntax error on my part? (1997)
Foreign Chars ( éàöä and so on) (1998)
Instructions for Digest (1997)
Viewing old carts (was FEW QUESTIONS) (1997)
unable to launch acgi in WebCat (1997)
Sort Order on a page search (1997)
[SearchString] usage (1997)
WYSIWYG-editor for mac (2003)
Saving/Looking Up customer numbers (1998)