Re: [CentOS] fpaste-server pastebin service

2012-07-06 Thread Kaushal Shriyan
On Thu, Jul 5, 2012 at 2:12 PM, John Doe  wrote:

> From: Kaushal Shriyan 
>
> > Any step by step guide for setting up fpaste-server on CentOS 5.8?
>
> 1. Install epel repository.
> 2. Read the install document on fedora's fpaste-server homepage...
> 3. Profit!
>
> JD
>


Hi John Doe,

I get into this issue -> http://fpaste.org/wadf/  and i do not see your
latest and your settings in the configs

Any clue?

Regards

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


Re: [CentOS] NIS expiration of passwords

2012-07-06 Thread Ross Walker
On Jun 28, 2012, at 4:49 PM, Michael Coffman  
wrote:

>> I would believe this information is shared from the server to the
>> other computers but here users still can connect (via SSH). If I try
>> to get the information on the user connected I have:
>> # chage -l USER
>> user 'USER' does not exist in /etc/passwd
>> 
>> This looks normal as there is no user there but then I do not know how
>> to enable the expiration information through NIS. Do someone has an
>> idea?
>> 
>> 
> You can't.   NIS on linux does not support password aging.

If your using NIS then I would use Kerberos for the users passwords to maintain 
security. If your using Kerberos then I believe password aging is handled on 
the Kerberos server.

-Ross

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


Re: [CentOS] CentOS 5.8 crash/freeze running VMware

2012-07-06 Thread Johnny Hughes
On 06/29/2012 09:52 AM, Michael Eager wrote:
> On 06/28/2012 06:33 PM, Ted Miller wrote:
>> On 06/28/2012 12:45 PM, Michael Eager wrote:
>>> Hi --
>>>
>>> I have a server running CentOS 5.8.  It has a 6-core AMD processor,
>>> 16Gb memory, and a RAID 5 file system.  It serves as both a file server
>>> and to run several VMware virtual machines.  The guest machines run
>>> Windows 7 and various versions of Linux.
>>>
>>> The system is running the latest version of VMware Workstation.
>>> Until recently, I started VMs using the VMware Workstation GUI.
>>> The system has been very stable and seldom crashes.
>>>
>>> Recently, I set up an init script to start several VMs at boot
>>> time using the vmrun command.  This appeared to work correctly,
>>> but the system has become unstable, freezing at various times.
>>> When the system freezes, there is no console response and it
>>> does not respond to a ping.  There is nothing in syslog to
>>> indicate any error.
>>>
>>> The script started 8 VMs.  I've cut back to now running 4 VMs
>>> and the system appears stable.
>>>
>>> Is there some relation between the number of cores and the number
>>> of VMs one can run?
>>>
>>> Is there something else which might cause the system to crash
>>> when running multiple VMs?
>>>
>>> Any suggestions to identify why the system crashed?
>>>
>> Are you staggering the startups of the VMs?  The server may be choking
>> trying to boot 8 machines at once.  I suggest starting a VM every 30-60
>> seconds, so that you aren't trying to boot all 8 at once.  Don't know if it
>> will help, but it might.
> The crashs happen long after boot time when all of the VMs are running.
>
> (Actually, startup goes very smoothly, with the VMs starting in parallel
> in the background while system boot completes.)

This sounds like the issue with the machine running out of memory and
the Out of Memory killer actually killing one of the VMWare instances.

My experience with this on a very good machine was that there was enough
memory, but it was timing that was causing the issue.  The machine did
not respond quickly enough to the memory request and the OOM Killer then
acted.

How I solved my problem was to reserve more memory as unused with this
memory variable:

I have had issues with VMWare host server and running out of memory,
maybe try setting this variable in sysctl.conf:

vm.min_free_kbytes=65536

(that will maintain 64MB of free RAM and should allow for enough time to
prevent OOM kills)






signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] leap second

2012-07-06 Thread Nicolas Ross
> You could have just done:
> service ntpd stop; date -s "`date`"; service ntpd start
> Fixed here without even stopping any jvm.
Would have loved to know that then ;-)

We have 2 8-node clusters that runs many java applications, and many 
java applications on seperate servers. I went nuts when all java running 
servers cam to 100%  cpu all at once !

The guy I spoke to at RedHat GSS at about 00:45 UTC baiscly told me to 
reboot the server, wich ended up rebooting our 2 clusters... Bad... But 
since computers all over the world crashed, our clients did understood 
that the problem was far lower than they beleived it...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] conntrack

2012-07-06 Thread Dennis Jacobfeuerborn
On 07/05/2012 08:36 PM, Phil Savoie wrote:
> On 07/05/2012 02:02 PM, Steve Campbell wrote:
>> Is conntrack and conntrackd still valid for Centos 6.2? I can't seem to
>> find much on it any more. Is there something else to use?
>>
>> thanks
>>
>> steve campbell
> 
> Hi Steve,
> 
> Yep, conntrack is still on used mostly for netfilter/IPTables.
> 
> cd /lib/modules/$(uname -r)
> find . -name \*.ko | grep conntrack
> 
> Hope this helps,
> 

Conntrack is an important part of the system and is not going get become
"invalid" anytime soon. It's required for NAT for example.

Regards,
  Dennis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bind: root hints named.ca and named.root

2012-07-06 Thread Lars Hecking
Michael McNulty writes:
> 
> For 6.x I have both of these files in my /var/named directory, probably 
> copied when upgraded.  named.ca date inside the file is dated 2008 and 
> named.root is from a few months ago.
> 
> Am I correct in assuming that named.ca is old and that I should be using 
> named.root in my named.conf files?  Is it SOP to use the latest from 
> ftp://ftp.internic.net/domain/named.root 

 It's not needed. The root hints are builtin in bind9. You only need the file
 from internic if there are changes to the root servers, which IIRC happened
 once in the past few years, and can't wait until $distro updates bind.

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