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

Pages: 1 ... 19 20 [21] 22 23 ... 55
301
I would suggest picking one, and looking at the man pages for that specific tool.  If you find a problem, you will have to investigate using other tools to find out what the real problem is. 

However, if you have managed help, let them sort it out.

302
Updates / Re: Yum manager - unable to update packages
« on: February 15, 2022, 01:24:20 PM »
yum install deltarpm


Side Note.  If the packages that won't install are MariaDB, that because Maria can't be auto updated.  It has to be a manual install.

How are us end user supposed to update MariadDB?

I thought when the updates were minor or patch level then you could just update.

I am a windows user so all of this is complicated

The End User isn't supposed to update anything.  If you want to run a hosting company, you need to know what you are doing.  A google search will land you on MariaDB's "How to update" page, which explains EXACTLY why they force manual updates, and how to do it.  Remember, they are a free software, that does not want to be liable for your data.

304
Look at your inodes.   Probably not a RAM/Processor issue, as much as it's a harddrive issue waiting for read/writes.  One of the problems with using a VPS, is you don't know how they have it configured.  They could have 30 VPS's all using a standard hard disk, and KVM has to iwait read/writes to the disk.  If your VPS is really slow with no load, I would contact their support about the issue.

305
if you check your " top " command while it's high, you'll be able to see what program is using the resources (Most likely SQL ).

If it is indeed in a KVM container, there is very limited chance that another VPS is causing you issues with RAM/CP.  However, if the hardware at the server level hosting the KVM is failing for some reason, or they have too many vps's on a single raid, others could affect it.

306
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 15, 2022, 07:15:11 AM »
Going to have to blame CentOS on this one.  They need to update their repository with a newer version of libzip

307
Updates / Re: Yum manager - unable to update packages
« on: February 15, 2022, 05:53:24 AM »
yum install deltarpm


Side Note.  If the packages that won't install are MariaDB, that because Maria can't be auto updated.  It has to be a manual install.

308
CentOS 7 Problems / Re: ajax error list of accounts
« on: February 15, 2022, 05:28:05 AM »
Did you follow the directions on the link you attached?  Devs need to know what code was replied on your server to be able to help you with it.

309
systemctl start | stop | restart <Servicename>

Apache  "  systemctl restart httpd   "
Nginx   " systemctl restart nginx   "
PHP-FPM   systemctl restart php-fpm71
               systemctl restart php-fpm72  ...  ETC for each version you have installed

310
CentOS 7 Problems / Re: (70007)The timeout specified has expired
« on: February 15, 2022, 05:21:26 AM »
Hi,

Can you please guide me how to  turn off "force php-fpm"? :'(

WebServer Settings -> Webserver Main Conf

Uncheck the last checkbox that states force apache to use PHP-FPM

311
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 15, 2022, 04:57:40 AM »
Here's install log

checking whether to build with expat support... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLReader support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XMLRPC-EPI support... yes
checking whether to build with expat support... no
checking iconv dir for XMLRPC-EPI... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLWriter support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XSL support... yes
checking for libxslt >= 1.1.0... yes
checking for libexslt... yes
checking whether to enable zend-test extension... no
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:

No package 'libzip' found
No package 'libzip' found
No package 'libzip' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 104: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
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
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
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: mirrors.linode.com
 * epel: packages.oit.ncsu.edu
 * extras: mirrors.linode.com
 * remi-safe: repo1.dal.innoscale.net
 * updates: mirrors.linode.com
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
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
100 28505  100 28505    0     0  97677      0 --:--:-- --:--:-- --:--:-- 97955
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/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/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

yum install libzip libzip-devel

312
PHP-FPM is your answer

313
CentOS 7 Problems / Re: Api rest CWP with error in CORS
« on: February 08, 2022, 01:56:20 PM »
First, There is no way to disable CORS in modern browsers...

Did you try * instead of %?  CORS will read * as allow any.  (Please try this first)

Aside from that, you may need to tweak settings in the API config files

vi /usr/local/cwpsrv/conf.d/api.conf

Add the following line right after error_log
add_header Access-Control-Allow-Origin *;

Please note that you will have to fix this each time you update CWP.

Once that is done

/usr/local/cwpsrv/bin/cwpsrv -s reload


314
Just tried starting it, and it caused the same issue.  Restart Cwpsrv and cwp-phpfpm to return everything to normal after about 5 minutes

315
The only thing I can think of, is not name it default.  Being as the code is encrypted, I can't really see what's going on, but if it's not rebuilding from your custom file each update, there's definitely a bug.  I have Nginx with custom configs for wordpress, and they don't behave this way.

Pages: 1 ... 19 20 [21] 22 23 ... 55