X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) From: "Valerio Luccio" Received: from [148.163.150.240] (HELO mx0b-00256a01.pphosted.com) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26709988 for webobjects-dev@wocommunity.org; Fri, 29 Oct 2021 14:14:48 +0200 Received-SPF: softfail receiver=post.selbstdenker.com; client-ip=148.163.150.240; envelope-from=valerio.luccio@nyu.edu Received: from pps.filterd (m0142701.ppops.net [127.0.0.1]) by mx0b-00256a01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19TAQQ3l000595 for ; Fri, 29 Oct 2021 08:14:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu.edu; h=content-type : message-id : date : mime-version : subject : to : references : from : in-reply-to; s=20180315; bh=wZ9TH5N9aDfJrbMwPLP1svXt/NvZsWCbvZJZEE9pBN4=; b=r1NuPjtQXCQKCk+KVzLVVoHI4wyyt8InXAdfjryRpezkoTxvf1hHKWj4pAXXEHhTEyEy zH1o4HGGnzQUBsp+28iMUr5OPp/foTegrioCVr8B5x8dGSd6P4+VwxCTHZdk+xSm+x6N bum7YBk9P80h4ucVQOMsiVMok600kgNPEhEBNu3hmi2SLRUDkBu8658HZPirj3a05Br+ /wMGxWX83vRhV1d7i7qkenGJsSxaiCybcZBlEspVWDNNG5O4YVxMV6QC3DIgsC3Pe6UE jz1oqgnKlCuY94erWCCMUT0DW8O3ab8f8HMdgzItthDWLw4rMKA10ubgDERvhqBUgwKm dA== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0b-00256a01.pphosted.com with ESMTP id 3byquh96t8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 29 Oct 2021 08:14:25 -0400 Received: by mail-qk1-f199.google.com with SMTP id z29-20020a05620a08dd00b0045fa369b83dso6043085qkz.9 for ; Fri, 29 Oct 2021 05:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=wZ9TH5N9aDfJrbMwPLP1svXt/NvZsWCbvZJZEE9pBN4=; b=i3EuA9y5PTSVgF3Ds2YICQndlDwLmt1hfmxuu0ZrYfuF70ToV+/iMJgloBHAw79JXj UonG2CSJhlVFItAGh+Ykx9yli/Mc+XV3iZh+/4ElTSfsBTdeLbx/Hv39CL1M44DzTdF1 9S3Lr6viie/Q2fccADmT4ntay4ZpJJ2RXHaGLBSuBwtxbSG4T+oQ/+jlDeVe0LZUICTj dHgi/vGRBSlof19YmAChWu1tyOOS/xinKAMkSYCbPVEUZzlpdFvkWJfde/XezhouOWXZ nshj1zgo47/CLnWI4/LbBVcPGWLLtGysjHkPcpprHSOgLWPotmVS0SyMiYK+8Jsa867q Fcmw== X-Gm-Message-State: AOAM532XtLtNgs/x3Ohx5SFps6bvP7FPiFZILiGVAacpfe6K0EUp0lkd VGAfxYwJm1q3k2BBcEy5Rgf9WW2OdXeJxXAxs3HLrG3tRiZzWET070Ik5Dm9q71gKghwjR/vpGq Dua1U7hDXk7OMMY7CNDG82JxWbg== X-Received: by 2002:a05:622a:254:: with SMTP id c20mr813367qtx.31.1635509663936; Fri, 29 Oct 2021 05:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCrzdWYINs6dG0TBWzOnL4ZJzpIaiMzVcJXkJ56Ew1vthoNZZIp6LSx9VBTUtZ5EvvpAkz0g== X-Received: by 2002:a05:622a:254:: with SMTP id c20mr813328qtx.31.1635509663541; Fri, 29 Oct 2021 05:14:23 -0700 (PDT) Received: from [192.168.1.93] (4133da4e.cst.lightpath.net. [65.51.218.78]) by smtp.gmail.com with ESMTPSA id h125sm3771569qkc.29.2021.10.29.05.14.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Oct 2021 05:14:23 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------cyAzLYhCsSieBWdmFrCcd7LM" Message-ID: <9b222544-4114-8a25-a125-c8ab8cb97170@nyu.edu> Date: Fri, 29 Oct 2021 08:14:22 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [WO-DEV] Re: WOMonitor on CentOS Content-Language: en-US To: WebObjects & WOnder Development References: In-Reply-To: X-Proofpoint-GUID: Lve_jg91hp_kisd8zobphSEOT4UFOTgs X-Proofpoint-ORIG-GUID: Lve_jg91hp_kisd8zobphSEOT4UFOTgs X-Orig-IP: 209.85.222.199 X-Proofpoint-Spam-Details: rule=outbound_bp_notspam policy=outbound_bp score=0 phishscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110290073 This is a multi-part message in MIME format. --------------cyAzLYhCsSieBWdmFrCcd7LM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Hugi, as you suspected it didn't help. I doubt it's any system software blocking it explicitly since I don't see any messages in the log files. On 10/27/21 3:44 PM, Hugi wrote: > Try running “setenforce 0”. It will (temporarily) disable selinux, > making it easy enough to find out if that’s your problem. Having set > up a few CentOS servers, I doubt it is though. Report back and we’ll > get you up and running :) > > >> On 27 Oct 2021, at 18:13, Valerio Luccio >> wrote: >> >>  >> >> 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. >> >> I've tried to add 1085 as an allowed http port using semanage, but >> I'm not sure I'm taking the right steps. >> >> On 10/27/21 1:22 PM, Valerio Luccio wrote: >> >>> 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 ? >>> >>> On 10/23/21 6:18 AM, Valerio Luccio wrote: >>> >>>> 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. >>>> >>>> Thanks, >>>> >>>> On Fri, Oct 22, 2021 at 3:28 PM Samuel Pelletier >>>> wrote: >>>> >>>> Hi Valerio, >>>> >>>> I experience the same problem on a Cent OS instance (I think >>>> this is a VMWare distribution) but it works on others... >>>> >>>> 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). >>>> >>>> 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. >>>> >>>> Regards, >>>> >>>> Samuel >>>> >>>>> Le 21 oct. 2021 à 13:29, Valerio Luccio >>>>> a écrit : >>>>> >>>>> Thanks Lon, >>>>> I didn't see your answer until now because gmail (which I hate >>>>> every day more) had hidden it. >>>>> >>>>> I'll see what I can find in the logs, although "start" works >>>>> fine, why would "stop" be different ? >>>>> >>>>> >>>>> 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). >>>>> >>>>> -Lon >>>>> >>>>> 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. >>>>> >>>>> 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. >>>>> >>>>> I've looked at the log file for the WOMonitor, but >>>>> there was nothing useful. >>>>> >>>>> Any ideas ? >>>>> >>>>> Thanks in advance, >>>>> >>>>> -- >>>>> Valerio Luccio >>>>> High Performance Computing >>>>> New York University New York, NY 10003 >>>>> >>>>> >>>>> "In an open world, who needs windows or gates ?" >>>>> >>>>> >>>>> >>>>> -- >>>>> Valerio Luccio >>>>> High Performance Computing 10 Astor Place, Room 415 >>>>> New York University New York, NY 10003 >>>>> >>>>> >>>>> "In an open world, who needs windows or gates ?" >>>>> >>>> >>>> >>>> >>>> -- >>>> Valerio Luccio >>>> High Performance Computing 10 Astor Place, Room 415 >>>> New York University New York, NY 10003 >>>> >>>> "In an open world, who needs windows or gates ?" >>>> >>> >>> -- >>> Valerio Luccio >>> High Performance Computing >>> New York University New York, NY 10003 >>> >>> "In an open world, who needs windows or gates ?" >>> >> >> -- >> Valerio Luccio >> High Performance Computing >> New York University New York, NY 10003 >> >> "In an open world, who needs windows or gates ?" >> Valerio Luccio High Performance Computing New York University New York, NY 10003 "In an open world, who needs windows or gates ?" --------------cyAzLYhCsSieBWdmFrCcd7LM Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi Hugi,

as you suspected it didn't help.

I doubt it's any system software blocking it explicitly since I don't see any messages in the log files.

On 10/27/21 3:44 PM, Hugi wrote:

Try running “setenforce 0”. It will (temporarily) disable selinux, making it easy enough to find out if that’s your problem. Having set up a few CentOS servers, I doubt it is though. Report back and we’ll get you up and running :)


On 27 Oct 2021, at 18:13, Valerio Luccio <webobjects-dev@wocommunity.org> wrote:



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.

I've tried to add 1085 as an allowed http port using semanage, but I'm not sure I'm taking the right steps.

On 10/27/21 1:22 PM, Valerio Luccio wrote:

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 ?

On 10/23/21 6:18 AM, Valerio Luccio wrote:

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.

Thanks,

On Fri, Oct 22, 2021 at 3:28 PM Samuel Pelletier <webobjects-dev@wocommunity.org> wrote:
Hi Valerio,

I experience the same problem on a Cent OS instance (I think this is a VMWare distribution) but it works on others...

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).

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.

Regards,

Samuel

Le 21 oct. 2021 à 13:29, Valerio Luccio <webobjects-dev@wocommunity.org> a écrit :

Thanks Lon,
I didn't see your answer until now because gmail (which I hate every day more) had hidden it.

I'll see what I can find in the logs, although "start" works fine, why would "stop" be different ?


On Tue, Oct 5, 2021 at 11:10 PM Lon Varscsak <webobjects-dev@wocommunity.org> 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).

-Lon

On Tue, Oct 5, 2021 at 1:43 PM Valerio Luccio <webobjects-dev@wocommunity.org> wrote:

I recently ported my WebObjects app from an old OS X server to a CentOS 8 server.

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.

I've looked at the log file for the WOMonitor, but there was nothing useful.

Any ideas ?

Thanks in advance,

--
Valerio Luccio    
High Performance Computing    
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"


--
Valerio Luccio    
High Performance Computing     10 Astor Place, Room 415
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"



--
Valerio Luccio    
High Performance Computing     10 Astor Place, Room 415
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"


--
Valerio Luccio    
High Performance Computing    
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"


--
Valerio Luccio    
High Performance Computing    
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"


Valerio Luccio    
High Performance Computing    
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"
--------------cyAzLYhCsSieBWdmFrCcd7LM--