|
List Info
Thread: Sudden problems with IMAP
|
|
| Sudden problems with IMAP |

|
2006-10-20 07:02:49 |
|
Hi,
I check my mails on my kolab-server with my cell-phone (Nokia E60) once
in a while through our my local WLAN or from anywhere with GPRS without
problems so far. Even Imap-Idle did work as a cheap Mail-Push-Solution
! Since yesterday, it won't do anything! I didn`t change anything.
The phone connects, the local firewall regognizes it an passes the
request through to the kolab server. But my phone keeps, "Connecting to
mailbox.....". I checked the logs and found this at about the time, it
stopped working:
Master.log:
Oct 19 15:00:01 maryland <debug> master[18875]: about to exec
/kolab/bin/imapd
Oct 19 15:00:05 maryland <debug> master[19366]: about to exec
/kolab/bin/lmtpd
Oct 19 15:01:02 maryland <debug> master[8511]: process 18875
exited, status 0
Oct 19 15:01:09 maryland <debug> master[8511]: process 19366
exited, status 0
Oct 19 15:05:11 maryland <debug> master[19375]: about to exec
/kolab/bin/imapd
Oct 19 15:05:17 maryland <debug> master[8511]: process 19375
exited, status 75
Oct 19 15:05:17 maryland <debug> master[8511]: service
imaps pid 19375 in BUSY state: terminated abnormally
Oct 19 15:07:25 maryland <debug> master[19376]: about to exec
/kolab/bin/ctl_cyrusdb
Oct 19 15:07:25 maryland <debug> master[8511]: process 19376
exited, status 0
Oct 19 15:10:01 maryland <debug> master[19379]: about to exec
/kolab/bin/imapd
misc.log:
Oct 19 14:40:01 maryland <notice> imap[18479]: login: localhost
[127.0.0.1] manager plaintext User logged in
Oct 19 14:50:01 maryland <debug> imap[18784]: executed
Oct 19 14:50:01 maryland <debug> imap[18784]: accepted connection
Oct 19 14:50:01 maryland <notice> imap[18784]: login: localhost
[127.0.0.1] manager plaintext User logged in
Oct 19 15:00:01 maryland <debug> imap[18875]: executed
Oct 19 15:00:01 maryland <debug> imap[18875]: accepted connection
Oct 19 15:00:02 maryland <notice> imap[18875]: login: localhost
[127.0.0.1] manager plaintext User logged in
Oct 19 15:07:25 maryland <notice> ctl_cyrusdb[19376]:
checkpointing cyrus databases
Oct 19 15:07:25 maryland <debug> ctl_cyrusdb[19376]: archiving
database file: /kolab/var/imapd/annotations.db
Oct 19 15:07:25 maryland <debug> ctl_cyrusdb[19376]: archiving
log file: /kolab/var/imapd/db/log.0000000003
Oct 19 15:07:25 maryland <debug> ctl_cyrusdb[19376]: archiving
database file: /kolab/var/imapd/mailboxes.db
Oct 19 15:07:25 maryland <debug> ctl_cyrusdb[19376]: archiving
log file: /kolab/var/imapd/db/log.0000000003
Oct 19 15:07:25 maryland <notice> ctl_cyrusdb[19376]: done
checkpointing cyrus databases
Oct 19 15:10:01 maryland <debug> imap[19379]: executed
The Firewalls log (same, as when it used to work befor!!!)
Oct 19 15:05:10 maryland kernel: SFW2-INext-ACC-TCP IN=eth1 OUT=
MAC=00 xxxxxxx SRC=84.xxx.xxx.xxx DST=192.168.xxx.xxx LEN=60 TOS=0x
00 PREC=0x00 TTL=66 ID=759 DF PROTO=TCP SPT=63143 DPT=993 WINDOW=48180
RES=0x00 SYN URGP=0 OPT (020405AC080A66D2F81C00000000030300040200)
Since I didn't change anything and the firewall accepts the request, I
have no clue what went wrong. I tried also using another user from the
phone. Nothing!
Does anyone know what could be wrong?
THANKS for any help
Marcel Meissel
|
| problems while "extending"
restful_authentication |

|
2006-10-20 05:54:36 |
I'm trying to make restful authentication work with ruby pam
so that I
can authenticate against my unix box. (I made a post earlier
today about
this but I have made some progress since).
I downloaded ruby-pam from rubyforge and compiled the
extension which
resulted in a file called pam.so.
Ruby-pam comes with a couple of test files which help you to
try the
extension. When I run them they work correctly and without
errors.
Under "#/lib" I created a file called
pam_pam.rb which is
based on the test code from ruby-pam (that works by itself
without a
problem). I also copied pam.so to this same directory.
In the SessionController I "include PamPam" and
make a call to the
function that does the authentication.
Even though i'm using almost the exact same code as in the
tests (which
works) I'm getting an error about an undefined function
("pam_end").
How come I get this error under rails but not while running
the test
script by itself ? Am I not setting up the library correctly
?
You can find the code (from the lib and the controller) in
pastie:
http://pastie.caboo.se/1
8661
I suspect my problem is in a misplacement of libraries or
the incorrect
include'ing of files since the test script of ruby-pam works
just fine.
Any help is greatly appreciated.
any help is appreciated.
--
Posted via http://www.ruby-forum.com
/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---
|
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|