05-01-2018 12:10 PM
I got an error with the Apache balance-manager, and i dont know how to solve this problem.
When I access to balance manger i see:
LoadBalancer Status for balancer://xxxxx.xxxxx.xxxxx_cluster1
In this section the status show me Err.
Anyone know how to solve the problem?
05-07-2018 04:24 AM
05-01-2018 09:01 PM
Can you please provide some more details about specifically what kind of error you encounter?
A screenshot of the browser and the error message you see might be a useful to others to understand what is in front of you.
05-01-2018 09:09 PM
Here is the image. In the status sometimes show me Err. now seems to be ok but when I try to access to SAS Visual Analytics I get the HTTP 401 Unauthorized.
And in the webserver log i got this error:
(OS 10061)No connection could be made because the target machine actively refused it. : proxy: HTTP: attempt to connect to xxx.xxx.xxx.xxx failed
[error] ap_proxy_connect_backend disabling worker for xxxx.xxxxx.xxxx
[client xxx.xxx.xxx] File does not exist: D:/SAS/Config/Lev1/Web/WebServer/htdocs/favicon.ico
05-01-2018 09:54 PM
Here is the sample, now I got the error.
if i open cmd and execute netstat -nao | findstr :8080 i dont see any process listening on the port 8080, but the service of webserver is still running.
05-02-2018 03:34 AM
I might be wrong, but I can imagine that your pool of connections of your SASServer1_1 is getting full. Hence, SASserver1_1 (port 8080) is closing the connection from time to time.
You can always monitor and set alerts with the SAS Environment Manager on the Web Server and the Web Application Servers, even on a application level. A lot. This would be my recommendation to understand better your problem.
In case I am right, you can always goto the guide to middle tier tuning and extend the Pool of Connections https://support.sas.com/documentation/cdl/en/appsrvtuning/69859/HTML/default/viewer.htm
After the changes, you will need to restart the middle tier, preferably all of it.
Do you have a clustered middle tier? a HW load balancer as an F5?
05-02-2018 07:06 AM
I can not acces to Environment manager. When I try to access to EVM i got the error: Http 500: Internal Server Error. Now the Balancer Manager dont show any error but when I trying to login in SAS VA i got the error HTTP 401.
05-02-2018 07:12 AM - edited 05-02-2018 07:12 AM
Well, instead of SAS Environment Manager, you could always connect to the JMX of your resources with JConsole.
Since it (best practice) requires the installation of JDK 8, I would like to recommend to install it on a separate machine then use JConsole from the to the SAS JMX port.
Which is the connection that SAS Environment Manager does in the background for monitoring JVM resources
Anyway, I would expect you might have such or any kind of errors in the Application server logs. Don't you?
05-02-2018 07:24 AM
In the server.log i got this message:
ERROR (tomcat-http--46) [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SASLogon].[cas]] Servlet.service() for servlet [cas] in context with path [/SASLogon] threw exception [Request processing failed; nested exception is org.jasig.cas.services.UnauthorizedServiceException: service.not.authorized] with root cause
Is it normal that the file tmlogxxxx.log is it updating and renaming every 2 seconds?
and in the wrapper log i got:
ERROR | wrapper | 2018/05/02 08:51:18 | JVM appears hung: Timed out waiting for signal from JVM.
ERROR | wrapper | 2018/05/02 08:51:23 | JVM did not exit on request, terminated
05-02-2018 07:38 AM
yes, tm logs updates very quickly. Actually in some (very few) cases you need to fine tune it a bit because it could cause I/O disturbance if your server is on SAN ans sharing storage with other services. Do not worry about it too much for now.
The one I cannot understand at this moment is the one of the cas service that is unauthorized ... have you recently made changes to the sastrust user? Perhaps you might need to extend the log info for SASServer1_1 or even SASLogon to a debug level, temporary. Remeber to restore the config once you get the info
05-02-2018 07:45 AM
No i dont change anyting for the sastrust user.
I dont know how is the process for extend the log or extend the SASLogon to the debug level but i'm going try to find it!
05-02-2018 08:46 AM
In SASLogon.log i found this messages:
2018-05-02 14:22:03,219 [tomcat-http--2] ERROR com.sas.svcs.security.authentication.tickets.TicketsController - error.authentication.credentials.bad org.jasig.cas.ticket.TicketCreationException: error.authentication.credentials.bad
2018-05-02 14:22:03,112 [tomcat-http--29] ERROR com.sas.svcs.security.authentication.tickets.TicketsController - service.not.authorized
05-07-2018 04:24 AM
05-07-2018 05:05 AM
I change the parameters of SASServer1_1 to:
-Xms8192m –Xmx8192m -XXermSize=768m -XX:MaxPermSize=1280m
In the wrapper.conf and in the setenv.bat
Need further help from the community? Please ask a new question.