Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Xmail Pro Install issue Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Snerf
Newbie
Newbie


Joined: 21 July 2009
Online Status: Offline
Posts: 4
Posted: 21 July 2009 at 1:56pm | IP Logged Quote Snerf

I just did an install of XMail Pro (3.3.14) from the RPM (just downloaderd today), and I go into the http://locahost/adminpanel and I can configure the webmail and such, but when going to the Server Tab, it says it cant connect to the Xmail Server.
I start the server with /etc/init.d/xmail start and telnetting to localhost ports 110, 25 and 6017 all shows connecting to Xmail, responding with XMail 3.3.14 -.. etc.
I then turn off the server and try running /var/MailRoot/bin/XMail --debug -Md comes up with an error.

[Mailsrv.cpp (SvrSetup)] Mail root path not found
ErrString = Mail root path not found
[Mailsrv.cpp (SvrMain)] Mail root path not found
[(null) ((null))] ErrorCode = -8



I have done chown -R apache.apache /var/MailRoot

I am running this on a Fresh install of Fedora 11.

Any help appreciated. Thanks
Back to Top View Snerf's Profile Search for other posts by Snerf
 
Snerf
Newbie
Newbie


Joined: 21 July 2009
Online Status: Offline
Posts: 4
Posted: 21 July 2009 at 3:32pm | IP Logged Quote Snerf

OK, I did a export MAIL_ROOT=/var/MailRoot
to fix that problem,but now it comes up with a newer one on debug.

[MailSvr.cpp (SvrSetup)] XMail 3.3.14-imap4-dk MAIL_ROOT path: /var/MailRoot
[MailSvr.cpp (SvrSetupImapDLL)] "/var/MailRoot/bin/afterlogic-xmail-imap4.so" loaded
*** PDL::LoaderException <Cannot load library `/var/MailRoot/bin/afterlogic-xmail-storage`: /var/MailRoot/bin/afterlogic-xmail-storage.so: cannot restore segment prot after reloc: Permission denied>
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3.14-imap4-dk IMAP4 Server] started
[MailSvr.cpp (SvrSetupIMAP4)] [XMail 3.3.14-imap4-dk IMAP4: Port=143, isDisabled=0, isLogged=0]
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3.14-imap4-dk IMAP4S Server] started
[MailSvr.cpp (SvrSetupIMAP4S)] [XMail 3.3.14-imap4-dk IMAP4S: Port=993]
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[PSYNCSvr.cpp (PSYNCThreadProc)] [XMail 3.3.14-imap4-dk PSYNC Server] started
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[(null) ((null))] ErrCode   = -7
ErrString = Socket bind error
[MailSvr.cpp (SvrMain)] One of necessary services could not be started (SVC_CTRL).
This is a critical point. The most frequent reason for this issue is that port required by the starting service is already bound by another service running in the system.
[MailSvr.cpp (SvrMain)] Socket bind error
[PSYNCSvr.cpp (PSYNCThreadProc)] [XMail 3.3.14-imap4-dk PSYNC Server] stopped
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3.14-imap4-dk IMAP4 Server] stopped
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3.14-imap4-dk IMAP4S Server] stopped
XMail 3.3.14-imap4-dk server stopped
Back to Top View Snerf's Profile Search for other posts by Snerf
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 July 2009 at 1:41am | IP Logged Quote Igor

We've replied you via email.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Snerf
Newbie
Newbie


Joined: 21 July 2009
Online Status: Offline
Posts: 4
Posted: 22 July 2009 at 2:12pm | IP Logged Quote Snerf

Ok, now it can connect to the server , as I am not getting that error when I start xmail normally (/etc/init.d/xmail start) but when I try to update any of the settings in the Server tab, it gives me an alert that says "Failed to Save".

The old messages above still show when I start the server with the -debug
Back to Top View Snerf's Profile Search for other posts by Snerf
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 July 2009 at 2:21pm | IP Logged Quote Igor

Quote:
it gives me an alert that says "Failed to Save".


Please check that /var/MailRoot directory, all subdirectories and files there are writable by web server, XMail server is running under the same account, it is specified in User/Group in server.tab file. For testing purposes, you can try setting 666 permissions for files and 777 for directories.

Quote:
The old messages above still show when I start the server with the -debug


When XMail is stopped, try connecting to the host via telnet using the following ports: 25, 110, 995, 6017. Is connection accepted by any other application for any of those ports?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Snerf
Newbie
Newbie


Joined: 21 July 2009
Online Status: Offline
Posts: 4
Posted: 23 July 2009 at 9:50am | IP Logged Quote Snerf

All the subdirectories of /var/MailRoot are set properly for permissions.

When I stop the server, it does not show any other application accepting.
Back to Top View Snerf's Profile Search for other posts by Snerf
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 24 July 2009 at 6:08am | IP Logged Quote Igor

Quote:
All the subdirectories of /var/MailRoot are set properly for permissions.


And what about files? Are you sure that server.tab file is writable by web server and the same user is specified in User/Group lines of server.tab file?

We suggest to set its permission to 666 temporarily for testing purposes and check if it helps.

Quote:
When I stop the server, it does not show any other application accepting.


Please download this script, it's a standalone part of XMail Server installer. Stop XMail service and run the script to check if any ports are occupied by different service(s).

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide