similar to: TCPServer in 1.9.2

Displaying 20 results from an estimated 400 matches similar to: "TCPServer in 1.9.2"

2010 Feb 24
2
tcpserver on port 25
Hi; [root at 13gems beno]# netstat -ltnup Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 24560/mysqld tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 27762/tcpserver tcp 0 0 0.0.0.0:25
2003 Sep 02
2
dovecot, vpopmail and djb's tcpserver
Hello! I've tried to set up dovecot in conjuction with vpopmail, and running it under djb's tcpserver instead of (x)inetd. Btw - there was no reference to setting dovecot up using (x)inetd either in the manuals/faqs i read, though I didn't search all that hard. Anyway, back to my Q: vpopmail uses vchkpw as an authentication mechanism, and with tcpserver I can do relaycontrol (based
2011 Oct 18
2
Fried Email Server! Perl Problem
I hate it when I crash my email server. Here's what tailing /var/log/qmail/qmail-smtp/current gives me: [root at toast jack]# tail /var/log/qmail/qmail-smtpd/current @400000004e9ddbd031610f54 tcpserver: status: 0/20 @400000004e9ddbd72c767c04 tcpserver: status: 1/20 @400000004e9ddbd72c7ab60c tcpserver: pid 12039 from 210.76.164.235 @400000004e9ddbd739a20d1c tcpserver: ok 12039
2003 Feb 26
2
inetd/xinetd/tcpserver support
I was just thinking how they could be easily supported. This would work, right? : imap stream tcp nowait root /usr/sbin/tcpd /usr/local/libexec/dovecot/imap-login imaps stream tcp nowait root /usr/sbin/tcpd /usr/local/libexec/dovecot/imap-login --ssl imap-login would try to connect to master process using some named socket. If it couldn't, it would create the master process itself. Master
2004 Feb 10
0
TCPServer failure within daemon
I wanted to see if I could setup a simple echo server to run as a service. So, using daemon_test.rb, I modified the Daemon class to something like this: require "socket" class Daemon def initialize @server = TCPServer.new("localhost",8888) end def service_main while state == RUNNING while session = @server.accept str =
2010 Jun 17
2
Ok, I've given up
Sigh, In the interest of moving forward on this project I've given up trying to get Dovecot to support mailboxes, rather I've tweaked around in qmail and had it deliver into a mail directory on a disk, that isn't NFS mounted. That got me past the various locking complaints and "operation not supported" on home directories that were mounted from the NetApp filer. Going as
2006 Mar 05
5
A nicer and gentler form of spawner
I was working on deploying an app with switchtower, and I really dislike the way spawner is implemented. The way it will relaunch the dispatcher all the time just to let it die if the port is in use is too brute force for my taste. As we''re in a ruby script, why not let ruby find out if the port is in use? Using the TCPServer class we can try and bing to the port. If we succeed, it means
2007 Aug 06
4
[Patch] HttpServer.port reports the bound port
This is for when you pass mongrel 0 for the port and the OS assigns an open one. Corey --- mongrel-1.0.1/lib/mongrel.rb 2007-08-05 15:29:59.000000000 -0700 +++ mongrel-1.0.1/lib/mongrel.rb.zero_port_fix 2007-08-05 15:29:23.000000000 -0700 @@ -560,7 +560,7 @@ @socket = TCPServer.new(host, port) @classifier = URIClassifier.new @host = host - @port = port
2011 Mar 08
6
Windows /RailsInstaller- Webrick starts but welcome page doesn't load
I''m trying the RailsInstaller to get ROR installed on Windows.. everything was going great(rake db:create/migrate and console working as expected) until I started the server, webrick starts but the welcome page never loads, no errors are displayed at all it just sits there forever, I looked at the logs and there are no errors there either Here is my configuration Windows 7 Rails 3.0.4
2006 Jun 27
2
non-traditional rails app
I''d like to convert some simple, general ruby scripts I have into rails apps just for testing purposes. Many of these apps are not DB driven, so the whole CRUD concept does not apply to them... here''s a sample: require ''socket'' server = TCPServer.new(''12345'') while (session = server.accept) Thread.new(session) do |this_session|
2008 May 25
4
inetd & corrupt environment
Hello. I'm having the following problem with dovecot 1.0.12 and above, on a FreeBSD 7.0 system - I'm trying to run pop3-login from inetd and I keep getting this error after authentication: May 25 09:46:19 charlie dovecot: POP3(gelu): /libexec/ld-elf.so.1: environment corrupt; missing value for no-nuls oe-ns-eoh The problem persists if I uncomment the lines with no-nuls oe-ns-eoh in
2007 Jan 23
1
dovecotpw/sql crypt scheme core dump with rc17-19
Platform is Solaris 8 on a 280R. I'm setting up a new installation of Dovecot, and I ran into some troubles that I've partly tracked down. I setup auth/user dbs with LDAP initially, and things worked well. Passwords are stored as "{crypt}zxcv..." in LDAP. I setup SQL, and began getting this: dovecot: Jan 23 16:37:47 Error: child 8718 (auth-worker) killed with signal 11
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2003 Mar 26
1
Failure in the presence of too many connections
Had an event today where dovecot refused new connections and would not accept more until restarted, whereupon it worked for a few minutes and locked up again. Looking at the logs it appeared that it had run out of file descriptors. I increased the open files limit and started it again-- which worked but it only pushes off the problem. Does dovecot keep an open file descriptor for every imap or
2001 Feb 09
0
severe error in SSH session key recovery patch
http://www.core-sdi.com/advisories/ssh1_sessionkey_recovery.htm includes the line of code: kill(SIGALRM, getppid()); This is contained within what is listed as an "unsupported and untested patch" developed by SSH.com. The problem is that the arguments to "kill" are in the wrong order. In other words, to obtain the effect that was apparently intended, the line of code
2008 Feb 13
1
acl, no rights and possibility to delete files
Hello, I've a samba 3.0.24 and a share in ext3 with acl. I've set on a file the following permissions on a file a.txt : vssamba:/# getfacl /mnt/samba/partage/a.txt getfacl: Removing leading '/' from absolute path names # file: mnt/samba/partage/a.txt # owner: herve # group: users user::rwx group::r-- other::r-- The rights for share "Partage" are : [partage]
2010 May 30
1
upgrading problems, 2.3.5 -> 2.3.8
Ever since I updated rails to 2.3.8, script/server exits right after it starts. Here''s the output => Ctrl-C to shutdown server [2010-05-29 18:14:58] INFO WEBrick 1.3.1 [2010-05-29 18:14:58] INFO ruby 1.9.1 (2009-01-30) [i686-linux] [2010-05-29 18:14:58] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /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
2006 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the instructions to the letter and everything work just great, very impressive:-). A couple of days later when I went back to it I got the following message when trying to start the WEBrick server. U:\RoRProjects\cookbook>ruby script\server =>
2006 Feb 01
1
RAGI Gem - Running an additional server thread
I have RoR running and have configured RAGI (per the new tutorial provided at ETel http://www.snapvine.com/code/ragi) but I get this: --- user# script/server => Booting WEBrick... [2006-01-30 14:20:25] INFO RAGI::CallServer: default-handler= port=4573 [2006-01-30 14:20:25] INFO WEBrick 1.3.1 [2006-01-30 14:20:25] INFO ruby 1.8.2 (2004-12-25) [i586-linux] [2006-01-30 14:20:25] WARN TCPServer