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 - ctorres

Pages: [1]
1
CentOS 7 Problems / Re: PHP version Switcher not working
« on: November 13, 2023, 01:37:08 PM »
Can you please advise of the following:

What distro are you trying to install CWP onto?

VPS or Dedicated?

If using AlmaLinux or Rocky 8, can you can follow:
https://www.alphagnu.com/topic/127-php-8125-in-cwp/#comment-278

it's in almalinux 8, I'm trying to install php-fpm8.1 or make some changes to the php compilation.

2
CentOS 7 Problems / Re: PHP version Switcher not working
« on: November 13, 2023, 01:02:43 AM »
hello,

I'm trying to install php-fpm 8.1 or change the base php version of the server but when it is compiling it generates the following error

Code: [Select]
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

--2023-11-12 20:35:28-- http://static.cdn-cwp.com/files/php/pecl/mcrypt-1.0.4.tgz

Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ...

Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 27056 (26K) [application/x-tar]

Saving to: 'mcrypt-1.0.4.tgz'

0K .......... .......... ...... 100% 587K=0.04s

2023-11-12 20:35:28 (587 KB/s) - 'mcrypt-1.0.4.tgz' saved [27056/27056]

Configuring for:

PHP Api Version: 20190902

Zend Module Api No: 20190902

Zend Extension Api No: 320190902

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for a sed that does not truncate output... /usr/bin/sed

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for cc... cc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether cc accepts -g...

yes

checking for cc option to accept ISO C89... none needed

checking how to run the C preprocessor... cc -E

checking for icc... no

checking for suncc... no

checking for system library directory... lib

checking if compiler supports -R... no

checking if compiler supports -Wl,-rpath,... yes

checking build system type... x86_64-pc-linux-gnu

checking host system type... x86_64-pc-linux-gnu

checking target system type... x86_64-pc-linux-gnu

configure: error: Cannot find php-config. Please use --with-php-config=PATH

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Skipping as php build failed

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Skipping as php build failed

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Skipping as php build failed

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 923k 100 923k 0 0 1778k 0 --:--:-- --:--:-- --:--:-- 1776k

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/mailparse.sh: line 8: /opt/alt/php-fpm81/usr/bin/phpize: No such file or directory

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/mailparse.sh: line 9: ./configure: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No targets specified and no makefile found. Stop.

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/mailparse.sh: line 13: /opt/alt/php-fpm81/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /mailparse.so

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Skipping as php build failed

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Skipping as php build failed

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: www.gtlib.gatech.edu

* epel: d2lzkl7pfhq30w.cloudfront.net

* extras: mirror.atl.genesisadaptive.com

* remi-safe: cdn.centos.no

* updates: volico.mm.fcix.net

http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Trying other mirror.

To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

One of the configured repositories failed (MariaDB),

and yum doesn't have enough cached data to continue. At this point the only

safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working

upstream. This is most often useful if you are using a newer

distribution release than is supported by the repository (and the

packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled

yum --disablerepo=mariadb ...

4. Disable the repository permanently, so yum won't use it by default. Yum

will then just ignore the repository until you permanently enable it

again or use --enablerepo for temporary usage:

yum-config-manager --disable mariadb

or

subscription-manager repos --disable=mariadb

5. Configure the failing repository to be skipped, if it is unavailable.

Note that yum will try to contact the repo. when it runs most commands,

so will have to try and fail each time (and thus. yum will be be much

slower). If it is a very temporary problem though, this is often a nice

compromise:

yum-config-manager --save --setopt=mariadb.skip_if_unavailable=true

failure: repodata/repomd.xml from mariadb: [Errno 256] No more mirrors to try.

http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28505 100 28505 0 0 82307 0 --:--:-- --:--:-- --:--:-- 82146

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/sodium.sh: line 9: /opt/alt/php-fpm81/usr/bin/phpize: No such file or directory

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/sodium.sh: line 10: ./configure: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.1/sodium.sh: line 14: /opt/alt/php-fpm81/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /sodium.so

exe:/opt/alt/php-fpm81/usr/sbin/php-fpm

Build Completed

###################

Error:Can't add notification!

3
hello,

I would like to know how I can change the main domain of an account if I have to do it manually I would like to know how is the process or what should I take into account to be able to do this.

Thank you very much for your support. ;D ;D ;D

4
FTP / FTP admin 502 gateway
« on: March 28, 2023, 01:47:28 AM »
Hello,

I want to upload large files through the ftp admin mode but the system does not allow me to generate the following error, previously let me perform the action but now tells me the following and the upload size is not the problem, as it is configured for 20Gb

https://prnt.sc/upWRyJmKhofY attached capture

5
CentOS-WebPanel Bugs / nginx 403 cwp
« on: March 23, 2023, 03:39:02 PM »
hello I have a problem with my system which is in nodejs, configure the proxy and the web server however I get the following error.

<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.22.1</center>
</body>
</html>

is there any log that can guide me

6
Hello,

have you tried to perform a live reinstall through the cwp script?

I recommend you first to see the logs to identify what is happening, one of these paths will help you, this is the reference link: https://wiki.centos-webpanel.com/service-log-paths

/usr/local/cwpsrv/logs/
/usr/local/cwp/php71/var/log/

and this would be the script, beware before doing this I recommend you make a backup of your server, if it is a vps server contracted with a hosting provider or a kvm request a snapshot of the system just in case, in order to work safely, In theory you can use this script to reinstall cwp with the latest available version.

https://wiki.centos-webpanel.com/how-to-create-cwp-iso-image read carefully before executing any action

regards

7
CentOS-WebPanel Bugs / clamd module not working in dashboard users
« on: July 08, 2022, 10:31:00 PM »
Hello,

I have problems with the clamd module in my cwp in admin mode everything works fine from the dashboard but in user mode it throws me an error as if the module was not installed, however this only happens to me in 2 accounts in particular since in the others the module looks good

checking the logs the system gives me the following

2022/07/08 22:09:27 [notice] 27032#0: *15138 "^/v1/([^/]+)/?$" matches "/v1/user_panel_dashboard/", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [notice] 27032#0: *15138 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/user_panel_dashboard/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [info] 27032#0: *15138 client 127.0.0.1 closed keepalive connection
2022/07/08 22:09:27 [notice] 27033#0: *15140 "^/v1/([^/]+)/?$" matches "/v1/clam/", client: 127.0.0.1, server: localhost, request: "POST /v1/clam/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [notice] 27033#0: *15140 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/clam/ HTTP/1.1", host: "127.0.0.1:2302"
2022/07/08 22:09:27 [info] 27033#0: *15140 client 127.0.0.1 closed keepalive connection
2022/07/08 22:09:28 [error] 27032#0: *15125 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: clam in /usr/local/cwpsrv/var/services/user_files/modules/cwp_framework/traits/DashboardExtraVarsTrait.php on line 0
PHP message: PHP Warning:  First parameter must either be an object or the name of an existing class in /usr/local/cwpsrv/var/services/user_files/modules/clam/index.php on line 0" while reading response header from upstream, client: IP, server: localhost, request: "GET /cwp_8c5de808ea182097/user/?module=clam HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/user.sock:", host: "hostname:2083", referrer: "https://hostname:2083/cwp_8c5de808ea182097/user/?"

Is it possible to fix this bug or is it better to do a freshinstall in a new environment, I'm using centos7

8
Backup / new beta backup it does not work
« on: January 09, 2022, 04:17:06 AM »
hello,

I have problems with the beta backup function for some reason when the task starts it is not executing the backup script as it should be, it is not making the copies of the accounts

the log no from cron_backup.log tells me only this

Manual!
Backup Initiated
PER_PACKAGE
ALL PACKAGE
["aboquet1"]
*********** INCREMENTAL ****************
*********** LOCAL ****************
{"1":{"DAY":"\/manual\/","RET":"2"}}
END
Backup Finished

the server is licensed cwppro

9
CentOS 7 Problems / fail restore full backup
« on: November 11, 2021, 04:27:20 PM »
Hi, I have problems when I try to restore full backup, the following message appears and I do not see the failure logs.

https://www.screencast.com/t/C9My5y5ATEWb

Pages: [1]