Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Errors starting Xmail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Gompho
Newbie
Newbie


Joined: 20 March 2009
Online Status: Offline
Posts: 1
Posted: 20 March 2009 at 9:18pm | IP Logged Quote Gompho

Can some one help me with this. I have compiled xmail from source under Aurora linux on a sparc machine. I am now trying to start the service but receive the following errors.

Linux xxx.xxx.com 2.6.13-1.1603sp13 #1 Mon Apr 10 12:18:58 EDT 2006 sparc64 sparc64 sparc64 GNU/Linux

# MAIL_ROOT=/var/MailRoot/ /var/MailRoot/bin/XMail --debug -Md
[MailSvr.cpp (SvrSetup)] XMail 3.3-lite MAIL_ROOT path: /var/MailRoot
[(null) ((null))] ErrCode   = -179
ErrString = Error loading dynamic module
ErrInfo   = /var/MailRoot/bin/afterlogic-xmail-imap4.so
[MailSvr.cpp (SvrSetupImapDLL)] "/var/MailRoot/bin/afterlogic-xmail-imap4.so" not loaded
[MailSvr.cpp (SvrSetupPOP3)] [XMail 3.3-lite POP3: Port=110, isDisabled=0, isLogged=0]
[MailSvr.cpp (SvrSetupPOP3S)] [XMail 3.3-lite POP3S: Port=995]
[MailSvr.cpp (SvrSetupSMTP)] [XMail 3.3-lite SMTP: Port=25, isDisabled=0, isLogged=0]
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3-lite POP3 Server] started
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3-lite POP3S Server] started
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3-lite ESMTP Server] started
[MiscUtils.cpp (MscServiceThread)] [XMail 3.3-lite ESMTPS Server] started
[MailSvr.cpp (SvrSetupSMTPS)] [XMail 3.3-lite SMTPS: Port=465]
[MailSvr.cpp (SvrSetupCTRL)] [XMail 3.3-lite CTRL: Port=6017, isDisabled=0, isLogged=0]
[MailSvr.cpp (SvrSetupCTRLS)] [XMail 3.3-lite CTRLS: Port=6018]
[(null) ((null))] ErrCode   = -17
ErrString = Unable to create directory
[(null) ((null))] ErrCode   = -17
ErrString = Unable to create directory

Thanks for the response in advance.
Back to Top View Gompho's Profile Search for other posts by Gompho
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 24 March 2009 at 4:18am | IP Logged Quote Igor

It looks like XMail Server doesn't have write permissions over /var/MailRoot directory and/or its subdirectories. Mail server and web server share one system user, so you need to set ownership for /var/MailRoot directory to user and group Apache web server is running under. For instance, if it's apache.apache, the following command should do the trick:

Code:
chown -R apache.apache /var/MailRoot


The same user/group should be specified in XMail Server configuration (SERVER.TAB file).

Regards,
Igor

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