Question

why my website going down in ever 15 to 20 minutes

Posted January 11, 2020 207 views
Ubuntu 18.04

why my website going down in ever 15 to 20 minutes i add 1 extra doamin after that i am having this issue

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Hello, @firozavp38

Could you please elaborate more on the issue itself? Do you receive any error messages when you’re loading the site or you just receive timeouts in your browser?

You can examine the Apache/Nginx error log to see if there are any logged errors in order to see if something specific is causing the issue for you.

The location of the Apache error log is:

/var/log/apache2/error.log

The location of the Nginx error log is:

/var/log/nginx/error.log

You can also check your PHP error log if your site is based on PHP. You can find the location of the error log from the php.ini file. Just look for the error_log line and see the exact location.

Let me know how it goes.

Regards,
Alex

  • root@motivationwishing:~# /var/log/apache2/error.log
    -bash: /var/log/apache2/error.log: Permission denied
    root@motivationwishing:~# /var/log/nginx/error.log
    -bash: /var/log/nginx/error.log: No such file or directory

    Thanks for your support i got this 2 masseges

Do you have any idea about this error

Warning in ./libraries/plugin_interface.lib.php#551
count(): Parameter must be an array or an object that implements Countable

Backtrace

./libraries/displayexport.lib.php#381: PMApluginGetOptions(
string ‘Export’,
array,
)
./libraries/displayexport.lib.php#883: PMAgetHtmlForExportOptionsFormat(array)
./libraries/displayexport.lib.php#1099: PMAgetHtmlForExportOptions(
string 'database’,
string 'moviesnawp174’,
string “,
string ’<div class="export
tablelistcontainer”><input type=“hidden” name=“structure_or_data_forced” value=“0”><table class=“export_table_select”><thead><tr><th></th><th>Tables</th><th class=“export_structure”>Structure</th><th class=“export_data”>Data</th></tr><tr><td></td><td class=“export_table_name all”>Select all</td><td class=“export_structure all”><input type=“checkbox” id=“table_structure_all” /></td><td class=“export_data all”><input type=“checkbox” id=“table_data_all” /></td></tr></thead><tbody> <tr><td><input type=“checkbox” name=“table_select[]” value=“wp4s_commentmeta” checked=“checked” /></td><td class=“export_table_name”>wp4scommentmeta</td><td class=“exportstructure”><input type=“checkbox” name=“table_structure[]” value=“wp4s_commentmeta” checked=“checked” /></td><td class=“export_data”><input type=“checkbox” name=“table_data[]” value=“wp4s_commentmeta” checked=“checked” /></td></tr><tr><td><input type=“checkbox” name=“table_select[]” value=“wp4s_comments” checked=“checked” /></td><td class=“export_table_name”>wp4scomments</td><td class=“exportstructure”><input type=“checkbox” name=“table_structure[]” value=“wp4s_comments” checked=“checked” /></td><td class=“export_data”><input type=“checkbox” name=“table_data[]” value=“wp4s_comments” checked=“checked” /></td></tr><tr><td><input type=“checkbox” name=“table_select[]” value=“wp4s_links” checked=“checked” /></td><td class=“export_table_name”>wp4slinks</td><td class=“exportstructure”><input type=“checkbox” name=“table_structure[]” value=“wp4s_links” checked=“checked” /></td><td class=“export_data”><input type=“checkbox” name=“tabledata[]” value=“wp4slinks”

Hello, @firozavp38

You can tail the last 100 rows from the Apache error log using the following command:

tail -n 200 /var/log/apache2/error.log

As for the provided output, there is a warning but not an error itself, so I will wait for the Apache error log output to see if there is a logged error there.

Regards,
Alex

Submit an Answer