Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 14:12:09

Author Topic: Authentication failed - Rainloop  (Read 5239 times)

0 Members and 1 Guest are viewing this topic.

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Authentication failed - Rainloop
« on: 2019-08-27, 10:30:44 »
Hi,
In last week everyday we get "Authentication failed" in rainloop, I try to use afterlogic and so on but all of them have problems.
Try to use cleanup, fixmail, fixmail-all, restart-mail, service qmail stop and start, and so on.
After many tries mail are working but next day we have same problem.

Another point is when using restart-mail,restart-web or mysql I get many times:

Failed to list unit files: Connection timed out

also when use service mysql stop, It fails becuase another mysql is still running.
Sysinfo:

Code: [Select]
sh /script/sysinfo
Failed to list unit files: Connection timed out
cat: /etc/rc.d/init.d/php-fpm: No such file or directory

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el7.x86_64
   - PHP: php56s - 5.6.40-1.ius.el7 (cgi mode)
B. Plateform:
   - OS: CentOS Linux release 7.6.1810 (Core) x86_64
   - Hostname: server2.techroom.ir
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.40-1.ius.el7.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.54-1.el7.x86_64
     - Nginx: nginx-1.17.3-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.39-2.el7.ius.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: varnish
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: varnish-5.2.1-1.el7.x86_64
   5. Dns: nsd
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.1.27-1.mr.el7.x86_64
     - PowerDNS: pdns-4.1.11-1.el7.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: bogofilter-1.2.3-6.el7.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:           3512        1333         771         458        1406        2178
Swap:          3768         278        3489
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/loop4       98G   78G   16G  84% /


*** Process Time: 00:00:02:58.178054 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Authentication failed - Rainloop
« Reply #1 on: 2019-08-27, 13:34:25 »
Give me your root ssh and admin Kloxo-MR panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Authentication failed - Rainloop
« Reply #2 on: 2019-08-28, 11:25:26 »
I reboot server as your advise.
Apache said:
Quote
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

    Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
     
    The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
     
    If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
     
    Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com
I change web server to nginx.
SSL doesn't worked. Append ssl to: /opt/configs/nginx/conf/globals/listen_ssl.conf
Code: [Select]
listen 443 ssl;
listen [::]:443 ssl;

and right now RAINLOOP cannot authenticate again.
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Authentication failed - Rainloop
« Reply #3 on: 2019-08-28, 12:34:06 »
HTTPS don't work with webcache (like varnish). Alternatively, use nginx with pagespeed enable.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Authentication failed - Rainloop
« Reply #4 on: 2019-08-28, 12:46:02 »
But it works with adding ssl to listen_ssl.cof,
anyway
THE Main Problem: Authentication fails in rainloop still exist...
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Authentication failed - Rainloop
« Reply #5 on: 2019-08-28, 13:38:51 »
Yes, because port 443 listen by nginx alone. Varnish only listen port 80.

Because want using https, enable varnish is useless.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.059 seconds with 23 queries.

web stats analysis