Unable to start server


(Adhiraj Bandyopadhyay) #1

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”) &’


(zachary.whitley) #2

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.


(Adhiraj Bandyopadhyay) #3

Hi,
I was following the following quickstart guide.
https://www.stardog.com/docs/?utm_campaign=Stardog%3A%20Product%20Download&utm_source=hs_automation&utm_medium=email&utm_content=57254532&_hsenc=p2ANqtz-9xfJMfJcsIDrV1FHpHaf1Hdm1bz20UgpROGy2iyluqX0nDrI5OfdhMfDSyI5tRYY3mz_D4zBj7tJqdeiaMKFjSlRH2ZA&_hsmi=57254532#_quick_start_guide

And my bash version is as follows:

Adhirajs-MacBook-Pro:bin Adhiraj$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright © 2007 Free Software Foundation, Inc.


(zachary.whitley) #4

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.


(system) #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.