MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: alex_fear on 2018-03-12, 22:29:03

Title: hostname: Unknown host Webmail HTTP ERROR 500
Post by: alex_fear on 2018-03-12, 22:29:03
After installing KloxoMR and restoring the backup, the server constantly writes the hostname: Unknown host
Code: [Select]
sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017091202
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s - 5.6.33-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: vm1.host-service.dp.ua
C. Services:
   1. MySQL: MariaDB-server-10.0.34-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.33-1.ius.centos6.x86_64
        - Multiple:
          * php56m - 5.6.33-1.ius.centos6
          * php70m - 7.0.27-1.ius.centos6
          * php71m - 7.1.14-1.ius.centos6
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.47-1.el6.x86_64
     - Nginx: nginx-1.13.9-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.19-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          7808        594       7214          0         21        188
-/+ buffers/cache:        385       7423
Swap:         3999          0       3999
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        68G   19G   46G  29% /


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

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


Code: [Select]
cat /etc/hosts; cat /etc/sysconfig/network
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
NETWORKING=yes
HOSTNAME=vm1.host-service.dp.ua
and Webmail HTTP ERROR 500
Title: Re: hostname: Unknown host Webmail HTTP ERROR 500
Post by: alex_fear on 2018-03-14, 15:33:42
I changed the file /etc/hosts
Code: [Select]
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
91.215.xx.xx   vm1.host-service.dp.ua hostname

### begin - add by Kloxo-MR
91.215.xx.xx vm1.host-service.dp.ua vm1
### end - add by Kloxo-MR