• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Jaranguda

Belajar Mengajar

  • Home
  • Sponsor/Jasa
  • Tentang

Cara Mengatasi httpd (no pid file) not running

Last Updated on 11 March 2013 By tommy Leave a Comment

Cara untuk mengatasi error dari httpd (apache2) dengan pesan kesalahan

[root@surbakti tommy]# service httpd start
Redirecting to /bin/systemctl start  httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

# systemctl status httpd.service

httpd.service - The Apache HTTP Server
	  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
	  Active: failed (Result: exit-code) since Mon 2013-03-11 11:16:40 WIT; 18s ago
	 Process: 7155 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS)
	 Process: 7153 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 
Mar 11 11:16:40 surbakti systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 11 11:16:40 surbakti httpd[7155]: httpd (no pid file) not running
Mar 11 11:16:40 surbakti systemd[1]: Failed to start The Apache HTTP Server.
Mar 11 11:16:40 surbakti systemd[1]: Unit httpd.service entered failed state

# tail -f /var/log/httpd/error_log

AH00016: Configuration Failed
[Mon Mar 11 11:18:50.759011 2013] [suexec:notice] [pid 7443] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 11 11:18:51.374462 2013] [unique_id:alert] [pid 7443] (EAI 2)Name or service not known: AH01564: unable to find IPv4 address of "surbakti"

dari error terakhir kelihatan bahwa hostname yang saya gunakan surbakti tidak memiliki IPv4, untuk mengatasinya buka file /etc/hosts dan tambahkan baris dibawah ini

127.0.0.1	surbakti	surbakti

sekarang coba restart kembali apache web server anda

[root@surbakti tommy]# service httpd restart
Redirecting to /bin/systemctl restart  httpd.service

berjalan dengan sempurna :).

Tulisan menarik lainnya

  • Cara Mengatasi Error unpacking rpm package python-unidecode

    Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package python-unidecode.noarch 0:0.04.16-2.fc20 will be…

  • Cara Mengatasi Error Oops, no RSA, DSA or ECC server certificate di Apache

    Bila anda menggunakan SSL di VHOST apache tetapi lupa menambahkan SSLEngine on, maka akan muncul…

  • Cara Mengatasi Error VirtualBox "Cannot unload module vboxdrv"

    Setelah update VirtualBox biasanya kita diminta untuk recompile modul kernel untuk VirtualBox dengan cara /etc/init.d/vboxdrv…

  • Mengatasi Error mysql.service has failed

    Log errornya dilihat dari journal -xn -- Unit mysql.service has begun starting up. Feb 12…

Filed Under: Linux Tagged With: apache error, httpd

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Pencarian

Tanya Jawab tentang DevOps SRE CPE, gabung di https://t.me/devopsindonesia

Terbaru

  • Cara Mengganti Port Screen Sharing macOS
  • Cara Menonaktifkan Pager di macOS
  • Cara Mengupdate Nama Apple silicon-as-a-Service Scaleway
  • Cara Force Delete Namespace di Kubernetes
  • Install PHP MariaDB di Mac Monterey

Komentar

  • mazda on Tutorial Lengkap Install Mail Server Postfix Dovecot MariaDB di CentOS 7
  • adi on Menggunakan Mikrotik Sebagai SSH Client
  • aris u on Solusi Simple Queue Mikrotik Tidak Berjalan
  • Bowo on Cara Mematikan SSID Molecool Balifiber
  • aris on Solusi Simple Queue Mikrotik Tidak Berjalan

Tulisan Populer

  • Password Router Huawei HG8245H5 Indihome 1.2m views
  • Password Terbaru ZTE F609 Indihome 784.5k views
  • Password Superadmin Huawei HG8245A 318.3k views
  • Cara Setting Manual Modem GPON ZTE F609 Indihome 273.1k views
  • Cara Setting Wireless ZTE F609 Indihome 257.1k views
  • Mengaktifkan Port LAN di Huawei HG8245 Indihome 169.9k views
  • Akses UseeTV Indihome via Wireless ZTE F609 156.8k views
  • Kemana Menghilangnya Saldo BCA 50 ribu 153.2k views
  • Cara Reset Password ZTE F609 Indihome 147.6k views
  • Cara Setting DHCP Server Modem/Router ZTE F609 113.6k views

Kategori

  • Delphi
  • dll
  • Gambas
  • Internet
  • Java
  • Lazarus
  • Linux
  • PHP
  • Review
  • Teknologi

Sponsor

kadal.id
carakami.com
kuotabisa.com
Untuk jadi sponsor, hubungi kita lewat halaman sponsor
© 2021. Jaranguda
  • Linux
  • PHP
  • Internet
  • Teknologi
  • Delphi
  • Gambas
  • Java