Re: [CentOS] Troubleshooting php-fpm with apache on Centos 7

2017-08-07 Thread John R Pierce

On 8/7/2017 10:52 PM, Nikolaos Milas wrote:
As you can see, I have made efforts to enable php debugging, but I 
still can't see any php logging, in any php log:


   /var/log/php-fpm/error.log
   /var/log/php-fpm/www-error.log
   The file: /var/webs/wwwgreekgeo/log/php_error_log remains empty 


does the user apache is running as have write access to that folder ?


--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Troubleshooting php-fpm with apache on Centos 7

2017-08-07 Thread Nikolaos Milas

Hello,

I am running httpd-2.4.6-45.el7.centos.x86_64 with 
php-fpm-7.0.22-1.el7.remi.x86_64 (on CentOS 7).


My main problem: On this httpd server I have several vhosts running, but 
apparently I am facing intermittent problems with php-fpm communication 
on only one of them.


Most of the sites are WordPress or Joomla Applications (running with 
mysql). Everything seems right: low load, all websites are operating 
fine, except this one, but only intermittently.


The secondary problem is that I can't seem to be able to log php errors.

When the problem starts, the users receive "503 Service Unavailable" 
pages for many hours/days, and in the error log I see only such errors:


   [Tue Aug 08 08:27:31.742640 2017] [proxy_fcgi:debug] [pid 29259]
   mod_proxy_fcgi.c(963): [client 180.76.15.139:30619] AH01076: url:
   fcgi://127.0.0.1:9000/var/webs/wwwgreekgeo/www/wp/index.php
   proxyname: (null) proxyport: 0
   [Tue Aug 08 08:27:31.742642 2017] [proxy_fcgi:debug] [pid 29259]
   mod_proxy_fcgi.c(970): [client 180.76.15.139:30619] AH01078: serving
   URL fcgi://127.0.0.1:9000/var/webs/wwwgreekgeo/www/wp/index.php
   [Tue Aug 08 08:27:31.742645 2017] [proxy:debug] [pid 29259]
   proxy_util.c(2203): AH00942: FCGI: has acquired connection for (*)
   [Tue Aug 08 08:27:31.742661 2017] [proxy:debug] [pid 29259]
   proxy_util.c(2256): [client 180.76.15.139:30619] AH00944: connecting
   fcgi://127.0.0.1:9000/var/webs/wwwgreekgeo/www/wp/index.php to
   127.0.0.1:9000
   [Tue Aug 08 08:27:31.742690 2017] [proxy:debug] [pid 29259]
   proxy_util.c(2422): [client 180.76.15.139:30619] AH00947: connected
   /var/webs/wwwgreekgeo/www/wp/index.php to 127.0.0.1:9000
   [Tue Aug 08 08:27:31.742739 2017] [proxy:debug] [pid 29259]
   proxy_util.c(2798): AH02824: FCGI: connection established with
   127.0.0.1:9000 (*)
   [Tue Aug 08 08:27:52.347960 2017] [proxy_fcgi:error] [pid 29259]
   (104)Connection reset by peer: [client 180.76.15.139:30619] AH01075:
   Error dispatching request to :
   [Tue Aug 08 08:27:52.348021 2017] [proxy:debug] [pid 29259]
   proxy_util.c(2218): AH00943: FCGI: has released connection for (*)

The problem is NOT resolved by restarting apache and/or php-fpm.

The config of the vhost is as follows:

   
DocumentRoot "/var/webs/wwwgreekgeo/www"

ServerName www.greekgeo.noa.gr

ServerAdmin webmas...@noa.gr

DirectoryIndex index.php index.html index.htm

php_flag log_errors on
php_flag display_errors off
php_value error_log /var/webs/wwwgreekgeo/log/php_error_log
   #php_value error_reporting 32767
   #php_value error_reporting 2147483647
php_value error_reporting 6135

Redirect 301 /en.index.html http://www.greekgeo.noa.gr/wp/

RewriteEngine on

RedirectMatch ^/index.html$ /wp/


Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted



   Require all denied



SetHandler "proxy:fcgi://127.0.0.1:9000"


ErrorLog /var/webs/wwwgreekgeo/log/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
   \"%{User-agent}i\"" combined
CustomLog /var/webs/wwwgreekgeo/log/access_log combined
LogLevel debug

   

As you can see, I have made efforts to enable php debugging, but I still 
can't see any php logging, in any php log:


   /var/log/php-fpm/error.log
   /var/log/php-fpm/www-error.log
   The file: /var/webs/wwwgreekgeo/log/php_error_log remains empty

I've also followed these directions to enable Wordpress php logging: 
https://codex.wordpress.org/WP_DEBUG but I didn't get any php logging 
either.


Please advise: How can I enable full php logging and troubleshoot php on 
this vhost?


Also: What would you advise, if possible, on the particular problem (php 
processing hanging on this vhost only without any obvious reason)?


I've googled and tried many things for several hours, but I can't find a 
solution.


Thanks in advance,
Nick


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Copying CentOS AMIs for EBS encryption

2017-08-07 Thread Karanbir Singh
Hi Andrew, let me look into this for our next image build

On 04/08/17 22:11, Andrew Hodgson wrote:
> I,
> 
> Just wondering if anyone was able to look at this option with the current 
> images or could share some tips on copying the image to another AWS account 
> so we can use EBS encryption on the volume without tainting the image too 
> much?
> 
> Thanks.
> Andrew.
> 
> -Original Message-
> From: Andrew Hodgson 
> Sent: 27 July 2017 15:09
> To: centos-v...@lists.centos.org
> Subject: Copying CentOS AMIs for EBS encryption
> 
> Hi,
> 
> I am trying to copy the latest CentOS image to my own AWS account so that I 
> can enable EBS volume encryption.  It currently looks like the option when 
> sharing the image is not enabled to allow direct copying of the snapshots, 
> and I am wondering if this could be looked at?  I can start an instance with 
> this AMI, then create a new snapshot for the purpose of enabling EBS volume 
> encryption, but I want to keep the image as clean as possible, and am worried 
> if I run the image then some scripts will get ran that will customise the 
> image with keys etc.
> 
> If there is a better way to do this then happy to discuss.
> 
> Thanks,
> Andrew.
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
> 


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] Cloud and php

2017-08-07 Thread Leon Fauster
> Am 07.08.2017 um 21:49 schrieb Robert Moskowitz :
> 
> I am looking at cloud software.  On Centos7-armv7hl, of course.
> 
> I was pointed to Nextcloud, but v11 CAN work with php 5.4 in Centos7, but 
> recommends at least 5.5 for security updates and performance (important on 
> arm), but recommends php 7.  Nextcloud 12 has a minimum requirement of php 
> 5.6 (according to their install pages).
> 
> So.
> 
> What are others doing for:
> 
> Cloud
> 
> Php
> 
> ???

for armv7hl I would try to recompile the SCL packages 
https://www.softwarecollections.org/en/scls/rhscl/rh-php70/ ...


--
LF


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Cloud and php

2017-08-07 Thread Robert Moskowitz

I am looking at cloud software.  On Centos7-armv7hl, of course.

I was pointed to Nextcloud, but v11 CAN work with php 5.4 in Centos7, 
but recommends at least 5.5 for security updates and performance 
(important on arm), but recommends php 7.  Nextcloud 12 has a minimum 
requirement of php 5.6 (according to their install pages).


So.

What are others doing for:

Cloud

Php

???

I could always start with Fedora26, but want to stay with Centos if I can.

thank you.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Light-weight window manager, recommendations

2017-08-07 Thread Robert Moskowitz

Oh,

I should mention that I have an Asus ee900 running F21 with Xfce. Works 
great for what I want it for...


Bob

On 08/07/2017 11:55 AM, Robert Moskowitz wrote:
I use Xfce.  Got into it on my arm boards with Fedora-arm, and run it 
on my notebook with Fedora_x64.


Thing is that it is not a group for Centos, you have to do the install 
by apps which I can help with, as I have installed it on a ClearOS7 
server.  A few things ARE missing and I really need to submit a bug 
report about that...


But Xfce is really good to work with.

Bob

On 08/04/2017 05:32 PM, m.r...@5-cent.us wrote:
So, I've mentioned that I've got an original netbook, circa 2009, and 
I'm
going to put CentOS on it. 32 bit. Not huge disk, old Atom processor, 
not

tons of memory. Any recommendations for a light-weight window manager?

Before I went to KDE, I used fvwm2, and all I'm going to do is use it to
read webmail and browse, read news, etc, so I don't need a lot.

   mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Light-weight window manager, recommendations

2017-08-07 Thread Robert Moskowitz
I use Xfce.  Got into it on my arm boards with Fedora-arm, and run it on 
my notebook with Fedora_x64.


Thing is that it is not a group for Centos, you have to do the install 
by apps which I can help with, as I have installed it on a ClearOS7 
server.  A few things ARE missing and I really need to submit a bug 
report about that...


But Xfce is really good to work with.

Bob

On 08/04/2017 05:32 PM, m.r...@5-cent.us wrote:

So, I've mentioned that I've got an original netbook, circa 2009, and I'm
going to put CentOS on it. 32 bit. Not huge disk, old Atom processor, not
tons of memory. Any recommendations for a light-weight window manager?

Before I went to KDE, I used fvwm2, and all I'm going to do is use it to
read webmail and browse, read news, etc, so I don't need a lot.

   mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BUG: soft lockup - CPU#0 stuck for 36s! [swapper/0:0]

2017-08-07 Thread KM
All,This happens on all of our CentOS 7 VMs.  but as stated in the email trail, 
the file softlockup_thresh does not exist.  Should it be added?  What is the 
best way to get rid of this behavior.
Thanks in advance and sorry if I missed something along the way.KM

  From: correomm 
 To: CentOS mailing list  
 Sent: Thursday, August 18, 2016 1:55 PM
 Subject: Re: [CentOS] BUG: soft lockup - CPU#0 stuck for 36s! [swapper/0:0]
   
Yes, I tried it, but does not exists:

vmguest # cat /proc/sys/kernel/softlockup_thresh
cat: /proc/sys/kernel/softlockup_thresh: No such file or directory

On Thu, Aug 18, 2016 at 2:06 PM, Carlos A. Carnero Delgado <
carloscarn...@gmail.com> wrote:

> 2016-08-18 12:39 GMT-04:00 correomm :
>
> > This bug is reported only on the VM's with CentOS 7 running on on VMware
> > ESXi 5.1.
> > The vSphere performance graph shows high CPU consume and disk activity
> only
> > on VM's with CentOS 7. Sometimes I can not connect remotely with ssh
> > (timeout error).
> >
>
> I'm also seeing those errors in several servers, running under 5.5.
> Currently investigating if this
>  do?language=en_US=displayKC=1009996>
> has anything to do (the resource overcommit bit).
>
> HTH,
> Carlos.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


   

|  | Virus-free. www.avg.com  |

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos