[CentOS] php DOMDocument and entities

2015-09-24 Thread Alice Wonder
This is not CentOS specific but I hope someone here knows so I do not have to subscribe to another list. I'm using php DOMDocument to create an XSL that needs a non-breaking space between two values. Basically: $xslvalueof = $dom->createElement('xsl:value-of'); $xslvalueof->setAttribute(

Re: [CentOS] Bug in init scripts for ipset?

2015-09-24 Thread Jonathan Billings
On Thu, Sep 24, 2015 at 02:43:42PM +, Tony Mountifield wrote: > I've just started experimenting with ipset under CentOS 6, and have > found what appears to be a bug (or poor design) in the init scripts > for ipset, /etc/rc.d/init.d/ipset I suggest filing a bug against RHEL6 in https://bugzilla

Re: [CentOS] x2go on CentOS6

2015-09-24 Thread Akemi Yagi
On Thu, Sep 24, 2015 at 9:13 AM, isdtor wrote: > >> The errors you posted were from the client. Assuming you can ssh into >> the remote machine without a problem, do you see error messages there >> on the server? > > Thanks, Akemi, you have hit the nail on the head! > > The spurious error message

Re: [CentOS] x2go on CentOS6

2015-09-24 Thread isdtor
> The errors you posted were from the client. Assuming you can ssh into > the remote machine without a problem, do you see error messages there > on the server? Thanks, Akemi, you have hit the nail on the head! The spurious error message was caused by a statement in .cshrc that created output,

Re: [CentOS] x2go on CentOS6

2015-09-24 Thread Akemi Yagi
On Thu, Sep 24, 2015 at 8:31 AM, isdtor wrote: > >> http://srobb.net/nxreplace.html >> (I don't know if that will help at all though). > > No joy, unfortunately. Even reinstalling x2go from scratch doesn't help. It did work out of the box for me, too. If I remember correctly, I installed x2goserv

Re: [CentOS] Logrotate problems

2015-09-24 Thread Andrew Holway
I don't want it to match subdirectories. I just want it to rotate the standard, default, access and error logs which in this setup is not working correctly. If you don't have anything useful to add other than trolling then please keep it to yourself. On 24 September 2015 at 16:53, Jo Rhett wr

Re: [CentOS] x2go on CentOS6

2015-09-24 Thread isdtor
> http://srobb.net/nxreplace.html > (I don't know if that will help at all though). No joy, unfortunately. Even reinstalling x2go from scratch doesn't help. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Logrotate problems

2015-09-24 Thread Jo Rhett
It’s interesting in your world, where “broken” is “functions exactly as it is documented to work” If you want it to match subdirectories then you should add to the logrotate, or add another one yourself for each subdirectory. It’s not hard, and it’s certainly not broken. It does what you tell i

[CentOS] Bug in init scripts for ipset?

2015-09-24 Thread Tony Mountifield
I've just started experimenting with ipset under CentOS 6, and have found what appears to be a bug (or poor design) in the init scripts for ipset, /etc/rc.d/init.d/ipset In stop(), save() and status(), it does lsmod to check for the existence of the ip_set module. If the module is not found, it ex

Re: [CentOS] decode http hack attempt?

2015-09-24 Thread Eero Volotinen
See: http://code.taobao.org/p/tpbase/diff/2/trunk/ThinkPHP/Library/Think/App.class.php if(!$module) { +if('4e5e5d7364f443e28fbf0d3ae744a59a' == CONTROLLER_NAME) { +header("Content-type:image/png"); +exit(base64_decode(App::logo())); +}

Re: [CentOS] decode http hack attempt?

2015-09-24 Thread Tony Mountifield
In article , James B. Byrne wrote: > Can anyone de-cypher the second entry for me? > > - httpd Begin > > > Requests with error response codes > 403 Forbidden >/: 9 Time(s) >/?c=4e5e5d7364f443e28fbf0d3ae744a59a: 3 Time(s) > > I h

Re: [CentOS] Logrotate problems

2015-09-24 Thread Andrew Holway
Hmm, so it seems that logrotate might be broken for nginx on Centos7. I filed a bug with epel. https://bugzilla.redhat.com/show_bug.cgi?id=1266105 On 24 September 2015 at 11:49, Andrew Holway wrote: > Actually, doing what logrotate suggests causes other problems. We don't > have this problem on

Re: [CentOS] amanda-client does not recognise 'dump'

2015-09-24 Thread Johnny Hughes
On 09/23/2015 05:48 PM, Tom Robinson wrote: > CentOS Linux release 7.1.1503 (Core) > amanda-3.3.3-13.el7.x86_64 > amanda-client-3.3.3-13.el7.x86_64 > amanda-libs-3.3.3-13.el7.x86_64 > dump-0.4-0.22.b44.el7.x86_64 > > Hi, > > I have been using amanda backup for quite a long time now. I'm busy migr

[CentOS] decode http hack attempt?

2015-09-24 Thread James B. Byrne
Can anyone de-cypher the second entry for me? - httpd Begin Requests with error response codes 403 Forbidden /: 9 Time(s) /?c=4e5e5d7364f443e28fbf0d3ae744a59a: 3 Time(s) I have found the string via Google but have not located any e

Re: [CentOS] x2go on CentOS6

2015-09-24 Thread Scott Robbins
On Thu, Sep 24, 2015 at 10:50:08AM +0100, isdtor wrote: > Has anyone managed to get the x2go server working on CentOS 6.7? Worked out of the box for me. Actually, I probably had it on 6.6 and then upgraded, but no issues since then. I have a fairly simple setup. http://srobb.net/nxreplace.html

[CentOS] x2go on CentOS6

2015-09-24 Thread isdtor
Has anyone managed to get the x2go server working on CentOS 6.7? I started testing x2go from EPEL under 6.6, and it worked well. Then I didn't use it in 6 months plus, eventually upgraded the machine to 6.7, and it's no longer working. Both Windows and Linux clients error out with "Connection f

Re: [CentOS] Logrotate problems

2015-09-24 Thread Andrew Holway
Actually, doing what logrotate suggests causes other problems. We don't have this problem on any other system so I am keen to understand the root of the issue rather than start messing around with the default permissions of the log directories. logrotate only matches /var/log/nginx/*log - /var/lo

Re: [CentOS] Logrotate problems

2015-09-24 Thread Jo Rhett
On Sep 24, 2015, at 12:18 AM, Andrew Holway wrote: > error: skipping "/var/log/nginx/access.log" because parent directory has > insecure permissions (It's world writable or writable by group which is not > "root") Set "su" directive in config file to tell logrotate which > user/group should be use

[CentOS] Logrotate problems

2015-09-24 Thread Andrew Holway
Hi Y'all, We have nginx set up and we are having problems with logrotate. The permissions and users do not seem to be any different from other machines that are working ok however the /var/log/nginx does have a directory in there that we are using to collect some special log stuff. Could this sub