Installation Issue - TCP Ports and MongoDB Storage Requirements
karthickmardi opened this issue · 3 comments
Hi All,
I'm currently facing an issue while installing StackStorm. The installation process is failing with the following error related to TCP ports and MongoDB storage requirements:
Error:
20231213T102540+0000
20231213T102540+0000 Not all required TCP ports are available. ST2 and related services will fail to start.
20231213T102540+0000
20231213T102540+0000 The following ports are in use by the specified pid/process and need to be stopped:
20231213T102540+0000 127.0.0.1:6379 54306/redis-server
20231213T102540+0000
20231213T102540+0000 ############### ERROR ###############
20231213T102540+0000 # Failed on Check TCP ports and MongoDB storage requirements #
20231213T102540+0000 #####################################
Additionally, both port 80 and port 443 are open on my machine.
Any assistance or guidance on resolving this issue with the installation. Your expertise and insights would be invaluable in helping me get StackStorm up and running smoothly.
Hi,
this means that there is already a redis-server running on your machine. The st2 install script will deploy a redis-server instance, too. So the check complains that the redis could not listen on the expected port. The script fails at that early stage to avoid any issues with stackstorm connecting to foreign services.
Did you run the install script more than once or install redis-server manually?
Hi,
No, I have not run the install script more than once, and I did not install the redis-server manually. The error occurred during the first-time installation using the one-line installation command on Red Hat v8.6.
I've followed the instructions provided in the documentation and haven't made any additional manual installations or modifications.
Any assistance or guidance on resolving this issue.
Thank you.
The error is stating there is a redis-server already installed.
Could you check if that exists?
If you didnt already have redis etc installed, then perhaps run the uninstall steps before trying a re-install.
Checking of course that anything it is uninstalling is not something you had installed for another reason.