Hi - Issue with SCRIPTS since migration to Linux Mint 16 (/bin/sh: 1: 1024: not found)

58 views
Skip to first unread message

mde...@gmail.com

unread,
Dec 29, 2013, 9:34:49 AM12/29/13
to domusli...@googlegroups.com
Hi all.
This is a recurrent problem I face when I migrate to a new system, in this case to Linux Mint 16.

(here is an original post from me in 2011 where I had the same problem but no ovious solutions...: https://groups.google.com/d/msg/domuslink-users/AP_L9cLG1Ns/EXjeexJDTe0J  )

Here's a recap:

I migrated from Ubuntu to Linux Mint 16 this weekend.
Migrated all my HEYU and Domus.Link server configs and everything is working fine exept one thing:   I can't execute my SCRIPTS anymore.

Eg: If I launch the following:

heyu launch script1

I get this error in my heyu logs:

/bin/sh: 1: 1024: not found
/bin/sh: 1: 17664: not found


But my /bin/sh does seem to exist...  If I execute /bin/sh  I fall in  "$" mode...  (guess it's working right?)
All configs are identical as they where on Ubuntu.

Here's more info:

Running: 
Heyu version 2.11-rc1
Linux mint 16 Cinnamon
CM11A  (working fine with standard commands and Domus.Link web interface)

Thx alot for any tips!
Can't wait to hear from you cause my complete setup is worthless without those scripts. Thx!

And happy hollyday to all of you!


mde...@gmail.com

unread,
Dec 29, 2013, 7:25:12 PM12/29/13
to domusli...@googlegroups.com
Hi again All,

I found the solution after alot of research.
Here's the problem:

It seems in recent Ubuntu and Mint version, BASH has been replaced by DASH.
This causes problems to scripts including those used by Heyu.

/bin/sh is a simlink to /bin/dash.
You need to change this to /bin/bash

To do so simply:

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh


(all the details here: http://lists.debian.org/debian-amd64/2011/07/msg00012.html)

Once this done, my problem was fixed!
Hope this can help others or myself again in a few years :)

Thx for your help!
Reply all
Reply to author
Forward
0 new messages