| Author |  | 
      
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          there is something wrong with the mysql server debugger gives me these errors when trying to login to webmail:
           | Posted: 02 April 2010 at 2:41am | IP Logged |   |  
           | 
 |  
 
| 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 02 April 2010 at 3:48am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          I solved the hostname error, but why is mysql shutting down?
           | Posted: 02 April 2010 at 4:11am | IP Logged |   |  
           | 
 |  
 
 
| 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Is there anything relevant in MySQL error log?
           | Posted: 02 April 2010 at 5:36am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          This is in the log:
           | Posted: 02 April 2010 at 8:38am | IP Logged |   |  
           | 
 |  
 mysqld started
 [ERROR] Can't find messagefile '/usr/mailsuite/var/mysql/english/errmsg.sys'
 [ERROR] Aborting
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          I solved it by:
           | Posted: 02 April 2010 at 9:48am | IP Logged |   |  
           | 
 |  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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Thank you for the important update! Have notified our developers of this one.
           | Posted: 02 April 2010 at 10:17am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          Thank you for the great support!
           | Posted: 02 April 2010 at 10:52am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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:
           | Posted: 06 April 2010 at 1:52am | IP Logged |   |  
           | 
 |  
 
| Code: 
 
    
    | 
      
       | /usr/mailsuite/lib/courier-authlib |  |  |  
 Run ldconfig, and after that restart the service.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          Thank you. I can create accounts now.
           | Posted: 06 April 2010 at 2:46am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          Another problem, when trying to open Calendar in webmail it gives me "An error occured on the server. Try again later.
           | Posted: 06 April 2010 at 2:49am | IP Logged |   |  
           | 
 |  "
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 06 April 2010 at 3:43am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 06 April 2010 at 3:50am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          
           | Posted: 06 April 2010 at 3:54am | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          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.
           | Posted: 19 April 2010 at 2:45am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          Thank you.
           | Posted: 19 April 2010 at 8:55am | IP Logged |   |  
           | 
 |  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 |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Try both with & without trailing slash, i.e.:
           | Posted: 19 April 2010 at 9:03am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | http://localhost:8100/adminpanel/ http://localhost:8100/adminpanel
 |  |  |  
 Does the issue persist in both the cases?
 
 --
 Regards,
 Igor, AfterLogic Support
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | klompie Newbie
 
  
 
 Joined: 03 December 2008
 Location: Netherlands
 Online Status: Offline
 Posts: 31
 | 
          cannot use localhost.
           | Posted: 19 April 2010 at 9:05am | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  |