POP/IMAP tests not working

The forum for help and support with FreeNATS as well as any useful hints and tips
dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: POP/IMAP tests not working

Post by dave » Mon Jul 21, 2008 10:05 pm

Ok.... Hopefully the following will work:

Login to the console and do:

conary update php:devel

Then...

conary update php5=conary.rpath.com@rpl:1/5.2.6-1-1

You may get prompted to say yes and accept various things.

This should update your version of PHP and the new one should include IMAP.

Thanks to Ole for this solution, not me

Let me know how you get on.

amedias
Posts: 19
Joined: Mon Jul 21, 2008 12:00 pm

Re: POP/IMAP tests not working

Post by amedias » Tue Jul 22, 2008 8:58 am

Thanks Dave, at least I know its not me being a numpty now ;-)

I went for the VM appliance because it's so easy to deploy and we have a monster VM server here which runs about 15-20 appliances for various things, i didn't really want the hassle of a source install.

On a separate note....one really nifty feature would be the ability to export/backup the FreeNATS config/database for safety and possibly to import to another freeNATS install, don't know how difficult it would be but would be nice.

Thanks for looking into it so quickly!

Matt

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: POP/IMAP tests not working

Post by dave » Tue Jul 22, 2008 5:55 pm

No not you being a numpty at all.

My numptiness caused the error and hopefully Ole's solution has fixed it for you?

Backup/restore of data is something that's been asked for a couple of times. I think it'll just be data (not the schema or program code etc) so then you're safe to take a backup from an older version and import it into the newer one (whereas if it did the actual schema as well then the new code version may die as there are missing fields). Hopefully it should be part of v1 before too long.

Cheers,

Dave.

amedias
Posts: 19
Joined: Mon Jul 21, 2008 12:00 pm

Re: POP/IMAP tests not working

Post by amedias » Wed Jul 23, 2008 3:40 pm

Thanks for that dave but unfortunately still not working :-(

POP tests doing the same as before
IMAP still showing same symptoms

when I rand the tester.sh script on the IMAP node I got:

PHP Fatal error: Call to undefined function imap_timeout() in /opt/freenats/server/base/tests/imap.inc.php on line 34

Matt

amedias
Posts: 19
Joined: Mon Jul 21, 2008 12:00 pm

Re: POP/IMAP tests not working

Post by amedias » Wed Jul 23, 2008 3:44 pm

so i went back in to the settings and set timeout back to '0' as i had put in custom value of '30'

now seems to run but i get output:

NATS Tester Script Starting: Node pop_cluster
Test ID: 47973 (Started at 15:40:49 23/07/2008)

Finished Tests... Finishing Off
Summary: Tester 47973 Highest Level -1, Alerts 0

so it now looks like its not doing any of the node tests now!

before I would get:

NATS Tester Script Starting: Node pop_cluster
Test ID: 47846 (Started at 15:06:10 23/07/2008)

NodeID: pop_cluster
Ping Test: Yes
Ping Returned: 0.012
Ping Test: Passed
Doing Local Tests
Test: tcp (110)
Result: 1
Eval: 0
Recording Test
Test: tcp (143)
Result: 1
Eval: 0
Recording Test
Highest Alert Level: 0
Alert Count : 0
Alerts:

Finished Tests... Finishing Off
Summary: Tester 47846 Highest Level 0, Alerts 0

Matt

amedias
Posts: 19
Joined: Mon Jul 21, 2008 12:00 pm

Re: POP/IMAP tests not working

Post by amedias » Wed Jul 23, 2008 3:51 pm

ok, rebooted had a fiddle etc

created anew node with default settings, enabled IMAP test and back to original problem.

no output when run manually and test script for that node becomes stuck and needs manually finishing

Matt

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: POP/IMAP tests not working

Post by dave » Sun Jul 27, 2008 6:35 pm

(I have already emailed this to Matt but will post it here as well in case anyone else is having the same problem)

Ok well I am awaiting some confirmations but the following should work:

Do the following three commands from the console when logged in as root:

Code: Select all

conary update php:devel

conary update php5=conary.rpath.com@rpl:1/5.2.6-1-1

conary update php5-imap=conary.rpath.com@rpl:1/5.2.6-1-1
You will have to say Y at various points.

amedias
Posts: 19
Joined: Mon Jul 21, 2008 12:00 pm

Re: POP/IMAP tests not working

Post by amedias » Mon Jul 28, 2008 10:38 am

yay! all working now,

Thanks Dave and contributors!

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: POP/IMAP tests not working

Post by dave » Mon Jul 28, 2008 6:12 pm

Great - I'll post it as a general suggestion for all users to do.

I'll also package up a VM with the IMAP modules in and test better in future (honest!).

Cheers,

Dave.

Post Reply