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] 2 3 ... 14
1
PHP Selector / Re: Cannot update php version
« on: November 20, 2024, 08:15:05 AM »
Reconfigure yum to retrieve the CentOS packages from the Vault repository:
https://www.nux.ro/Enable_vault_repositories_on_CentOS7/
then do:

Code: [Select]
yum clean all
yum update

but don't expect to get the latest server software.

If it is ok for you to reinstall the server to use some current centos alternative then I recommend to use Almalinux 8 or 9. Almalinux is supported by CWP.

2
CentOS 7 Problems / Re: Problems with webmail
« on: November 18, 2024, 05:07:09 PM »
1. Ok, then check the following files:
Code: [Select]
/usr/local/apache/domlogs/DOMAIN.COM.error.log
/usr/local/cwpsrv/logs/error_log
to find why the commention can't be established (webmail inaccessible).

2. Additionally, make sure the A/AAAA(IPv6)/CNAME records of webmail.DOMAIN.COM point the visitor to the correct ip/host.

3. Make sure there are no problems with the DNS resolver used by your computer.

3
CentOS 7 Problems / Re: Problems with webmail
« on: November 18, 2024, 02:13:22 PM »
When it happens run:

Code: [Select]
csf -g XXX.XXX.XXX.XXX

iptables -L -n | grep XXX.XXX.XXX.XXX

as root in shell of your server. Replace XXX.XXX.XXX.XXX  with your WAN IP address and check if you get your WAN IP in output. If the WAN IP is there then it means your IP is blocked by the firewall for some reason.

4
Information / Re: Some question about CWP
« on: November 18, 2024, 09:15:47 AM »
CWP operates with 3 types of users.

root - is the default admin. It has the highest level of access and can manage all aspects of the system (install/uninstall system software, change system settings, et, create resellers/regular users). root has access to each account on the server. However, there is no option to add/remove domains to root account for security reason.

reseller - this type of users can create/remove extra user accounts, has access to the accounts created by the reseller. It can't manage system settings, install/uninstall server side software or change system settings.

regular users - regular users have lowest level of access. They can manage their own account only (add/remove email accounts, domains, etc).

So you need to create at least one user level account to manage the websites. If all websites belong to you then you are free to create just one account and manage all websites through one account. However, it is better to create separate user level account for each website. If the websites are managed by different users then create extra account for each user.

5
Suggestions / Re: :):):) Comodo WAF rules update required :):):)
« on: November 16, 2024, 07:18:58 PM »
When does it happen ? After the CWP update or some other action ?

As a test update the rules, then run cwp update:
Code: [Select]
/scripts/update_cwpand then check if the rules version stay intact.

6
Suggestions / Re: :):):) Comodo WAF rules update required :):):)
« on: November 16, 2024, 04:36:31 PM »
Try to disable the mod_security rule 218500 by adding the following lines into .htaccess located in the document root of the website(s):

Code: [Select]
<IfModule mod_security2.c>
    SecRuleRemoveById 218500
</IfModule>

OR

If you want to disable the rule globally (for all websites) then put the line:
Code: [Select]
SecRuleRemoveById 218500into the file:

/usr/local/apache/modsecurity-owasp-old/global_disabled_rules.conf

and then restart Apache/HTTPD.

7
CentOS 7 Problems / Re: Problems with webmail
« on: November 16, 2024, 11:56:06 AM »
I'm having a problem on my server where webmail is becoming inaccessible from time to time.

What error message does your browser show when the problem appears ?

8
Information / Re: Centos Pro
« on: November 12, 2024, 08:50:59 AM »
Log into the billing area:
https://support.centos-webpanel.com/index.php?rp=/login
You will be able to update the IP address there or open a ticket in billing and ask to change the IP for you.

9
CentOS Configuration / Re: How to change IP address to domain
« on: November 12, 2024, 08:48:54 AM »
Just create an account on your VPS with the domain name you want to use, point the domain name to your VPS and then you will be able to access CWP over the URLs like:
https://yourdomain.com:2083/
https://yourdomain.com:2087/

10
PHP / Re: Anti-Change Log
« on: November 11, 2024, 05:58:25 PM »
1. You just need to add the version number and nothing else.

2. For main php version (php switcher) modify the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php_switcher/versions.ini

11
PHP / Re: Anti-Change Log
« on: November 11, 2024, 12:49:26 PM »
Edit the file:
/usr/local/cwpsrv/htdocs/resources/conf/el9/php-fpm_selector/versions.ini
(add the necessary PHP versions)
and then try to compile PHP-FPM.

12
CWP points the main domain name of the account to public_html by defauly. When the account is created and you log into the user level CWP to add the domain name, CWP asks you what folder must be used as the home folder (document root) of the new domain. In case you want to set public_html as the document root of the new domain then specify "public_html" as the folder.

13
Information / Re: Missing Items - CWP To CWP Migration
« on: November 08, 2024, 07:30:28 PM »
Hi,

Look at this script:
https://github.com/JaimeObregon/export-roundcube-sql
It seems this script is what you look for to transfer the roundcube settings for specific domain between the servers.

Please note I didn't test this script.

If you want to transfer the whole roundcube database then do following:

As root on the source server do:

1.
Code: [Select]
mysqldump -Q --opt roundcube > roundcube.sql
2. Copy the file roundcube.sql to the destination server over FTP, SCP or some other way preferred by you.

3. Restore the database content on the destination server:

Code: [Select]
mysql roundcube  < roundcube.sql

14
when i try i get this error
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80

The above errors say the port 80 is used already by some service NGINX or HTTP and can't be used by another service. Stop NGINX, Apache/HTTPD and then start services in the following order (Nginx,Apache) manually. If you get the error "could not bind to address 0.0.0.0:80" when you start Apache then check the Apache's config files to identify why apache tries to listed the port 80, update the port (replace :80 with :8181) and then try to start Apache again.

15
This is well known mod_security problem. It was solved numerous times:
https://forum.centos-webpanel.com/centos-9-problems/apache-wont-restart-after-enabling-mod_security/msg48744/

Guys, use "search" at this forum. Don't need to post the same problem-solution again and again.

Pages: [1] 2 3 ... 14