Re: [WebDNA] Sorry WebDNA server not running.
This WebDNA talk-list message is from 2017
It keeps the original formatting.
numero = 113635
interpreted = N
texte = 1230This is a systemd privatetmp issue. By default, this version of Ubuntu =provides a separate /tmp directory for apache2, and so when the =connector looks in /tmp for the .webcatalog socket it cannot find it.However, the fix is thankfully very easy. I believe the CentOS 7 =installer already does this, and the relevant shell script from the =CentOS installer can be added to the Ubuntu installer. It just has to be =adjusted to turn it off for "apache2" instead of "httpd", since Ubuntu =and CentOS call the service by a different name.For now, you can do the following to fix this on any other Ubuntu =servers he sets up:mkdir /etc/systemd/system/apache2.service.decho "[Service]" > /etc/systemd/system/apache2.service.d/nopt.confecho "PrivateTmp=3Dfalse" >> =/etc/systemd/system/apache2.service.d/nopt.confsystemctl daemon-reloadsystemctl restart apache2- chris> On Jun 22, 2017, at 04:26, Kenneth Grome
=wrote:>=20> One of the strange things about this problem is that both> WebDNAMonitor and WebCatalog are showing in Ubuntu's "System> Monitor" as running.>=20> And when I force quit WebCatalog it immediately restarts with a> new PID, which suggests that WebDNAMonitor is doing its job of> restarting WebCatalog when it quits.>=20> But when I force quit WebDNAMonitor, WebCatalog immediately quits> at the same time. This is not normal ...>=20> Normally when WebDNA is running correctly I can quit WebDNAMonitor> and WebCatalog will keep running. SO I think that this behavior> suggests that there's a serious issue with WebCatalog or its> config file(s).>=20> But I haven't noticed anything wrong with the config files I've> been able to open, so this brings me back once again to questions> about the mod_webdna.so.>=20> Or is the WebCatalog executable file the real problem here???>=20> Regards,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> Web Database Systems and Linux Server Administration>=20>=20> On 06/21/2017 07:36 PM, Kenneth Grome wrote:>>>> I upgraded from Xubuntu 16.10 to 17.04 on my local=20>>>> development computer and now I'm getting this error. How do=20>>>> I diagnose and fix this problem?>>>=20>>> Check the apache config or that it links to the webdna config=20>>> file. Not sure how they do that. There should be one marked=20>>> old.>>=20>> There are no "old" files.>>=20>> I tried to enable debugging by setting DebugLevel=3D1 in WebCatalog>> Prefs then restarting and requesting a page in my browser, but no>> WebCatalog.debug file was created so I cannot look in it to gain>> any new information regarding this problem.>>=20>> The main apache config file (/etc/apache2/apache2.conf) includes>> two WebDNA config files (/etc/apache2/mods-enabled/webdna.conf and>> /etc/apache2/mods-enabled/webdna.load) via these include lines:>>=20>> IncludeOptional mods-enabled/*.load>> IncludeOptional mods-enabled/*.conf>>=20>>=20>> This is webdna.conf:>> ---------------------------------------------------------------->> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> AddType text/html .dna .html .tpl>> >>=20>> AddHandler webcatalog2-handler .dna .html .tpl>> ---------------------------------------------------------------->>=20>>=20>> This is webdna.load:>> ---------------------------------------------------------------->> LoadModule webcatalog2_module /usr/lib/apache2/modules/mod_webdna.so>> ---------------------------------------------------------------->>=20>>=20>> I cannot open mod_webdna.so in my text editor. It won't open when>> using any of these character encodings:>>=20>> UTF-8>> ISO-8859-1>> ISO-8859-15>>=20>> If you have any suggestions for Ubuntu-based editors that can open>> this file please tell me so I can review its contents and possibly>> find the problem.>>=20>> The modified date on this file is 2016-09-16. Is this file the>> problem? Does this one work only on Ubuntu versions up to 16.10>> but not 17.04 and greater?>>=20>> Regards,>> Kenneth Grome>> WebDNA Solutions>> http://www.webdnasolutions.com>> Web Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
1230This is a systemd privatetmp issue. By default, this version of Ubuntu =provides a separate /tmp directory for apache2, and so when the =connector looks in /tmp for the .webcatalog socket it cannot find it.However, the fix is thankfully very easy. I believe the CentOS 7 =installer already does this, and the relevant shell script from the =CentOS installer can be added to the Ubuntu installer. It just has to be =adjusted to turn it off for "apache2" instead of "httpd", since Ubuntu =and CentOS call the service by a different name.For now, you can do the following to fix this on any other Ubuntu =servers he sets up:mkdir /etc/systemd/system/apache2.service.decho "[Service]" > /etc/systemd/system/apache2.service.d/nopt.confecho "PrivateTmp=3Dfalse" >> =/etc/systemd/system/apache2.service.d/nopt.confsystemctl daemon-reloadsystemctl restart apache2- chris> On Jun 22, 2017, at 04:26, Kenneth Grome =wrote:>=20> One of the strange things about this problem is that both> WebDNAMonitor and WebCatalog are showing in Ubuntu's "System> Monitor" as running.>=20> And when I force quit WebCatalog it immediately restarts with a> new PID, which suggests that WebDNAMonitor is doing its job of> restarting WebCatalog when it quits.>=20> But when I force quit WebDNAMonitor, WebCatalog immediately quits> at the same time. This is not normal ...>=20> Normally when WebDNA is running correctly I can quit WebDNAMonitor> and WebCatalog will keep running. SO I think that this behavior> suggests that there's a serious issue with WebCatalog or its> config file(s).>=20> But I haven't noticed anything wrong with the config files I've> been able to open, so this brings me back once again to questions> about the mod_webdna.so.>=20> Or is the WebCatalog executable file the real problem here???>=20> Regards,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> Web Database Systems and Linux Server Administration>=20>=20> On 06/21/2017 07:36 PM, Kenneth Grome wrote:>>>> I upgraded from Xubuntu 16.10 to 17.04 on my local=20>>>> development computer and now I'm getting this error. How do=20>>>> I diagnose and fix this problem?>>>=20>>> Check the apache config or that it links to the webdna config=20>>> file. Not sure how they do that. There should be one marked=20>>> old.>>=20>> There are no "old" files.>>=20>> I tried to enable debugging by setting DebugLevel=3D1 in WebCatalog>> Prefs then restarting and requesting a page in my browser, but no>> WebCatalog.debug file was created so I cannot look in it to gain>> any new information regarding this problem.>>=20>> The main apache config file (/etc/apache2/apache2.conf) includes>> two WebDNA config files (/etc/apache2/mods-enabled/webdna.conf and>> /etc/apache2/mods-enabled/webdna.load) via these include lines:>>=20>> IncludeOptional mods-enabled/*.load>> IncludeOptional mods-enabled/*.conf>>=20>>=20>> This is webdna.conf:>> ---------------------------------------------------------------->> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> deny from all>> >>=20>> >> AddType text/html .dna .html .tpl>> >>=20>> AddHandler webcatalog2-handler .dna .html .tpl>> ---------------------------------------------------------------->>=20>>=20>> This is webdna.load:>> ---------------------------------------------------------------->> LoadModule webcatalog2_module /usr/lib/apache2/modules/mod_webdna.so>> ---------------------------------------------------------------->>=20>>=20>> I cannot open mod_webdna.so in my text editor. It won't open when>> using any of these character encodings:>>=20>> UTF-8>> ISO-8859-1>> ISO-8859-15>>=20>> If you have any suggestions for Ubuntu-based editors that can open>> this file please tell me so I can review its contents and possibly>> find the problem.>>=20>> The modified date on this file is 2016-09-16. Is this file the>> problem? Does this one work only on Ubuntu versions up to 16.10>> but not 17.04 and greater?>>=20>> Regards,>> Kenneth Grome>> WebDNA Solutions>> http://www.webdnasolutions.com>> Web Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
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:
File Upload and Platform (2001)
SiteGuard Admin Feature ? (1997)
[subtotal] and others (1997)
NewCart+Search with one click ? (1997)
Num Sort Descending (OT) (2004)
[WebDNA] Exclude found items in a 2nd search (2016)
Sorting by date (1997)
WebCat2 - [format thousands] (1997)
Why does this not work? (2002)
Order not created error (never mind) (1997)
WebDNA 4.5.1 Now Available (2003)
Announcing general availability of WebDNA 4.5 release (2002)
Running 2 two WebCatalog.acgi's (1996)
_ in front of field name (1998)
Listfiles & writefile (2001)
Associative lookup style? + bit more (1997)
Re:quit command on NT (1997)
Hyperboard/bulletin board available (1998)
Newbie Help (2003)
Searching for more than one catagory (2000)