Re: [CentOS] network interface question

2010-10-13 Thread Jacob Bresciani
eth1 exists because the /dev device was found on boot (you have 2 or more
network interfaces).

eth12 does due to you not have 13+ nic's or did not map a network device to
be eth12.

On Wed, Oct 13, 2010 at 3:26 PM, Paras pradhan pradhanpa...@gmail.comwrote:

 Hi,

 I don't have ifcfg-eth1 in my /etc/sysconfig/network-scripts. But when
 I do ifconfig eth1 I can see output as below. If I do ifconfig eth12 ,
 I don't see anything which i am assume is normal.


 eth1  Link encap:Ethernet  HWaddr 00:24:E8:44:DB:CC
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Interrupt:17 Memory:e800-e8012800


 Don't know why and how this is happening.

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




-- 
Jacob Bresciani
Linux Systems Administrator
Advanced Ecommerce Research Systems / Terapeak
Cell: 250 418-5412
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raid 10 questions...2 drive

2010-09-24 Thread Jacob Bresciani
RAID10 requires at least 4 drives does it not?

Since it's a strip set of mirrored disks, the smallest configuration I can
see is 4 disks, 2 mirrored pairs stripped.

On Fri, Sep 24, 2010 at 7:27 PM, Tom Bishop bisho...@gmail.com wrote:

 I have been reading lots of stuff but trying to find out if a raid10 2drive
 setup is any better/worse than a normal raid 1 setupI have to 1Tb drives
 for my data and a seperate system drive, I am only interested in doing raid
 on my data...


 So i setup my initial test like this

 mdadm -v --create /dev/md0 --chunk 1024 --level=raid10 --raid-devices=2
 /dev/sdb1 /dev/sdc1


 I have also read about near and far but was going to play with this and was
 wondering if anyone had any insights for 2 drives setup...Thanks...

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




-- 
Jacob Bresciani
Linux Systems Administrator
Advanced Ecommerce Research Systems / Terapeak
Cell: 250 418-5412
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raid 10 questions...2 drive

2010-09-24 Thread Jacob Bresciani
On Fri, Sep 24, 2010 at 7:50 PM, Digimer li...@alteeve.com wrote:

 On 10-09-24 10:27 PM, Tom Bishop wrote:
  I have been reading lots of stuff but trying to find out if a raid10
  2drive setup is any better/worse than a normal raid 1 setupI have to
  1Tb drives for my data and a seperate system drive, I am only interested
  in doing raid on my data...
 
 
  So i setup my initial test like this
 
  mdadm -v --create /dev/md0 --chunk 1024 --level=raid10 --raid-devices=2
  /dev/sdb1 /dev/sdc1
 
 
  I have also read about near and far but was going to play with this and
  was wondering if anyone had any insights for 2 drives setup...Thanks...

 Raid 10 requires 4 drives. First you would make two RAID 0 arrays, then
 create a third array that is RAID 1 using the two RAID 0 arrays for it's
 devices.


This would be a RAID 0+1, stripped set's mirror together. RAID 1+0 is
mirrored disk sets stripped together.

http://en.wikipedia.org/wiki/RAID#Nested_.28hybrid.29_RAID

With only two drives, your option is RAID 1 (mirroring - proper
 redundancy) or RAID 0 (striping only - lose one drive and you lose *all*
 data).

 --
 Digimer
 E-Mail: li...@alteeve.com
 AN!Whitepapers: http://alteeve.com
 Node Assassin:  http://nodeassassin.org
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Jacob Bresciani
Linux Systems Administrator
Advanced Ecommerce Research Systems / Terapeak
Cell: 250 418-5412
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable dvd write

2010-07-06 Thread Jacob Bresciani
make the /dev device re-only (chmod 444)?

On 2010-07-06, at 3:57 PM, grace rante wrote:

 
 hi, does anybody know how to disable dvd/cd write access in centos 5.3? 
 
 thanks
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Dell R605 w/ Perc 6/i problem

2010-06-30 Thread Jacob Bresciani
this sounds like the right solution, you can do this either form the firmware 
or the megaraid command line tool MegaCli64 (MegaCli for non-64 bit systems)

On 2010-06-30, at 7:18 AM, Eero Volotinen wrote:

 2010/6/30 mark m.r...@5-cent.us:
 Jacob Bresciani wrote:
 R605 is a power edge server model I think.The Perc6/i is a Dell rebranded
 raid controller, it's actually an LSI in disguise. Try downloading the
 Megaraid utilities from LSI and using them to see the status of the card.
 
 Hmmm, I think I see the Linux/CentOS megaraid load as it comes up to the
 install screen (before I get to look at partitioning).
 
 Also, when you boot the R605, you should be able to get into the Perc's
 firmware for drive creation/maintenance. You might want to check there to
 see how it thinks things are configured and it hasn't decided the 750G drive
 is a hotspare or something (a hotspare wouldn't show up to the OS).
 
 As far as I can tell, it doesn't think it's a hot spare. Using the firmware
 configuration utility, it sees the physical drive, and that's it.
 
 you need to export drive as jbod or raid0 if you want to use it on os.
 this is typical on hardware raid controllers.
 
 --
 Eero
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Dell R605 w/ Perc 6/i problem

2010-06-29 Thread Jacob Bresciani
R605 is a power edge server model I think.The Perc6/i is a Dell rebranded raid 
controller, it's actually an LSI in disguise. Try downloading the Megaraid 
utilities from LSI and using them to see the status of the card.

Also, when you boot the R605, you should be able to get into the Perc's 
firmware for drive creation/maintenance. You might want to check there to see 
how it thinks things are configured and it hasn't decided the 750G drive is a 
hotspare or something (a hotspare wouldn't show up to the OS).

I'm assuming all the drives are connected to the Perc6/i controller. Drives 
connected to the Perc controller won't necessarily show up to the BIOS.


On 2010-06-29, at 3:14 PM, Agile Aspect wrote:

 On Tue, Jun 29, 2010 at 2:36 PM,  m.r...@5-cent.us wrote:
 I think there was just a thread 'bout this, and I didn't pay attention...
 and then I walked into our smallest server room to rebuild a server with
 CentOS... and that's what it is. The problem I'm having is this: there are
 two 1T SAS drives, raided, via the controller. There's also a 750G SATA
 drive. The Dell test suite sees it, and reports that SMART says it's fine.
 However, no matter what I do, the BIOS doesn't see it, and when I boot to
 linux text, fdisk only sees the raided 1t.
 
 Clues for the poor? I want to put the system on the SATA drive, leaving
 the raid for data.
 
 
 
 
 I have no idea what R605 is, but you need to state the version of
 Centos (imagine that) and the type of disk controller, i.e., post
 
  lspci
 
 It's possible the problem is a BIOS setting, e.g., you may need to
 turn on AHCI.
 
 -- 
  Enjoy global warming while it lasts.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Jacob Bresciani
are you adding users to local groups in /etc/group or are you creating groups 
in ldap?


On 2010-05-06, at 11:03 AM, aurfal...@gmail.com wrote:

 Hi all,
 
 Not having much luck adding a user to more then 1 group in OpenLDAP  
 thats provided in Centos.
 
 Any suggestions to have the outcome of having a user belong to  
 multiple groups?
 
 Should I create a new group that has multiple GIDs and assign a user  
 to that new group?  If so, how? :)
 
 Thanks in advance.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] DRBD

2009-12-18 Thread Jacob Bresciani
I am currently playing with the 8.3 package (8.2 redirects to 8.3 btw).

so far I haven't had any issues with it.


Jacob Bresciani
Linux Systems Administrator
Advanced Economic Research Systems / Terapeak
Cell: 250 418-5412

On 2009-12-18, at 8:53 AM, Flaherty, Patrick wrote:

 Would any of you be comfortable running the drbd packages 
 from the extras repo?  If so, any particular version .. I 
 notice 8.0, 8.2, 8.3.
 I'll do my own due diligence but just curious if the list has 
 any implementation based feedback.  Thanks.
 
 I've been running 8.0 for a year or more from extras. I think I used 8.0
 when I set up the box because it was the only drbd available in the
 extras. I use it as the backend of a ha mysql setup. I've yet to have
 any problems with it.
 
 Patrick
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


[CentOS] LDAP server, too many open files

2009-10-22 Thread Jacob Bresciani
=local write
 by dn.base=uid=ldapsync,ou=People,dc=domain,dc=local read
 by * read
access to * by * read

limits dn.exact=uid=ldapsync,ou=People,dc=domain,dc=local  
size=unlimited time=unlimited

databasebdb
suffix  dc=domain,dc=local
rootdn  cn=root,dc=domain,dc=local
rootpw  {SSHA}YnnYasdadasdasdasdassd

directory   /var/lib/ldap

# Indices to maintain for this database
index objectClass   eq,pres
index ou,cn,mail,surname,givenname  eq,pres,sub
index uidNumber,gidNumber,loginShelleq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntryeq,pres,sub
index uniqueMember  eq,pres
index entryCSN  eq

loglevel sync none
logfile /var/log/ldap.log

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
##


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


Re: [CentOS] LDAP server, too many open files

2009-10-22 Thread Jacob Bresciani
Thanks, I've put in that change, I'll get the dev's to abuse things  
for a while and we'll see if that's it. quick tests by me look  
promising :)


Jacob Bresciani

On 2009-10-22, at 9:23 AM, Benjamin Franz wrote:

 Jacob Bresciani wrote:
 I've setup an LDAP server with a slave server on Centos 5.3 X86_64,
 replication works, most of the time client logins work fine but I'm
 starting to get a error I can't seem to eliminate, it's starting to
 cause login failures for users and I think it's causing other
 application failures when they try to auth against ldap.

 on the client side /var/log/messages shows
 [...]

 on the server side I see
  Oct 22 08:53:23 ldap1slapd[23963]: warning: cannot open /etc/
 hosts.allow: Too many open files
 Oct 22 08:53:23 ldap1slapd[23963]: warning: cannot open /etc/

 You probably are running into the default limit for open files. Look  
 at
 /etc/security/limits.conf and add a line reading

 *-   nofile  64000

 Then restart the ldap server via the init script.

 -- 
 Benjamin Franz

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

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


[CentOS] ls -l output

2009-09-03 Thread Jacob Bresciani
OK, this should be an easy fix but I can't find it, and it's strictly  
a cosmetic's issue.

on our older Gentoo systems if you do an ls -a it orders the results  
with all the . files ordered alphabetically then all the non-hidden  
files alphabetically. it also sorts with capitals first.

on the new Centos 5.3 systems ls -a returns all the files sorted  
alphabetically with capital's and smalls being equal and the . at the  
start of a hidden file appears to be ignored.

There are no alias's in place on either system.

eg.)

Gentoo:

$ ls -a
.  ..  .Xauthority  .bashrc  .omega  Documents  alpha  scripts

Centos:

$ ls -a
.  ..  alpha  .bashrc  Documents  .omega  scripts  .Xauthority

I'd prefer to see things the Gentoo way. Any idea's?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ls -l output

2009-09-03 Thread Jacob Bresciani

On 3-Sep-09, at 3:06 PM, Filipe Brandenburger wrote:

 Hi,

 On Thu, Sep 3, 2009 at 18:01, Jacob Bresciani ja...@aers.ca wrote:
 on the new Centos 5.3 systems ls -a returns all the files sorted
 alphabetically with capital's and smalls being equal and the . at the
 start of a hidden file appears to be ignored.

 To fix the sorting order for all users in the system, add the
 following line to the end of the /etc/sysconfig/i18n file:

 LC_COLLATE=C

 To fix it for a specific user only, add it to the ~/.i18n file  
 instead.

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

I know it would be easy, thanks to all who replied.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best mobile SSH client?

2009-05-04 Thread Jacob Bresciani
Threading is there, but only for apple aproved apps(mail, phone). Lets  
hope for looser security in 3.0


Sent from my iPhone

On May 4, 2009, at 11:56 AM, Sean Carolan scaro...@gmail.com wrote:


On Mon, May 4, 2009 at 1:41 PM,  ja...@aers.ca wrote:
 Touchterm is nice as it can be configured to launch screen (provided
 your host has it installed) on connect so that if you switch away  
from

 ssh on your iphone you don't have to start completely over when you
 switch back.

Yes, a sucky feature of the iPhone seems to be that it can't run
more than one app concurrently...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos