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 ... 14 15 [16] 17 18 ... 21
226
CentOS-WebPanel Bugs / Re: Cannot Add Nat IP
« on: September 11, 2024, 05:49:53 PM »
I tried to open the URL:
https://pasteboard.co/gA9r0dPAtAuV.png
a few times and within but got error 502 always.

Could you upload the screenshot to another image hosting service  (imgur https://imgur.com/upload) ?

227
Installation / Re: Cannot login to admin CWP
« on: September 11, 2024, 03:16:20 PM »
Clean cache (cookies, temporary files, sessions) of your browser and then try to access CWP admin panel again.

In case you decide to reinstall the panel, then make sure there are no errors during installation.

228
Mod_Security / Re: MOD SECURITY issue on new CWP PRO INSTALLATION
« on: September 09, 2024, 01:24:29 PM »
Look at this thread:
https://forum.centos-webpanel.com/centos-9-problems/apache-wont-restart-after-enabling-mod_security/msg48744/#msg48744
it seems you have the same problem.
Hope it will help you to solve the problem.

229
Other / Re: MongoDB Manager not working if authentication is turned on
« on: September 07, 2024, 08:16:47 PM »
127.0.0.1 only if you want to make your databases inaccessible from the internet. However it will make the databases accessible locally from the server using 127.0.0.1 as DB Host.

230
Other / Re: MongoDB Manager not working if authentication is turned on
« on: September 07, 2024, 06:51:07 PM »
I don't use MongoDB personally but I assume you can configure MonoDB to be accessible over loopback only:

Code: [Select]
bindIp: 127.0.0.1

231
Checked this article:
https://wiki.centos-webpanel.com/php-version-switcher
and then files associated with php sodium for EL9. It seems sodium should be compiled by default for php-fpm_selector, php_selector, php_switcher on EL9 systems.

If it wasn't compiled by default then it is better to review /var/log/php-rebuild.log for investigation.

232
The instructions to compile sodium are the similar to imagic:

Code: [Select]
dnf install libsodium-devel
cd /usr/local/src/
wget https://pecl.php.net/get/libsodium-2.0.23.tgz
tar -xvzf libsodium-2.0.23.tgz
cd libsodium-2.0.23
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config
make
make install

Make sure "extension=sodium.so" presents in appropriate .ini file.

P.S. if pecl.php.net is inaccessible for some reason, you can download php libsodium from Github:
Code: [Select]
wget -O libsodium-2.0.23,zip https://github.com/jedisct1/libsodium-php/archive/refs/heads/master.zip

233
Postfix / Re: error when clicking on "manage mail queue" option
« on: September 07, 2024, 12:14:08 PM »
It is better to replace the step 3 with:

Code: [Select]
service cwpsrv-phpfpm restart

234
Postfix / Re: error when clicking on "manage mail queue" option
« on: September 07, 2024, 10:27:13 AM »
Try to do following:

1. Open file:
/usr/local/cwp/phpXX/etc/cwpsrv.conf
(replace phpXX with the php version used by your CWP)

2. Add the line:
Code: [Select]
php_admin_value[max_execution_time] = 3000

3. kill php-fpm processes:
Code: [Select]
killall php-fpmto restart PHP-FPM and apply the new value of  max_execution_time (not sure how to restart php-fpm in other way).

4.Then check the mail queue manager again.

Undo the changes and then perform the steps 2-3 to leave the default values.

235
Hi,

In my opinion you need to compile both extensions from sources and not using packages (RPM).

236
Updates / Re: How to update Imagick?
« on: September 06, 2024, 07:08:27 PM »
Then try to recompile imagick manually. Follow the steps listed bellow:

Code: [Select]
cd /usr/local/src/
wget https://pecl.php.net/get/imagick-3.7.0.tgz
tar -xvzf imagick-3.7.0.tgz
cd imagick*
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config
make
make install

Make sure to replace "phpXX" with path to the correct php version.

237
DNS / Re: Cannot access CWP after IP Change
« on: September 03, 2024, 06:58:11 PM »
Change the IP in the file:

/usr/local/cwp/.conf/settings.conf

restart CWP and then run:

/scripts/cwp_api webservers rebuild_all
/scripts/cwp_api account rebuild_etc_named_conf
/scripts/cwp_api account rebuild_var_named_all

to rebuild vHost and DNS zone files.

238
DNS / Re: DNS Issue?
« on: September 03, 2024, 05:48:17 PM »
1. Check WHOIS of your domain. Make sure the domain name uses the correct nameservers.

2. dig each nameserver (dig @nameserver.com domain.com) to make sure each nameserver responds and provides correct information about the domain.

3. Make sure your website isn't infected by some virus because the redirection can be causes by a virus.

239
How to / Re: User panel login link
« on: September 03, 2024, 01:18:17 PM »
Use the API function autologin:

Url:    https://xxx.xxx.xxx.xxx:2304/v1/user_session
Method:    POST

key:    Key authorized by Api administrator
action:    list
user:    Account username (If not specified, a list of accounts will be displayed)
timer:    Expiration time of the session, expressed in Minute, example 2
module:    Indicate the name of the module to be redirected
debug:    (0 / 1) Debug display file: /var/log/cwp/cwp_api.log

240
CWP loads the extension globally. So if you want to disable it then you need to disable it:
Code: [Select]
;extension=pdo_mysql.soin the global php.ini file. See:
Code: [Select]
/opt/alt/php81/usr/php/php.d
/opt/alt/php81/usr/php/php.ini

and then enable for all users (add "extension=pdo_mysql.so") except the specific user in their local php.ini.

Pages: 1 ... 14 15 [16] 17 18 ... 21