Re: [CentOS] Upcoming OwnCloud changes

2016-05-23 Thread Sorin Srbu
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of James Hogarth
> Sent: den 23 maj 2016 08:54
> To: CentOS mailing list 
> Subject: Re: [CentOS] Upcoming OwnCloud changes
> 
> On 23 May 2016 7:36 a.m., "Sorin Srbu"  wrote:
> >
> > > I am running OwnCloud 9.0.2 on CentOS 6.7 and php-7.0 with no issues.
> > >
> > > I installed the Webtatic repo which has several versions of PHP
> > > available for CentOS 6 and 7.  I then used the official OwnCloud
> > > ce:stable repo to add the cloud software.
> > >
> > > In a leap of faith, and because this CentOS VM doesn't run anything
> > > other than OwnCloud, I used the 'php70w' PHP repo and have had no
> > > problems at all.  The OwnCloud server is very lightly loaded so I have
> > > not had an opportunity to stress test it and have not tried to use
MySQL
> > > (I configured it with the standard CentOS SQLite).
> > >
> > > YMMV of course, especially if you're running other PHP applications!
> >
> > Thanks for the info!
> >
> > I've been toying with the idea of stepping up to php7 as well, but
haven't
> > dared yet...
> >
> >
> 
> Note that Fedora has not made the change yet even.
> 
> Though I'm expecting that to happen in the F25 cycle.

Yupp, gotcha'. Thanks.
I'll be lurking for little while more.

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


Re: [CentOS] Centos 7.2: Mount one by one (not simultaneously!) two usb disk with same label

2016-05-23 Thread Dario Lesca
Il giorno mer, 18/05/2016 alle 12.05 +0200, Dario Lesca ha scritto:
> For backup, I have 2 usb disk with same label (LABEL=bove-bk) mounted
> periodically one by one (not simultaneously!) in the same folder
> /mnt/bove-bk/ 
> ...
> when I unmount and unplug the first disk and I plug and mount the
> second the disk is not mounted

I have try this scenario on a Fedora 23 and all work fine 

Is this a Centos 7 bug?
It's better I fill a bug?

Thank for your suggest.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

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


Re: [CentOS] /etc/sysconfig/iptables syntax

2016-05-23 Thread Mike
Thank you, Mr. Korren.
I'll practice a few times and see if I can reproduce my original rule set.

Best regards.
On May 23, 2016 1:39 AM, "Barak Korren"  wrote:

> >
> > If I'm understanding correctly, write out all rules in a bash terminal
> and
> > run them, and then do /usr/sbin/iptables-save ---
> >
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbiniptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbiniptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbiniptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbin/iptables rule;
> > ~#/usr/sbiniptables rule
> >
> > ~#/usr/sbin/iptables-save > /etc/sysconfig/iptables
>
> Yep.
> And you can copy '/etc/sysconfig/iptables' around if you have
> identical machines and no machine-specific rules...
> (Note, you can even port the rules from other Linux distros as
> iptables-save exists there as well)
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
> ___
> 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] CentOS 7, container question

2016-05-23 Thread m . roth
Hi, folks,

   We would like to run a container on a server, the reason being the COST
of a Sybase license (it's by core), and what we can afford is a 4-core
license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
we want to do is set up containers, then, in one container, *only* have
it see 4 cores, while the rest of the server, including (possibly)
other containers, can see the other 28. The first try seems to have
disabled *all* the cores other than those four.

   Is it possible to do what we want, and if so, some pointers would be
most appreciated.

 mark

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


Re: [CentOS] CentOS 7, container question

2016-05-23 Thread Frank Cox
On Mon, 23 May 2016 10:51:57 -0400
m.r...@5-cent.us wrote:

>We would like to run a container on a server, the reason being the COST
> of a Sybase license (it's by core), and what we can afford is a 4-core
> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
> we want to do is set up containers, then, in one container, *only* have
> it see 4 cores, while the rest of the server, including (possibly)
> other containers, can see the other 28. The first try seems to have
> disabled *all* the cores other than those four.

You can do that with Virtual Box.  I haven't tried it with anything else, but 
Virtual Box allows you to set (and change) the number of cores available to the 
session.


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] ODP: CentOS 7, container question

2016-05-23 Thread Jaroslaw Bober
https://agileek.github.io/docker/2014/08/06/docker-cpuset/
You could also try with docker.

-Wiadomość oryginalna-
Od: "Frank Cox" 
Wysłano: ‎2016-‎05-‎23 17:31
Do: "centos@centos.org" 
Temat: Re: [CentOS] CentOS 7, container question

On Mon, 23 May 2016 10:51:57 -0400
m.r...@5-cent.us wrote:

>We would like to run a container on a server, the reason being the COST
> of a Sybase license (it's by core), and what we can afford is a 4-core
> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
> we want to do is set up containers, then, in one container, *only* have
> it see 4 cores, while the rest of the server, including (possibly)
> other containers, can see the other 28. The first try seems to have
> disabled *all* the cores other than those four.

You can do that with Virtual Box.  I haven't tried it with anything else, but 
Virtual Box allows you to set (and change) the number of cores available to the 
session.


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
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] CentOS 7, container question

2016-05-23 Thread Mark Haney
I've been wracking my brain, but for the life of me can't recall the exact
program name, but back when I managed a HPCC, there was a tool that would
let you restrict a running process to X number of CPUs/Cores natively.  I
keep thinking it was MPC, but nothing googles on that.  Regardless, that
might be a better way of running Sybase, as a container may not be beefy
enough to  handle the load Sybase is likely to generate.


On Mon, May 23, 2016 at 10:51 AM,  wrote:

> Hi, folks,
>
>We would like to run a container on a server, the reason being the COST
> of a Sybase license (it's by core), and what we can afford is a 4-core
> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
> we want to do is set up containers, then, in one container, *only* have
> it see 4 cores, while the rest of the server, including (possibly)
> other containers, can see the other 28. The first try seems to have
> disabled *all* the cores other than those four.
>
>Is it possible to do what we want, and if so, some pointers would be
> most appreciated.
>
>  mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 

Mark Haney ::: Senior Systems Engineer
*VIF* *International Education*
P.O. Box 3566 ::: Chapel Hill, N.C. 27515 ::: USA
919-265-5006 office

Global learning for all.
www.viflearn.com
Find VIF on Facebook  |
Twitter  | LinkedIn


Recognized as a ‘Best for the World’
 B Corp!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7, container question

2016-05-23 Thread Barak Korren
On 23 May 2016 at 17:51,   wrote:
> Hi, folks,
>
>We would like to run a container on a server, the reason being the COST
> of a Sybase license (it's by core), and what we can afford is a 4-core
> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
> we want to do is set up containers, then, in one container, *only* have
> it see 4 cores, while the rest of the server, including (possibly)
> other containers, can see the other 28. The first try seems to have
> disabled *all* the cores other than those four.
>
>Is it possible to do what we want, and if so, some pointers would be
> most appreciated.
>

Docker has the --cpu option that might do what you need.

You can also do this without a container:
http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups

Another option is to use KVM and Libvirt (and virt-manager if you need a GUI)


-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7, container question

2016-05-23 Thread Jonathan Billings
On Mon, May 23, 2016 at 12:16:01PM -0400, Mark Haney wrote:
> I've been wracking my brain, but for the life of me can't recall the exact
> program name, but back when I managed a HPCC, there was a tool that would
> let you restrict a running process to X number of CPUs/Cores natively.  I
> keep thinking it was MPC, but nothing googles on that.  Regardless, that
> might be a better way of running Sybase, as a container may not be beefy
> enough to  handle the load Sybase is likely to generate.

'tasksel'?  I believe it is just a wrapper for
sched_setaffinity/sched_getaffinity, which you can also do with cgroups.

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


Re: [CentOS] Badlock bad luck again

2016-05-23 Thread Jason Welsh
I just had an issue with  automounter not being about to mount windows 
shares after upgrading all the rpms on some of  my centos 6.x servers..

I haven't seen the fix  here yet so I thought I'd throw it out there..

as a workaround edit the  smb.conf file like so:

[global]
client use spnego = no

Jason


On 04/13/2016 06:05 PM, Bob Smith wrote:

I had exactly the same problem. Your workaround fixed me too.

With the new samba packages my samba\logs are full of errors.

If I temporarily disconnected the PC client NIC cable, and
logged into the domain using cached credentials, then I could
get past the problem. But, you helped me greatly with this
posting. I wasted hours checking Windows updates - useless.

We still need the new configuration settings for our conf file
to workaround this problem.

Bob Smith

bobsmith at dbata dot com



* Am 13.04.2016 um 07:51 schrieb Mogens Kjaer https://lists.centos.org/mailman/listinfo/centos>>:

*> >* Hello,
*> >* I run a CentOS 6 machine with samba, serving approx. 150 Windows
users with samba running as an NT-like PDC.
*> >* After today's samba update (samba-3.6.23-30.el6_7.x86_64 etc.),
nobody can log in.
*> >* They all get the "Trust relationship failed" error message.
*> >* If I downgrade:
*> >* yum downgrade samba-common samba-winbind samba-winbind-clients
samba-client samba samba-doc samba-domainjoin-gui libsmbclient
*> >* - the problem goes away.
*> >* What am I missing?
*> >* Mogens
*> >* --
*>* Mogens Kjaer, mk at lemo.dk

*>* http://www.lemo.dk 
*>* ___
*>* CentOS mailing list
*>* CentOS at 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] CentOS 7, container question

2016-05-23 Thread m . roth
Frank Cox wrote:
> On Mon, 23 May 2016 10:51:57 -0400
> m.r...@5-cent.us wrote:
>
>>We would like to run a container on a server, the reason being the
>> COST of a Sybase license (it's by core), and what we can afford is a
4-core
>> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
>> we want to do is set up containers, then, in one container, *only* have
>> it see 4 cores, while the rest of the server, including (possibly)
>> other containers, can see the other 28. The first try seems to have
>> disabled *all* the cores other than those four.
>
> You can do that with Virtual Box.  I haven't tried it with anything else,
> but Virtual Box allows you to set (and change) the number of cores
> available to the session.

My manager's been looking at containers - he doesn't want the overhead,
both system usage and system maintenance, of a VM. Isn't VB a VM?

  mark

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


Re: [CentOS] CentOS 7, container question

2016-05-23 Thread m . roth
Mark Haney wrote:
> I've been wracking my brain, but for the life of me can't recall the exact
> program name, but back when I managed a HPCC, there was a tool that would
> let you restrict a running process to X number of CPUs/Cores natively.  I
> keep thinking it was MPC, but nothing googles on that.  Regardless, that
> might be a better way of running Sybase, as a container may not be beefy
> enough to  handle the load Sybase is likely to generate.
>
Yeah, mpich, I think - one of my users uses that; on our other clusters,
we've been using torque, though we're slowly moving to slurm.

I agree with you though, I don't know that doing it that way will work - I
think Sybase *looks* at the number of cores it can see, probably some of
the license info it uses.

mark
>
> On Mon, May 23, 2016 at 10:51 AM,  wrote:
>
>> Hi, folks,
>>
>>We would like to run a container on a server, the reason being the
>> COST
>> of a Sybase license (it's by core), and what we can afford is a 4-core
>> license. Now, the server's a nice Dell w/ 32 cores, so, ideally, what
>> we want to do is set up containers, then, in one container, *only* have
>> it see 4 cores, while the rest of the server, including (possibly)
>> other containers, can see the other 28. The first try seems to have
>> disabled *all* the cores other than those four.
>>
>>Is it possible to do what we want, and if so, some pointers would be
>> most appreciated.
>>
>>  mark
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
>
> Mark Haney ::: Senior Systems Engineer
> *VIF* *International Education*
> P.O. Box 3566 ::: Chapel Hill, N.C. 27515 ::: USA
> 919-265-5006 office
>
> Global learning for all.
> www.viflearn.com
> Find VIF on Facebook  |
> Twitter  | LinkedIn
> 
>
> Recognized as a ‘Best for the World’
>  B Corp!
> ___
> 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] CentOS 7, container question

2016-05-23 Thread Frank Cox
On Mon, 23 May 2016 14:43:31 -0400
m.r...@5-cent.us wrote:

> Isn't VB a VM?

Yes.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Question on 7.2 and weird characters

2016-05-23 Thread Jerry Geis
When I run this command:
rm /tmp/jerry.txt
rm: remove regular file â/tmp/jerry.txtâ?

I get the a with the carrot on top...

How do I get back to the normal characters ?

echo $TERM
linux

Thanks,

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


Re: [CentOS] /etc/sysconfig/iptables syntax

2016-05-23 Thread Kenneth Porter

On 5/22/2016 9:45 PM, Eero Volotinen wrote:

Firewalld is preferred way. You should learn it..


Are there any good tools for converting an iptables-save file to a 
Firewalld configuration?


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


Re: [CentOS] /etc/sysconfig/iptables syntax

2016-05-23 Thread Mike
The closest thing I could find to an iptables to firewalld conversion tool
was Offline Configuation.
The firewall-offline-cmd command was created to help setup firewall rules
when Firewalld is not running.

For instance, to open the tcp port 22, you would type in the
/etc/sysconfig/iptables file:

-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT

Instead, you can now execute the following command:

# firewall-offline-cmd --direct --add-rule ipv4 filter INPUT 0 -p tcp
-m state --state NEW -m tcp --dport 22 -j ACCEPT

/ / / / / / / / / / / / / / / / / / / / / / / / / //  /

It's not that convenient for a rule-set of 250 lines, but with a
little creative copying/pasting between the iptables rules and the
"firewall-offline-cmd --direct -add-rule ipv4 filter"
and "firewall-offline-cmd --direct -add-rule ipv4 nat " statements, I
suppose a decent conversion can be completed.

Of course, you'd still need to apply rules to the correct zones which
I'm still trying to digest.




On Mon, May 23, 2016 at 3:24 PM, Kenneth Porter 
wrote:

> On 5/22/2016 9:45 PM, Eero Volotinen wrote:
>
>> Firewalld is preferred way. You should learn it..
>>
>
> Are there any good tools for converting an iptables-save file to a
> Firewalld configuration?
>
>
> ___
> 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] /etc/sysconfig/iptables syntax

2016-05-23 Thread Eero Volotinen
well, no. it's a bit different animal..

Eero

2016-05-23 22:24 GMT+03:00 Kenneth Porter :

> On 5/22/2016 9:45 PM, Eero Volotinen wrote:
>
>> Firewalld is preferred way. You should learn it..
>>
>
> Are there any good tools for converting an iptables-save file to a
> Firewalld configuration?
>
>
> ___
> 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] /etc/sysconfig/iptables syntax

2016-05-23 Thread James Hogarth
On 23 May 2016 21:03, "Mike" <1100...@gmail.com> wrote:
>
> The closest thing I could find to an iptables to firewalld conversion tool
> was Offline Configuation.
> The firewall-offline-cmd command was created to help setup firewall rules
> when Firewalld is not running.
>
> For instance, to open the tcp port 22, you would type in the
> /etc/sysconfig/iptables file:
>
> -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
>
> Instead, you can now execute the following command:
>
> # firewall-offline-cmd --direct --add-rule ipv4 filter INPUT 0 -p tcp
> -m state --state NEW -m tcp --dport 22 -j ACCEPT
>
> / / / / / / / / / / / / / / / / / / / / / / / / / //  /
>
> It's not that convenient for a rule-set of 250 lines, but with a
> little creative copying/pasting between the iptables rules and the
> "firewall-offline-cmd --direct -add-rule ipv4 filter"
> and "firewall-offline-cmd --direct -add-rule ipv4 nat " statements, I
> suppose a decent conversion can be completed.
>
> Of course, you'd still need to apply rules to the correct zones which
> I'm still trying to digest.
>
>

Using DIRECT bypasses all the zone and service stuff.

Frankly if your going to DIRECT everything then you really are better off
masking (and removing) firewalld and installing iptables-service and just
using the old traditional way.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /etc/sysconfig/iptables syntax

2016-05-23 Thread Mike
On Mon, May 23, 2016 at 4:10 PM, James Hogarth 
wrote:

>
>
> Using DIRECT bypasses all the zone and service stuff.
>
> Frankly if your going to DIRECT everything then you really are better off
> masking (and removing) firewalld and installing iptables-service and just
> using the old traditional way.
>

James, thanks for some much-needed clue.  :-)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



Re: [CentOS] Question on 7.2 and weird characters

2016-05-23 Thread Gordon Messmer

On 05/23/2016 12:09 PM, Jerry Geis wrote:

How do I get back to the normal characters ?

echo $TERM
linux



Are you logged in on a console, or remotely using a terminal emulator?  
If the latter, which one?  I'd expect your TERM to be some xterm variant.


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


Re: [CentOS] Question on 7.2 and weird characters

2016-05-23 Thread Александр Кириллов

How do I get back to the normal characters ?


Have you tried "reset"?

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