LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-13-2019, 10:11 AM   #1
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 12

Rep: Reputation: Disabled
Angry Web server error 520 cloud


Hello ,
I have a question related to cloudflare, for a while I noticed how they returned a 520 error, when I restart Apache2, the site starts working again for several hours, and then blocks it again with a 520 error

I wrote about the sport, and they tell me the problem is with you.

these are the likely reasons why my traffic is blocking, the site can not load and write -->> error 520 <<--


my question is how can I check that the problem is with me?

they told me to look here for this sin, but this lesson tells you what might be a problem without saying how to decide on my part.

I would be grateful if someone can help me how to deal with this problem

OS: Debian Server 9

php v : 7.3

Last edited by vask0; 07-13-2019 at 10:18 AM.
 
Old 07-14-2019, 03:39 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,581

Rep: Reputation: 144Reputation: 144
Which applications run on this webserver? Something you wrote yourself? You will find more detailed info in the apache error log. This may reside in /var/log/apache2
BR J
 
Old 07-14-2019, 10:05 AM   #3
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello j-ray
Тhe server only loads a web server (Apache2, php7.3 mysql, phpmyadmin)
I also have i installed VoIP Asterisk

In a directory /var/log/apache2 there are a lot of logos, what exactly do I need to look at, to find out what's breaking?

log/apache2

Access-log

10x

Br,
V.
 
Old 07-14-2019, 12:56 PM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,581

Rep: Reputation: 144Reputation: 144
should be error.log without further extension
 
Old 07-14-2019, 01:00 PM   #5
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Here are еerror logs

IMG

Here's how I can fix these errors, and if they're fatal errors?

10х

BR
V
 
Old 07-14-2019, 01:18 PM   #6
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,581

Rep: Reputation: 144Reputation: 144
First one I see is that PHP seems to be built without support for mysql. That may be solved by
sudo apt-get php-mysql

Second: there is something wrong with the installation of wordpress. I do not think one can install worpress without a working mysql connection.

So solve the mysql error first, restart the webserver and see whether you can install wordpress then...
 
Old 07-14-2019, 01:49 PM   #7
vask0
LQ Newbie
 
Registered: Dec 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
Before installing it, you can not install it.. I do not think it is from this. now I tried to install it again.

the result;


root@softi:~# sudo apt-get install php-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mysql is already the newest version (2:7.3+69).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@softi:~#

I think this message means it is installed.

wordpress. I have not attempted to install,

i use Invision Community again leads CMS

Last edited by vask0; 07-14-2019 at 02:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Dispelling cloud myths, the cloud security excuse, and the fight for cloud supremacy LXer Syndicated Linux News 0 06-20-2014 04:12 PM
LXer: Cloud 5: NSA not killing cloud, cloud IT jobs, rise of cloud brokers LXer Syndicated Linux News 0 03-02-2014 09:51 AM
LXer: Cloud 5: Netflix's cloud-connected brain, 5 cloud myths and from cloud to fog LXer Syndicated Linux News 0 02-21-2014 02:20 PM
LXer: It's a cloud, cloud, cloud, cloud world LXer Syndicated Linux News 0 07-23-2013 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration