Skip to main content
  1. Posts/

Error rebuildhttpdconf di cPanel

·1 min·
cpanel cpanel
Table of Contents

Issue
#

Saat mencoba rebuild file konfigurasi Apache di cPanel, muncul error seperti berikut.

root@server [~]# /scripts/rebuildhttpdconf
Initial configuration generation failed with the following message:

The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.0804ff6d.cfgcheck -C Include "/usr/
local/apache/conf.modules.d/*.conf"” command (process 1063594) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Include/IncludeOptional: Could not open directory /usr/local/apache/
conf.modules.d: No such file or directory

Solution
#

Untuk mengatasi masalah tersebut lakukan langkah-langkah berikut ini.

Periksa dan update Apache.

yum update ea-apache24

Kemudian reinstall package ea-apache24-config-runtime.

rpm -e --nodeps --justdb ea-apache24-config-runtime.noarch
yum install ea-apache24-config-runtime.noarch

Setelah package terinstall, coba kembali rebuild file konfigurasi dan restart service Apache.

/scripts/rebuildhttpdconf && /scripts/restartsrv_apache

Related

User MySQL Tidak Muncul di CPanel
·1 min
cpanel mysql cpanel
Error 500 in Python Applications using LiteSpeed and CloudLinux
·1 min
cpanel python cpanel cloudlinux litespeed
Account Termination Error: 'You do not have a user named username' di cPanel
·1 min
cpanel cpanel
CloudLinux Wizard: TypeError: ''NoneType'' object is not iterable
·1 min
cpanel cloudlinux cpanel
Resolving phpPgAdmin Permission Denied When Viewing Sequences
·1 min
cpanel linux cpanel postgresql
phpMyAdmin cPanel Lambat
·1 min
cpanel cpanel