Starting up again - A query!

Login to reply  Page: « < 1 of 1 > »
25 May 2010 - 17:442616
Starting up again - A query!
Hi again everyone!
I have setup and compiled TBA on my Ubuntu laptop and have successfully run it on localhost. Since I have some people who would like to help me on this project, I want to setup the MUD on a separate host.

1. Are there any docs about how to do this?
2. If not, how do you do it?

I recall the last time, I had to use an FTP to get it running, but for the life of me I cannot remember how it was done, so before I go buying space on a host, I wanted to make sure I knew how to do it.

Thanks in advance!


25 May 2010 - 20:112617
It's just as easy on another host as it is on localhost.

When you get an account on a remote server, you will receive login details for it.
Now, use ftp or scp (I can recommend winscp if you run windows locally) to connect to the remote host.
Copy the tbamud.tgz file to the remote server, and log in using ssh (here, I recommend putty for windows) on the remote machine.

Now, you can do all the things you could do before on localhost - like unpacking, and running, the mud.


__________________
You know who I am.
25 May 2010 - 23:552618
FTP is what I was missing! Haha. Its coming back.

Upon make, however, i got:

####@#####.mudhosting.net [~/tbamud-3.61/src]# make
make: execvp: ./licheck: Permission denied
make: *** [.accepted] Error 127

I think this is an error fixable by adding permissions (with chmod?) but I am not sure exactly what to do.


26 May 2010 - 00:112619
Figured out the above.

Fixed with: chmod 777 licheck


26 May 2010 - 00:152620
Sigh!

####@####.mudhosting.net [~/tbamud-3.61]# -bash: ./autorun: Permission denied

[1]+ Exit 126 ./autorun
####@####.mudhosting.net [~/tbamud-3.61]# chmod 777 autorun
####@####.mudhosting.net [~/tbamud-3.61]# ./autorun &
[1] 3198
####@####.mudhosting.net [~/tbamud-3.61]# ./autorun: line 34: ulimit: core file size: cannot modify limit: Operation not permitted

[1]+ Done ./autorun



Last edited by Slacker (26 May 2010 - 00:17)
26 May 2010 - 04:512622
Above fixed with bin/circle command.

Must now figure out why connection closes when Putty does.


26 May 2010 - 11:252623
cd TbaMUD
./configure
cd src
make all
cd ..
./autorun &
exit



Last edited by rudeboyrave (26 May 2010 - 11:26)
26 May 2010 - 19:512624
None of that worked, I had to work around everything else.

./autorun had to work as bin/circle.

bin/circle shuts down the connection when putty shuts down.

nohup & doesn't seem to work either.

Ideas?


26 May 2010 - 19:552625
You have to add the ampersand at the end "./autorun &" that lets it run in the background. bin/circle runs the MUD in your current session and will be killed once you log off.


__________________
Rumble
The Builder Academy
tbamud.com 9091
26 May 2010 - 22:112626
To me, it seems something has gone wroing when packing out the files - licheck and autorun both are executable in the downloaded file archive.

That said, the command for not shutting down when you log off is "nohup", like this:

nohup bin/circle &

logs will then come to nohup.out instead of syslog.


__________________
You know who I am.
27 May 2010 - 02:292627
No dice..


27 May 2010 - 02:302628
Fixed. :D


Login to reply  Page: « < 1 of 1 > »