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, 19:21:00

Author Topic: [BUG or NOT] Kloxo-MR 7.0.0.c-2017041002 with CentOS 7 Fresh Install  (Read 5046 times)

0 Members and 1 Guest are viewing this topic.

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Selamat Malam Pak Mustafa...

Langsung saja sesuai judul mau menanyakan apakah ini BUG atau bukan pada CentOS 7.
Percobaan yang saya lakukan:

- 1 Digital Ocean VPS
- 1 OpenVZ Proxmox
- 1 Rack Server / Dedicated

Semuanya mengalami hal yang sama.

Firewalld Jalan Sendiri Setelah Reboot
Ketika proses instalasi dari awal sampai selesai tidak ada masalah. Panel juga dapat diakses. Setelah dilakukan reboot, semua akses tertutup. Ternyata firewalld jalan sendiri setelah reboot. Saya cek di Github source code-nya, padahal sudah mendisable. Tapi kok tetap jalan sendiri ya di CentOS 7?

IP Hilang Pada File Hosts
Setelah proses instalasi selesai umumnya IP akan berada pada file hosts.
xxx.xxx.xxx.xxx fqdn hostname

Namun setelah proses instalasi maka yang muncul hanya fqdn dengan hostname tanpa IP. IP juga hilang jika proses cleanup dilakukan.

IP hilang hanya jika menambahkan IP dalam tag yang dibuat oleh Kloxo-MR. Kalau diluar tag, ya tidak hilang.

Port 25 SMTP Error
Pasti setelah selesai proses install dan cek dengan telnet untuk port 25 maka connection refused.

Saya cek menggunakan netstat hasilnya untuk port 25 seperti ini:
Code: [Select]
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      690/smtpd: pony exp
tcp6       0      0 ::1:25                  :::*                    LISTEN      690/smtpd: pony exp

Solusi saya sementara setelah beberapa kali bentrok sebelum proses install Kloxo-MR, remove paket postfix. Karena ketika dicek fresh install CentOS 7 menggunakan ss command, secara default sudah aktif port 22 (SSH) dan port 25 (smtp).
 
Code: [Select]
yum remove postfix

Untuk sementara itu dulu. Menunggu konfirmasi, apakah itu bug atau bukan.
Kalau masalah webmail seperti Rainloop atau Roundcube yang error mungkin saya yang salah setting.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Saya menemukan masalah seperti ini di VPEasy. Ini karena setting di ifcfg-eth0 untuk BOOTPROTO pakai dhcp dan bukan static. Kelihatannya ini bug di VPS control panelnya (SolusVM - ?).

Setelah saya sesuaikan agar pakai static (artinya memasukkan entry IPADDR, NETMASK dan GATEWAY) maka proses reboot tidak menimbulkan masalah.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Jika ingin tetap pakai DHCP maka harus dimasukkan IP gateway di /etc/sysconfig/network.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Settingannya NONE Pak.

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Satu lagi Pak ketemu.

Setelah reboot, ternyata ada lagi muncul smptd pony exp ini...

Code: [Select]
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      690/smtpd: pony exp
tcp6       0      0 ::1:25                  :::*                    LISTEN      690/smtpd: pony

Terpaksa harus saya kill manual agar port qmail bisa jalan. Kalau direboot lagi ya nongol lagi tuh Pak.

Kalau mau stop permanen bagaimana ya Pak smtpd pony exp ini. Soalnya port qmail 25 selalu bentrok.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Coba infokan:
Code: [Select]
dir -l /etc/yum.repos.d
chkconfig --list
systemctl list-unit-files --type=service
ps aux|grep -v grep
[code]
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Status: Ini sudah saya kill PID smptd: pony exp. Mungkin outpunya beda jika aktif.

dir -l /etc/yum.repos.d
Code: [Select]
-rw-r--r--. 1 root root  1664 Nov 30 02:12 CentOS-Base.repo
-rw-r--r--. 1 root root  1309 Nov 30 02:12 CentOS-CR.repo
-rw-r--r--. 1 root root   649 Nov 30 02:12 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root   314 Nov 30 02:12 CentOS-fasttrack.repo
-rw-r--r--. 1 root root   630 Nov 30 02:12 CentOS-Media.repo
-rw-r--r--. 1 root root  1331 Nov 30 02:12 CentOS-Sources.repo
-rw-r--r--. 1 root root  2893 Nov 30 02:12 CentOS-Vault.repo
-rw-r--r--. 1 root root 10043 Apr 13 18:49 mratwork.repo

chkconfig --list
Code: [Select]
Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

djbdns          0:off   1:off   2:off   3:off   4:off   5:off   6:off
dovecot         0:off   1:off   2:off   3:off   4:off   5:off   6:off
httpry          0:off   1:off   2:on    3:on    4:on    5:on    6:off
mysql           0:off   1:off   2:on    3:on    4:on    5:on    6:off
named           0:off   1:off   2:off   3:off   4:off   5:off   6:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
qmail           0:off   1:off   2:on    3:on    4:on    5:on    6:off
spawn-fcgi      0:off   1:off   2:off   3:off   4:off   5:off   6:off

xinetd based services:
        chargen-dgram:  off
        chargen-stream: off
        daytime-dgram:  off
        daytime-stream: off
        discard-dgram:  off
        discard-stream: off
        echo-dgram:     off
        echo-stream:    off
        tcpmux-server:  off
        time-dgram:     off
        time-stream:    off

systemctl list-unit-files --type=service
Code: [Select]
UNIT FILE                                     STATE
arp-ethers.service                            disabled
atd.service                                   enabled
auditd.service                                enabled
autovt@.service                               enabled
blk-availability.service                      disabled
brandbot.service                              static
console-getty.service                         disabled
console-shell.service                         disabled
container-getty@.service                      static
cpupower.service                              disabled
crond.service                                 enabled
dbus-org.freedesktop.hostname1.service        static
dbus-org.freedesktop.import1.service          static
dbus-org.freedesktop.locale1.service          static
dbus-org.freedesktop.login1.service           static
dbus-org.freedesktop.machine1.service         static
dbus-org.freedesktop.network1.service         bad
dbus-org.freedesktop.timedate1.service        static
dbus.service                                  static
debug-shell.service                           disabled
dnsmasq.service                               disabled
dracut-cmdline.service                        static
 ESCOD
UNIT FILE                                     STATE
arp-ethers.service                            disabled
atd.service                                   enabled
auditd.service                                enabled
autovt@.service                               enabled
blk-availability.service                      disabled
brandbot.service                              static
console-getty.service                         disabled
console-shell.service                         disabled
container-getty@.service                      static
cpupower.service                              disabled
crond.service                                 enabled
dbus-org.freedesktop.hostname1.service        static
dbus-org.freedesktop.import1.service          static
dbus-org.freedesktop.locale1.service          static
dbus-org.freedesktop.login1.service           static
dbus-org.freedesktop.machine1.service         static
dbus-org.freedesktop.network1.service         bad
dbus-org.freedesktop.timedate1.service        static
dbus.service                                  static
debug-shell.service                           disabled
dnsmasq.service                               disabled
dracut-cmdline.service                        static
dracut-initqueue.service                      static
dracut-mount.service                          static
dracut-pre-mount.service                      static
dracut-pre-pivot.service                      static
dracut-pre-trigger.service                    static
dracut-pre-udev.service                       static
dracut-shutdown.service                       static
ebtables.service                              disabled
emergency.service                             static
firewalld.service                             disabled
fstrim.service                                static
getty@.service                                enabled
halt-local.service                            static
hiawatha.service                              enabled
htcacheclean.service                          static
httpd.service                                 enabled
initrd-cleanup.service                        static
initrd-parse-etc.service                      static
initrd-switch-root.service                    static
initrd-udevadm-cleanup-db.service             static
iprdump.service                               disabled
iprinit.service                               disabled
iprupdate.service                             disabled
irqbalance.service                            enabled
kloxo-php.service                             enabled
kloxo-web.service                             enabled
kloxo-wrap.service                            enabled
kmod-static-nodes.service                     static
lighttpd.service                              disabled
maldet.service                                enabled
messagebus.service                            static
microcode.service                             enabled
nfs-rquotad.service                           disabled
nginx-debug.service                           disabled
nginx.service                                 disabled
nsd-keygen.service                            disabled
nsd.service                                   enabled
opensmtpd.service                             enabled
pdns.service                                  disabled
php-fpm.service                               enabled
php56m-fpm.service                            disabled
php70m-fpm.service                            disabled
plymouth-halt.service                         disabled
plymouth-kexec.service                        disabled
plymouth-poweroff.service                     disabled
plymouth-quit-wait.service                    disabled
plymouth-quit.service                         disabled
plymouth-read-write.service                   disabled
plymouth-reboot.service                       disabled
plymouth-start.service                        disabled
plymouth-switch-root.service                  static
polkit.service                                static
pure-ftpd.service                             disabled
quotaon.service                               static
rc-local.service                              static
rdisc.service                                 disabled
rdma.service                                  disabled
rescue.service                                static
rhel-autorelabel-mark.service                 static
rhel-autorelabel.service                      static
rhel-configure.service                        static
rhel-dmesg.service                            disabled
rhel-domainname.service                       disabled
rhel-import-state.service                     static
rhel-loadmodules.service                      static
rhel-readonly.service                         static
rpc-rquotad.service                           disabled
rpcbind.service                               indirect
rsyncd.service                                disabled
rsyncd@.service                               static
rsyslog.service                               enabled
selinux-policy-migrate-local-changes@.service static
serial-getty@.service                         disabled
snmpd.service                                 disabled
snmptrapd.service                             disabled
sshd-keygen.service                           static
sshd.service                                  enabled
sshd@.service                                 static
svnserve.service                              disabled
sysstat.service                               enabled
systemd-ask-password-console.service          static
systemd-ask-password-plymouth.service         static
systemd-ask-password-wall.service             static
systemd-backlight@.service                    static
systemd-binfmt.service                        static
systemd-bootchart.service                     disabled
systemd-firstboot.service                     static
systemd-fsck-root.service                     static
systemd-fsck@.service                         static
systemd-halt.service                          static
systemd-hibernate-resume@.service             static
systemd-hibernate.service                     static
systemd-hostnamed.service                     static
systemd-hwdb-update.service                   static
systemd-hybrid-sleep.service                  static
systemd-importd.service                       static
systemd-initctl.service                       static
systemd-journal-catalog-update.service        static
systemd-journal-flush.service                 static
systemd-journald.service                      static
systemd-kexec.service                         static
systemd-localed.service                       static
systemd-logind.service                        static
systemd-machine-id-commit.service             static
systemd-machined.service                      static
systemd-modules-load.service                  static
systemd-nspawn@.service                       disabled
systemd-poweroff.service                      static
systemd-quotacheck.service                    static
systemd-random-seed.service                   static
systemd-readahead-collect.service             enabled
systemd-readahead-done.service                indirect
systemd-readahead-drop.service                enabled
systemd-readahead-replay.service              enabled
systemd-reboot.service                        static
systemd-remount-fs.service                    static
systemd-rfkill@.service                       static
systemd-shutdownd.service                     static
systemd-suspend.service                       static
systemd-sysctl.service                        static
systemd-timedated.service                     static
systemd-tmpfiles-clean.service                static
systemd-tmpfiles-setup-dev.service            static
systemd-tmpfiles-setup.service                static
systemd-udev-settle.service                   static
systemd-udev-trigger.service                  static
systemd-udevd.service                         static
systemd-update-done.service                   static
systemd-update-utmp-runlevel.service          static
systemd-update-utmp.service                   static
systemd-user-sessions.service                 static
systemd-vconsole-setup.service                static
tcsd.service                                  disabled
teamd@.service                                static
telnet@.service                               static
tuned.service                                 enabled
wpa_supplicant.service                        disabled
xinetd.service                                enabled
yadifad.service                               disabled

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Coba lakukan 'yum remove opensmtpd -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Coba lakukan 'yum remove opensmtpd -y'.

Masalah beres Pak setelah remove.

Tinggal poin 2 di atas masalah cleanup yang pasti meremove IP.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Saya rasa penyebab masalah dhcp adalah tidak terinstall dan tidak running dhclient. Karena sebab ini, server tidak peroleh IPv4.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.043 seconds with 20 queries.

web stats analysis