X-CGP-ClamAV-Result: CLEAN
X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2)
From: "Valerio Luccio"
Received: from mx0b-00256a01.pphosted.com ([67.231.153.242] verified)
by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7)
with ESMTPS id 26699318 for webobjects-dev@wocommunity.org; Wed, 27 Oct 2021 20:12:53 +0200
Received-SPF: pass
receiver=post.selbstdenker.com; client-ip=67.231.153.242; envelope-from=valerio.luccio@nyu.edu
Received: from pps.filterd (m0119692.ppops.net [127.0.0.1])
by mx0b-00256a01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19RI24I5011906
for ; Wed, 27 Oct 2021 14:12:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu.edu; h=content-type :
message-id : date : mime-version : subject : from : to : references :
in-reply-to; s=20180315; bh=PoV7EFp8VNFeTotX+7+8wM8HhWhz9xyZqZtKlGRRKSY=;
b=odnap2IqcG8J+3SKhUQM/Izki94jU4aXaLmk5YZ7ucr3WPV5eJwsIrG/GPkwIsO/swGZ
NuyHoa58eBTHc5tipreoRd9WhZ1fEYO6XCyrGoSjjAAA0vvY1fpKyJIjTMU2LejJnX9c
IBbxQzaNoEU9mZ5nb3udpZieUifnRfqAl+pP62P5L37oF/KxOs/+hfOcF8hG3l1TtEgr
NjioyLRVCY0KbbOsId2SkAZOHvJyfKM1epB12R+L6W2G5SWFCPTESBgfT0mN8mAx4FO3
/PFT2d6PcIeWAgFphxgQouEfP9cnj/Edw2UCT6WvW4xosF2myRPQwqBNHrg+W8TgJZK4 vw==
Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71])
by mx0b-00256a01.pphosted.com with ESMTP id 3by9pmufbg-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
for ; Wed, 27 Oct 2021 14:12:31 -0400
Received: by mail-qv1-f71.google.com with SMTP id z8-20020a0cd788000000b00384d92a0f11so2852787qvi.17
for ; Wed, 27 Oct 2021 11:12:31 -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:from:to:references:in-reply-to;
bh=PoV7EFp8VNFeTotX+7+8wM8HhWhz9xyZqZtKlGRRKSY=;
b=5jqG9A2keIx5YA7or/SSFpQkVc8qXNvefCkXBSP8nFyxj8x6oG1QH5yM4KlQKp3cGm
wwz5pgwu4jifWzkP5jjtx4PQdgyFkHE0PVaUDMO3X+zVR28yqWQKNSg2DyCBstLY3jpP
sKghTIGfHBFcURVBpdlBp7XUeJ79jshDXamgDT9OaAAAM5FRCCRy7OVDY7ifQfAvwCbs
4ns6cRWoXAYYpUUL19Oi0plhTG3k9GgfQ+Wo5uSMfabpA5Wpizb6gaE0hHsQlre2JYYg
dii8f0TLZewORZD+665Ui23Ge7KlLIiV38vf+tMx0f6NND4juScm2Es0GSXeKsUod9oc
gwKA==
X-Gm-Message-State: AOAM533SmqgJffJ26VRVkLogy7+VirKpvOXstOS1RQRmwT4oD8LzPfmr
c4OxrR1Z04NQnYR2obL+yBJMT9CiHjAw61n5CL/GprEPMCiVNCK6LZPkjTTbePX3yUfqzFjR8gi
Y6HyLd0tZ1BPxcyjacddXFn+IWw==
X-Received: by 2002:ac8:5e49:: with SMTP id i9mr32706113qtx.145.1635358350598;
Wed, 27 Oct 2021 11:12:30 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJxgr2XxMUqY6tMVu0BubpuxaoO2448JgRnq6jtuQSc7zzKYWZnnRcEM3JT1JPph6YTDW1ymrQ==
X-Received: by 2002:ac8:5e49:: with SMTP id i9mr32706061qtx.145.1635358350124;
Wed, 27 Oct 2021 11:12:30 -0700 (PDT)
Received: from [192.168.1.93] (4133da4e.cst.lightpath.net. [65.51.218.78])
by smtp.gmail.com with ESMTPSA id g12sm456381qtb.3.2021.10.27.11.12.29
for
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Wed, 27 Oct 2021 11:12:29 -0700 (PDT)
Content-Type: multipart/alternative;
boundary="------------4J0vnuQPlPqLahz2LmTyZs15"
Message-ID:
Date: Wed, 27 Oct 2021 14:12:28 -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-CA
To: WebObjects & WOnder Development
References:
In-Reply-To:
X-Proofpoint-GUID: XWKANl9oOqzwhqflkfgEBvlZwOA1YpJM
X-Proofpoint-ORIG-GUID: XWKANl9oOqzwhqflkfgEBvlZwOA1YpJM
X-Orig-IP: 209.85.219.71
X-Proofpoint-Spam-Details: rule=outbound_bp_notspam policy=outbound_bp score=0 mlxlogscore=999
mlxscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501
phishscore=0 suspectscore=0 clxscore=1015 adultscore=0 impostorscore=0
bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1
engine=8.12.0-2110150000 definitions=main-2110270103
This is a multi-part message in MIME format.
--------------4J0vnuQPlPqLahz2LmTyZs15
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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 ?"
--------------4J0vnuQPlPqLahz2LmTyZs15
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
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,
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
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 ?
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
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 ?"
--------------4J0vnuQPlPqLahz2LmTyZs15--