TeensyMud - 'A ruby mud server.'

Subject: Can't get it to run
Subject: Can't get it to run
Author: Nick
Posted: 04/15/2006 04:08AM

I've tried following all the instrcutions, but when i try starting TeensyMud, i get this error:

---------------------------------------------------------

06-04-15 17:31:44 [DEBUG] (Engine) Configuration: {"logfile"=>"logs/server.log", "server_type"=>:server, "account_system"=>true, "safe_read"=>true, "cache_size"=>1000, "server_io"=>:sockio, "object_interface"=>["objects"], "props_are_accessors_only"=>false, "dbfile"=>"db/world", "character_limit"=>10, "server_negotiation"=>[:sga, :echo, :naws, :ttype, :zmp], "guest_accounts"=>true, "verbose"=>false, "dbtype"=>:yaml, "character_interface"=>["teensy", "tiny"], "server_port"=>4000, "home"=>1, "trace"=>false, "server_filters"=>[:telnetfilter, :terminalfilter, :colorfilter], "cache_width"=>23, "cache_depth"=>7}
06-04-15 17:31:44 [ INFO] (YamlStore?) Loading world...
06-04-15 17:31:44 [ INFO] (YamlStore?) Database 'db/world.yaml' loaded...highest id = 1.
06-04-15 17:31:44 [ INFO] (Command) Loading commands...
06-04-15 17:31:44 [ INFO] (Command) Done.
06-04-15 17:31:44 [ INFO] (World) Starting Timer...
06-04-15 17:31:44 [ INFO] (World) World initialized.
06-04-15 17:31:44 [ INFO] (EventManager?) Event manager starting...
06-04-15 17:31:44 [ INFO] (Engine) Booting server on port 4000
06-04-15 17:31:44 [DEBUG] (Reactor) #
06-04-15 17:31:44 [FATAL] (Acceptor) Caught Errno::EBADF: Bad file descriptor - bind(2)
./lib/network/acceptor.rb:37:in `initialize'
./lib/network/acceptor.rb:37:in `init'
./lib/network/reactor.rb:83:in `start'
./lib/engine/engine.rb:97:in `run'
06-04-15 17:31:44 [FATAL] (Engine) Engine failed in run
06-04-15 17:31:44 [FATAL] (Engine) Caught RuntimeError?: Unable to start server
./lib/engine/engine.rb:97:in `run'
-------------------------------------------------------------

reply
Subject: Can't get it to run
Author: Tyche
Posted: 04/15/2006 06:58AM

Nick wrote:
> I've tried following all the instrcutions, but when i try starting TeensyMud, i get this error:
>
> 06-04-15 17:31:44 [FATAL] (Acceptor) Caught Errno::EBADF: Bad file descriptor - bind(2)

I believe that means you have another program already using and listening on port 4000. It could be you already have TeensyMud running in the background or something else.

Try changing the port in the config.yaml file or running it on another port,

./tmud --port 2000



reply
Subject: Can't get it to run
Author: Nick
Posted: 04/15/2006 09:18AM

Tyche wrote:
> Try changing the port in the config.yaml file or running it on another port,
>
> ./tmud --port 2000
>

That worked, thanks.

reply