Hi All,
We are upgrading from SAS9.4M3 to M4. We are getting some error during sas web app server configuration: -
Java.lang.llegalstateException: Port (6161) isn't available
Config script:
/opt/sas/software/sasdeploymentmanager/9/4/products/cfgwizard__94480__prt__xx_sp0__1/Utilities/Appserver/source/Ant/appserver+config.xml
Please advise?
Issues have been fixed after granting the permission to these files.
java.io.FileNotFoundException: /opt/sas/config/Lev1/Web/Scripts/AppServer/logs/config.log (Permission denied)
and
java.io.FileNotFoundException: /opt/sas/config/Lev1/Web/Scripts/AppServer/logs/bootstrap.log (Permission denied)
Are you sure you brought all SAS services down?
ps -ef | grep -i sas
Who is holding that port? Run the following command as root user:
lsof -i tcp:6161
Thanks for reply.
Yes, we have stopped all the services before starting the upgrade.
No one is using the 61616 port. Nothing comes out when I type
lsof -i tcp:6161
Are you talking about port 6161 or 61616? We do not use port 6161 in SAS, but 61616 is in use by SAS JMS Broker. Are you sure that brought down the JMS Broker? Please send an output from the following commands:
/<SASConfig>/Lev<X>/sas.servers status netstat -an | grep 61616
Thanks for reply.
Port is 61616 used for JMS.
[root@sasprod01 Lev1]# ./sas.servers status
SAS servers status:
SAS Web Infrastructure Data Server is UP
SAS Metadata Server 1 is UP
SAS Object Spawner 1 is NOT up
SAS DIP Job Runner 1 is NOT up
SAS Information Retrieval Studio Server is NOT up
SAS JMS Broker is NOT up
SAS Cache Locator Service ins_41415 is NOT up
SAS Web Server is NOT up
SAS Web App Server SASServer1_1 is NOT up
SAS Web App Server SASServer12_1 is NOT up
SAS Web App Server SASServer2_1 is NOT up
SAS Environment Manager is NOT up
SAS Environment Manager Agent is NOT up
[root@sasprod01 Lev1]# netstat -an | grep 61616
[root@sasprod01 Lev1]#
We are upgrading the sas environment and currently, we are on configuration part for sas web app server cong.
Please advise.
Hi,
could you provide some more details, such as: where exactly are you at in the config process/
what step are you trying to do when this error occurs?
When looking at the list of your servers, the ones that are not up, can you start those or
does this result in this error? Can you stop all services or are some still showing as up even tho
you stopped them? Can you kill the process?
A netstat -a | findstr 6161 might provide some info?
Thanks
Anja
Thanks Anja,
We are upgrading the sas servers from 9.4 M3 to 9.4 M4 and this error occurred during step 20th of sas configuration that is "sas web application server configuration".
for more info please please find attached screenshot of error and sas config step.
[root@sasprod01 bin]# netstat -a | findstr 61616
bash: findstr: command not found
[root@sasprod01 bin]# netstat -a | grep 61616
[root@sasprod01 bin]#
Please advise?
Attached error screenshot
Can we reboot Linux server during sas configuration step?
You can close SAS Deployment Wizard, restart Linux and restart the configuration step. Make sure that you do not have sas.servers script in /etc/init.d
Thanks Alexal,
There are no sas.servers file under /etc/init.d dir
Currently, below services are running. Do we want to stop running services first before linux reboot server?
[root@sasprod01 Lev1]# ./sas.servers status
SAS servers status:
SAS Web Infrastructure Data Server is UP
SAS Metadata Server 1 is UP
SAS Object Spawner 1 is NOT up
SAS DIP Job Runner 1 is NOT up
SAS Information Retrieval Studio Server is NOT up
SAS JMS Broker is NOT up
SAS Cache Locator Service ins_41415 is NOT up
SAS Web Server is NOT up
SAS Web App Server SASServer1_1 is NOT up
SAS Web App Server SASServer12_1 is NOT up
SAS Web App Server SASServer2_1 is NOT up
SAS Environment Manager is NOT up
SAS Environment Manager Agent is NOT up
Thanks for quick reply.
Do I need to restart the below services to resume the config steps after server reboot?
SAS Web Infrastructure Data Server is UP
SAS Metadata Server 1 is UP
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.