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 = 1230 This 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.d echo "[Service]" > /etc/systemd/system/apache2.service.d/nopt.conf echo "PrivateTmp=3Dfalse" >> = /etc/systemd/system/apache2.service.d/nopt.conf systemctl daemon-reload systemctl 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 to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Sorry WebDNA server not running. (christophe.billiottet@webdna.us 2017)
  2. Re: [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2017)
  3. Re: [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2017)
  4. Re: [WebDNA] Sorry WebDNA server not running. (Bob Minor 2017)
  5. [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2017)
  6. Re: [WebDNA] Sorry WebDNA server not running. (Dan Strong 2015)
  7. Re: [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2015)
  8. Re: [WebDNA] Sorry WebDNA server not running. (Dan Strong 2015)
  9. Re: [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2015)
  10. Re: [WebDNA] Sorry WebDNA server not running. (Dan Strong 2015)
  11. Re: [WebDNA] Sorry WebDNA server not running. ("Psi Prime Inc, Matthew A Perosi " 2015)
  12. Re: [WebDNA] Sorry WebDNA server not running. (Dan Strong 2015)
  13. Re: [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2015)
  14. Re: [WebDNA] Sorry WebDNA server not running. (christophe.billiottet@webdna.us 2015)
  15. Re: [WebDNA] Sorry WebDNA server not running. (christophe.billiottet@webdna.us 2015)
  16. Re: [WebDNA] Sorry WebDNA server not running. (Steve Craig 2015)
  17. [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2015)
  18. Re: [WebDNA] Sorry WebDNA server not running. (Clint Davis 2008)
  19. Re: [WebDNA] Sorry WebDNA server not running. (christophe.billiottet@webdna.us 2008)
  20. [WebDNA] Sorry WebDNA server not running. (Kenneth Grome 2008)
1230 This 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.d echo "[Service]" > /etc/systemd/system/apache2.service.d/nopt.conf echo "PrivateTmp=3Dfalse" >> = /etc/systemd/system/apache2.service.d/nopt.conf systemctl daemon-reload systemctl 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 to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug 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:

Layers,Dreamweaver and WebCat Code (2000) Looking For WebCatalog Migration Assistance (2003) Search Command, multiple dbs, etc. --still confused (2000) Cart Question (1998) RE: [WebDNA] Search question (2013) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) [SHOWIF]s and empty arguments (1997) IGNORE -- [WebDNA] 8.0.2 Install on Yosemite Fails (2015) Typo in the Online Docs ... (1997) Communigate+Webcat (2001) [ot] Raid Cards for RH ES (2004) Develop on Mac - Serve on Linux (2002) [ShowCart]-- was ThankYou page problems (1997) [WriteFile] problems (1997) 2nd WebCatalog2 Feature Request (1996) I have observed and I am gone. (1998) F3 crashing server (1997) Odd Cart Behavior (1997) Too Much Rootbeer Free Offer (1997) Quickie question on the email templates (1997)