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

Pages: [1]
1
Apache / Re: Rebuild Apache with OpenSSL 1.0.2k
« on: April 28, 2017, 10:02:22 AM »
Last night I attempted to rebuild Apache  after symlinking /usr/src/openssl-1.0.2k/include/openssl to /usr/include/openssl and that just broke Apache completely. 

2
Apache / Re: Rebuild Apache with OpenSSL 1.0.2k
« on: April 27, 2017, 01:46:54 PM »
It's for PCI compliance, the default version comes up as a PCI fail.

3
Apache / Rebuild Apache with OpenSSL 1.0.2k
« on: April 27, 2017, 10:59:58 AM »
I would like to upgrade the version of OpenSSL used by Apache from the default OpenSSL 1.0.1e to a newer, more secure version.  I have manually compiled OpenSSL 1.0.2k and it is sucessfully installedon the server:

Code: [Select]
# openssl version
OpenSSL 1.0.2k  26 Jan 2017

However when I view the Apache headers I can see that it is still using the old version:

Code: [Select]
Server:Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips
I rebuilt Apache and edited the default configuration to use the include folder from the new openssl

original:

Code: [Select]
--enable-ssl=/usr/include/openssl
new:

Code: [Select]
--enable-ssl=/usr/src/openssl-1.0.2k/include/openssl
However Apache still reports 1.0.1e.  What can I do to rebuild Apache with the new SSL version?  What am I missing? If I symlink  /usr/src/openssl-1.0.2k/include/openssl to /usr/include/openssl  would that work?  Any help anyone could provide with this would be really helpful as I've been looking at this for about a month without sucess.

4
Updates / Re: Update for openSSL is important!
« on: April 05, 2017, 09:45:11 AM »
I'm experiencing the same issue, I've installed the latest OpenSSL and he terminal is reporting the correct version:

Code: [Select]
# openssl version
OpenSSL 1.0.2k  26 Jan 2017

but Apache is reporting the old version:

Code: [Select]
Server:Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.1e-fips
is there a workaround for this?

5
PHP / Installing imagick for php7
« on: November 29, 2016, 12:00:51 PM »
Hi there,

How do you install imagick for php7?  when you use the script it seems to install fine for php5 but not for 7.  Are there any instructions anywhere?

6
Installation / Re: CSF Didn't install??
« on: September 09, 2016, 08:15:38 AM »
Thanks, installing it manually worked with no issues. For anyone who has the same problem following the instructions on the csf website worked like a charm:

Code: [Select]
cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

A couple of things, you'll need to turn off testing mode and you'll need to add port 2030 to the list of allowed ports.
 

7
Installation / [SOLVED] CSF Didn't install??
« on: September 08, 2016, 01:25:33 PM »
Hi,

I've just installed CWP on a second server and in the process of configuring it it looks like CSF didn't install during the CentOS Web Panel install process.  There is no /etc/csf folder, if I do a service csf status I get 'unrecognised service' s a response and in the CSF admin area there are errors like:

Code: [Select]
failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/firewall.php
Plus any csf commands I run get a 'command not found' response. 

Is there a way I can fix this and install CSF so that it can be managed by CWP?

8
CSF Firewall / CSF Didn't Install
« on: September 05, 2016, 02:50:03 PM »
Hi,

I've just installed CWP on a second server and in the process of configuring it it looks like CSF didn't install during the CentOS Web Panel install process.  There is no /etc/csf folder, if I do a service csf status I get 'unrecognised service' s a response and in the CSF admin area there are errors like:

Code: [Select]
failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/modules/firewall.php
Plus any csf commands I run get a 'command not found' response. 

Is there a way I can fix this and install CSF so that it can be managed by CWP?

9
PHP / FFmpeg installed but not in phpinfo
« on: August 16, 2016, 03:27:49 PM »
Hi,

I've installed the FFmpeg extension via the CWP admin panel, however I'm not seeing it in my phpinfo().  When I check Admin Panel > PHP Settings > FFMPEG Installer I see:

FFMPEG already installed! File Path: /usr/bin/ffmpeg

and sure enough if I type ffmpeg at the command line I get a response:

Code: [Select]
# ffmpeg
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

However it does not appear in my phpinfo() file.  Has anyone any idea how I would fix this?

Thanks

10
PHP / Re: Install ImageMagick or GD ?
« on: March 10, 2016, 02:38:06 PM »
OK So I managed to fix this.  In the Apache logs I was seeing this error:

Code: [Select]
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20131226
These options need to match

It turns out that the version of php-cli that was installed was 5.3, which I could confirm on the command line:

Code: [Select]
# php -v
PHP 5.3.3 (cli) (built: Feb  9 2016 10:36:17)
Copyright (c) 1997-2010 The PHP Group

Whereas if I created a phpinfo(); file the version of PHP it said Apache was using was 5.6.14. This meant that when I ran scripts/install_imagick it was compiling imagick with an older version of PHP than was being used in Apache, which was causing it to crap out.

To fix it I had to add new repositories:

Code: [Select]
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

Remove PHP CLI:

Code: [Select]
yum remove php
yum remove  php-common

Then I did a yum search to find the correct version of PHP CLI and imagick to install.

Code: [Select]
yum install php56w-cli.x86_64 php56w-pecl-imagick.x86_64

I hope this helps someone!




11
PHP / Re: Install ImageMagick or GD ?
« on: March 04, 2016, 08:55:52 AM »
Не пойму, зачем такие сложности!

I don't either, it seems as if the script works OK but something else is amiss.

Я тоже не понимаю , что кажется, будто скрипт работает нормально, но что-то другое неладно .

12
PHP / Re: Install ImageMagick or GD ?
« on: March 03, 2016, 02:54:02 PM »

This also happened to me.  Is there a fix for this?

Thanks

Actually, looking at it again it appears that this isn't the same issue.  When I run the /scripts/install_imagick It appears to build OK but I ge the error "Imagick NOT Installed !" at the end.  I can see the .so file in the right location and the extension has been added to the php.ini file OK, but when I look at a phpinfo() page I don't see the imagick extension loaded. Php -m also doesn't show it:

Code: [Select]
# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
ereg
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
json
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
tokenizer
xml
zip
zlib

[Zend Modules]

The install log shows some warnings but no errors:

Code: [Select]
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimagematte’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:276: warning: ‘MagickGetImageMatte’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:82)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_paintfloodfillimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:1034: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:1037: warning: ‘MagickPaintFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_recolorimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:1420: warning: ‘MagickRecolorImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:109)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_colorfloodfillimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3423: warning: ‘MagickColorFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:75)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_mapimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3763: warning: ‘MagickMapImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:86)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_mattefloodfillimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3796: warning: ‘MagickMatteFloodfillImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:88)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_medianfilterimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3823: warning: ‘MagickMedianFilterImage’ is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:212)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_paintopaqueimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3886: warning: ‘MagickPaintOpaqueImageChannel’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:104)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_painttransparentimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:3949: warning: ‘MagickPaintTransparentImage’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:107)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_reducenoiseimage’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:4092: warning: ‘MagickReduceNoiseImage’ is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:260)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimageattribute’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:5101: warning: ‘MagickGetImageAttribute’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:59)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimagechannelextrema’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:5288: warning: ‘MagickGetImageChannelExtrema’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:78)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimageextrema’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:5542: warning: ‘MagickGetImageExtrema’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:80)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimageindex’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:6383: warning: ‘MagickGetImageIndex’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:65)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_setimageindex’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:6408: warning: ‘MagickSetImageIndex’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:113)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_getimagesize’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:6486: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:140)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_setimageattribute’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:6835: warning: ‘MagickSetImageAttribute’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:111)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_flattenimages’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:7082: warning: ‘MagickFlattenImages’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:132)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_averageimages’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:8128: warning: ‘MagickAverageImages’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:131)
/usr/local/src/imagick-3.1.0RC2/imagick_class.c: In function ‘zim_imagick_mosaicimages’:
/usr/local/src/imagick-3.1.0RC2/imagick_class.c:8567: warning: ‘MagickMosaicImages’ is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:135)

I'm at a loss, would anyone be able to shed any light on this?


13
PHP / Re: Install ImageMagick or GD ?
« on: March 02, 2016, 03:59:51 PM »
Same issue here, after running script scripts/install_imagick:

extension=imagick.so PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/
extensions/no-debug-non-zts-20100525/imagick.so' - /usr/lib64/extensions/no-debug-non-zts-20100525/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

Imagick NOT Installed !

This also happened to me.  Is there a fix for this?

Thanks

14
Backup / Re: FTP Backup
« on: January 13, 2016, 09:37:51 AM »
An FTP backup option would be a great addition to CentOSWP

Pages: [1]