X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) From: "Hugi Thordarson" Received: from mail-02.1984.is ([185.112.145.70] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26710714 for webobjects-dev@wocommunity.org; Fri, 29 Oct 2021 16:32:58 +0200 Received-SPF: none receiver=post.selbstdenker.com; client-ip=185.112.145.70; envelope-from=hugi@karlmenn.is Received: from localhost by mail-02.1984.is with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgSvp-0000yY-MI for webobjects-dev@wocommunity.org; Fri, 29 Oct 2021 14:32:33 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [WO-DEV] WOMonitor on CentOS Date: Fri, 29 Oct 2021 14:32:33 +0000 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3693.20.0.1.32) Hmm, ok=E2=80=A6 You might try logging request in your Application's = dispatchRequest() to see if the requests are getting through? The admin = requests (including "stop") will go through there, like any other = request, so that way you'll at least see if they're getting through. If your application is not receiving the admin requests, it's possible = it's not listening to local requests. Local IPs can be added using the = property "er.extensions.WOHostUtilities.localhostips". I've got a global = Properties file on my system at /etc/WebObjects/Properties containing = just: "er.extensions.WOHostUtilities.localhostips=3D(80.85.84.145)" = (excluding quotes. And you'd of course substitute with your own server's = IPs). - hugi > On 29 Oct 2021, at 12:14, Valerio Luccio = wrote: >=20 > Hi Hugi, >=20 > as you suspected it didn't help.=20 >=20 > I doubt it's any system software blocking it explicitly since I don't = see any messages in the log files. >=20 > On 10/27/21 3:44 PM, Hugi wrote: >=20 >> Try running =E2=80=9Csetenforce 0=E2=80=9D. It will (temporarily) = disable selinux, making it easy enough to find out if that=E2=80=99s = your problem. Having set up a few CentOS servers, I doubt it is though. = Report back and we=E2=80=99ll get you up and running :) >>=20 >>=20 >>> On 27 Oct 2021, at 18:13, Valerio Luccio = wrote: >>>=20 >>> =EF=BB=BF >>> At the bottom of = https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux = there is a section on SELinux. It points to a blog post written in 2013 = by Steven Klassen, unfortunately that blog post is no longer available, = does anyone have the original ? I've emailed Steven to see if he can = send it to me. >>>=20 >>> I've tried to add 1085 as an allowed http port using semanage, but = I'm not sure I'm taking the right steps. >>>=20 >>> On 10/27/21 1:22 PM, Valerio Luccio wrote: >>>=20 >>>> I'm home and was able to test. It's not the firewall (I turned it = off for a couple of minutes and tried, without success). I'm not sure = what policies to look at. As far as I know wotaskd does not keep a log, = correct ? >>>>=20 >>>> On 10/23/21 6:18 AM, Valerio Luccio wrote: >>>>=20 >>>>> Hi Samuel, >>>>> that is a very good insight. I'm currently travelling, but when = I'm back I'll play with policies/firewall and let you know what I found = out. >>>>>=20 >>>>> Thanks, >>>>>=20 >>>>> On Fri, Oct 22, 2021 at 3:28 PM Samuel Pelletier = wrote: >>>>> Hi Valerio, >>>>>=20 >>>>> I experience the same problem on a Cent OS instance (I think this = is a VMWare distribution) but it works on others... >>>>>=20 >>>>> There is a major difference between starting the instance and = other function like stop and refuse new session. Start is done by = wotaskd that launc the process, others are http call to the instance by = wotaskd, to some direct actions (womp handler I think). >>>>>=20 >>>>> I suspect that the communication between wotaskd and instance is = blocked by the firewall or system policy but I do not have a definitive = proof of this. >>>>>=20 >>>>> Regards, >>>>>=20 >>>>> Samuel >>>>>=20 >>>>>> Le 21 oct. 2021 =C3=A0 13:29, Valerio Luccio = a =C3=A9crit : >>>>>>=20 >>>>>> Thanks Lon, >>>>>> I didn't see your answer until now because gmail (which I hate = every day more) had hidden it. >>>>>>=20 >>>>>> I'll see what I can find in the logs, although "start" works = fine, why would "stop" be different ? >>>>>>=20 >>>>>>=20 >>>>>> On Tue, Oct 5, 2021 at 11:10 PM Lon Varscsak = wrote: >>>>>> Look in your application log, do you see messages about not being = able to communicate with monitor? I found this problem happens if I = don't have JavaXML as part of my project (or classpath defined to = whatever the xml jars are). >>>>>>=20 >>>>>> -Lon >>>>>>=20 >>>>>> On Tue, Oct 5, 2021 at 1:43 PM Valerio Luccio = wrote: >>>>>> I recently ported my WebObjects app from an old OS X server to a = CentOS 8 server. >>>>>>=20 >>>>>> The WOMonitor on CentOS allows me to configure the app and start = it, but it will not stop it (I end up doing with pkill from command = line) and the Auto-Recover does not work. I also tried from command line = using curl to communicate to WOMonitor, it does the info and start = correctly, but it will not stop the app. >>>>>>=20 >>>>>> I've looked at the log file for the WOMonitor, but there was = nothing useful. >>>>>>=20 >>>>>> Any ideas ? >>>>>>=20 >>>>>> Thanks in advance, >>>>>>=20 >>>>>> --=20 >>>>>> Valerio Luccio =09 >>>>>> High Performance Computing =09 >>>>>> New York University New York, NY 10003 >>>>>>=20 >>>>>> "In an open world, who needs windows or gates ?" >>>>>>=20 >>>>>>=20 >>>>>> --=20 >>>>>> Valerio Luccio =09 >>>>>> High Performance Computing 10 Astor Place, Room 415 >>>>>> New York University New York, NY 10003 >>>>>>=20 >>>>>> "In an open world, who needs windows or gates ?" >>>>>=20 >>>>>=20 >>>>>=20 >>>>> --=20 >>>>> Valerio Luccio =09 >>>>> High Performance Computing 10 Astor Place, Room 415 >>>>> New York University New York, NY 10003 >>>>>=20 >>>>> "In an open world, who needs windows or gates ?" >>>>=20 >>>>=20 >>>> --=20 >>>> Valerio Luccio =09 >>>> High Performance Computing =09 >>>> New York University New York, NY 10003 >>>>=20 >>>> "In an open world, who needs windows or gates ?" >>>=20 >>>=20 >>> --=20 >>> Valerio Luccio =09 >>> High Performance Computing =09 >>> New York University New York, NY 10003 >>>=20 >>> "In an open world, who needs windows or gates ?" >=20 >=20 >=20 > Valerio Luccio =09 > High Performance Computing =09 > New York University New York, NY 10003 >=20 > "In an open world, who needs windows or gates ?"