Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Share Posted April 18, 2017 Hi Guys, I'm having trouble installing/running rathena, I don't know what to do anymore I've been figuring how to run it on vps in digitalocean. First i have trouble compiling the server and now this. Hope I got someone to answer. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
1 Cyro Posted April 18, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 18, 2017 (edited) i sense this is resource issue, you using 1gb ram? and what is the version of rathena you using? pretty sure this issue will be solved if you upgrade it to one gb ram and also check ram when stopped while loading npc's scripts at some point Edited April 18, 2017 by Cyro 1 Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 10 minutes ago, Liliadent said: Hi Guys, I'm having trouble installing/running rathena, I don't know what to do anymore I've been figuring how to run it on vps in digitalocean. First i have trouble compiling the server and now this. Hope I got someone to answer. Thanks in advance. try to clone latest rathena repo? coz i see it stated there nothing to be done. go back to home / user directory & execute this command git clone https://github.com/rathena/rathena.git ~/rAthena Noted: do not run emulator on root user.. 2 Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 ^ Thanks man I managed to run it, Now another problem appears. This is actually the one i'm having trouble of. BTW. I read that "do not run emulator on root user.", but I can't compile on a created user. It gives -bash: ./configure: permission denied everytime i ./configure. Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 (edited) execute chmod a+x configure to allow permission. for -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory convert the athena-start first using dos2unix. type dos2unix athena-start Edited April 18, 2017 by Technoken 3 Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 (edited) 21 minutes ago, Technoken said: for -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory convert the athena-start first using dos2unix. type dos2unix athena-start well.. i think i get this.. the trunk folder was transfer from windows OS.. so by dos2unix, it will convert it to be read in linux.. Edited April 18, 2017 by hazimjauhari90 Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 24 minutes ago, Technoken said: execute chmod a+x configure to allow permission. for -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory convert the athena-start first using dos2unix. type dos2unix athena-start I already tried those, Does it have something to do with the map-server disconnecting? Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 Try to change permission via root user. Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 well.. i'm host running rathena on digital ocean too... but never had come with this configure permission issue.. even no need to set the permission.. anyway i'm running on ubuntu... but, i don't this causing the issue.. Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 Did the compilation run smoothly? try to recompile it again and see if the compilation ends until vending.c. execute ./configure && make clean && make server Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 9 minutes ago, Technoken said: Did the compilation run smoothly? try to recompile it again and see if the compilation ends until vending.c. execute ./configure && make clean && make server Yeah, I think it compiled perfectly. 20 minutes ago, hazimjauhari90 said: well.. i'm host running rathena on digital ocean too... but never had come with this configure permission issue.. even no need to set the permission.. anyway i'm running on ubuntu... but, i don't this causing the issue.. I actually rebuild 7x with centos and tried ubuntu and debian once ... I kinda having the same problem when it comes to compile I might try it again if the problem persists .. Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 2 minutes ago, Liliadent said: Yeah, I think it compiled perfectly. I actually rebuild 7x with centos and tried ubuntu and debian once ... I kinda having the same problem when it comes to compile I might try it again if the problem persists .. What ubuntu version u r using previously which having configure issue anyway? Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 The only problem you got now is being disconnected after running the map-server and it's now showing any errors? I once encountered this kind of error because of an item shop. I forgot to add the requirement and it causing the disconnection of map-server just like crashing it without showing any map error. Try to review some of custom shops. 1 Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 36 minutes ago, hazimjauhari90 said: What ubuntu version u r using previously which having configure issue anyway? it was the ubuntu 17.04 x64, i think i have the same problem with ./configure also giving me permission denied. 29 minutes ago, Technoken said: The only problem you got now is being disconnected after running the map-server and it's now showing any errors? I once encountered this kind of error because of an item shop. I forgot to add the requirement and it causing the disconnection of map-server just like crashing it without showing any map error. Try to review some of custom shops. Hmm. What do you mean about custom shops? You mean npcs? I notice when I first ./athena-start start the console stops at some point.. like in "Loading NPC file: ??", I have to reboot it to see the rest. But I don't have custom npc's. So I doubt that was the case. Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 16 minutes ago, Liliadent said: it was the ubuntu 17.04 x64, i think i have the same problem with ./configure also giving me permission denied. Hmm. What do you mean about custom shops? You mean npcs? I notice when I first ./athena-start start the console stops at some point.. like in "Loading NPC file: ??", I have to reboot it to see the rest. But I don't have custom npc's. So I doubt that was the case. Try ubuntu 14.04.5 Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 I'm running my server Centos 7 and didn't encounter such issue. Might be because of some configuration. Are you using the latest git hash from rathena github? Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 5 hours ago, hazimjauhari90 said: Try ubuntu 14.04.5 Tried man, I used setup guide from vulcan i got stuck at adding mysql files. 4 hours ago, Technoken said: I'm running my server Centos 7 and didn't encounter such issue. Might be because of some configuration. Are you using the latest git hash from rathena github? I rebooted again, installation process went fine. Didn't got a ./configure error or ./athena-start problem. Uses the latest git but I think the problem i'm having. But I can't tell for sure. as you can see the loads stop at [Status]: Done loading '0' entries for '0' NPC Markets from 'market' table. I can't tell if my map server is disconnecting or I'm having a packetserver error which I doubt. BTW. I'm not using root anymore Yay. Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 Did you compile your mmo.h packet ver to 2015-09-16? Does your char and login server communicates with map server? Try to execute login, char, and map server on a different terminal and see if it gives any error or warnings. I'm also having a hunch that it might be because of firewall not allowing the servers to communicate. Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 24 minutes ago, Technoken said: Did you compile your mmo.h packet ver to 2015-09-16? Does your char and login server communicates with map server? Try to execute login, char, and map server on a different terminal and see if it gives any error or warnings. I'm also having a hunch that it might be because of firewall not allowing the servers to communicate. Yea, I did recompile to #define PACKETVER 20150916. I think char connects to the login server. I jsut don't know if mapserver is disconnecting again. How to execute them individually ? ... I thought of that too that it has something to do with firewall or ports. 24 minutes ago, Cyro said: i sense this is resource issue, you using 1gb ram? and what is the version of rathena you using? pretty sure this issue will be solved if you upgrade it to one gb ram and also check ram when stopped while loading npc's scripts at some point really? I was actually using 512ram i thought it was enough.. i'm not even using VNC. Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 Try was @Cyro says it might actually because of ram. instead of ./athena-start start, execute this commands on different terminals. ./map-server ./char-server ./login-server Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted April 18, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 18, 2017 Mind showing us ram usage? Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 (edited) 2 minutes ago, Technoken said: Try was @Cyro says it might actually because of ram. instead of ./athena-start start, execute this commands on different terminals. ./map-server ./char-server ./login-server Yea, it was a map server... i needed to upgrade to 1gb ram? how to check ram? Edited April 18, 2017 by Liliadent Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 5 minutes ago, Cyro said: Mind showing us ram usage? OMG. I think I need more ram? Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted April 18, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: April 13 Share Posted April 18, 2017 @Liliadent Looks like you actually need to upgrade your ram. Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted April 18, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted April 18, 2017 30 minutes ago, Liliadent said: OMG. I think I need more ram? Well.. rathena on idle state already consume 420 MB if i'm not mistaken.. u should upgrade to 1GB ram instead Quote Link to comment Share on other sites More sharing options...
0 Liliadent Posted April 18, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 02/07/17 Last Seen: May 3, 2020 Author Share Posted April 18, 2017 Yeah it works now man. Thanks a lot. After 2 days of struggle it was ram all along Quote Link to comment Share on other sites More sharing options...
Question
Liliadent
Hi Guys,
I'm having trouble installing/running rathena, I don't know what to do anymore I've been figuring how to run it on vps in digitalocean.
First i have trouble compiling the server and now this.
Hope I got someone to answer. Thanks in advance.
Link to comment
Share on other sites
34 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.