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

Jaranguda

Belajar Mengajar

  • Home
  • Sponsor/Jasa
  • Tentang

apache error

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 :).

Filed Under: Linux Tagged With: apache error, httpd

Primary Sidebar

Pencarian

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

Terbaru

  • Solusi helm Upgrade Failed
  • macOS package is untrusted
  • Cara Mengganti Port Screen Sharing macOS
  • Cara Menonaktifkan Pager di macOS
  • Cara Mengupdate Nama Apple silicon-as-a-Service Scaleway

Komentar

  • Beritalogi on Cara Redirect Domain di Cloudflare
  • Putu on Cara Setting TP-LINK EN020-F5 Sebagai Range Extender
  • Budi on Solusi Simple Queue Mikrotik Tidak Berjalan
  • mazda on Tutorial Lengkap Install Mail Server Postfix Dovecot MariaDB di CentOS 7
  • adi on Menggunakan Mikrotik Sebagai SSH Client

Tulisan Populer

  • Password Router Huawei HG8245H5 Indihome 1.2m views
  • Password Terbaru ZTE F609 Indihome 785k views
  • Password Superadmin Huawei HG8245A 322.8k views
  • Cara Setting Manual Modem GPON ZTE F609 Indihome 273.9k views
  • Cara Setting Wireless ZTE F609 Indihome 258.3k views
  • Mengaktifkan Port LAN di Huawei HG8245 Indihome 170.7k views
  • Akses UseeTV Indihome via Wireless ZTE F609 157.1k views
  • Kemana Menghilangnya Saldo BCA 50 ribu 156.2k views
  • Cara Reset Password ZTE F609 Indihome 147.9k views
  • Cara Setting DHCP Server Modem/Router ZTE F609 114.3k 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