Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Installing Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
klompie
Newbie
Newbie


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 02 April 2010 at 2:41am | IP Logged Quote klompie

there is something wrong with the mysql server debugger gives me these errors when trying to login to webmail:
Code:

[02/04/2010][11:38:48.342] INFORMATION:
   > [GET] /
   > ver.4.9.3 [SERVER-IP:192.168.1.36][USER-IP:192.168.1.34]
   > PHP-5.2.13, nginx/0.7.60
[11:38:48.342] ErrorDesc [2002]: Can't connect to local MySQL server through socket '/usr/mailsuite/tmp/mysql.sock' (2)
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 April 2010 at 3:48am | IP Logged Quote Igor

Quote:
--> Starting MySQL...
hostname: Unknown host


There is a requirement exercised by MySQL, machine must have a hostname specified. Be sure to specify it either in /etc/hosts or by issuing hostname system command. Once done with it, restart the services.

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 02 April 2010 at 4:11am | IP Logged Quote klompie

I solved the hostname error, but why is mysql shutting down?

Code:
login as: root
root@192.168.1.36's password:
Last login: Fri Apr  2 13:09:25 2010 from 192.168.1.34
[root@mailserv ~]# /etc/init.d/mailsuite.rc restart
Restarting AfterLogic MailSuite:
Stopping AfterLogic MailSuite:
--> Sttopping MailServer services...
Stopping AfterLogic MailSuite / MailServer Parts:
--> Stopping courier-imapd-ssl...
/usr/mailsuite/etc/init.d/mailsrv.rc: line 46: /usr/mailsuite/etc/init.d/imapd-ssl.ctl: No such file or directory
--> Stopping courier-pop3d-ssl...
/usr/mailsuite/etc/init.d/mailsrv.rc: line 47: /usr/mailsuite/etc/init.d/pop3d-ssl.ctl: No such file or directory
--> Stopping courier-imapd...
/usr/mailsuite/etc/init.d/imapd.rc: line 55: /usr/sbin/courierlogger: No such file or directory
--> Stopping courier-pop3d...
/usr/mailsuite/etc/init.d/pop3d.rc: line 47: /usr/sbin/courierlogger: No such file or directory
--> Stopping exim...
--> Shutting down Exim...imapd: no process killed
pop3d: no process killed
--> Stopping courier-authdaemond...
--> Stopping MySQL...
mysql-server not running
--> Stopping clamav...
--> Stopping ClamAV...
--> Stopping php-cgi engine...
Shutting down php_fpm  done
--> Stopping nginx web server...
--> Shutting down nginx... [STOPPED]

Starting AfterLogic MailSuite:
--> Starting SpamAssassin...
[3544] warn: logger: failed to open file /usr/mailsuite/var/log/spamd.log: Permission denied
[3544] warn: logger: failed to add file method (logger: file initialization failed
[3544] warn: )
--> Starting clamav...
--> Starting ClamAV...
--> Starting MySQL...
mysql-server is running
--> Starting courier-authdaemond...
--> Starting MailServer services...
Starting AfterLogic MailSuite / MailServer Parts:
--> Starting courier-pop3d...
Starting mysqld daemon with databases from /usr/mailsuite/var
STOPPING server from pid file /usr/mailsuite/var/mailserv.pid
100402 13:10:36  mysqld ended

--> Starting exim...
--> Starting Exim daemon... --> Starting courier-imapd...
0022
--> Starting php-cgi engine spawner...
Starting php_fpm  done
--> Starting nginx web server...
--> Starting nginx... [STARTED]

[root@mailserv ~]#
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 April 2010 at 5:36am | IP Logged Quote Igor

Is there anything relevant in MySQL error log?

This may be caused by insufficient write permissions over some location, so setting 777 permissions recursively over /usr/mailsuite/var may help.

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 02 April 2010 at 8:38am | IP Logged Quote klompie

This is in the log:

mysqld started
[ERROR] Can't find messagefile '/usr/mailsuite/var/mysql/english/errmsg.sys'
[ERROR] Aborting
Back to Top View klompie's Profile Search for other posts by klompie
 
klompie
Newbie
Newbie


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 02 April 2010 at 9:48am | IP Logged Quote klompie

I solved it by:
cp -r /usr/mailsuite/share/mysql/english/ /usr/mailsuite/var/mysql/english/

now everything is working correctly (I think).

Please solve this in the installer.
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 April 2010 at 10:17am | IP Logged Quote Igor

Thank you for the important update! Have notified our developers of this one.

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 02 April 2010 at 10:52am | IP Logged Quote klompie

Thank you for the great support!

The mailserver is running now. I added (internal) domain. But now i want to add a user.
I give in a username and preferred password, but i gives me "Wrong email/login and/or password. Authentication failed.".

How can authentication fail when i want to make a new email account?
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 April 2010 at 1:52am | IP Logged Quote Igor

This means the authentication library was not loaded. This is how we fixed it on blank CentOS install: in /etc/ld.so.conf file, add the following line:
Code:
/usr/mailsuite/lib/courier-authlib


Run ldconfig, and after that restart the service.

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 06 April 2010 at 2:46am | IP Logged Quote klompie

Thank you. I can create accounts now.

two more problems i encountered:
- when browsing to http://192.168.1.37:8100/adminpanel (without ending / )it redirects me to http://localhost:8100/adminpanel/
but when browsing to http://192.168.1.37:8100/adminpanel/ (with /) it works correctly.

- I can not change te default domain. when chining it and pressing save, i stays at "example.dom"
Back to Top View klompie's Profile Search for other posts by klompie
 
klompie
Newbie
Newbie


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 06 April 2010 at 2:49am | IP Logged Quote klompie

Another problem, when trying to open Calendar in webmail it gives me "An error occured on the server. Try again later.
"
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 April 2010 at 3:43am | IP Logged Quote Igor

Quote:
but when browsing to http://192.168.1.37:8100/adminpanel/ (with /) it works correctly.


That is an expected behavior as long as you don't have your hostname specified in nginx.conf file.

Quote:
- I can not change te default domain. when chining it and pressing save, i stays at "example.dom"


The issue is confirmed, developers are checking this now.

Quote:
Another problem, when trying to open Calendar in webmail it gives me "An error occured on the server. Try again later.


Try pressing "Update" in Database Setting screen of AdminPanel. Does it help?

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 April 2010 at 3:50am | IP Logged Quote Igor

Quote:
- I can not change te default domain. when chining it and pressing save, i stays at "example.dom"


Please also note that you can change the value directly in exim.cnf file (it's the primary_hostname line).

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 06 April 2010 at 3:54am | IP Logged Quote klompie

Igor wrote:
Try pressing "Update" in Database
Setting screen of AdminPanel. Does it help?

Thank you that helped. Calendar is working fine
now
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 19 April 2010 at 2:45am | IP Logged Quote Igor

This is to let you know that we have finally released a stable version of MailSuite Pro for Linux found here. We also have created a backup script which allows for storing data and configuration files, so you can back up your installation, remove it, install a newer version and bring data back.

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 19 April 2010 at 8:55am | IP Logged Quote klompie

Thank you.
I installed it, but when i try to login on the
adminpanel it keeps sending me back to the
loginpage. I know user and pass are correct
because no error is given.
Back to Top View klompie's Profile Search for other posts by klompie
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 19 April 2010 at 9:03am | IP Logged Quote Igor

Try both with & without trailing slash, i.e.:

Code:
http://localhost:8100/adminpanel/
http://localhost:8100/adminpanel


Does the issue persist in both the cases?

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


Joined: 03 December 2008
Location: Netherlands
Online Status: Offline
Posts: 31
Posted: 19 April 2010 at 9:05am | IP Logged Quote klompie

cannot use localhost.

and when using
http://192.168.1.101:8100/adminpanel
it redirects me to http://localhost:8100/adminpanel/ so only http://192.168.1.101:8100/adminpanel/ is useable
Back to Top View klompie's Profile Search for other posts by klompie
 

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

<< Prev Page of 2
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

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