Apache tidak bisa berjalan

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
Otob
Posts: 1
Joined: 09 Mar 2015, 22:20
Location: Jepara, Jateng
Contact:

Apache tidak bisa berjalan

Postby Otob » 09 Mar 2015, 22:29

minta bantuannya para master.. saya baru aja install lampp di ubuntu saya 12.04. installasinya berhasil, namun ketika saya coba masuk ke localhost kog ga bisa-bisa. setelah saya cek statusnya ternyata apache tidak berjalan. seperti ini ss nya..
Attachments
Cuplikan layar 2015-03-09 21:47:33.png
Apache is not running
Cuplikan layar 2015-03-09 21:47:33.png (186.83 KiB) Viewed 300 times
User avatar
Etles_T3am
Posts: 260
Joined: 26 Nov 2014, 17:08
Location: Malang-Jatim, Indonesia

Re: Apache tidak bisa berjalan

Postby Etles_T3am » 09 Mar 2015, 23:36

Coba di restart dulu apache2 nya bro

[color:#CC0000]sudo service apache2 restart[/color]

Kalau apache2 nya masih error, coba ketikkan perintah di terminal ;

[color:#CC0000]echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn[/color]

Lalu reload apache2 nya dengan perintah ;

[color:#CC0000]sudo /etc/init.d/apache2 reload[/color]
User avatar
rendybomber
Posts: 5
Joined: 14 Dec 2010, 14:41
Location: /var/www

Re: Apache tidak bisa berjalan

Postby rendybomber » 11 Mar 2015, 18:11

coba buka /etc/hosts

masukin ini :
127.0.0.1 localhost
User avatar
sr_aja
Posts: 597
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: Apache tidak bisa berjalan

Postby sr_aja » 11 Mar 2015, 20:08

update... kebetulan barusan nemu error yg rada mirip..
hanya menambahkan sedikit dari om etles

berikut penampakan saat instalasinye;

Code: Select all

Enabling site 000-default.
 * Starting web server apache2                                                           AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.100.154. Set the 'ServerName' directive globally to suppress this message
 *
Setting up ssl-cert (1.0.33) ...
Setting up phpldapadmin (1.2.2-5ubuntu1.1) ...

Creating config file /etc/phpldapadmin/config.php with new version
apache2_invoke: Enable configuration phpldapadmin.conf
 * Reloading web server apache2                                                           *
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
root@test:/home/test# echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf
ServerName localhost
root@test:/home/test# ln -s /etc/apache2/conf-available/fqdn.conf /etc/apache2/conf-enabled/fqdn.conf
root@test:/home/test# service apache2 restart
 * Restarting web server apache2                                                  [ OK ]
root@test:/home/test#
User avatar
bang_andi
Posts: 398
Joined: 03 Sep 2010, 09:07
Location: Di sekitar sungai musi...
Contact:

Re: Apache tidak bisa berjalan

Postby bang_andi » 11 Mar 2015, 21:27

sy mau nyimak sj ya om. :)
User avatar
Etles_T3am
Posts: 260
Joined: 26 Nov 2014, 17:08
Location: Malang-Jatim, Indonesia

Re: Apache tidak bisa berjalan

Postby Etles_T3am » 11 Mar 2015, 23:50

Kalau masih error coba di cek Hosts file dan Pada line awal jadikan seperti ini ;

[color:#CC0000]127.0.0.1 localhost hostname[/color]

Ganti [color:#CC0000]hostname[/color] sesuai dengan hostname sampean.

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 10 guests