Hi, I am very new to the community, I am just trying to install stardog-5.3-2.1 on a mac, initially it gave me the error
Adhiraj$ stardog-admin server start
-bash: stardog-admin: command not found
Then I changed the stardog-admin file to stardog-admin.sh
Then I am getting the following error:
Adhiraj$ sh stardog-admin server start
stardog-admin: line 53: syntax error near unexpected token >' stardog-admin: line 53: tail -n 0 -f $LOG_FILE > >(grep -v “^INFO”) &’
I’m not quite sure what the problem is there but it shouldn’t be necessary to rename the stardog-admin command. It would probably be ok if you did but it could be causing a problem so I’d change it back to eliminate that variable. I’m guessing there is a problem with your initial installation. I’d double check that you have $STARDOG_HOME set correctly. It probably couldn’t find the stardog-admin command because you don’t have your PATH set correctly. Add export PATH=$STARDOG_HOME/bin/:$PATH right after where you’re setting STARDOG_HOME.
It could possibly be the version of bash you’re running. What do you get when you run bash --version ? I’m a little surprised that the error references stardog-admin and not stardog-admin.sh since you said you renamed it so I’m wondering what’s actually being run.
Ok, I was only asking about the bash version because if the remote possibility you were running some crazy old Mac but it looks current. My suggestion would be to go back, clean everything up, and go back through the guide line by line taking care to follow each step exactly. Not finding the stardog-admin command indicates that you missed something along the way.