# Unable to start server

**URL:** <https://community.stardog.com/t/unable-to-start-server/1105>\
**Category:** Support\
**Created:** [June 22, 2018, 8:35am UTC](https://community.stardog.com/t/unable-to-start-server/1105 "2018-06-22T08:35:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adhiraj](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adhiraj](https://community.stardog.com/u/adhiraj)\
**Post date:** [June 22, 2018, 8:35am UTC](https://community.stardog.com/t/unable-to-start-server/1105/1 "2018-06-22T08:35:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [June 22, 2018, 10:21am UTC](https://community.stardog.com/t/unable-to-start-server/1105/2 "2018-06-22T10:21:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![adhiraj](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@adhiraj](https://community.stardog.com/u/adhiraj)\
**Post date:** [June 22, 2018, 11:18am UTC](https://community.stardog.com/t/unable-to-start-server/1105/3 "2018-06-22T11:18:33Z")

</div>

> [@zachary.whitley](#):
>
> bash --version

Hi,  
I was following the following quickstart guide.

> **[Home](https://docs.stardog.com/?_hsenc=p2ANqtz-9xfJMfJcsIDrV1FHpHaf1Hdm1bz20UgpROGy2iyluqX0nDrI5OfdhMfDSyI5tRYY3mz_D4zBj7tJqdeiaMKFjSlRH2ZA&_hsmi=57254532&utm_campaign=Stardog%3A%20Product%20Download&utm_content=57254532&utm_medium=email&utm_source=hs_automation)**
>
> Documentation for Stardog, the world’s leading Knowledge Graph Platform for the Enterprise

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 (C) 2007 Free Software Foundation, Inc.

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [June 22, 2018, 3:09pm UTC](https://community.stardog.com/t/unable-to-start-server/1105/4 "2018-06-22T15:09:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [July 6, 2018, 3:21pm UTC](https://community.stardog.com/t/unable-to-start-server/1105/5 "2018-07-06T15:21:34Z")

</div>

Closed on July 6, 2018, 3:21pm UTC

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