Xenial -> "a2enmod php5" causes the apache does not start
CEO of OpenTEK[nologie internasional, Pty.Ltd.]
opentek at ok.de
Tue Dec 8 21:57:21 UTC 2015
Dear my friends...
Thank you so much for your replies: Simon, Eero and Liam.
Yes, I've know about that. So that's why I use the repository for vivid
(not xenial) in "/etc/apt/sources.list.d".
I have solved the problem of "404 error" and "403 error". But now I am
stucked on another problem. I have installed the php5 and
libapache2-mod-php5 but the "php5 module" then caused my apache2 does
not start. Once I activate the module of php5 then my apache2 can not start.
You can also see the problem here:
http://opentek.biz/phpmyadmin
http://opentek.biz/phppgadmin
http://opentek.biz
Please help me. Keep telling me where my mistake.
===
root at sussy:/etc/apache2# a2enconf
Your choices are: charset localized-error-pages other-vhosts-access-log
phpmyadmin phppgadmin security serve-cgi-bin
Which conf(s) do you want to enable (wildcards ok)?
phpmyadmin phppgadmin security serve-cgi-bin
Conf phpmyadmin already enabled
Conf phppgadmin already enabled
Conf security already enabled
Conf serve-cgi-bin already enabled
root at sussy:/etc/apache2# service apache2 restart
root at sussy:/etc/apache2# service apache2 status
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Active: active (running) since Wed 2015-12-09 04:36:09 WIB; 34s ago
Docs: man:systemd-sysv-generator(8)
Process: 22964 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 22988 ExecStart=/etc/init.d/apache2 start (code=exited,
status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─23006 /usr/sbin/apache2 -k start
├─23009 /usr/sbin/apache2 -k start
└─23010 /usr/sbin/apache2 -k start
Dec 09 04:36:08 sussy systemd[1]: Starting LSB: Apache2 web server...
Dec 09 04:36:08 sussy apache2[22988]: * Starting web server apache2
Dec 09 04:36:08 sussy apache2[22988]: AH00112: Warning: DocumentRoot
[/home/*/public_html] does not exist
Dec 09 04:36:08 sussy apache2[22988]: AH00558: apache2: Could not
reliably determine the server's fully qualified domain nam...message
Dec 09 04:36:09 sussy apache2[22988]: *
Dec 09 04:36:09 sussy systemd[1]: Started LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full.
root at sussy:/etc/apache2# a2enmod
Your choices are: access_compat actions alias allowmethods asis
auth_basic auth_digest auth_form authn_anon authn_core authn_dbd
authn_dbm authn_file authn_socache authnz_fcgi authnz_ldap authz_core
authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user
autoindex buffer cache cache_disk cache_socache cgi cgid charset_lite
data dav dav_fs dav_lock dbd deflate dialup dir dump_io echo env expires
ext_filter file_cache filter headers heartbeat heartmonitor ident
include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic
lbmethod_heartbeat ldap log_debug log_forensic lua macro mime mime_magic
mpm_event mpm_prefork mpm_worker negotiation php5 proxy proxy_ajp
proxy_balancer proxy_connect proxy_express proxy_fcgi proxy_fdpass
proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit
reflector remoteip reqtimeout request rewrite sed session session_cookie
session_crypto session_dbd setenvif slotmem_plain slotmem_shm
socache_dbm socache_memcache socache_shmcb speling ssl status substitute
suexec unique_id userdir usertrack vhost_alias xml2enc
Which module(s) do you want to enable (wildcards ok)?
php5
Enabling module php5.
To activate the new configuration, you need to run:
service apache2 restart
root at sussy:/etc/apache2# service apache2 restart
Job for apache2.service failed because the control process exited with
error code. See "systemctl status apache2.service" and "journalctl -xe"
for details.
root at sussy:/etc/apache2# service apache2 status
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2015-12-09 04:38:29
WIB; 21s ago
Docs: man:systemd-sysv-generator(8)
Process: 23102 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 23128 ExecStart=/etc/init.d/apache2 start (code=exited,
status=1/FAILURE)
Dec 09 04:38:29 sussy apache2[23128]: * The apache2 configtest failed.
Dec 09 04:38:29 sussy apache2[23128]: Output of config test was:
Dec 09 04:38:29 sussy apache2[23128]: [Wed Dec 09 04:38:29.477142 2015]
[:crit] [pid 23139:tid 140025606236032] Apache is ru...le PHP.
Dec 09 04:38:29 sussy apache2[23128]: AH00013: Pre-configuration failed
Dec 09 04:38:29 sussy apache2[23128]: Action 'configtest' failed.
Dec 09 04:38:29 sussy apache2[23128]: The Apache error log may have more
information.
Dec 09 04:38:29 sussy systemd[1]: apache2.service: Control process
exited, code=exited status=1
Dec 09 04:38:29 sussy systemd[1]: Failed to start LSB: Apache2 web server.
Dec 09 04:38:29 sussy systemd[1]: apache2.service: Unit entered failed
state.
Dec 09 04:38:29 sussy systemd[1]: apache2.service: Failed with result
'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
root at sussy:/etc/apache2#
On 12/08/2015 10:10 PM, Liam Proven wrote:
> On 7 December 2015 at 22:00, CEO of OpenTEK[nologie internasional,
> Pty.Ltd.] <opentek at ok.de> wrote:
>> I use xenial ubuntu.
>
> This is an unfinished, unreleased product, which is not yet ready for
> deployment and is unsupported.
>
> I'm just checking that you know this.
>
> The current stable LTS release of Ubuntu is 14.04, Trusty Tahr. If
> you're building a server, that is what you should be using.
>
>
--
Let us cut your costs for your business: http://www.opentek.biz
Ilham Firdaus (CEO).
BBpin: 5A7D47B1;
Whatsapp+WeChat+XL: 087786015010;
Facebook: opentek.tv ;
Twitter: opentekno ;
LinkedIn: opentekno ;
Skype: opentek.biz;
Yahoo-ID: openteknologieinternasional at yahoo.de;
GoogleTalk: openteknologieinternasional at gmail.com;
EMail: ceo at opentek.biz , opentek at ok.de ;
Mobile: 0062-823 1664 7794, 0062-819 10 353 243;
Head Quarter:
OpenTEK[nologie internasional, Pty.Ltd.]
Jalan Sukarno-Hatta, nomor 766.
Komplek Graha Panyileukan Asri, Blok C, nomor 2.
Bandung. Republic of Indonesia - 40614.
--
www.Ok.de - die kostenlose E-Mail Adresse
More information about the ubuntu-users
mailing list