logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
Blog Post
Banner Feature Tips Otomatis Startup Zimbra Apache
BlogZimbra

Tips Otomatis Startup Service Zimbra Apache Menggunakan Systemd

May 1, 2025by Muhammad Afatyo Ikhsan

Zimbra Apache merupakan salah satu service penting dalam lingkungan Zimbra yang berfungsi untuk menampilkan antarmuka web PolicyD Web Admin dan Mailman Mailing List. Service ini umumnya dapat diakses melalui port 7780, dan digunakan oleh administrator untuk keperluan pemantauan maupun pengelolaan fitur tambahan pada server Zimbra.

Namun, yang perlu menjadi perhatian adalah service Zimbra Apache ini tidak terintegrasi langsung dengan zmcontrol, sehingga ketika administrator menjalankan perintah zmcontrol start atau zmcontrol restart, service ini tidak akan ikut aktif secara otomatis. Hal yang sama juga terjadi saat server mengalami proses reboot — service Zimbra Apache tidak akan berjalan dengan sendirinya dan harus diaktifkan secara manual menggunakan perintah:

zmapachectl start

Kondisi ini sering kali membuat administrator lupa untuk mengaktifkan kembali service setelah server restart, yang tentu bisa berdampak pada tidak dapat diaksesnya halaman PolicyD ataupun Mailman.

Untuk mengatasi permasalahan tersebut, administrator dapat membuat service khusus menggunakan systemd agar Zimbra Apache dapat aktif secara otomatis saat server menyala. Berikut langkah-langkah konfigurasi yang dapat dilakukan:

Membuat File Service Systemd

Buat file bernama zimbra-apache.service di direktori /etc/systemd/system/:

nano /etc/systemd/system/zimbra-apache.service
Kemudian isi file tersebut dengan konfigurasi berikut:
[Unit]
Description=Zimbra Apache HTTPD
After=network.target zimbra.service
Requires=zimbra.service

[Service]
Type=forking
User=zimbra
Group=zimbra
ExecStart=/opt/zimbra/bin/zmapachectl start
ExecStop=/opt/zimbra/bin/zmapachectl stop
ExecReload=/opt/zimbra/bin/zmapachectl reload
PIDFile=/opt/zimbra/log/httpd.pid
Restart=always
RestartSec=30
Environment=PATH=/opt/zimbra/common/bin:/opt/zimbra/bin:/usr/bin:/bin

[Install]
WantedBy=multi-user.target

NOTE: Service Systemd tersebut hanya bisa dikonfigurasi pada Minimal versi os Ubuntu 16,  Centos 7/ RHEL 7, Debian 8, dan OpenSUSE 12.1.

Mengaktifkan Service Agar Jalan Otomatis

Setelah file service selesai dibuat, jalankan perintah berikut untuk mengaktifkan service:

systemctl daemon-reexec
systemctl daemon-reload
systemctl enable zimbra-apache --now
systemctl status zimbra-apache

Jika tidak ada error dan service berhasil dijalankan, maka ke depannya Zimbra Apache akan otomatis aktif setiap kali server melakukan booting. Dengan cara ini, administrator tidak perlu lagi mengaktifkan service tersebut secara manual, dan dapat lebih fokus pada tugas-tugas lainnya.

Startup Automation Sysadmin Tips Tutorial Zimbra Zimbra Tips
AboutMuhammad Afatyo Ikhsan
IT Support PT Excellent Infotama Kreasindo
Prev

Import VM ke Proxmox VE Menggunakan Clonezilla

Next

Nakivo Backup & Replication Patch Release: Version 11.0.3

Related Posts

Blog
January 20, 2013

Mempersiapkan Layanan VPS & Cloud Zimbra Mail Server Excellent

Read more
ST-002.png
Blog
March 12, 2019

Gaji Bulanan dari Sukuk

Read more
norman-cota.jpeg
Blog
January 22, 2019

Rekomendasi Ebook : The Longest Day

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *

Search
Recent Post
  • Zimbra Daffodil 10.1.16 Rilis: Modern Web App Makin Cerdas, Backup Lebih Hemat Storage, dan Peningkatan Keamanan
  • Live Migration vs High Availability di XCP-ng: Perbedaan dan Skenario Penggunaan
  • Informasi untuk Pelanggan PT. Excellent Infotama Kreasindo : Penyesuaian Kebijakan Masa Berlaku Sertifikat SSL/TLS Menuju Standar Keamanan Global
  • Excellent Infotama Kreasindo: Lingkungan Kerja yang Memberi Ruang untuk Bertumbuh
  • Segudang Benefit dari Dana Buffer: Ketika Kebijakan Berangkat dari Pengalaman
Categories
Archives
Featured image: Tips Otomatis Startup Service Zimbra Apache Menggunakan Systemd
Get in Touch

KATEGORI

  • Home
  • Artikel
  • Jadwal
  • Event
  • Berita

LAYANAN

  • Zimbra Mail Server
  • Ubuntu
  • XCP-ng
  • Vinchin
  • ASAV
  • Proxmox
  • RHEL
  • Nakivo
  • SMTP Relay
  • SSL Certificate

KONTAK KAMI

PT. Excellent Infotama Kreasindo, Premier Serenity Blok J12, Jl. KH. Agus Salim No. 40E, Bekasi Jaya, Bekasi Timur, Bekasi 17112, Jawa Barat, Indonesia

TENTANG KAMI

PT. Excellent Infotama Kreasindo merupakan entitas bisnis yang fokus pada layanan komputerisasi seperti implementasi sistem, konsultasi, training/workshop, dan maintenance sistem, terutama migrasi dari sistem Windows ke Linux. more…