Displaying 20 results from an estimated 500 matches similar to: "tcpserver on port 25"
2010 Feb 26
2
Email Problem
Hi;
The following message appears to have been sent, but in fact never does
reach their destination:
[root qmail-send]# tail current
@400000004b87b3d3392cbddc new msg 97881462
@400000004b87b3d3392cc5ac info msg 97881462: bytes 531 from <
suzieprogrammer at gmail.com> qp 23629 uid 508
@400000004b87b3d33b7f700c starting delivery 4: msg 97881462 to remote
suzieprogrammer at gmail.com
2011 Sep 08
4
TCPServer in 1.9.2
Hi. First post in this group and I hope someone can help.
I am trying to teach myself Ruby with a long-term goal of doing some
web development using Ruby on Rails.
Note: version
C:\rails\hello>ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
I have been going through Jeremy McAnally''s book "Mr. Neighborly’s
Humble Little Ruby Book" and there is a section in chapter 5
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
2009 Nov 21
4
crontab problem
Hi;
I have the following in crontab -eu root:
@daily /usr/local/bin/mysql-backup-
daily.sh
@weekly /usr/local/bin/mysql-backup-weekly.sh
@monthly /usr/local/bin/mysql-backup-monthly.sh
[root at 13gems globalsolutionsgroup.vi]# ls /usr/local/bin/mysql-*
/usr/local/bin/mysql-daily.sh /usr/local/bin/mysql-monthly.sh
/usr/local/bin/mysql-weekly.sh
These scripts worked on another server. The daily
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
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
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
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
2006 Dec 19
1
mongrel_config has no output
I am not sure what i am doing wrong here, but no matter what i try i get no
output from mongrel_config:
$ mongrel_rails configtool
$ telnet localhost 3001
Trying 127.0.0.1...
Connected to localhost.
Escape character is ''^]''.
GET /config/ HTTP/1.1
HTTP/1.1 200 OK
Connection: close
Date: Tue, 19 Dec 2006 05:33:16 GMT
Content-Type: text/html
Content-Length: 0
Connection closed by