Unable to start apache2
I use Ubuntu18.04
Command sudo service apache2 restart
returns error. This is some lines from journalctl -xe
result:
дек 19 11:00:52 kurusa anacron[16951]: Anacron 2.3 started on 2018-12-19
дек 19 11:00:52 kurusa anacron[16951]: Normal exit (0 jobs run)
дек 19 11:01:18 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:28 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:29 kurusa sudo[17006]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:40 kurusa sudo[17008]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 2197
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:48 kurusa sudo[17011]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/kill 2197
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:50 kurusa sudo[17021]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:58 kurusa sudo[17026]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/usr/sbin/service apache2 restart
дек 19 11:01:58 kurusa sudo[17026]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:58 kurusa kernel: apache2[17035]: segfault at 7f478cc64e00 ip 00007f4788e13fcf sp 00007ffdb66f0620 error 6 in libphp7.0.so[7f4788bc1000+390000]
дек 19 11:01:59 kurusa apachectl[17032]: Segmentation fault (core dumped)
дек 19 11:01:59 kurusa apachectl[17032]: Action 'start' failed.
Here is my apache2.conf
:
DefaultRuntimeDir ${APACHE_RUN_DIR}
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 100
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /home/kurusa/proj>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^.ht">
Require all denied
</FilesMatch>
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
Include /etc/phpmyadmin/apache.conf
How can I fix this problem?
apache-httpd
add a comment |
I use Ubuntu18.04
Command sudo service apache2 restart
returns error. This is some lines from journalctl -xe
result:
дек 19 11:00:52 kurusa anacron[16951]: Anacron 2.3 started on 2018-12-19
дек 19 11:00:52 kurusa anacron[16951]: Normal exit (0 jobs run)
дек 19 11:01:18 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:28 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:29 kurusa sudo[17006]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:40 kurusa sudo[17008]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 2197
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:48 kurusa sudo[17011]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/kill 2197
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:50 kurusa sudo[17021]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:58 kurusa sudo[17026]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/usr/sbin/service apache2 restart
дек 19 11:01:58 kurusa sudo[17026]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:58 kurusa kernel: apache2[17035]: segfault at 7f478cc64e00 ip 00007f4788e13fcf sp 00007ffdb66f0620 error 6 in libphp7.0.so[7f4788bc1000+390000]
дек 19 11:01:59 kurusa apachectl[17032]: Segmentation fault (core dumped)
дек 19 11:01:59 kurusa apachectl[17032]: Action 'start' failed.
Here is my apache2.conf
:
DefaultRuntimeDir ${APACHE_RUN_DIR}
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 100
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /home/kurusa/proj>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^.ht">
Require all denied
</FilesMatch>
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
Include /etc/phpmyadmin/apache.conf
How can I fix this problem?
apache-httpd
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
fromaddress in use
I guess something already listen to the port.
– Archemar
Dec 19 '18 at 8:54
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57
add a comment |
I use Ubuntu18.04
Command sudo service apache2 restart
returns error. This is some lines from journalctl -xe
result:
дек 19 11:00:52 kurusa anacron[16951]: Anacron 2.3 started on 2018-12-19
дек 19 11:00:52 kurusa anacron[16951]: Normal exit (0 jobs run)
дек 19 11:01:18 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:28 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:29 kurusa sudo[17006]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:40 kurusa sudo[17008]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 2197
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:48 kurusa sudo[17011]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/kill 2197
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:50 kurusa sudo[17021]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:58 kurusa sudo[17026]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/usr/sbin/service apache2 restart
дек 19 11:01:58 kurusa sudo[17026]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:58 kurusa kernel: apache2[17035]: segfault at 7f478cc64e00 ip 00007f4788e13fcf sp 00007ffdb66f0620 error 6 in libphp7.0.so[7f4788bc1000+390000]
дек 19 11:01:59 kurusa apachectl[17032]: Segmentation fault (core dumped)
дек 19 11:01:59 kurusa apachectl[17032]: Action 'start' failed.
Here is my apache2.conf
:
DefaultRuntimeDir ${APACHE_RUN_DIR}
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 100
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /home/kurusa/proj>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^.ht">
Require all denied
</FilesMatch>
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
Include /etc/phpmyadmin/apache.conf
How can I fix this problem?
apache-httpd
I use Ubuntu18.04
Command sudo service apache2 restart
returns error. This is some lines from journalctl -xe
result:
дек 19 11:00:52 kurusa anacron[16951]: Anacron 2.3 started on 2018-12-19
дек 19 11:00:52 kurusa anacron[16951]: Normal exit (0 jobs run)
дек 19 11:01:18 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:28 kurusa wpa_supplicant[1022]: TDLS: Invalid frame - payloadtype=1 category=240 action=10
дек 19 11:01:29 kurusa sudo[17006]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:29 kurusa sudo[17006]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:40 kurusa sudo[17008]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 2197
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:40 kurusa sudo[17008]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:48 kurusa sudo[17011]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/kill 2197
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:48 kurusa sudo[17011]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:50 kurusa sudo[17021]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/bin/ps -f -p 4489
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:50 kurusa sudo[17021]: pam_unix(sudo:session): session closed for user root
дек 19 11:01:58 kurusa sudo[17026]: kurusa : TTY=pts/0 ; PWD=/etc ; USER=root ; COMMAND=/usr/sbin/service apache2 restart
дек 19 11:01:58 kurusa sudo[17026]: pam_unix(sudo:session): session opened for user root by (uid=0)
дек 19 11:01:58 kurusa kernel: apache2[17035]: segfault at 7f478cc64e00 ip 00007f4788e13fcf sp 00007ffdb66f0620 error 6 in libphp7.0.so[7f4788bc1000+390000]
дек 19 11:01:59 kurusa apachectl[17032]: Segmentation fault (core dumped)
дек 19 11:01:59 kurusa apachectl[17032]: Action 'start' failed.
Here is my apache2.conf
:
DefaultRuntimeDir ${APACHE_RUN_DIR}
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 100
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
HostnameLookups Off
ErrorLog ${APACHE_LOG_DIR}/error.log
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
Include ports.conf
<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /home/kurusa/proj>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
AccessFileName .htaccess
<FilesMatch "^.ht">
Require all denied
</FilesMatch>
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
Include /etc/phpmyadmin/apache.conf
How can I fix this problem?
apache-httpd
apache-httpd
edited Dec 19 '18 at 9:03
asked Dec 19 '18 at 8:47
Racoon
11
11
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
fromaddress in use
I guess something already listen to the port.
– Archemar
Dec 19 '18 at 8:54
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57
add a comment |
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
fromaddress in use
I guess something already listen to the port.
– Archemar
Dec 19 '18 at 8:54
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
from
address in use
I guess something already listen to the port.– Archemar
Dec 19 '18 at 8:54
from
address in use
I guess something already listen to the port.– Archemar
Dec 19 '18 at 8:54
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489864%2funable-to-start-apache2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489864%2funable-to-start-apache2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are we supposed to guess your Apache configurations and your environment/Unix Linux version? I advise investing more time on composing questions.
– Rui F Ribeiro
Dec 19 '18 at 8:49
@RuiFRibeiro, sorry :c how can i specify Apache configurations in this questiton?
– Racoon
Dec 19 '18 at 8:51
from
address in use
I guess something already listen to the port.– Archemar
Dec 19 '18 at 8:54
@RuiFRibeiro, okay, i edited question
– Racoon
Dec 19 '18 at 8:57