[typo] Failing to start

Scott Laird scott at sigkill.org
Sun Jan 22 10:40:23 EST 2006


On Jan 20, 2006, at 10:02 PM, phil wrote:

> Typo has been running fine for months, but tonight I had a reboot  
> and now it won't start.  I've tried via Lighttpd and Webrick but  
> both fail.  I'm assuming this is more of a Ruby/Rails issue, but I  
> am unsure of what's going on, I've never seen this before.  I've  
> reinstalled lighttpd and rubygem-rails, but to no avail.  I'm  
> running FreeBSD if that matters, and am using all of the ruby/gem  
> stuff from ports, although at one time I did install some via gem  
> install, not sure if that's an issue.  Here is the output from the  
> server:
>
> [phil at pepe:~/websites/fak3r/typo]$ ./script/server -e production
> => Booting lighttpd (use 'script/server webrick' to force WEBrick)
> => Rails application started on http://127.0.0.1:3000
> => Call with -d to detach (requires absolute paths in config/ 
> lighttpd.conf)
> => Ctrl-C to shutdown server (see config/lighttpd.conf for options)
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/ 
> lighttpd.rb:52: [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i386-freebsd6]
>
> Abort trap: 6 (core dumped)
>
> [phil at pepe:~/websites/fak3r/typo]$ ./script/server webrick -e  
> production
> => Booting WEBrick...
> => Rails application started on http://0.0.0.0:3000
> => Ctrl-C to shutdown server; call with --help for options
> [2006-01-21 00:00:59] INFO  WEBrick 1.3.1
> [2006-01-21 00:00:59] INFO  ruby 1.8.4 (2005-12-24) [i386-freebsd6]
> [2006-01-21 00:00:59] INFO  WEBrick::HTTPServer#start: pid=65343  
> port=3000
> /usr/local/lib/ruby/1.8/webrick/server.rb:162: [BUG] Segmentation  
> fault
> ruby 1.8.4 (2005-12-24) [i386-freebsd6]
>
> Abort trap: 6 (core dumped)
> [phil at pepe:~/websites/fak3r/typo]$

What have you changed recently?  If you're dying with a segmentation  
fault, then you probably have something wrong with either Ruby itself  
or one of the compiled libraries in use.


Scott



More information about the Typo-list mailing list