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

Pages: [1]
1
CloudLinux / Re: Error when patch cagefs suphp
« on: April 14, 2020, 01:47:59 PM »
could you solve it?

2
CloudLinux / Re: PHP selector Cloudlinux
« on: April 14, 2020, 01:10:41 PM »
please understand!
executed the command:

cd /usr/local/src/
wget http://dl1.centos-webpanel.com/files/c_scripts/cloudlinux.sh
sh cloudlinux.sh

and got it

[root@servers src]# sh cloudlinux.sh
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
 * epel: mirrors.n-ix.net
Package cagefs-6.4.9-1.el7.cloudlinux.x86_64 already installed and latest version
Package lvemanager-5.3.14-1.el7.cloudlinux.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
 * epel: mirrors.n-ix.net
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update
--2020-04-14 16:07:32--  http://dl1.centos-webpanel.com/files/apache/suphp-0.7.1-cl.tar.gz
Resolving dl1.centos-webpanel.com (dl1.centos-webpanel.com)... 37.187.72.216
Connecting to dl1.centos-webpanel.com (dl1.centos-webpanel.com)|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 434344 (424K) [application/x-gzip]
Saving to: suphp-0.7.1-cl.tar.gz

100%[==========================================================>] 434,344     --.-K/s   in 0.1s

2020-04-14 16:07:33 (4.31 MB/s) - suphp-0.7.1-cl.tar.gz saved [434344/434344]

suphp-0.7.1/
suphp-0.7.1/apr-2.2-httpd.2.patch
suphp-0.7.1/cl-apache-patches.tar.gz
suphp-0.7.1/fpm-lve-php5.4.patch
suphp-0.7.1/AUTHORS
suphp-0.7.1/apr-2.0-httpd.3.patch
suphp-0.7.1/suexec.patch.old
suphp-0.7.1/apache2.2-mpm-itk-seculrelve.patch
suphp-0.7.1/Makefile.in
suphp-0.7.1/src/
suphp-0.7.1/src/Application.cpp
suphp-0.7.1/src/API_Linux.cpp
suphp-0.7.1/src/Logger.hpp
suphp-0.7.1/src/PathMatcher.cpp
suphp-0.7.1/src/apache/
suphp-0.7.1/src/apache/Makefile.in
suphp-0.7.1/src/apache/mod_suphp.c
suphp-0.7.1/src/apache/Makefile.am
suphp-0.7.1/src/SystemException.cpp
suphp-0.7.1/src/IOException.hpp
suphp-0.7.1/src/UserInfo.cpp
suphp-0.7.1/src/SoftException.cpp
suphp-0.7.1/src/Environment.hpp
suphp-0.7.1/src/IniSection.cpp
suphp-0.7.1/src/IniFile.hpp
suphp-0.7.1/src/File.hpp
suphp-0.7.1/src/LookupException.hpp
suphp-0.7.1/src/PointerException.cpp
suphp-0.7.1/src/Makefile.in
suphp-0.7.1/src/OutOfRangeException.cpp
suphp-0.7.1/src/SystemException.hpp
suphp-0.7.1/src/SecurityException.cpp
suphp-0.7.1/src/ParsingException.hpp
suphp-0.7.1/src/API.cpp
suphp-0.7.1/src/GroupInfo.cpp
suphp-0.7.1/src/CommandLine.hpp
suphp-0.7.1/src/API.hpp
suphp-0.7.1/src/config.h.in
suphp-0.7.1/src/SecurityException.hpp
suphp-0.7.1/src/Exception.cpp
suphp-0.7.1/src/PathMatcher.hpp
suphp-0.7.1/src/SoftException.hpp
suphp-0.7.1/src/KeyNotFoundException.cpp
suphp-0.7.1/src/Environment.cpp
suphp-0.7.1/src/OutOfRangeException.hpp
suphp-0.7.1/src/ParsingException.cpp
suphp-0.7.1/src/Util.hpp
suphp-0.7.1/src/Logger.cpp
suphp-0.7.1/src/File.cpp
suphp-0.7.1/src/KeyNotFoundException.hpp
suphp-0.7.1/src/CommandLine.cpp
suphp-0.7.1/src/API_Linux.hpp
suphp-0.7.1/src/UserInfo.hpp
suphp-0.7.1/src/API_Helper.cpp
suphp-0.7.1/src/Exception.hpp
suphp-0.7.1/src/IniFile.cpp
suphp-0.7.1/src/API_Linux_Logger.hpp
suphp-0.7.1/src/IOException.cpp
suphp-0.7.1/src/API_Linux_Logger.cpp
suphp-0.7.1/src/API_Helper.hpp
suphp-0.7.1/src/Configuration.cpp
suphp-0.7.1/src/LookupException.cpp
suphp-0.7.1/src/Configuration.hpp
suphp-0.7.1/src/GroupInfo.hpp
suphp-0.7.1/src/IniSection.hpp
suphp-0.7.1/src/apache2/
suphp-0.7.1/src/apache2/Makefile.in
suphp-0.7.1/src/apache2/mod_suphp.c
suphp-0.7.1/src/apache2/Makefile.am
suphp-0.7.1/src/PointerException.hpp
suphp-0.7.1/src/SmartPtr.hpp
suphp-0.7.1/src/Util.cpp
suphp-0.7.1/src/Makefile.am
suphp-0.7.1/src/Application.hpp
suphp-0.7.1/INSTALL
suphp-0.7.1/suphp-0.7.2-cagefs.cl6.patch
suphp-0.7.1/fpm-lve-php5.5_autoconf.patch
suphp-0.7.1/suexec_safe_bin.patch
suphp-0.7.1/apr-2.4-httpd.2.patch
suphp-0.7.1/COPYING
suphp-0.7.1/apr-2.2-httpd.3.patch
suphp-0.7.1/README
suphp-0.7.1/NEWS
suphp-0.7.1/fpm-lve-php5.3.patch
suphp-0.7.1/fpm-lve-php5.3_autoconf.patch
suphp-0.7.1/fpm-lve-php5.6_autoconf.patch
suphp-0.7.1/aclocal.m4
suphp-0.7.1/configure.ac
suphp-0.7.1/apache2.2-mpm-itk-seculrelve12.patch
suphp-0.7.1/suexec.patch.2
suphp-0.7.1/ChangeLog
suphp-0.7.1/suphp-0.7.2-cagefs.am.patch
suphp-0.7.1/apr-2.4-httpd.1.patch
suphp-0.7.1/suexec.patch
suphp-0.7.1/doc/
suphp-0.7.1/doc/apache/
suphp-0.7.1/doc/apache/INSTALL
suphp-0.7.1/doc/apache/README
suphp-0.7.1/doc/apache/CONFIG
suphp-0.7.1/doc/suphp.conf-example
suphp-0.7.1/doc/INSTALL
suphp-0.7.1/doc/LICENSE
suphp-0.7.1/doc/README
suphp-0.7.1/doc/CONFIG
suphp-0.7.1/fpm-lve-php5.3.3.patch
suphp-0.7.1/acinclude.m4
suphp-0.7.1/configure
suphp-0.7.1/Makefile.am
suphp-0.7.1/fpm-lve-php5.4_autoconf.patch
suphp-0.7.1/suphp-0.7.1-cagefs.patch
suphp-0.7.1/config/
suphp-0.7.1/config/missing
suphp-0.7.1/config/ltmain.sh
suphp-0.7.1/config/config.sub
suphp-0.7.1/config/config.guess
suphp-0.7.1/config/install-sh
suphp-0.7.1/config/depcomp
suphp-0.7.1/mod_fcgid_2_3_7.patch
suphp-0.7.1/suphp-0.7.2-cagefs.cl5.patch
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
 * epel: mirrors.n-ix.net
Package patch-2.7.1-12.el7_7.x86_64 already installed and latest version
Nothing to do
patching file src/Application.cpp
patching file src/Makefile.in
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
build directory, or an apr-config file.
make: *** No rule to make target `clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

Rebooting server!!!

[root@servers src]#


This not normal.
the php-selector will not work without this, you understand?

3
CloudLinux / Re: PHP selector Cloudlinux
« on: April 14, 2020, 11:57:58 AM »
+1 problem

[root@server]# yum -y groupinstall alt-php
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * cloudlinux-x86_64-server-7: de-proxy.cloudlinux.com
 * epel: mirrors.n-ix.net
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update

4
CloudLinux / Re: PHP selector Cloudlinux
« on: April 14, 2020, 11:49:31 AM »
I have the same problem!
and I found the reason!
in fact, on centos 7 suphp-0.7.1-cl.tar.gz is not installed correctly which comes bundled with http://dl1.centos-webpanel.com/files/c_scripts/cloudlinux.sh

Now I decided to parse the file.
executing separately commands from the cloudlinux.sh file

and got an error in suphp configuration

./configure --with-apr=/usr/local/apr/ --with-apxs=/usr/local/apache/bin/apxs -with-setid-mode=paranoid --with-apache-user=nobody --with-gnu-ld --disable-checkpath


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
.
.
.
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
build directory, or an apr-config file.


I dont know what to do, but I know for sure that the problem is there.

My server
CPU Model: Intel(R) Xeon(R) CPU E31245 @ 3.30GHz
CPU Details: 8 Core (3425 MHz)
Distro Name: CloudLinux release 7.7 (Valery Bykovsky)
Kernel Version: 3.10.0-962.3.2.lve1.5.32.el7.x86_64
Platform: x86_64

Pages: [1]