Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Failed to access "adminpanel.xml" Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
holdera
Newbie
Newbie
Avatar

Joined: 21 December 2008
Location: Canada
Online Status: Offline
Posts: 4
Posted: 21 December 2008 at 11:05am | IP Logged Quote holdera

After an issue-less build and install of the Linux source for AfterLogic XMail Server Lite on Gentoo, I get this when I try to access the admin panel:

Admin Panel is not configured properly.Failed to access "adminpanel.xml" config file.

I think it has to do with my data folder not being in the default "/var/www/data" because that's not were things go with Gentoo. I can't seem to find where to configure this.

It would be nice if the error message came with a proposed solution, like a link to a page where I could set the path.

Thanks in advance for any help.
Back to Top View holdera's Profile Search for other posts by holdera
 
holdera
Newbie
Newbie
Avatar

Joined: 21 December 2008
Location: Canada
Online Status: Offline
Posts: 4
Posted: 21 December 2008 at 11:17am | IP Logged Quote holdera

I moved the data folder to "/var/www/data" and it indeed works now, but I don't really want to leave it here. I'd still like to know how to change the path but for now I'll leave it as is.
Back to Top View holdera's Profile Search for other posts by holdera
 
holdera
Newbie
Newbie
Avatar

Joined: 21 December 2008
Location: Canada
Online Status: Offline
Posts: 4
Posted: 21 December 2008 at 5:47pm | IP Logged Quote holdera

So with that "out of the way for now", I don't know what I did but the xmail server will no longer start. I recompiled and recopied the mailRoot but it still won't start. I know it started fine before. Any Ideas?
Back to Top View holdera's Profile Search for other posts by holdera
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 22 December 2008 at 2:26am | IP Logged Quote Igor

Quote:
I think it has to do with my data folder not being in the default "/var/www/data" because that's not were things go with Gentoo. I can't seem to find where to configure this.


XMail Pro Admin Panel locates the data folder using inc_settings_path.php located in webmail-pro folder:
Code:
<?php
     $dataPath = '/var/www/data';
?>


Quote:
I don't know what I did but the xmail server will no longer start. I recompiled and recopied the mailRoot but it still won't start. I know it started fine before. Any Ideas?


Such things can happen in Gentoo due to automatic update procedures. As original XMail doesn't meet Gentoo security requirements, you should exclude XMail from list of automatically updated packages. Please also make sure that XMail startup script is added to appropriate runlevel correctly, otherwise XMail wouldn't start during server startup.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
holdera
Newbie
Newbie
Avatar

Joined: 21 December 2008
Location: Canada
Online Status: Offline
Posts: 4
Posted: 22 December 2008 at 1:59pm | IP Logged Quote holdera

Thanks Igor,

I know xmail started fine the first time I tried to run it because I saw it in the process list. I added the script to /etc/init.d/ and added it to the default run level the way one must do in gentoo.

When I try to start it now, it claims to start, the PID is created successfully but when I check my processes, it isn't shown as running, nor can I connect to it.

If I try to stop it, it just hangs indefinitely (probably because there is nothing to stop).

So I am wondering if there is any file that gets created somewhere that wasn't removed due to an ungraceful exit that could stop it from starting again?

I don't know how to troubleshoot this because there doesn't seem to be any kind of error. Is there a command line argument I could pass to the startup script that has some more verbose info output?


Back to Top View holdera's Profile Search for other posts by holdera
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 23 December 2008 at 1:13am | IP Logged Quote Igor

Quote:
When I try to start it now, it claims to start, the PID is created successfully but when I check my processes, it isn't shown as running, nor can I connect to it.


It seems like one of standard mail server ports is used by some other application(s). You can check their status using the following set of commands before starting XMail:

Code:
netstat -na | grep 6017
netstat -na | grep 6018
netstat -na|grep 25
netstat -na|grep 495
netstat -na|grep 110
netstat -na|grep 995
netstat -na|grep 79


If any of them generates any output, this means the port is used by another application.

Quote:
Is there a command line argument I could pass to the startup script that has some more verbose info output?


You can run AfterLogic XMail Server Lite in debug mode using the following command line:

Code:
MAIL_ROOT=/path/where/axmail/is/installed/MailRoot /path/where/axmail/is/installed/MailRoot/bin/XMail --debug -Md


Please send us the log file using the Support Request form.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
artcomcen
Newbie
Newbie


Joined: 12 January 2009
Location: Mexico
Online Status: Offline
Posts: 2
Posted: 12 January 2009 at 6:59pm | IP Logged Quote artcomcen

holdera, ¿which was a solution? i have a same problem.
Thanks
Back to Top View artcomcen's Profile Search for other posts by artcomcen
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 13 January 2009 at 2:05am | IP Logged Quote Igor

Quote:
holdera, ¿which was a solution? i have a same problem


Based on the log file analysis, we've send some recommendations to this customer but never heard back. Here is the most significant part of those recommendations:

Quote:
You need to make sure /var/run directory is writable for any low-level process including Apache, delete XMail.pid file so that it could be recreated.


If you require more details on resolving the issue, please run XMail Server in debug mode as shown above and send us the log file for examination.

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