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 4 ... 14
16
CSF Firewall / Re: Cant start firewall
« on: November 07, 2024, 11:05:01 PM »
According to the error the kernel module iptables_filter isn't loaded and OS can't load it for some reason. It could happen if:

1. You use custom kernel without iptables_filter support (Kernel installed from some 3rd party repository or compiled from sources with iptables_filter disabled)
2. Your provider uses OpenVZ/LXC virtualization and the kernel module iptables_filter isn't loaded at main node.

If the problem remains unsolved after the restoration then do following:

Run as root on your VPS:

Code: [Select]
uname -a
ls  /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/

and show output.

17
CentOS-WebPanel Bugs / Re: User login - errors
« on: November 06, 2024, 09:44:34 PM »
Look into the log file:
/usr/local/cwpsrv/logs/error_log

18
CentOS 9 Problems / Re: Error in SMTP
« on: November 03, 2024, 10:49:27 PM »
I just recommend you to install CWP again on a new fresh system and make sure there are no errors during the installation. Or copy the dovecot's, roundcube's database structure from some live server and recreate mailboxes on the new server.

As an extra step for investigation, check the php libs available for main php version installed on your server. It must support MySQLi, and PDO_mysql.

19
CentOS 9 Problems / Re: Error in SMTP
« on: November 03, 2024, 09:44:02 PM »
According to the provided error logs there is some problem with the databases of roundcube and dovecot/postfix. How did you install roundcube and postfix, dovecot ? Did you install them manually or using CWP ? Did you modified some configs, etc ?

20
CSF Firewall / Re: Cant start firewall
« on: November 03, 2024, 07:15:44 PM »
1. Is it VPS or bare metal server ?

2. Do you use some custom kernel ?

21
How to / Re: create a directory on a hosting account (says forbidden)
« on: November 02, 2024, 01:55:39 PM »
index file isn't required if you try to access the file via the direct link:
http://domain.com/folder/file.txt
even if the directory listing is disabled.

So if you try to access the file over the direct link and get the error 403 (forbidden) then make sure the access permissions allow to access the file (folder and file belong to the correct user, etc) and your HTTP/HTTPS request isn't blocked by mod_security or any other nginx/apache module used to control access (there is no some deny/allow rule).

22
Backup / Re: Is there a backup guide?
« on: November 02, 2024, 10:43:23 AM »
Hi,

If you want to use new backup system and store backups on the remote server then the backup server must support OpenSSH and rsync.

OpenSSH and rsync are supported by any Linux distro (Alma, Rocky, Debian, Ubuntu, etc). OpenSSH and rsync can be running on Windows OS too. So there is no strict OS requirement.

Backups can be restored by the admin (root) only. The CWP user doesn't have permissions and options to run the restoration process.

23
CentOS 7 Problems / Re: /cwpsrv/conf
« on: November 02, 2024, 10:20:28 AM »
Try to restart CWP instead of reboot the server.

24
CentOS-WebPanel Bugs / Re: CWP - CWP Migration - DNS Records
« on: October 31, 2024, 05:44:17 PM »
CWP doesn't migrate the DNS zones. It just creates the DNS zone on a new server using the default DNS zone template and adds necessary zone records for subdomains associated with the domain name.

25
Also, I found "top" shows high "sy" when the average load is high. "sy" indicates how much cpu is consumed by "system". High "sy" could indicate problems with the kernel, some driver or node your VPS is hosted on.

26
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 11:18:32 PM »
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed

Run:

Code: [Select]
ls -ld /var/lib/mysql
ls -l /var/lib/mysql

in shell as root and show output.

Anyway, it doesn't look like CWP problem.

Moreover, to update the database of MariaDB 10.6+ the following command must be executed:

Code: [Select]
mariadb-upgrade
Run it and look for result.

27
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 05:57:43 PM »
PHP outrput looks good. Try to reset the root password anyway and then update the password in:

/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php


Additionally, make sure the login and password inside the file /root/.my.cnf is quoted by single quotas like:
Code: [Select]
user='mylogin'
password='mypassword'

because some chars (!@#$%^) could be recognized as special chars.

28
To monitor disk I/O, try to use "iotop":

Code: [Select]
yum -y install iotop
Additionally, try to find which ip generates high network traffic using "iftop".

Code: [Select]
yum -y install iftop

29
DNS / Re: help with name servers
« on: October 28, 2024, 05:45:26 PM »
The simplest way:

1. Add one or more extra IPs to your dedicated server/vps. You have to assign as many IPs to the server as many nameservers you want to use.

2. Register the nameservers at your registrar to the main and extra ips of your server.

3. Add the  corresponding DNS A records for each nameserver at the DNS cluster used by the domain associated with your nameservers.

In this case you could provide your namesers for your users and you or your users won't have to manage the DNS records of each domain/subdomain you create on your server/vps.

However, this case has a disadvantage: If your server or bind (DNS service) running on your server is down then it will make all domain names including email service even if the domain uses 3rd party MX server is down too.

If you decide to use 3rd party DNS service like CloudFlare then you or your user will have to create DNS records (A,CNAME, MX, etc) for the domain/subdomain at CloudFlare every time when a new domain/subdomain is created on your server. To automate this process you can write scripts to add/remove/update DNS records at the external DNS service using hooks:
https://wiki.centos-webpanel.com/action-hooks

30
CentOS 7 Problems / Re: CPU high usage after mariadb upgrade 10.11
« on: October 27, 2024, 10:13:50 PM »
There are a lot of errors "can't resolve". Make sure the DNS resolver on your VPS/Server is operating fine.

Pages: 1 [2] 3 4 ... 14