Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cyberspace

Pages: 1 ... 17 18 [19] 20 21 22
271
It looks like you customize the apache conf file generated by CWP. If so then CWP reset all HTTP/HTTPS (nginx/apache) confs according to the used templates.

To solve this I recommend you to create a custom template and apply it for your website testdomain.nl.

Please review the page:
https://wiki.centos-webpanel.com/webservers-vhost-templates
to learn about webserver vhost templates.

Hope it will help you to solve the problem.


272
E-Mail / Re: postfix sending email every minute
« on: May 27, 2023, 10:11:12 PM »
Check HTTP/HTTPS access logs of the websites associated with the user "agendada". I assume some website hosted in the account of the user "agendada" could contain some unprotected mail form or vulnerable mail script. It could be bombarded by spam bots. That is why you could get a lot of mail delivery failures. To solve the problem with the form, protect the form using Google reCaptcha or similar method. In case the bounces are caused by the vulnerable mail script then to avoid the spam submission the script must check the referrer, verify some hidden data from the form, etc.

273
How to / Re: How to manage hard drive space without losing data
« on: May 25, 2023, 12:36:40 PM »
Hi,

Just forget about "devtmpf", "tmpfs". Those partitions can't be used as storage device:
https://en.wikipedia.org/wiki/Tmpfs
Once you reboot your server/vps all data in tmpfs will be removed.

274
E-Mail / Re: Can't Receive emails
« on: May 22, 2023, 07:25:56 PM »
Try to rebuild postfix (main) config.

CWP --> MailServer Manager:

I recommend you to enable the followiong options (Don't check everything for testing purposes):

rDNS Check (recommended)
Install DKIM & SPF (recommended)


Make sure "Hostname" and "Domain" have correct values.

Click "Rebuild Mail Server", wait some time and then try to send/receive emails again.

275
Apache / Re: My apache has stopped working
« on: May 22, 2023, 05:59:52 PM »
Unfortunately the latest log provided by you doesn't contain anything about the error and doesn't allow to identify the problematic file either.

Try to identify the problematic file using the file:

Code: [Select]
/usr/local/apache/logs/error_log
Open it using "less", "vi" or some other editor and read content from the end to beginning.

Or just run:
Code: [Select]
/usr/local/apache/bin/apachectland read output.

276
Nginx / Re: Outdated Nginx
« on: May 22, 2023, 05:01:51 PM »
CWP installs NGINX from the repo EPEL. EPEL isn't maintained by CWP. If you want to install more recent version of NGINX then do following:

1. Add the line:

Code: [Select]
exclude=nginx*
into the section [epel] of the file:
/etc/yum.repos.d/epel.repo

2. Add your own (preferred) repo for NGINX:
Official Nginx repo: https://nginx.org/en/linux_packages.html#RHEL
Nginx with extra mods from GetPageSpeed: https://www.getpagespeed.com/redhat
or something else.

3. Update NGINX.

277
Connect to mysql/mariadb as root and run the following SQL command/query:

Code: [Select]
show variables like "sql_mode";
I get "NO_ENGINE_SUBSTITUTION" only. In case you get something else, set:

Code: [Select]
sql_mode="NO_ENGINE_SUBSTITUTION"
in my.cnf and restart MySQL/MariaDB.

If it doesn't help either, provide us with the SQL error mentioned by you and detail what MySQL/MariaDB version you use.

278
Apache / Re: My apache has stopped working
« on: May 22, 2023, 02:24:54 PM »
There is a syntax error in some apache config file:

Code: [Select]
may 22 13:26:54 server.notices.com apachectl[47086]: AH00526: Syntax error on line 17 of /usr/local/apache/conf.d/vhost>
Unfortunately it isn't possible to identify which file causes the problem because the line is truncated in your output.

I recommend you to check the output of "journalctl -xe" more closely to identify the problematic file, open it in some editor and investigate the line 17 of the file. It will help you to understand which directive isn't recognized by apache. In case it doesn't help you then show us content of the problematic file.

279
Apache / Re: My apache has stopped working
« on: May 22, 2023, 09:24:09 AM »
Please provide more info about the problem.

1. Have you done some changes (changed apache config, recompiled apache, etc) before the problem appeared ?

2. Are there some errors in:

Code: [Select]
/usr/local/apache/logs/error_log
3. Try to restart apachce and show us output of "journalctl -xe":

Code: [Select]
service httpd restart
journalctl -xe

280
PHP Selector / Re: php selector error 500
« on: May 21, 2023, 03:26:42 PM »
Look at this error:

Code: [Select]
Handler "application/x-httpd-php74" not found
In case you use Apache (PHP-FPM/suPHP) / Nginx+Apache (PHP-FPM/suPHP) then I recommend you do following:

(I suppose you have PHP 7.3 installed)
Code: [Select]
grep "application/x-httpd-php73" /usr/local/apache/conf* -Rland then investigate the records associated with "application/x-httpd-php73" in the files listed by "grep". Check if the files have the similar records for "application/x-httpd-php74", add the necessary lines and restart apache/php-fpm.

281
DNS / Re: How to use 2 domains on one account?
« on: May 21, 2023, 10:52:57 AM »
If both domains www.example.com www.anotherdomain.com are pointed to the same folder but the domain name is changed in the address bar to www.example.com when you open www.anotherdomain.com then it could be caused by:

1. mod_rewrite redirects stored in .htaccess located in the home folder (document root) of the website
2. CMS used by you for your website www.example.com. It is common case for the websites built on Wordpress, Joomla, etc.

To investiate:

1. Create a test file (test.php):

Code: [Select]
<?php
echo "Hello World !";
?>

and place it in the home folder (document root) of the website www.example.com.

2. Try to open the file test.php through the second domain name e.g:
http://www.anotherdomain.com/test.php

If the URL is changed to:
http://www.example.com/test.php
in the address bar of your browser then the problem is cased by the mod_rewrite rules stored in .htaccess

If the URL remains unchanged then the redirect from http://www.anotherdomain.com/test.php to http://www.example.com caused by the CMS your website is based on.


282
The service could be disabled in autoboot. It could be case if the server was rebooted after the upgrade. So make sure the service is running.

283
PHP Selector / Re: cant install any php version
« on: May 19, 2023, 07:02:49 PM »
It seems the problem is associated with access permissions. Look at the error:

/usr/local/cwp/.conf/php_conf/php54.conf: line 1: ./configure: Permission denied

Most likely for PHP 5.4 it could be fixed by modifying the script /usr/local/cwp/.conf/php_conf/php54.conf

Just put the line:

Code: [Select]
chmod 755 ./configure
as the first line of the script. (Similar to other php versions)

284
CentOS 7 Problems / Re: Malware found
« on: May 19, 2023, 06:54:24 PM »
5 cents from me :)

Enable mod_security for all websites hosted on your VPS/server and check the owner of the suspicious files. It will inform you which account the hacked website is hosted in.

Don't forget to update CWP to the latest stable version.

Bad sign if the suspicious files belong to "root".

285
Hi,

1. Please detail what error message you get when you try to connect to the mailboxes using POPS.

2. Connect to your server using SSH as root and run the following command:
Code: [Select]
netstat -tulpn | egrep "dovecot|/master"and show us output.

Pages: 1 ... 17 18 [19] 20 21 22