Re: [CentOS] rack configurator?
On 25/02/2010 20:34, Alan McKay wrote: > Hey folks, > > Does anyone know of a rack configurator that runs on CentOS? It does > not have to even be very fancy - immediately I'm just looking for an > easy way to keep track of what is in my racks, and being able to have > a visual of it. http://sourceforge.net/apps/trac/nventory/wiki perhaps ? I was only made aware of this about 24 hrs back, and had a brief look last night - looks quite good, bonus points for the puppet integration so one can use that as an external config / node / manifest provider. Which, in turn, might be a bit more than what you are loking for at this stage, but worth keeping an eye out for. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Les Mikesell >Sent: Thursday, February 25, 2010 4:52 PM >To: centos@centos.org >Subject: Re: [CentOS] Backuppc-updates on CentOS > [...] >> Looking more closely I saw that the RHEL5-packages were from epel, >a repo one >> maybe shouldn't choose as a primary repo for ones CentOS-systems if you can >> help it. At least that's the impression I got from the various posts to this >> list. > >No, epel is the best large 3rd party repo in terms of avoiding conflicts >with the base. They are just not perfect. It's probably impossible to >be perfect without a single point of coordination, but you generally >won't get in trouble leaving epel enabled during updates unless you also >use other 3rd party repos. They also tend not to have as current >packages as rpmforge, though. Yeah, I noticed that with rpmforge. I was just under the impression that epel was a bit "dodgy" as repos come. Never too late to be enlightened though. ;-) -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
On Thu, Feb 25, 2010 at 10:44:07PM -0600, Ricardo Carrillo wrote: > Have a look http://flux.org.uk/projects/rackmonkey/ too.. You can also check this: http://www.dokuwiki.org/plugin:rack it's good, because you can track your rack stuff under your wiki. -- Dominik Zyla pgpXiQ7uoiL9U.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Greetings, On Fri, Feb 26, 2010 at 5:50 AM, Benjamin Smith wrote: > Years ago, I set up a backup tool that wrapped rsync. It has faithfully and > reliably backed up a dozen hosts and too many TB of data to mention, > offsite, > automatically saving as many backup points as disk space allows. > You're certainly welcome to try it! > > http://www.effortlessis.com/thisisnotbackupbuddy/ > > It works on an "ascending powers" basis, EG: > > 1 day ago, > 2 days ago, > 4 days ago, > 8 days ago, > 16 days ago... > > until out of disk space. > > =) > it is a criminal offence (in free software world) to hide this gem from the world for all this long. ;) Regards, Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
Have a look http://flux.org.uk/projects/rackmonkey/ too.. 2010/2/25 Rajagopal Swaminathan : > Greetings, > > On Fri, Feb 26, 2010 at 2:13 AM, Peter Hinse wrote: >> >> Am 25.02.2010 21:34, schrieb Alan McKay: >> Hi Alan, >> >> have a look at racktables: http://racktables.org/ >> >> Regards, >> > > +1 > > Regards, > > Rajagopal > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- :: L.I. Ricardo D. Carrillo Sánchez :: Security Specialist :: Universidad Nacional Autonoma de Mexico:: :: Ciudad Universitaria , D.F. Mex :: e-mail prim.: davxoc at gmai dot com :: e-mail secu.: davxoc at hotmail dot com : ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
Greetings, On Fri, Feb 26, 2010 at 2:13 AM, Peter Hinse wrote: > Am 25.02.2010 21:34, schrieb Alan McKay: > Hi Alan, > > have a look at racktables: http://racktables.org/ > > Regards, > > +1 Regards, Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Enabling msg_get_queue()?
PS: This is largely a non-issue. We've found that we can compile this in as a module without have to recompile the PHP binary. Not a perfect solution, but it works well enough. -Ben On Thursday 25 February 2010 02:58:28 pm Benjamin Smith wrote: > Noticing that the PHP4 binaries with CentOS4 are compiled with the option: > --enable-sysvshm > > but not with the > > --enable-sysvmsg > > option. They are very closely related, and we'd like to use the > msg_get_queue() function for an application cluster. Is there any reason > why this is so? Is it too much to ask to have this added? > > Thanks in advance! > > -Ben -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Years ago, I set up a backup tool that wrapped rsync. It has faithfully and reliably backed up a dozen hosts and too many TB of data to mention, offsite, automatically saving as many backup points as disk space allows. You're certainly welcome to try it! http://www.effortlessis.com/thisisnotbackupbuddy/ It works on an "ascending powers" basis, EG: 1 day ago, 2 days ago, 4 days ago, 8 days ago, 16 days ago... until out of disk space. =) -Ben On Thursday 25 February 2010 10:22:13 am Mike McCarty wrote: > Agnello George wrote: > > The requirement fro backup is not primarily for HDD failure , but > > human error failure . In case one of our user ( eg: the COO with huge > > mailbox size has delete all his certain very important mails, and he > > want to recover them , the contacts us as we are supposed to maintain > > his mail backup for a week, and we should restore his backup immediately > > ) this the main requirement for the backup and that too on the same > > server different partition . > > Have you considered using a snapshot approach? By that, I mean one > which uses hard links to create the "backup", and as files get added/ > modified, the data are copied, and links are created. Usually, one > has a snapshot directory with something like a daily snapshot, and > 24 hourly ones, something like that. > > Mike -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Enabling msg_get_queue()?
Noticing that the PHP4 binaries with CentOS4 are compiled with the option: --enable-sysvshm but not with the --enable-sysvmsg option. They are very closely related, and we'd like to use the msg_get_queue() function for an application cluster. Is there any reason why this is so? Is it too much to ask to have this added? Thanks in advance! -Ben -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SMARTD (?)
On 02/25/2010 02:25 PM, m.r...@5-cent.us wrote: > Ok, I saw more sectors on a drive yesterday, so this morning, no one was > running on it, and I took it out of use, then bounced it onto a DVD, and > ran fsck -c (check for bad blocks). It finished. I bounce the server. > > And SMARTD reports the sectors as "currently unreadable (pending) > sectors", and "offline uncorrectable sectors". > > Does smartd cache its info somewhere, or is it reading what fsck already > marked as bad? And this has happened before, under 5.3, and under > continuing current updates of 5.4 smartd queries the drive directly. Running "fsck -c" will have caused the drive to discover all of the unreadable sectors within that file system and mark them as "pending reallocation". Those sectors will remain in the "pending" state and visibly bad to the OS until the next time they are written. If you were able to copy all of the files from that FS without error, that suggests that all of the bad sectors are in free space, and you could stimulate reallocation by filling all of the free space with zeros: mount /dev/{whatever} /mnt dd if=/dev/zero of=/mnt/xx bs=64k sync rm /mnt/xx umount /mnt Then run "smartctl -A" on the drive and see if it still reports pending sectors. Of course if that drive is continuing to develop new bad sectors you should get rid of it immediately. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 4.8 dvd on virtualbox x86_64
John R Pierce wrote: > I just installed VirtualBox latest version on a new Win7 Pro x86_64 > desktop, and tried to create a 64bit CentOS 4.8 install for doing some > procedural testing... all install attempts hung at the samme place, > shortly after grub, it hangs at... > > Dquot-cache hash table entries: 512 (order 0, 4096 bytes) > > sadly, I didn't capture the rest of the console output prior to that. > > > 32bit 4.8 boots and installs just fine. CPU is a Intel Core2Duo E7600 > which supposedly has VT-x. System is a Dell Optiplex 755 (Intel G45 chipset) > same configuration, CentOS 5.4 x86_64 DVD.iso boots just fine and is busy installing now. must be something with the 2.6.9 64bit kernel, I guess. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
Am 25.02.2010 21:34, schrieb Alan McKay: > Hey folks, > > Does anyone know of a rack configurator that runs on CentOS? It does > not have to even be very fancy - immediately I'm just looking for an > easy way to keep track of what is in my racks, and being able to have > a visual of it. Maybe juggle stuff around. Bonus if it does power > calculations based on model numbers and so on - or data I punch in for > each model. But really right now some kind of very specific CAD or > Draw tool that is specific to this purpose. Or a template for a more > general tool. Hi Alan, have a look at racktables: http://racktables.org/ Regards, Peter signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
nate wrote: > Alan McKay wrote: > >> Hey folks, >> >> Does anyone know of a rack configurator that runs on CentOS? It does >> not have to even be very fancy - immediately I'm just looking for an >> easy way to keep track of what is in my racks, and being able to have >> a visual of it. Maybe juggle stuff around. Bonus if it does power >> calculations based on model numbers and so on - or data I punch in for >> each model. But really right now some kind of very specific CAD or >> Draw tool that is specific to this purpose. Or a template for a more >> general tool. >> > > Spreadsheet? > and Dia for the diagrams? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rack configurator?
Alan McKay wrote: > Hey folks, > > Does anyone know of a rack configurator that runs on CentOS? It does > not have to even be very fancy - immediately I'm just looking for an > easy way to keep track of what is in my racks, and being able to have > a visual of it. Maybe juggle stuff around. Bonus if it does power > calculations based on model numbers and so on - or data I punch in for > each model. But really right now some kind of very specific CAD or > Draw tool that is specific to this purpose. Or a template for a more > general tool. Spreadsheet? nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rack configurator?
Hey folks, Does anyone know of a rack configurator that runs on CentOS? It does not have to even be very fancy - immediately I'm just looking for an easy way to keep track of what is in my racks, and being able to have a visual of it. Maybe juggle stuff around. Bonus if it does power calculations based on model numbers and so on - or data I punch in for each model. But really right now some kind of very specific CAD or Draw tool that is specific to this purpose. Or a template for a more general tool. thanks, -Alan -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] SMARTD (?)
Ok, I saw more sectors on a drive yesterday, so this morning, no one was running on it, and I took it out of use, then bounced it onto a DVD, and ran fsck -c (check for bad blocks). It finished. I bounce the server. And SMARTD reports the sectors as "currently unreadable (pending) sectors", and "offline uncorrectable sectors". Does smartd cache its info somewhere, or is it reading what fsck already marked as bad? And this has happened before, under 5.3, and under continuing current updates of 5.4 mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
Les Mikesell wrote on Thu, 25 Feb 2010 10:06:11 -0600: > I'm not sure there is any reasonable way to understand the state of 3rd > party repositories. If there were, they'd probably fix their conflicts > and avoid them in the future... This wasn't what I referred to. He seemed to be unaware about how Centos "works". Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Karanbir Singh wrote: > On 02/24/2010 07:44 PM, Les Mikesell wrote: >>> Err.. raid is NOT backup solution. >> Neither is a snapshot in another location on the same machine. > > Thats not true, raid is an online setup - different location could be > point in time, and on blockdev;s that dont share user access load. Which I think that, without causing any more dispute, I can point out that "backup" covers a wide range of solutions to a less broad but still not uniquely one set of needs. No one of the means to backup is a full solution to all the needs which "backup" satisfies. Even when one is using the term "backup" narrowly in the sense of "protection from disaster", there are still different kinds of backup. For example, there is the "full disaster recovery" or "bare metal" backup, which is intended to work with another piece of identical hardware, starting with blank fixed storage, and ending up with a working system which looks identical to the original at the epoch at which the backup was made. This is significantly different from one intended merely to restore the user altered or created data on a machine which has been newly installed with a compatible version of the OS, for example. That's why one needs to know the intended use of the backup set before making any recommendations on procedure and content of the backup set. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Agnello George wrote: > The requirement fro backup is not primarily for HDD failure , but human > error failure . In case one of our user ( eg: the COO with huge mailbox > size has delete all his certain very important mails, and he want to recover > them , the contacts us as we are supposed to maintain his mail backup for a > week, and we should restore his backup immediately ) this the main > requirement for the backup and that too on the same server different > partition . Have you considered using a snapshot approach? By that, I mean one which uses hard links to create the "backup", and as files get added/ modified, the data are copied, and links are created. Usually, one has a snapshot directory with something like a daily snapshot, and 24 hourly ones, something like that. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
From: Agnello George > is it possible with " brackup " to back it up to a different server on the > same lan instead of /backup . Is there any documentation on the same . It apparently support: Brackup::Target::Amazon backup to Amazon's S3 service Brackup::Target::CloudFiles backup to Rackspace's CloudFiles Service Brackup::Target::Filebased Brackup::Target::Filesystem backup to a locally mounted filesystem Brackup::Target::Ftp backup to an FTP server Brackup::Target::Sftpbackup to an SSH/SFTP server So, you could use ftp or sftp... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_proxy and html rewriting
On Thu, Feb 25, 2010 at 04:26:29PM +, Joseph L. Casale wrote: > >mod_substitute is included in later Apache's and does a great job. I > >actually like it better than mod_proxy_html, since the latter has a > >tendency to rewrite a _lot_ of stuff to make it "valid" HTML/XHTML. > > > >Not that that's necessarily a terrible thing, but sometimes I just want > >to change what I told it to change... > > > >I used the SRPM from RHWAS to update to the latest Apache on EL5. > > Great, the issue I am getting is the browser doesn't understand the > rewritten content as a result of xhtml issues. > > Rh's ftp shows httpd-2.2.8-1.el5s2.src.rpm for this rpm as latest. > > I'll give a go at compiling this to try mod_substitute. 2.2.13 should be the latest... ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHWAS/SRPMS/httpd-2.2.13-2.el5s2.src.rpm Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to show only quota limit to users via SSH?
From: Rudi Ahlers >Gregory, it will still show the user the whole server's disk usage, and not >his own file quotas. Only difference is that it does it automatically @ login. >And I don't want to limit the shell either. You could just put an alias in their.bashrc... alias df="/path/to/myowndf" Put anything you want in myowndf script/program, like quota -vls... Of course, they could bypass the alias if they really wanted to but... is that really a problem? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_proxy and html rewriting
>mod_substitute is included in later Apache's and does a great job. I >actually like it better than mod_proxy_html, since the latter has a >tendency to rewrite a _lot_ of stuff to make it "valid" HTML/XHTML. > >Not that that's necessarily a terrible thing, but sometimes I just want >to change what I told it to change... > >I used the SRPM from RHWAS to update to the latest Apache on EL5. Great, the issue I am getting is the browser doesn't understand the rewritten content as a result of xhtml issues. Rh's ftp shows httpd-2.2.8-1.el5s2.src.rpm for this rpm as latest. I'll give a go at compiling this to try mod_substitute. Thanks guys! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
On 2/25/2010 7:31 AM, Kai Schaetzl wrote: > Sorin, I've seen you posting on this list for a long time. There is no > excuse that you don't know the simplest FAQs about CentOS. I'm not sure there is any reasonable way to understand the state of 3rd party repositories. If there were, they'd probably fix their conflicts and avoid them in the future... -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_proxy and html rewriting
On Thu, Feb 25, 2010 at 09:57:16AM -0600, Les Mikesell wrote: > On 2/24/2010 11:31 PM, Joseph L. Casale wrote: > > Looks like proxying a site that uses dynamically generated urls that > > include the > > bound ip of the server needs a module to rewrite links in html. Are there > > any mods > > shipped in base that can do what mod_proxy_html mod_xml2enc can for this? > > I don't think so. In later httpd versions something is included in the > core to do content rewriting (mod_sed?), but for now you can build the > mod_proxy_html module with apxs and include it. mod_substitute is included in later Apache's and does a great job. I actually like it better than mod_proxy_html, since the latter has a tendency to rewrite a _lot_ of stuff to make it "valid" HTML/XHTML. Not that that's necessarily a terrible thing, but sometimes I just want to change what I told it to change... I used the SRPM from RHWAS to update to the latest Apache on EL5. Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_proxy and html rewriting
On 2/24/2010 11:31 PM, Joseph L. Casale wrote: > Looks like proxying a site that uses dynamically generated urls that include > the > bound ip of the server needs a module to rewrite links in html. Are there any > mods > shipped in base that can do what mod_proxy_html mod_xml2enc can for this? I don't think so. In later httpd versions something is included in the core to do content rewriting (mod_sed?), but for now you can build the mod_proxy_html module with apxs and include it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
On 2/25/2010 3:44 AM, Sorin Srbu wrote: > Hi all, > > I installed BackupPC on one of my Centos 5.4-machines following the wiki at > http://wiki.centos.org/HowTos/BackupPC#head-725ed151d366bcf182cea92f765c373900cfc9dc, > where BackupPC is installed from the c5-testing repo. > > r...@mach012 ~/ [0]# rpm -qa backuppc > backuppc-3.1.0-1.el5.centos > r...@mach012 ~/ [0]# > > Seeing how there's been some updates to BackupPC in the near past, I thought > I'd run a yum update to get the updated package. That didn't work. So I > searched pbone.net for a BackupPC package on CentOS5 but didn't find any. > Doing the same search for RHEL5 gave me two packages (one for i386 and one for > x86_64); v3.1.0-5. > Looking more closely I saw that the RHEL5-packages were from epel, a > repo one > maybe shouldn't choose as a primary repo for ones CentOS-systems if you can > help it. At least that's the impression I got from the various posts to this > list. No, epel is the best large 3rd party repo in terms of avoiding conflicts with the base. They are just not perfect. It's probably impossible to be perfect without a single point of coordination, but you generally won't get in trouble leaving epel enabled during updates unless you also use other 3rd party repos. They also tend not to have as current packages as rpmforge, though. > I thought all packages available from the prominent American upstream provider > got a treatment from the CentOS crew? Am I wrong or am I missing something > really basic, or some part of the CentOS philosophy here? Or isn't BackupPC a > package worthy of being CentOSified? 8-) There is (was?) a version in centos-testing, but now that epel has it, there isn't much reason to have a duplicate. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] good centos/rhel source for latest spamassassin?
On Thu, 25 Feb 2010, Eero Volotinen wrote: > Is there any good rpm source for latest spamassassin for centos/rhel ? > > Currently using from dag's, but is is a bit old version nowdays. I have a full sources solution at: ftp://ftp.owlriver.com/pub/mirror/ORC/spamassassin/ including all side modules needed for some wierd stuff not in otehr packaging sets -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getaddrinfo problem
On Thu, Feb 25, 2010 at 8:14 AM, Alexander Dalloz > wrote: > Am 25.02.2010 12:53, schrieb Susan Day: > > Hi; > > [ ... ] > > > Notice that line: > > > > code undefined, msg = 'getaddrinfo returns an empty list', > > > > What up? How do I get an address to return? > > TIA, > > Susan > > By chance, did you break /etc/hosts file by deleting the localhost mapping? > I see nothing amiss in this file. Susan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
On Thu, Feb 25, 2010 at 6:39 AM, Eero Volotinen wrote: > 2010/2/25 Roland RoLaNd : > > > > Hello, > > > > i have internet usage rules for all of my network. > > only 2 servers have full access to the internet.. > > lately i've noticed that lots of traffic being produced by the servers .. > > is there a way to know whose using port forwarding to my server so they > access the internet ? > > or is there a way to block people from doing such a thing ? > > Err. Disable ip_forward&nat on server and limit connections on main > firewall .. > > -- > Eero > > @Eero: Don't be so literal. You need to read the whole messages and understand the problem. Just because someone calls something "forwarding" doesn't mean they are speaking in the literal Linux kernel sense of the word. @Roland: In addition to what some other posters have said, look at who is logged in to the server at the time. You might find some open SSH sessions that are using port forwarding. You can disable this by setting "AllowTcpForwarding no" in the sshd_config, but if users have shell, it will be very difficult to stop it. You also might want to see if there is a proxy setup, or something like that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good centos/rhel source for latest spamassassin?
Eero Volotinen wrote: > Is there any good rpm source for latest spamassassin for centos/rhel ? > > Currently using from dag's, but is is a bit old version nowdays. > You could try Warren's RHEL5 builds here: http://wtogami.livejournal.com/33674.html http://people.redhat.com/wtogami/temp/spamassassin/3.3.0/ and if you don't like EPEL, you could probably use rpmforge to meet the dependencies. You could probably even rebuild the package against rpmforge perl packages if you are so inclined... not that I've tried any of the above. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good centos/rhel source for latest spamassassin?
Eero Volotinen wrote on Thu, 25 Feb 2010 13:47:14 +0200: > is there any nice way to install build requirements on buildserver? Not sure what you mean by that, but all necessary Perl packages are available as rpm, for instance perl-Encode-Detect-1.01-1.el5.rf What I usually do with SA is do a normal make and make test. That reveals any such dependencies and problems. If make test was successful I do the rpmbuild. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
Sorin, I've seen you posting on this list for a long time. There is no excuse that you don't know the simplest FAQs about CentOS. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Nicolas Thierry-Mieg >Sent: Thursday, February 25, 2010 1:50 PM >To: CentOS mailing list >Subject: Re: [CentOS] Backuppc-updates on CentOS > >[...] > >3.1.0-5 from one repo is not necessarily better >than 3.1.0-1 from another: it's the same upstream code, the -5 is only >useful for comparing within a given repo. I had no idea...! Is this a general thing with most (all?) repos? Thanks for the info! -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
On Thu, 2010-02-25 at 12:33 +, Karanbir Singh wrote: > > [1] Changeset and data/system model over time relation mapping for an > adaptive system sizing feedback loop! ( how'se that for buzzword > injection! ) --- Well if you run vacum on a Postgres DB then all that goes to the crapper... So we resort to real time backups or replication. Of which with replication on a postgres db with the 2GB Blobs being inserted there is going to be a problem... even if you have enough shared memory configured. The thing is regardless you are never in RT Replication. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
Sorin Srbu wrote: >> Sorin Srbu wrote on Thu, 25 Feb 2010 10:44:40 +0100: >> >>> Doing the same search for RHEL5 gave me two packages (one for i386 and >>> one for x86_64); v3.1.0-5. >> >> Not from Red Hat. > > No, from epel. epel is just another third party repo. >>> I thought all packages available from the prominent American upstream > provider >>> got a treatment from the CentOS crew? >> >> Red Hat doesn't provide BackupPC packages. > > So anything (more or less) that RH provides, we also get for CentOS while > any extra fluff like BackupPC for CentOS, is 3rd party. Did I get that > correct? yes, centos (base+updates) offers exactly what's in RHEL. Centos won't rebuild stuff that's in epel, rpmforge or any other third party repo, these packages should work the same on rhel and centos precisely because centos aims to be as close to rhel as possible. Also note that 3.1.0 is the latest stable release of backuppc. This is the version that you installed from c5-testing. It's also the same version offered in epel. 3.1.0-5 from one repo is not necessarily better than 3.1.0-1 from another: it's the same upstream code, the -5 is only useful for comparing within a given repo. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Karanbir Singh wrote: > On 02/24/2010 07:44 PM, Les Mikesell wrote: >>> Err.. raid is NOT backup solution. >> Neither is a snapshot in another location on the same machine. > > Thats not true, raid is an online setup - different location could be > point in time, and on blockdev;s that dont share user access load. Which > in turn makes it easier to do intensive complete backups to offsite > without impacting user level of service the machine can deliver, amongst > other things[1]. > > Dont compare apples to banana's and call them oranges. Yes and no... There's an overlapping set of possibilities that they do and don't back up. They both cover single disk failures. They don't cover big operator errors (rm -rf /), building/site disasters, some types of controller/electrical issues, etc. The snapshots give you a short history that can help with small user/operator errors at the expense of being out of date when the live disk fails. So have several types of fruit to stay healthy. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
On 02/24/2010 07:44 PM, Les Mikesell wrote: >> Err.. raid is NOT backup solution. > > Neither is a snapshot in another location on the same machine. Thats not true, raid is an online setup - different location could be point in time, and on blockdev;s that dont share user access load. Which in turn makes it easier to do intensive complete backups to offsite without impacting user level of service the machine can deliver, amongst other things[1]. Dont compare apples to banana's and call them oranges. - KB [1] Changeset and data/system model over time relation mapping for an adaptive system sizing feedback loop! ( how'se that for buzzword injection! ) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
Have you read Brackup::Manual::Overview? Your questions are all answered in the man pages there or linked from there. On Thu, Feb 25, 2010 at 05:21:47PM +0530, Agnello George wrote: > On Wed, Feb 24, 2010 at 7:05 PM, Gavin Carr wrote: > > Brackup will backup to local disk, or remotely to ftp, sftp, Amazon S3, or > > Rackspace CloudFiles targets/servers. So yes, on a lan you can backup over > > ftp or sftp just fine. > > > > Re docs, install brackup, 'man Brackup::Manual::Overview'. I've also > > written > > a few blog posts on it: http://www.openfusion.net/tags/brackup. > > > I am trying to install the brackup app on my system, the documentations > seems very helpful ( http://www.openfusion.net/net/fun_with_brackup) > But i have a few queries with the config file : > [TARGET:backups] > type = Filesystem > path = /backup > > [SOURCE:imapsource] > path = /var/spool/imap > chunk_size = 5m # what does this mean > gpg_recipient = 5E1B3EC5 # what does this mean man Brackup::Manual::Overview; man Brackup::Root > [SOURCE:bradhome] > chunk_size = 64MB > path = /raid/bradfitz/ > ignore = ^\.thumbnails/ > ignore = ^\.kde/share/thumbnails/ > ignore = ^\.ee/minis/ > ignore = ^build/ > ignore = ^(gqview|nautilus)/thumbnails/ > > > and suppose i want to backup it up to another server with scp / ssh how > is this attatined . man Brackup::Target::Sftp > secondly in whant format is the backup maintained . Backups are trees of file chunks, and a metadata file to put the chunks back together as files. So you get de-duplication for free between files and across backups. Cheers, Gavin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
On Thursday 25 February 2010 08:18:13 Eero Volotinen wrote: > > cat /proc/sys/net/ipv4/ip_forward > > 0 > > So, problem solved? Hmm I think he meant to show the current status of ip forwarding on his box. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
2010/2/25 Roland RoLaNd : > > > cat /proc/sys/net/ipv4/ip_forward > 0 So, problem solved? -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
On Thursday 25 February 2010 07:36:50 Roland RoLaNd wrote: > lately i've noticed that lots of traffic being produced by the servers .. > is there a way to know whose using port forwarding to my server so they > access the internet ? I don't know why you use the term "port forwarding". If I understand you correctly., and having said that ip forwarding isn't turned on, you suspect someone is using your 2 servers to gain access to the internet"? The only thing I can think of...they might be using your servers as a SOCKS proxy. For this , there needs to be some way to connect to these serves (SSH? etc...). Log in to these servers and do a "netstat -ntap" so you can see the established connections and track what programs are responsible for these. If anyone is connected to your machines (from the local network) you'll see it there too. Of course, I'm assuming your machines were not tampered with (that is, all the binaries are intact :) Best regards, Jorge p.d. you can try wireshark (network sniffer)... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] getaddrinfo problem
Am 25.02.2010 12:53, schrieb Susan Day: > Hi; [ ... ] > Notice that line: > > code undefined, msg = 'getaddrinfo returns an empty list', > > What up? How do I get an address to return? > TIA, > Susan By chance, did you break /etc/hosts file by deleting the localhost mapping? Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
cat /proc/sys/net/ipv4/ip_forward 0 > Date: Thu, 25 Feb 2010 13:39:41 +0200 > From: eero.voloti...@iki.fi > To: centos@centos.org > Subject: Re: [CentOS] block port forwarding? > > 2010/2/25 Roland RoLaNd : >> >> Hello, >> >> i have internet usage rules for all of my network. >> only 2 servers have full access to the internet.. >> lately i've noticed that lots of traffic being produced by the servers .. >> is there a way to know whose using port forwarding to my server so they >> access the internet ? >> or is there a way to block people from doing such a thing ? > > Err. Disable ip_forward&nat on server and limit connections on main firewall > .. > > -- > Eero > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] getaddrinfo problem
Hi; A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /var/www/html/mysite.com/simplemail/mail2.py 40 41 ''' 42 my_mail() 43 print ''' 44 my_mail = /var/www/html/mysite.com/simplemail/mail2.py in my_mail() 27 to_address = ourEmail, 28 subject = subject, 29 message = message 30 ).send() 31 print 'Thank you, %s, we will get back to you shortly!' % (name) message = 'Name: beno -\nMessage: test' /var/www/html/mysite.com/simplemail/simplemail.py in send(self=) 344 smtp = smtplib.SMTP() 345 if self.smtp_server: 346 smtp.connect(self.smtp_server) 347 else: 348 smtp.connect() smtp = , smtp.connect = >, self = , self.smtp_server = 'localhost' /usr/lib64/python2.4/smtplib.py in connect(self=, host='localhost', port=25) 305 if not self.sock: 306 raise socket.error, msg 307 (code, msg) = self.getreply() 308 if self.debuglevel > 0: print>>stderr, "connect:", msg 309 return (code, msg) code undefined, msg = 'getaddrinfo returns an empty list', self = , self.getreply = > /usr/lib64/python2.4/smtplib.py in getreply(self=) 349 if line == '': 350 self.close() 351 raise SMTPServerDisconnected("Connection unexpectedly closed") 352 if self.debuglevel > 0: print>>stderr, 'reply:', repr(line) 353 resp.append(line[4:].strip()) global SMTPServerDisconnected = SMTPServerDisconnected: Connection unexpectedly closed args = ('Connection unexpectedly closed',) Notice that line: code undefined, msg = 'getaddrinfo returns an empty list', What up? How do I get an address to return? TIA, Susan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data
On Wed, Feb 24, 2010 at 7:05 PM, Gavin Carr wrote: > On Wed, Feb 24, 2010 at 05:06:08PM +0530, Agnello George wrote: > > On Wed, Feb 24, 2010 at 4:57 PM, Eero Volotinen >wrote: > > > 2010/2/24 Agnello George : > > > > On Wed, Feb 24, 2010 at 4:13 PM, Gavin Carr > > > > wrote: > > > >> You might want to try brackup (http://code.google.com/p/brackup/). > For > > > >> very > > > >> large trees of relatively small files it seems to significantly > > > >> out-perform > > > >> rsync-based backups. I've got brackup packages in my repository (see > > > >> http://www.openfusion.net/linux/openfusion_rpm_repository). > > > >> > > > >> Cheers, > > > >> Gavin > > > >> > > > > is it possible with " brackup " to back it up to a different server > on > > > > the same lan instead of /backup . Is there any documentation on > the > > > > same . > > > > > > rsync or rdiff-backup works on local disk or remote disk.(and other > > > backup methods too!) > > > > Does http://code.google.com/p/brackup/ also work in on remote machines > . > > Brackup will backup to local disk, or remotely to ftp, sftp, Amazon S3, or > Rackspace CloudFiles targets/servers. So yes, on a lan you can backup over > ftp or sftp just fine. > > Re docs, install brackup, 'man Brackup::Manual::Overview'. I've also > written > a few blog posts on it: http://www.openfusion.net/tags/brackup. > > Cheers, > Gavin > > I am trying to install the brackup app on my system, the documentations seems very helpful ( http://www.openfusion.net/net/fun_with_brackup) But i have a few queries with the config file : [TARGET:backups] type = Filesystem path = /backup [SOURCE:imapsource] path = /var/spool/imap chunk_size = 5m # what does this mean gpg_recipient = 5E1B3EC5 # what does this mean [SOURCE:bradhome] chunk_size = 64MB path = /raid/bradfitz/ ignore = ^\.thumbnails/ ignore = ^\.kde/share/thumbnails/ ignore = ^\.ee/minis/ ignore = ^build/ ignore = ^(gqview|nautilus)/thumbnails/ and suppose i want to backup it up to another server with scp / ssh how is this attatined . secondly in whant format is the backup maintained . -- Regards Agnello D'souza ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Kai Schaetzl >Sent: Thursday, February 25, 2010 12:32 PM >To: centos@centos.org >Subject: Re: [CentOS] Backuppc-updates on CentOS > >Sorin Srbu wrote on Thu, 25 Feb 2010 10:44:40 +0100: > >> Doing the same search for RHEL5 gave me two packages (one for i386 and one >for >> x86_64); v3.1.0-5. > >Not from Red Hat. No, from epel. >> I thought all packages available from the prominent American upstream provider >> got a treatment from the CentOS crew? > >Red Hat doesn't provide BackupPC packages. So anything (more or less) that RH provides, we also get for CentOS while any extra fluff like BackupPC for CentOS, is 3rd party. Did I get that correct? -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good centos/rhel source for latest spamassassin?
2010/2/25 Bazy : > On Thu, Feb 25, 2010 at 1:34 PM, Eero Volotinen wrote: >> Is there any good rpm source for latest spamassassin for centos/rhel ? >> >> Currently using from dag's, but is is a bit old version nowdays. >> >> -- >> Eero > > Hello Eero, > > You can go to http://spamassassin.apache.org, click on Download, get > the latest tarball and follow the instructions on how to build a RPM > package. It includes "rpmbuild -tb Mail-SpamAssassin-3.3.0.tar.gz". Thanks, but build requirements are missing from this way like: NOTE: the optional Encode::Detect module is not installed. If you plan to use the normalize_charset config setting to detect charsets and convert them into Unicode, you will need to install this module. REQUIRED module missing: NetAddr::IP optional module missing: Digest::SHA optional module missing: Mail::SPF optional module missing: IP::Country optional module missing: Razor2 optional module missing: Net::Ident optional module missing: Mail::DKIM optional module missing: Encode::Detect is there any nice way to install build requirements on buildserver? -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good centos/rhel source for latest spamassassin?
On Thu, Feb 25, 2010 at 1:34 PM, Eero Volotinen wrote: > Is there any good rpm source for latest spamassassin for centos/rhel ? > > Currently using from dag's, but is is a bit old version nowdays. > > -- > Eero Hello Eero, You can go to http://spamassassin.apache.org, click on Download, get the latest tarball and follow the instructions on how to build a RPM package. It includes "rpmbuild -tb Mail-SpamAssassin-3.3.0.tar.gz". Regards, Bazy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block port forwarding?
2010/2/25 Roland RoLaNd : > > Hello, > > i have internet usage rules for all of my network. > only 2 servers have full access to the internet.. > lately i've noticed that lots of traffic being produced by the servers .. > is there a way to know whose using port forwarding to my server so they > access the internet ? > or is there a way to block people from doing such a thing ? Err. Disable ip_forward&nat on server and limit connections on main firewall .. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] block port forwarding?
Hello, i have internet usage rules for all of my network. only 2 servers have full access to the internet.. lately i've noticed that lots of traffic being produced by the servers .. is there a way to know whose using port forwarding to my server so they access the internet ? or is there a way to block people from doing such a thing ? _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] good centos/rhel source for latest spamassassin?
Is there any good rpm source for latest spamassassin for centos/rhel ? Currently using from dag's, but is is a bit old version nowdays. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backuppc-updates on CentOS
Sorin Srbu wrote on Thu, 25 Feb 2010 10:44:40 +0100: > Doing the same search for RHEL5 gave me two packages (one for i386 and one > for > x86_64); v3.1.0-5. Not from Red Hat. > I thought all packages available from the prominent American upstream > provider > got a treatment from the CentOS crew? Red Hat doesn't provide BackupPC packages. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Desperately need help with multi-core NIC performance
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of nate Sent: Thursday, February 25, 2010 1:03 AM To: centos@centos.org Subject: Re: [CentOS] Desperately need help with multi-core NIC performance Pete Kay wrote: > Hi > > So is that the limit? I have heard people being able to run like 10K > call channels before max out CPU cap. I would verify the network throughput of your system to make sure the NIC/switch/etc are functioning normally, I use iperf to do this, really simple tool to use just need two systems. On a good network you should be able to sustain roughly 900+Mbit/s with standard frame sizes and iperf on a single gigE link(hopefully with no tuning) Just for reference... On a slightly less-then-optimal network i could get 900Mbps between an HP DL380 and an old IBM-T43, both with 1Gb nics and no tuning at all, through corporate network. Between two DL380 with 10GB nics i got a performance boost (2500Mb -> 6500Mb) after i raised the MTU to 8K hw __ Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommended PCIe SATA/SAS Controller?
On 02/25/2010 12:31 AM, Christopher Chan wrote: >> >> I need to purchase a PCIe SATA or SAS controller(non-raid) for a Supermicro >> 2U system. It should be directly bootable. Any recommendations? The system >> will be running CentOS 5.4 as an LTSP system. Thanks! >> > > Anything that uses a Silicon Image 3124 chip would do. Just want to point out that most Jmicron kit makes for an excellent sata/sas port -> system bus; if all you need are ports to plug into. They have been ahci compatible for a long long time ( which means, just works in CentOS3, 4 or 5 ). - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Backuppc-updates on CentOS
Hi all, I installed BackupPC on one of my Centos 5.4-machines following the wiki at http://wiki.centos.org/HowTos/BackupPC#head-725ed151d366bcf182cea92f765c373900cfc9dc, where BackupPC is installed from the c5-testing repo. r...@mach012 ~/ [0]# rpm -qa backuppc backuppc-3.1.0-1.el5.centos r...@mach012 ~/ [0]# Seeing how there's been some updates to BackupPC in the near past, I thought I'd run a yum update to get the updated package. That didn't work. So I searched pbone.net for a BackupPC package on CentOS5 but didn't find any. Doing the same search for RHEL5 gave me two packages (one for i386 and one for x86_64); v3.1.0-5. Looking more closely I saw that the RHEL5-packages were from epel, a repo one maybe shouldn't choose as a primary repo for ones CentOS-systems if you can help it. At least that's the impression I got from the various posts to this list. I thought all packages available from the prominent American upstream provider got a treatment from the CentOS crew? Am I wrong or am I missing something really basic, or some part of the CentOS philosophy here? Or isn't BackupPC a package worthy of being CentOSified? 8-) Thanks. -- BW, Sorin --- # Sorin Srbu[Sysadmin, Systems Engineer] # Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 >3 signals> GSM # Div of Org Pharm Chem,Mobile: +46 (0)701-718023 # Box 574, Uppsala University, Fax: +46 (0)18-4714482 # SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b # Web: http://www.orgfarm.uu.se --- # () ASCII ribbon campaign - Against html E-mail # /\ # # MotD follows: # "Success is the ability to go from one failure to another, with no loss of enthusiasm." -Sir Winston Churchill smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos