Re: [WebDNA] Successful, working WebDNA7/CentOS install?

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110703
interpreted = N
texte = 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 >=20 > [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 >=20 >=20 > About ready to throw in the towel on this one. Any final ideas before = I do? >=20 > -Dan Strong > http://www.DanStrong.com >=20 > On 9/9/2013 10:25 PM, christophe.billiottet@webdna.us wrote: >> I think i get it: >>=20 >> 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. >>=20 >> Go to http://dev.webdna.us/products.html and download "WebDNA 7.1 = FastCGI LINUX-UNIX UNIVERSAL - 64bits" >>=20 >> Just replace the executable, give it a 755 permission and = apache:apache UID and GID, restart apache. >>=20 >> That should make it. >>=20 >> - chris >>=20 >>=20 >> On Sep 10, 2013, at 6:20 AM, Dan Strong wrote: >>=20 >>> - 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 >>>=20 >>> ? >>>=20 >>> 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. >>>=20 >>> -Dan Strong >>> http://www.DanStrong.com >>>=20 >>> On 9/9/2013 1:15 AM, christophe.billiottet@webdna.us wrote: >>>> Hi Dan! i agree, it is weird=85 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 =85) >>>>=20 >>>> - chris >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> >>>>> AddType text/html .dna >>>>> >>>>>=20 >>>>> Options All +ExecCGI >>>>> AddHandler fcgid-script .dna >>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna >>>>> DefaultMaxClassProcessCount 1 >>>> just to be sure. Otherwise, >>>>=20 >>>> On Sep 9, 2013, at 2:58 AM, Dan Strong wrote: >>>>=20 >>>>> 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 >>>>>=20 >>>>> Which causes apache error log to show this: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> [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 >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>=20 >>>>> 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). >>>>>=20 >>>>> Pertinent config here: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> # Dynamic Shared Object (DSO) Support >>>>> LoadModule fcgid_module modules/mod_fcgid.so >>>>>=20 >>>>> #------// Needed for WebDNA7 //-------------------- >>>>> SocketPath run/mod_fcgid >>>>>=20 >>>>> >>>>> AddType text/html .html .dna >>>>> >>>>>=20 >>>>> 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 >>>>>=20 >>>>> #This part protects your files from direct access >>>>>=20 >>>>> >>>>> Deny from all >>>>> >>>>> #------// END Needed for WebDNA7 //--------------- >>>>>=20 >>>>> NameVirtualHost 192.168.1.135 >>>>>=20 >>>>> >>>>> 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 >>>>>=20 >>>>> #------// Needed for WebDNA7 //--------- >>>>> >>>>> RewriteEngine on >>>>> RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] >>>>> >>>>> #------// END Needed for WebDNA7 //------ >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >>>>>=20 >>>>> 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. >>>>>=20 >>>>> Any further guidance is very much appreciated. >>>>>=20 >>>>> CentOS 5.9/Apache 2.2.3/WebDNA 7 >>>>>=20 >>>>> -Dan Strong >>>>> http://www.DanStrong.com >>>>>=20 >>>>> 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. >>>>>>=20 >>>>>> - chris >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> On Sep 6, 2013, at 7:17 PM, Dan Strong wrote: >>>>>>=20 >>>>>>> Ok making progress... >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> A mystery, but I'll just chalk it up to user error on my part = and move on. >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> Looking forward to the day when I can do "yum install webdna" = ;-) >>>>>>>=20 >>>>>>> -Dan Strong >>>>>>> http://www.DanStrong.com >>>>>>>=20 >>>>>>> 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 ;-) >>>>>>>>=20 >>>>>>>> I'll post config shortly. >>>>>>>>=20 >>>>>>>> -Dan Strong >>>>>>>> http://www.DanStrong.com >>>>>>>>=20 >>>>>>>> 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. >>>>>>>>>=20 >>>>>>>>> - chris >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> On Sep 6, 2013, at 4:51 PM, Dan Strong = wrote: >>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> 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. :-) >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> My gut feeling at this point is that I may have a corrupt = mod_fcgid.so >>>>>>>>>>=20 >>>>>>>>>> Thanks for your help and I'll post config in a bit. >>>>>>>>>>=20 >>>>>>>>>> -Dan Strong >>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>=20 >>>>>>>>>> On 9/5/2013 11:05 PM, christophe.billiottet@webdna.us wrote: >>>>>>>>>>> Dan, >>>>>>>>>>>=20 >>>>>>>>>>> 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. >>>>>>>>>>>=20 >>>>>>>>>>> You should not have any problem, and it is extremely stable = and fast, whatever your CentOS version (recent or older). >>>>>>>>>>>=20 >>>>>>>>>>> If you have, just post your configuration and explain the = problem you find. >>>>>>>>>>>=20 >>>>>>>>>>> - chris >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On Sep 5, 2013, at 11:33 PM, Dan Strong = wrote: >>>>>>>>>>>=20 >>>>>>>>>>>> Ok, I'll go ahead and assume that nobody (except for one = that I know of) has successfully installed WebDNA7 on CentOS, thanks. >>>>>>>>>>>>=20 >>>>>>>>>>>> -Dan Strong >>>>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>>>=20 >>>>>>>>>>>> On 9/4/2013 11:37 AM, Dan Strong wrote: >>>>>>>>>>>>> Nobody? >>>>>>>>>>>>>=20 >>>>>>>>>>>>> -Dan Strong >>>>>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>>>>=20 >>>>>>>>>>>>> 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. >>>>>>>>>>>>>>=20 >>>>>>>>>>>> --------------------------------------------------------- >>>>>>>>>>>> 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 >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (WebDNA 2013)
  2. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (george r 2013)
  3. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
  4. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  5. Re: SOLVED - [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  6. SOLVED - [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  7. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  8. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  9. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  10. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  11. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  12. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  13. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  14. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  15. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  16. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  17. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  18. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  19. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  20. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  21. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
  22. RE: [WebDNA] Successful, working WebDNA7/CentOS install? ("Terry Nair" 2013)
  23. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  24. Re: [WebDNA] Successful, working WebDNA7/CentOS install? ( bob.minor@cybermill.com 2013)
  25. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
  26. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  27. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  28. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  29. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  30. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  31. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  32. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Jym Duane 2013)
  33. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Stuart Tremain 2013)
  34. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  35. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  36. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  37. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  38. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  39. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  40. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (christophe.billiottet@webdna.us 2013)
  41. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (WebDNA 2013)
  42. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  43. Re: [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
  44. [WebDNA] Successful, working WebDNA7/CentOS install? (Dan Strong 2013)
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 >=20 > [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 >=20 >=20 > About ready to throw in the towel on this one. Any final ideas before = I do? >=20 > -Dan Strong > http://www.DanStrong.com >=20 > On 9/9/2013 10:25 PM, christophe.billiottet@webdna.us wrote: >> I think i get it: >>=20 >> 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. >>=20 >> Go to http://dev.webdna.us/products.html and download "WebDNA 7.1 = FastCGI LINUX-UNIX UNIVERSAL - 64bits" >>=20 >> Just replace the executable, give it a 755 permission and = apache:apache UID and GID, restart apache. >>=20 >> That should make it. >>=20 >> - chris >>=20 >>=20 >> On Sep 10, 2013, at 6:20 AM, Dan Strong wrote: >>=20 >>> - 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 >>>=20 >>> ? >>>=20 >>> 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. >>>=20 >>> -Dan Strong >>> http://www.DanStrong.com >>>=20 >>> On 9/9/2013 1:15 AM, christophe.billiottet@webdna.us wrote: >>>> Hi Dan! i agree, it is weird=85 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 =85) >>>>=20 >>>> - chris >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> >>>>> AddType text/html .dna >>>>> >>>>>=20 >>>>> Options All +ExecCGI >>>>> AddHandler fcgid-script .dna >>>>> FCGIWrapper /var/www/html/WebDNA/WebDNA.fcgi .dna >>>>> DefaultMaxClassProcessCount 1 >>>> just to be sure. Otherwise, >>>>=20 >>>> On Sep 9, 2013, at 2:58 AM, Dan Strong wrote: >>>>=20 >>>>> 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 >>>>>=20 >>>>> Which causes apache error log to show this: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> [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 >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>=20 >>>>> 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). >>>>>=20 >>>>> Pertinent config here: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> # Dynamic Shared Object (DSO) Support >>>>> LoadModule fcgid_module modules/mod_fcgid.so >>>>>=20 >>>>> #------// Needed for WebDNA7 //-------------------- >>>>> SocketPath run/mod_fcgid >>>>>=20 >>>>> >>>>> AddType text/html .html .dna >>>>> >>>>>=20 >>>>> 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 >>>>>=20 >>>>> #This part protects your files from direct access >>>>>=20 >>>>> >>>>> Deny from all >>>>> >>>>> #------// END Needed for WebDNA7 //--------------- >>>>>=20 >>>>> NameVirtualHost 192.168.1.135 >>>>>=20 >>>>> >>>>> 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 >>>>>=20 >>>>> #------// Needed for WebDNA7 //--------- >>>>> >>>>> RewriteEngine on >>>>> RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] >>>>> >>>>> #------// END Needed for WebDNA7 //------ >>>>> >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >>>>>=20 >>>>> 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. >>>>>=20 >>>>> Any further guidance is very much appreciated. >>>>>=20 >>>>> CentOS 5.9/Apache 2.2.3/WebDNA 7 >>>>>=20 >>>>> -Dan Strong >>>>> http://www.DanStrong.com >>>>>=20 >>>>> 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. >>>>>>=20 >>>>>> - chris >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> On Sep 6, 2013, at 7:17 PM, Dan Strong wrote: >>>>>>=20 >>>>>>> Ok making progress... >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> A mystery, but I'll just chalk it up to user error on my part = and move on. >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> Looking forward to the day when I can do "yum install webdna" = ;-) >>>>>>>=20 >>>>>>> -Dan Strong >>>>>>> http://www.DanStrong.com >>>>>>>=20 >>>>>>> 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 ;-) >>>>>>>>=20 >>>>>>>> I'll post config shortly. >>>>>>>>=20 >>>>>>>> -Dan Strong >>>>>>>> http://www.DanStrong.com >>>>>>>>=20 >>>>>>>> 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. >>>>>>>>>=20 >>>>>>>>> - chris >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>> On Sep 6, 2013, at 4:51 PM, Dan Strong = wrote: >>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> 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. :-) >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>=20 >>>>>>>>>> My gut feeling at this point is that I may have a corrupt = mod_fcgid.so >>>>>>>>>>=20 >>>>>>>>>> Thanks for your help and I'll post config in a bit. >>>>>>>>>>=20 >>>>>>>>>> -Dan Strong >>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>=20 >>>>>>>>>> On 9/5/2013 11:05 PM, christophe.billiottet@webdna.us wrote: >>>>>>>>>>> Dan, >>>>>>>>>>>=20 >>>>>>>>>>> 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. >>>>>>>>>>>=20 >>>>>>>>>>> You should not have any problem, and it is extremely stable = and fast, whatever your CentOS version (recent or older). >>>>>>>>>>>=20 >>>>>>>>>>> If you have, just post your configuration and explain the = problem you find. >>>>>>>>>>>=20 >>>>>>>>>>> - chris >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On Sep 5, 2013, at 11:33 PM, Dan Strong = wrote: >>>>>>>>>>>=20 >>>>>>>>>>>> Ok, I'll go ahead and assume that nobody (except for one = that I know of) has successfully installed WebDNA7 on CentOS, thanks. >>>>>>>>>>>>=20 >>>>>>>>>>>> -Dan Strong >>>>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>>>=20 >>>>>>>>>>>> On 9/4/2013 11:37 AM, Dan Strong wrote: >>>>>>>>>>>>> Nobody? >>>>>>>>>>>>>=20 >>>>>>>>>>>>> -Dan Strong >>>>>>>>>>>>> http://www.DanStrong.com >>>>>>>>>>>>>=20 >>>>>>>>>>>>> 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. >>>>>>>>>>>>>>=20 >>>>>>>>>>>> --------------------------------------------------------- >>>>>>>>>>>> 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 >=20 christophe.billiottet@webdna.us

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:

RE: [WebDNA] XML Help please (2009) [convertchars] limits (1998) PCS Emailer's role ? (1997) Troubles with Selection Drop Down List Search (1998) WebCatalog can't find database (1997) FYI: virus alert (1996) subscribe (2007) SQL (2004) Creating comums (1998) [UPPERCASE] (1997) WebCatalog for guestbook ? (1997) form image (2000) More on the email templates (1997) [OT] Simple java help please (2004) File commands and Wild Cards ?? (1998) Where is f2? (1997) international time (1997) Bug Report, maybe (1997) Sendmail question [Newbie] (1999) Pithy questions on webcommerce & siteedit (1997)