Jump to content
  • 0

Need Help. installing rathena GIT on Asurahosting VNC


Critica

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

Hey guys help me here.

i already done all the guides here in Rathena setting it up on CentOS

ive done this before and its working but that was Rathena SVN

 

now everytime i use rathena GIT, ive downloaded it on my PC, compiled it using C++ no error

and transfer it to asurahosting.

everytime i tried to compile there on the Terminal., i get this error

[root@darksoulro ~]# cd /root/Desktop/trunk
[root@darksoulro trunk]# ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
[root@darksoulro trunk]# 
 

but when im using SVN rathena it works perfectly.

and also when i start the server im getting this error too
 

/root/RO_char: line 9: ./char-server: No such file or directory

maybe because i havent recompile it on the hosting server? (CentOS)



please help. im a newbie when it comes to other OS and hosting stuff :D
Edited by Critica
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

Oh. I'm guessing you copied it over from a Windows machine. In that case you will need to use dos2unix to get rid of the Windows CR.

 

dos2unix configure

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

You need to modify the file's permissions.

 

chmod a+x configure

./configure

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

hmm still nothing..
 

[root@darksoulro ~]# cd /root/Desktop/trunk
[root@darksoulro trunk]# chmod a+x configure
[root@darksoulro trunk]# ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
[root@darksoulro trunk]# 
Edited by Critica
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

it woRks! thank you! hhehe!

i didnt get this problem before when i was using SVN. but thanks anyway!

now ive got this problem

 

on char-server.
[Error]: make_listen_bind: bind failed (socket #4, error 98: Address already in use)

 

if you can help me again that would be great!! 
 

Link to comment
Share on other sites


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

You already have the server running. You will need to find the PID (process ID) and kill it or just restart your box.

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...