Jump to content
  • 0

help how to fix this...


simplemhan

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

-bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

cd ~/rathena

./athena-start start

or

./athena-start stop

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi simplemhan,

I am assuming that you transferred the rAthena files over SFTP or FTP using 'Text' rather than 'Binary' mode. The best way to fix this is to delete the files 'start' and 'athena-start' from your folder, and use the commands within the folder to get it directly from the repo without forcing any unwanted upgrades to your current version of rA.

wget https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/athena-start
wget https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/start

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Perhaps we should have a FAQ section,

anyway use dos2unix to fix it :

dos2unix athena-start

//Use (dos2unix athena-start) if yo uare getting ^M errors ie. newline errors

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   1
  • Joined:  11/22/11
  • Last Seen:  

how? is the command gonna be dos2unix athena-start? tried it still the same error..

im having the same problem =(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...