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

Pages: [1] 2
1
CentOS 8 Problems / Re: PHP Switcher ERROR
« on: March 20, 2024, 11:38:37 PM »
i do not know Alma Linux. I am a total linux noob any ways. I used centos because a friend of me used it for some servers we used back in the time and i learned some over the years. but it keeps changing and drives me crazy, just when i finally memorised procedures and commands.. they gone and replaced again with just a little different syntax.

So i guess im going to set upa alma linux vm and see how that goes.

Im not running production, i just use for my own websites and website creation and such,  so i simply reinstall my baremetal server when Alma runs better.

Lets see.

2
CentOS 8 Problems / Re: PHP Switcher ERROR
« on: March 20, 2024, 11:15:45 PM »
I am having the same problem.
centos 8 stream latest cpw version,

a fresh updated vm system that runs nothing and is only being used to test and try out.

-- Set runtime path of "/usr/local/bin/ziptool" to ""

Failed to Download PHP version 8.2.17!

that is the mssage i get. the firewall is empty / no blocks so that cant be the issue.

whats happening ?

3
https://www.bleepingcomputer.com/news/security/nearly-11-million-ssh-servers-vulnerable-to-new-terrapin-attacks/

Almost 11 million internet-exposed SSH servers are vulnerable to the Terrapin attack that threatens the integrity of some SSH connections.

The Terrapin attack targets the SSH protocol, affecting both clients and servers, and was developed by academic researchers from Ruhr University Bochum in Germany.

It manipulates sequence numbers during the handshake process to compromise the integrity of the SSH channel, particularly when specific encryption modes like ChaCha20-Poly1305 or CBC with Encrypt-then-MAC are used.

An attacker could thus downgrade the public key algorithms for user authentication and disable defenses against keystroke timing attacks in OpenSSH 9.5.

A notable requirement for the Terrapin attack is the need for attackers to be in an adversary-in-the-middle (AitM) position to intercept and modify the handshake exchange.

It is worth noting that threat actors often compromise networks of interest and wait for the right moment to progress their attack.

A recent report by security threat monitoring platform Shadowserver warns that there are nearly 11 million SSH servers on the public web - identified by unique IP addresses, that are vulnerable to Terrapin attacks.

Another issue that i am not sure about how much it affects our CWP servers. Also another thing to look at byt our " Einsteins "

4
DNS / DNS Server Vulnerability: Single DNS Packet can Bring Down the System
« on: February 23, 2024, 02:08:29 PM »
https://gbhackers.com/critical-dnssec-flaw/

A new flaw has been discovered in DNSSEC, which, when exploited by threat actors, could result in the unavailability of technologies such as web browsing, email, and instant messaging. This new class of attacks has been termed “KeyTrap” by researchers.

Moreover, a threat actor could completely disable large parts of the worldwide internet. KeyTrap attacks affect not only DNS but also the applications using it. The “KeyTrap” class of attacks has been assigned with CVE-2023-50387, and the severity is yet to be categorized.  As of December 2023, 31.47% of the web clients used DNSSEC-validating DNS resolvers worldwide.

Im am not sure in how much our DNS server in the CWP servers are affected by this.. but maybe something for the " Einsteins " amongst us to look at.

5
PHP / Re: php-fpm83 not installing well / working
« on: February 03, 2024, 08:15:30 PM »
well i have no clue what or how you did it....
but on my clean fresh installed cwp with no additional programs installed i tried to install the 8.3.1 php from the version switcher....
but no luck

first i turned the options off like  mbstrings, as by default thats turned on. ioncube was already off. i turned on sourcegardian and upload progress, but it kept hang on both. after few times the fresh vm put back i tried to install it without any options... then it hanged on  sodium, thats turned on by deault too, so i turned that off too.
then only had memcached on, that one went ok but it kept hang on php

see code.
Code: [Select]
Installed:
  memcached-1.5.22-2.el8.x86_64

Complete!
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
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 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 whether cc understands -c and -o together... yes
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-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20131226
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
checking for gawk... gawk
checking whether to enable memcache support... yes, shared
checking whether to enable memcache session handler support... yes
checking for the location of ZLIB... no
checking for the location of zlib... /usr
checking PHP version...

i left it hang there for 2 hours but still no go.

maybe better remove the button 8.3.1 untill it function as a normal WORKING install because this makes no sensen

6
DNS / New addresses for b.root-servers.net per 2023-05-16
« on: February 02, 2024, 08:52:16 PM »
https://b.root-servers.org/news/2023/05/16/new-addresses.html

New addresses for b.root-servers.net
2023-05-16

USC/ISI is renumbering both its IPv4 and IPv6 addresses for b.root-servers.net on 2023-11-27. Our new IPv4 address will be 170.247.170.2 and our new IPv6 address will be 2801:1b8:10::b. USC/ISI will continue to support root service over our current IPv4 and IPv6 addresses for at least one year (until 2024-11-27) in order to provide a stable transition period while new root hints files are distributed in software and operating system packages.

We are renumbering to increase the resilience of the Root Servers System by further diversifying the number of Regional Internet Registries (RIRs) that have allocated IP addresses to Root Server Operators. Our addresses will be the first in the Root Server System to have been allocated by LACNIC and our routes will be verifiable through LACNIC’s Resource Public Key Infrastructure (RPKI) Trust Anchor Location (TAL). We thank LACNIC for helping make this renumbering possible, and ARIN for supporting our prior addressing assignments.

Update on 2023-05-30: LACNIC posted a separate announcement about this renumbering.


The named.root or named.ca file in our centos distrubutions were made in 2018. They not have been Updated since.

7
PHP / Re: php-fpm83 not installing well / working
« on: February 02, 2024, 08:50:34 PM »
Great, thanks Sandeep and Starbust.

I did setup a vm cwp server. going to test it first there. easy to get a clean cwp setup everyt time that way, so i can be sure it its just not in my  production server .
And no, i dont need those 2 options.

8
PHP / Re: php-fpm83 not installing well / working
« on: January 31, 2024, 01:18:15 PM »
as i wrote i turned off ioncube.
the instructions at sandeeps site not work either.
still can install

i did setup a vm with fresh installed centos 8 stream followed sandeeps video onstruction how to prepare and installed cwp. after installation and  fisnished the initial settings i went to the php version switcher and tried to install 8.3.1. i the only optional setting i changed was turning off ioncube... and saved and installed...

guess what... its still not installing. infact... instead of going through the whole installing cyclus... half way it just stalled. i left it overnight.. and when i just got back it still at the same point.

i understand new versions comes with hassles and kids desease.... but this ?

9
PHP / Re: php-fpm83 not installing well / working
« on: January 30, 2024, 10:22:57 PM »
I followed the instructions but its still not working,

lets hope this is working. i cant copy paste the output as a code. the forum doesnt allow. It would come in handy when the forom mods would make a list of what kind of words or codes are not allowed, instead of letting payin customers floating around in the dark when they get a "no permission. not allowed to..... "

i really get the sh i ts of this i can even post a link to a screenshot. im getting frustrated as f*** wit this amateurisic hassle...

after 3 years of hassles and a lot of missery i think its time to move on to another panel thats working better. this is no fun anymore.

10
Other / Re: Cant post a reply on my own started topic
« on: January 30, 2024, 10:18:38 PM »
lets see if this is working.

i just tried to post a a code of the result of the reinstall. nothing fancy.
but it makes no sense.. why can i make a new topic and not reply to the same topic. ?

11
Other / Cant post a reply on my own started topic
« on: January 30, 2024, 01:51:25 PM »
Forbidden
You don't have permission to access this resource.

is what i get after i pushed the post button.
As you see i dont have troubles creating a new post.

HELP

12
PHP / php-fpm83 not installing well / working
« on: January 29, 2024, 09:46:25 PM »
I have tried installing php-fpm83 about 10 times . i did 2 times a new setup of my bare metal server. i downloaded and have used the latest 8 stream version ( Kernel: Linux 4.18.0-535.el8.x86_64) and the version before that. no matt what i do, i can not get 8,3 installed working. during install i get multiple errors. can not find can not make. I installed while firewall was disabled as i found out that a rule in my firewall ( ip that tried to gain access and was automatic banned, but no idea wich) was blocking access to the repositories. so that cant be the issue either.

Im honestly a bit done with CWP. i have so many little issues that not getting solved.... and i after 10 times reinstalling im a bit done honestly.

anyone any clue what i can do ?

i will paste some messages from the cli
this is the last part of the installation with errors.

Code: [Select]
Package libsodium-devel-1.0.18-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
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  51360      0 --:--:-- --:--:-- --:--:-- 51360
/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 9: /opt/alt/php-fpm83/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/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/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 14: /opt/alt/php-fpm83/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so

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


Notification added
this is the result when i do a " systemctl status php-fpm83 "
Code: [Select]
]# systemctl status php-fpm83
● php-fpm83.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm83.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2024-01-29 22:20:55 CET; 7min ago
  Process: 554732 ExecStart=/opt/alt/php-fpm83/usr/sbin/php-fpm --nodaemonize --fpm-config /opt/alt/php-fpm83/usr/etc/php-fpm.conf (code=exited, status=203/EXEC)
 Main PID: 554732 (code=exited, status=203/EXEC)

Jan 29 22:20:55 stdwwwsrv001.standerhosting.nl systemd[1]: Started The PHP FastCGI Process Manager.
Jan 29 22:20:55 stdwwwsrv001.standerhosting.nl systemd[1]: php-fpm83.service: Main process exited, code=exited, status=203/EXEC
Jan 29 22:20:55 stdwwwsrv001.standerhosting.nl systemd[1]: php-fpm83.service: Failed with result 'exit-code'.

when i do a "ls /opt/alt/php-fpm83/usr/lib/php/extensions"
This is the output
Code: [Select]
ls: cannot access '/opt/alt/php-fpm83/usr/lib/php/extensions': No such file or directory
When i do "systemctl | grep php "
This is the output
Code: [Select]
cwp-phpfpm.service                                                                               loaded active running   The PHP FastCGI Process Manager
  cwpsrv-phpfpm.service                                                                            loaded active running   The PHP FastCGI Process Manager
  php-fpm53.service                                                                                loaded active running   The PHP FastCGI Process Manager
  php-fpm72.service                                                                                loaded active running   The PHP FastCGI Process Manager
  php-fpm82.service                                                                                loaded active running   The PHP FastCGI Process Manager
● php-fpm83.service                                                                                loaded failed failed    The PHP FastCGI Process Manager

I have tried to install with the basic settings. turned off ioncube, and still same.
I have zipped and uploaded the complete php-selector-rebuild.log
https://gofile.io/d/5rzfxS
Hope someone can figure out whats wrong,
So im serious in need of help / assistance.

13
I may have a suggestion for those running the CWP on a linux distribution.
To improve the  upload to your webclients you can implement a different way how the TCP stack is handeling the requests.

Quote
Enable TCP BBR and other network stack optimizations
BBR is a new congestion control agorithm which dramatically decreases the time needed for a TCP connection to ramp up to maximum speed. It also contains improvements to counter other problems like router buffer bloat which causes network latency spikes.

To enable BBR you need you have kernel version 4.9 or higher. See your kernel version with uname -a. On Ubuntu you can upgrade to a newer kernel by enabling HWE.

Create a file called /etc/sysctl.d/60-bbr.conf with the following contents:

Code: [Select]
net.core.default_qdisc = fq_codel
net.ipv4.tcp_congestion_control = bbr
net.ipv4.tcp_notsent_lowat = 16384
net.ipv4.tcp_slow_start_after_idle = 0

After doing that you can run sysctl -p or reboot to apply the changes.
Verify that it’s working with this command: sysctl net.ipv4.tcp_congestion_control. It should return bbr.

Here a link to get more information on how to test it before and after implementation. https://www.cyberciti.biz/cloud-computing/increase-your-linux-server-internet-speed-with-tcp-bbr-congestion-control/

14
PHP / Failed to Download PHP version 8.1.2!
« on: January 31, 2022, 01:17:07 PM »
After going to the PHPO switcher and telling i want to upgrad from 8.1.1 to 8.1.2 the tail log gives me this  message after about 3 minutes

/usr/local/src/php-rebuild.sh: line 78: [: -ge: unary operator expected
Failed to Download PHP version 8.1.2!

i tried this on 2 equal same machines and both have same error.

the machine doesnt finish anything and the version stays 8.1.1


15
Hi Sandeep,

Thanks or the reply.

Why is that done this way ? does it mean you cant use or are advised not to use redirection module when you run other then apache ?

Regards,
Mike

Pages: [1] 2