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

Pages: [1]
1
I want to set up a cronjob to clear cache every so often so I don't have to log in to clear cache manually. What would the command for that be?

2
DNS / Re: BIND DNS Keeps crashing.
« on: November 25, 2022, 03:02:54 AM »
Never mind I think it's a RAM thing, does anyone know what the command to clear cache is so I can set up a cron job to do it every so often?? (so I don't have to log in and do it manually)

3
DNS / BIND DNS Keeps crashing.
« on: November 23, 2022, 04:07:38 AM »
My BIND DNS keeps crashing at random. Logs say the following:

Quote
named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Tue 2022-11-22 15:31:24 UTC; 12h ago
 Main PID: 19656 (code=killed, signal=KILL)

Nov 22 12:23:51 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 13:02:26 (myhostname).net named[19656]: client @0x7fe5600b7690 193.118.55.162#49794 (testip.internet-census.org): query (cache) 'testip.internet-census.org/A/IN' denied
Nov 22 13:02:29 (myhostname).net named[19656]: client @0x7fe5600b7690 193.118.55.162#54504 (testip.internet-census.org): query (cache) 'testip.internet-census.org/A/IN' denied
Nov 22 13:06:16 (myhostname).net named[19656]: client @0x7fe5600a9060 36.33.24.5#37715 (192.236.179.173.lt1122.rdns.dnsmeasurement.com): query (cache) '192.236.179.173.lt1122.rdns.dnsmeasurement.com/TXT/IN' denied
Nov 22 13:23:49 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 14:23:50 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 15:23:50 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 15:31:24 (myhostname).net systemd[1]: named.service: main process exited, code=killed, status=9/KILL
Nov 22 15:31:24 (myhostname).net systemd[1]: Unit named.service entered failed state.
Nov 22 15:31:24 (myhostname).nett systemd[1]: named.service failed.

I guess those denied things are causing it however the domains listed which are denied DO NOT exist in my named.conf (I've checked multiple times) and I cannot find where they are referenced to remove them to resolve this issue.

I'm hoping someone here will have some ideas?

(btw the "myhostname" is me hiding my hostname from this forum)

4
PHP Selector / Re: PHP-FPM 8.0 not building.
« on: October 21, 2022, 02:07:07 AM »
I'm having the exact same problem with both 8.0 and 8.1, even tried multiple versions of them.

I was hoping there was some proper explanation and fix here but there doesn't seem to be anything, which is a shame because the script I'm trying to install requires PHP 8.0 or higher.

The two errors seem to be imagick.so and sodium.so

Code: [Select]
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.1/imagick.sh: line 16: /opt/alt/php81/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /imagick.so

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

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirror.wdc1.us.leaseweb.net

* epel: mirrors.mit.edu

* extras: coresite.mm.fcix.net

* updates: nyc.mirrors.clouvider.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/.

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

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28505 100 28505 0 0 54575 0 --:--:-- --:--:-- --:--:-- 54502

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

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_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_selector/external_modules/8.1/sodium.sh: line 14: /opt/alt/php81/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /sodium.so

After disabling imagick and sodium

Code: [Select]
8.1.11/ext/opcache/ -I/usr/local/src/php-build/php-8.1.11/include -I/usr/local/src/php-build/php-8.1.11/main -I/usr/local/src/php-build/php-8.1.11 -I/usr/local/src/php-build/php-8.1.11/ext/date/lib -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.11/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.11/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.11/TSRM -I/usr/local/src/php-build/php-8.1.11/Zend -fno-common -Wstrict-prototypes -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/php-build/php-8.1.11/ext/opcache/jit/zend_jit.c -o ext/opcache/jit/zend_jit.lo -MMD -MF ext/opcache/jit/zend_jit.dep -MT ext/opcache/jit/zend_jit.lo

cc: internal compiler error: Killed (program cc1)

Please submit a full bug report,

with preprocessed source if appropriate.

See for instructions.

make: *** [ext/opcache/jit/zend_jit.lo] Error 1

/bin/sh /usr/local/src/php-build/php-8.1.11/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu11 -Iext/opcache/ -I/usr/local/src/php-build/php-8.1.11/ext/opcache/ -I/usr/local/src/php-build/php-8.1.11/include -I/usr/local/src/php-build/php-8.1.11/main -I/usr/local/src/php-build/php-8.1.11 -I/usr/local/src/php-build/php-8.1.11/ext/date/lib -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.11/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.11/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.11/TSRM -I/usr/local/src/php-build/php-8.1.11/Zend -fno-common -Wstrict-prototypes -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/php-build/php-8.1.11/ext/opcache/jit/zend_jit.c -o ext/opcache/jit/zend_jit.lo -MMD -MF ext/opcache/jit/zend_jit.dep -MT ext/opcache/jit/zend_jit.lo

cc: internal compiler error: Killed (program cc1)

Please submit a full bug report,

with preprocessed source if appropriate.

See for instructions.

make: *** [ext/opcache/jit/zend_jit.lo] Error 1

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

--2022-10-21 02:23:17-- http://static.cdn-cwp.com/files/php/pecl/mcrypt-1.0.4.tgz

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

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

HTTP request sent, awaiting response... 200 OK

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

Saving to: 'mcrypt-1.0.4.tgz'

0K .......... .......... ...... 100% 2.66M=0.01s

2022-10-21 02:23:17 (2.66 MB/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

Build Completed

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

Error:Can't add notification!

5
hello

I have solved this for you, but I have not heard from you about it

Sorry I was sleeping, it was night time here. Just checked and it is indeed fixed, thank you!

Out of curiosity, what was the issue?

6
Hello

you can create a support ticket (Free) and mention this thread, please remember to add access to your server

How do I do that? I opened a support ticket like you said from the support.centos-webpanel site and a person named "Nitin" replied saying they wouldn't help me because I don't have a "support service".

Edit: Works fine on my other server anyway, the perks of having two I suppose! Didn't really want to do it from this server though because my more popular sites are on it and I didn't want to put more strain on it, oh well. Using 12.5% of CPU, hopefully wont impact my sites too much.

7
CentOS-WebPanel GUI / Issue with user "Server Cast" for Shoutcast/Icecast
« on: January 19, 2022, 12:02:12 PM »
Hey all,

I decided to try to install the shoutcast plugin to get my old internet radio station back up, and it's my first time using CWP. I seem to be having an issue with the user side of things, I installed the plugins (both shoutcast and icecast, and autodj also), created a user as you can see, all is good and the shoutcast server does work.


My issue is on the user panel side, the servers do not appear in a list here like they should. It's just blank.


 I don't know what I'm doing wrong or if this is a bug or if something went wrong? Anyone have any ideas or troubleshooting tips? There's hardly any documentation or forum posts on this, and none of this particular issue.

Hope this is the right spot for this post, had difficulty trying to figure out where this belongs, if not then mods can move it.

Thanks.

Pages: [1]