Re: apache2.4 on CentOS - doesn't do a thing

2017-08-07 Thread Dennis Bliefernicht
Hi,

> On 7. Aug 2017, at 01:32, Rainer Duffner  wrote:
> 
> [Mon Aug 07 01:17:11.220413 2017] [:error] [pid 7912] Request handling error: 
> The requested application was not found on this server.
> [Mon Aug 07 01:17:13.232976 2017] [:error] [pid 7914] sendBuffers(): send 
> error: Connection refused
> [Mon Aug 07 01:17:13.233009 2017] [:error] [pid 7914] error sending request
> [Mon Aug 07 01:17:13.233281 2017] [:error] [pid 7914] Request handling error: 
> The requested application was not found on this server.
> [Mon Aug 07 01:17:13.233646 2017] [:error] [pid 7911] sendBuffers(): send 
> error: Connection refused
> [Mon Aug 07 01:17:13.233657 2017] [:error] [pid 7911] error sending request
> [Mon Aug 07 01:17:13.233764 2017] [:error] [pid 7911] Request handling error: 
> The requested application was not found on this server.


Another idea (don't remember if the error messages match but the symptom surely 
was the same): have you checked the SELinux permissions and/or if its enabled? 
There is a permission httpd_can_network_connect, which allows httpd to connect 
to other network ports; By default (I think) it is disabled and just lets all 
connections fail. Theoretically this shold also log somewhere in 
/var/log/audit/audit.log

Greetings
Dennis

--






-
Dennis Bliefernicht • Head of Backend Development
T +49 40 357 3001 62
dennis.blieferni...@xyrality.com

XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
www.xyrality.com 
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen
-

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: apache2.4 on CentOS - doesn't do a thing

2017-08-06 Thread Joe Smith
>Is there a way to check if the service on port 1085 works as intended?

Yes.

telnet host-ip 1085

This should connect to the WO instance.  If it says connection refused then
check to see if the port is not blocked by inbound access rules.

Also, I had a similar issue recently and Ralf's suggestion below fixed the
issue.

Ralf Schuchardt 

The shell script wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh is
actually responsible for starting the app.
The old WebObjects version would redirect the start output to /dev/null,
while newer Wonder versions may redirect it to
/Library/WebObjects/Logs/SpawnOfWotaskd.log if a /tmp/logWebObjects file
exists. So you may have to modify the actual log file location and then
enable logging.

Ralf



On Sun, Aug 6, 2017 at 7:32 PM, Rainer Duffner 
wrote:

>
> Am 07.08.2017 um 01:00 schrieb Theodore Petrosky :
>
> how about the permissions? and starting wotaskd  womonitor as services.
>
>
>
>
> So, I get this in the error_log of the vhost that uses webobjects:
>
>
> [Mon Aug 07 01:17:11.220413 2017] [:error] [pid 7912] Request handling
> error: The requested application was not found on this server.
> [Mon Aug 07 01:17:13.232976 2017] [:error] [pid 7914] sendBuffers(): send
> error: Connection refused
> [Mon Aug 07 01:17:13.233009 2017] [:error] [pid 7914] error sending request
> [Mon Aug 07 01:17:13.233281 2017] [:error] [pid 7914] Request handling
> error: The requested application was not found on this server.
> [Mon Aug 07 01:17:13.233646 2017] [:error] [pid 7911] sendBuffers(): send
> error: Connection refused
> [Mon Aug 07 01:17:13.233657 2017] [:error] [pid 7911] error sending request
> [Mon Aug 07 01:17:13.233764 2017] [:error] [pid 7911] Request handling
> error: The requested application was not found on this server.
>
>
> I’ve disabled IPv6 and it does listen on that port:
>
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
>   User   Inode  PID/Program name
> tcp0  0 0.0.0.0:80  0.0.0.0:*
> LISTEN  0  16847  850/httpd
> tcp0  0 0.0.0.0:56789   0.0.0.0:*
> LISTEN  99518494  959/java
> tcp0  0 0.0.0.0:22  0.0.0.0:*
> LISTEN  0  16412  938/sshd
> tcp0  0 127.0.0.1:5016  0.0.0.0:*
> LISTEN  20101  18530  1294/java
> tcp0  0 127.0.0.1:5017  0.0.0.0:*
> LISTEN  20101  18598  1294/java
> tcp0  0 127.0.0.1:250.0.0.0:*
> LISTEN  0  17435  1549/master
> tcp0  0 127.0.0.1:5018  0.0.0.0:*
> LISTEN  20101  18531  1294/java
> tcp0  0 127.0.0.1:5019  0.0.0.0:*
> LISTEN  20101  18532  1294/java
> tcp0  0 127.0.0.1:5020  0.0.0.0:*
> LISTEN  20101  18533  1294/java
> tcp0  0 192.168.88.116:1085 0.0.0.0:*
> LISTEN  99518522  2254/java
> tcp0  0 0.0.0.0:60220.0.0.0:*
> LISTEN  99518677  2254/java
> udp0  0 192.168.88.116:473260.0.0.0:*
>   99518511  959/java
> udp0  0 127.0.0.1:323   0.0.0.0:*
>   99613718  614/chronyd
> udp0  0 0.0.0.0:10850.0.0.0:*
>   99518552  2254/java
>
>
> Is there a way to check if the service on port 1085 works as intended?
>
>
>
>
>
>
>  ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-
> dev/sjoe76948%40gmail.com
>
> This email sent to sjoe76...@gmail.com
>
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: apache2.4 on CentOS - doesn't do a thing

2017-08-06 Thread Rainer Duffner

> Am 07.08.2017 um 01:45 schrieb Theodore Petrosky :
> 
> Ubuntu….. I only ever use Centos.
> 
> where does wotaskd.woa and javamonitor.woa live? did you chown them after 
> they were installed? So that they will run with the appserver:appserveradm 
> user. Check and make sure.
> 



They run like that.



> you said you disabled all the references to ‘cgi-bin’. Personally I would 
> make it work as the instructions say, then start playing around with removing 
> that kind of stuff.



The instructions don’t say how the rest of the apache config has to look like.

The default httpd.conf has references to the default cgi-bin directory and adds 
a script alias for it.

On Ubuntu, that threw-off webobjects. In any case, 



But, because I looked at the startup-script again, I realized that I had 
changed it previously (by request of the application-administrator) to make 
wotaskd listen on the first IP of the server, instead of 127.0.0.1.

Once I changed that in the apache webobjects configuration, it actually started 
to work.

I had forgotten about that change.
I have to ask him, if he still needs it.



Thanks.


Best Regards
Rainer

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: apache2.4 on CentOS - doesn't do a thing

2017-08-06 Thread Rainer Duffner

> Am 07.08.2017 um 01:00 schrieb Theodore Petrosky :
> 
> how about the permissions? and starting wotaskd  womonitor as services.



So, I get this in the error_log of the vhost that uses webobjects:


[Mon Aug 07 01:17:11.220413 2017] [:error] [pid 7912] Request handling error: 
The requested application was not found on this server.
[Mon Aug 07 01:17:13.232976 2017] [:error] [pid 7914] sendBuffers(): send 
error: Connection refused
[Mon Aug 07 01:17:13.233009 2017] [:error] [pid 7914] error sending request
[Mon Aug 07 01:17:13.233281 2017] [:error] [pid 7914] Request handling error: 
The requested application was not found on this server.
[Mon Aug 07 01:17:13.233646 2017] [:error] [pid 7911] sendBuffers(): send 
error: Connection refused
[Mon Aug 07 01:17:13.233657 2017] [:error] [pid 7911] error sending request
[Mon Aug 07 01:17:13.233764 2017] [:error] [pid 7911] Request handling error: 
The requested application was not found on this server.


I’ve disabled IPv6 and it does listen on that port:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State   
User   Inode  PID/Program name
tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN  
0  16847  850/httpd   
tcp0  0 0.0.0.0:56789   0.0.0.0:*   LISTEN  
99518494  959/java
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN  
0  16412  938/sshd
tcp0  0 127.0.0.1:5016  0.0.0.0:*   LISTEN  
20101  18530  1294/java   
tcp0  0 127.0.0.1:5017  0.0.0.0:*   LISTEN  
20101  18598  1294/java   
tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN  
0  17435  1549/master 
tcp0  0 127.0.0.1:5018  0.0.0.0:*   LISTEN  
20101  18531  1294/java   
tcp0  0 127.0.0.1:5019  0.0.0.0:*   LISTEN  
20101  18532  1294/java   
tcp0  0 127.0.0.1:5020  0.0.0.0:*   LISTEN  
20101  18533  1294/java   
tcp0  0 192.168.88.116:1085 0.0.0.0:*   LISTEN  
99518522  2254/java   
tcp0  0 0.0.0.0:60220.0.0.0:*   LISTEN  
99518677  2254/java   
udp0  0 192.168.88.116:473260.0.0.0:*   
99518511  959/java
udp0  0 127.0.0.1:323   0.0.0.0:*   
99613718  614/chronyd 
udp0  0 0.0.0.0:10850.0.0.0:*   
99518552  2254/java  


Is there a way to check if the service on port 1085 works as intended?





 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


apache2.4 on CentOS - doesn't do a thing

2017-08-06 Thread Rainer Duffner
Hi,

I installed the adaptor-package from the repository and enabled it.

httpd -t -D DUMP_MODULES

shows it loaded.


However, requests don’t seem to reach webobjects.

The application works, when directly connecting to the port (200x).

But going through apache, I get a 404.

I get nothing when I enable the /tmp/logWebObjects debug file.


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com