Critica Posted May 22, 2014 Share Posted May 22, 2014 (edited) 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[[email protected] ~]# cd /root/Desktop/trunk[[email protected] trunk]# ./configurebash: ./configure: /bin/sh^M: bad interpreter: No such file or directory[[email protected] 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 Edited May 22, 2014 by Critica Quote Link to comment Share on other sites More sharing options...
Aleos Posted May 22, 2014 Share Posted May 22, 2014 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 1 Quote Link to comment Share on other sites More sharing options...
Aleos Posted May 22, 2014 Share Posted May 22, 2014 You need to modify the file's permissions. chmod a+x configure ./configure Quote Link to comment Share on other sites More sharing options...
Critica Posted May 22, 2014 Author Share Posted May 22, 2014 (edited) hmm still nothing.. [[email protected] ~]# cd /root/Desktop/trunk [[email protected] trunk]# chmod a+x configure [[email protected] trunk]# ./configure bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory [[email protected] trunk]# Edited May 22, 2014 by Critica Quote Link to comment Share on other sites More sharing options...
Critica Posted May 22, 2014 Author Share Posted May 22, 2014 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!! Quote Link to comment Share on other sites More sharing options...
Aleos Posted May 22, 2014 Share Posted May 22, 2014 You already have the server running. You will need to find the PID (process ID) and kill it or just restart your box. Quote Link to comment Share on other sites More sharing options...
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
[[email protected] ~]# cd /root/Desktop/trunk
[[email protected] trunk]# ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
[[email protected] trunk]#
but when im using SVN rathena it works perfectly.
and also when i start the server im getting this error too
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
Link to comment
Share on other sites