SatoriChan Posted April 12, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Share Posted April 12, 2012 How to use athena-start in Linux? I bought a host, but I can't use this athena-start. =/ I tried ./athena-start start, athena-start start... I put 777 in chmod and nothing... =/ Quote Link to comment Share on other sites More sharing options...
Aleos Posted April 12, 2012 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted April 12, 2012 Run this command from your RO directory: chmod 700 *.sh *_sql Should be ample permissions to run the server. Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 12, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 12, 2012 -bash-3.2# chmod 700 *.sh *_sql -bash-3.2# ./athena-start start -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory -bash-3.2# Quote Link to comment Share on other sites More sharing options...
Matrixfox Posted April 12, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 277 Reputation: 76 Joined: 11/23/11 Last Seen: September 21, 2014 Share Posted April 12, 2012 (edited) Are you in the rathena svn folder when typing ./athena-start start? cd rathena158xx ./athena-start start Edited April 12, 2012 by Matrixfox Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 12, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 12, 2012 yes, i'm in the rathena folder. Quote Link to comment Share on other sites More sharing options...
_jx Posted April 12, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 22 Reputation: 1 Joined: 01/17/12 Last Seen: September 30, 2020 Share Posted April 12, 2012 Have you finished compiling it? If not, then make sql Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 12, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 12, 2012 yes, make clean and then make sql. Quote Link to comment Share on other sites More sharing options...
Aleos Posted April 12, 2012 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted April 12, 2012 (edited) I don't use the eathena-start script because I like screen. It's easier to have script create the screen sessions for you automatically. Follow the Screen wiki to help you out. Pretty much all you have to do is install screen, make the Starting and Stopping files (from the wiki), run the chmod command I posted above, then run it. It gives you a pretty screen so you can easily run screen -r mapserver to see the console for the map server. Use CTRL + A + D to get out of screen because if you close the terminal with screen active it will kill the process. Edited April 12, 2012 by Aleos Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 12, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 12, 2012 i dont like screens, i want to use athena-start. '-' can someone help me? D; Quote Link to comment Share on other sites More sharing options...
-VI- Posted April 12, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 19 Reputation: 1 Joined: 12/03/11 Last Seen: December 30, 2018 Share Posted April 12, 2012 seems like you are using eamods athena-start where i got the same error just download a rathena/eathena revision and exchange the athena-start. Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 13, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 13, 2012 it didnt work =/ my athena-start #!/bin/bash # athena starting script by rowla # modified by [email protected] (NL101541) PATH=./:$PATH L_SRV=login-server_sql C_SRV=char-server_sql M_SRV=map-server_sql print_start() { # more << EOF echo "Athena Starting..." echo " © 2003 Athena Project" echo " modified by [email protected]" echo "" #echo "Debug informations will appear," #echo "since this is a test release." #echo "" echo "checking..." #EOF } check_files() { for i in ${L_SRV} ${C_SRV} ${M_SRV} do if [ ! -f ./$i ]; then echo "$i does not exist, or can't run." echo "Stop. Check your compile." exit 1; fi done # more << EOF echo "Check complete." echo "Looks good, a nice Athena!" #EOF } case $1 in 'start') print_start check_files exec . {L_SRV}& exec . {C_SRV}& exec . /${M_SRV}& echo "Now Started Athena." ;; 'stop') ps ax | grep -E "${L_SRV}|${C_SRV}|${M_SRV}" | awk '{print $1}' | xargs kill ;; 'restart') $0 stop $0 start ;; *) echo "Usage: athena-start { start | stop | restart }" ;; esac Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 13, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 13, 2012 i'm using linux. .-. i tried ./start, it didnt work. =/ Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 13, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 13, 2012 (edited) CentOS 5.4 Edited April 13, 2012 by SatoriChan Quote Link to comment Share on other sites More sharing options...
KeiKun Posted April 13, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: February 23 Share Posted April 13, 2012 Hi SatoriChan! did you ./configure or ./configure --with-pcre (+ PCRE) before compiling? Quote Link to comment Share on other sites More sharing options...
Judas Posted April 13, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted April 13, 2012 Wht i find that works and helps is to delete the athena-start file and checkout that particular file again via terminal. That usually does it for me. downloadin it from browser doesnt seem to work all the time Quote Link to comment Share on other sites More sharing options...
KeiKun Posted April 13, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: February 23 Share Posted April 13, 2012 Wht i find that works and helps is to delete the athena-start file and checkout that particular file again via terminal. That usually does it for me. downloadin it from browser doesnt seem to work all the time can't she just do svn revert to a file? Quote Link to comment Share on other sites More sharing options...
Judas Posted April 13, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted April 13, 2012 yeah that should work as well Quote Link to comment Share on other sites More sharing options...
GreenBox Posted April 13, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 303 Reputation: 101 Joined: 11/13/11 Last Seen: October 11, 2023 Share Posted April 13, 2012 (edited) -bash: ./athena-start: /bin/sh^M: bad interpreter: No such file or directory Probably the file was saved with Windows line endings, you can convert it using dos2unix. Edited April 13, 2012 by GreenBox Quote Link to comment Share on other sites More sharing options...
SatoriChan Posted April 13, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 17 Reputation: 1 Joined: 04/10/12 Last Seen: October 22, 2012 Author Share Posted April 13, 2012 didnt work =/ i put only ./configure at SSH, not ./configure --with-PCRE Quote Link to comment Share on other sites More sharing options...
Matrixfox Posted April 14, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 277 Reputation: 76 Joined: 11/23/11 Last Seen: September 21, 2014 Share Posted April 14, 2012 Are you trying to run ./athena-start start from root? Quote Link to comment Share on other sites More sharing options...
wh1t3dr3am Posted April 15, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 04/13/12 Last Seen: September 8, 2018 Share Posted April 15, 2012 i got same error with her. can someone tell me how to fix this ?thx i am already use ./configure --with-PCRE Quote Link to comment Share on other sites More sharing options...
Lighta Posted April 15, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 15, 2012 give a try to dos2unix ./athena-start 1 Quote Link to comment Share on other sites More sharing options...
wh1t3dr3am Posted April 16, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 22 Reputation: 0 Joined: 04/13/12 Last Seen: September 8, 2018 Share Posted April 16, 2012 it's work thanks Quote Link to comment Share on other sites More sharing options...
Judas Posted April 16, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted April 16, 2012 nice tip Quote Link to comment Share on other sites More sharing options...
java Posted June 1, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 254 Reputation: 21 Joined: 12/22/11 Last Seen: 52 minutes ago Share Posted June 1, 2012 give a try to dos2unix ./athena-start what a nice idea Quote Link to comment Share on other sites More sharing options...
Yohann Posted February 11, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/22/13 Last Seen: August 21, 2013 Share Posted February 11, 2013 how to fix this? Quote Link to comment Share on other sites More sharing options...
Question
SatoriChan
How to use athena-start in Linux? I bought a host, but I can't use this athena-start. =/
I tried ./athena-start start, athena-start start...
I put 777 in chmod and nothing... =/
Link to comment
Share on other sites
25 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.