Linux设备驱动之pci设备的枚举
2010-11-20 14:15
543 查看
Hi,
For some reason I cannot get WEBrick to boot anymore.
I installed and used Eclipse yesterday and all was working fine but
today I m getting this:
Any help appreciated...
Passenger
Offline
Registered: 2007-11-22
Posts: 46
OK!
Problem Solved:
Linux solution:
In console do:
this will give you a line starting with:
ruby 6205 adam 4u IPv4
take the number in second position (6205 in this case) and in console do:
(note -9 is separate from the pid)
Et Voila!
Problem solved, phantom connection is destroyed.
Now, let's go back to work.
For some reason I cannot get WEBrick to boot anymore.
I installed and used Eclipse yesterday and all was working fine but
today I m getting this:
$ ruby script/server => Booting WEBrick... => Rails application started on http://127.0.0.1:3000 => Ctrl-C to shutdown server; call with --help for options [2008-03-09 12:00:40] INFO WEBrick 1.3.1 [2008-03-09 12:00:40] INFO ruby 1.8.5 (2006-08-25) [i486-linux] [2008-03-09 12:00:40] WARN TCPServer Error: Address already in use - bind(2) /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new' from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners' from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each' from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners' from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen' from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize' from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize' from ./script/../config/../vendor/rails/railties/lib/webrick_server.rb:58:in `new' ... 6 levels... from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 from script/server:5:in `require' from script/server:5
Any help appreciated...
2 r2d2rabeau 2008-03-09 09:32:50
PassengerOffline
Registered: 2007-11-22
Posts: 46
OK!
Problem Solved:
Linux solution:
In console do:
lsof|grep 3000
this will give you a line starting with:
ruby 6205 adam 4u IPv4
take the number in second position (6205 in this case) and in console do:
kill -9 6205
(note -9 is separate from the pid)
Et Voila!
Problem solved, phantom connection is destroyed.
Now, let's go back to work.
相关文章推荐
- Linux设备驱动之pci设备的枚举
- Linux设备驱动之pci设备的枚举
- 浅谈 Linux 内核开发之 PCI 设备驱动
- mips处理器linux内核pci初始化和设备枚举详解
- Linux驱动开发-PCI设备浅析
- Linux下面写i2c设备的驱动-如何枚举产生i2c_client
- 再补充一篇 浅谈 Linux 内核开发之 PCI 设备驱动
- Pci设备驱动0:设备枚举
- 浅谈 Linux 内核开发之 PCI 设备驱动
- 在qemu中增加pci设备并用linux驱动验证
- Linux下的硬件驱动——USB设备(下)&& Linux下PCI设备驱动程序开发
- linux设备驱动之pci设备的驱动架构
- Linux下PCI设备驱动程序开发 --- linux 驱动框架(二)
- linux PCI驱动调用字符设备驱动方式
- Linux环境下无配置信息PCI设备的驱动开发
- linux为PCI、USB设备找到合适的驱动
- Linux下PCI设备驱动程序开发 --- linux 驱动框架(二)
- linux为PCI、USB设备找到合适的驱动
- Pci设备驱动:设备枚举
- linux设备驱动之pci设备的驱动架构