I quite new to splunk and I am trying to install splunk universal forwarder 6.2.2 on linux systems.
Below are the commands that I have in a shell script which is executed by root user.
The script is executing perfectly till step 6.
On step 7 the script gets hung and there is no output and neither the script proceeds ahead.
I am unable to understand if this is an issue with the linux server where I am trying to install the forwarder or something is wrong with the installer.
Can someone please help me on this.
I also tried to manually execute the same command but it remains hung and I had to terminate the execution
splunk enable boot-start -user splunk --accept-license --answer-yes
instead of item 7 and 8 you should run the following commands
In addition I suggest to use rpm command because in this way you avoid items 2,3,4,5 and 6
you have only three items:
Well for some reason
./splunk start --accept-license or
splunk enable boot-start -user splunk was not working on this particular Linux server. We are yet to figure out the reason.
So we had to use
service splunk enable boot-start -user splunk and
service splunk start to get the thing working.
For other cases we were getting error message
./splunk start --accept-license we got
splunk enable boot-start -user splunk the command execution went to hung state
Good thing is the service is now working fine with
service splunk start/stop/restart commands
@nirmalya2006 - Did your answer provide a working solution to your question? If yes and you would like to close out your post, don't forget to click "Accept" and upvote any previous answers/comments that were helpful. But if you'd like to keep it open for possibilities of other answers, then you don't have to take action on it yet.