[CentOS] Strange httpd problem

2012-07-11 Thread Eric Viseur
Hi,

I'm currently setting up an IP accouting machine using CentOS 6 and pmacct,
compiled from source.  The machine has two network interfaces :
 - a "normal" one, used for SSH remote administration and viewing the
accouting data through a webserver (eth0)
  - a "monitor" one, plugged into a mirroring port of our switch and with
no IP address defined (eth1)

The accouting part works fine, but I'm getting problems with the webserver.
 To ensure there are no interference with the monitor interface, I set
iptables to drop all the outbound traffic on eth1 and httpd in bound to the
IP address of eth0, but I randomly become unable to contact the webserver;
my browser tells me it couldn't contact it.  The SSH access works fine and
the CPU and memory usage are OK (5% CPU and 10% memory, our network is
currently on low traffic).

Any clues why this is happening ?

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


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Eric Viseur
Granted CentOS 4 continued getting updates while CentOS 5 was out, I guess
we can hope this will continue with CentOS 5 getting updates while CentOS 6
is now out.

2011/7/21 Always Learning 

>
> On Thu, 2011-07-21 at 11:11 +0200, Rainer Traut wrote:
>
> > it seems redhat has just pushed RHEL 5.7 out.
> > I see amoung others:
> >
> > kernel-2.6.18-274.el5.x86_64.rpm
> > redhat-release-5Server-5.7.0.3.x86_64.rpm
>
> Thanks Rainer.
>
> The dilemma is whether to upgrade from 5.6 to 6.1 or stay with 5.x as
> more 5.x versions (5.8, 5.9, 5.10 etc. might be possible). For me the
> only negative aspect of 5.x is old kernel 2.6.18 whereas 6.x is 2.6.32?
>
> Is there any easy method of discovering Red Hat's 5.x intentions
> post-5.7 ?
>
> Will the Centos volunteers, who do a marvellous job, be willing to
> convert any future 5.x versions in addition to the 6.x versions,
> effectively giving them a double workload in addition to their normal
> full-time paying-jobs ?
>
>
> --
> With best regards,
>
> Paul.
> England,
> EU.
>
>
> ___
> 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] [OT] would any of you recommend a ticketing system?

2011-07-19 Thread Eric Viseur
FWIW, I've been using Indefero for quite a while, might suit some of your
needs.  It's basically a Google Code clone.

2011/7/19 

> Keith Roberts wrote:
> > On Tue, 19 Jul 2011, Kevin Thorpe wrote:
> >> From: Kevin Thorpe 
> >>
> >> Hi all, sorry for being OT but would any of you recommend a ticketing
> >> system?
> >> We'd like something pretty comprehensive to cover helpdesk and HR stuff
> >> as well as software bugs/requests. There seems to be a million
> variations
> >> out there.
> >
> > This is not free, but it is very comprehensive, and will
> > also probably do a lot more than what you need. I have
> > played with the trial demo version last year, and it's got
> > alot of interesting features, including billing. It is a
> > complete solution for web hosting providers, amongst other
> > things.
>
> Missed the beginning of the thread, so I don't know what Keith's talking
> about. The two that I'd recommend that are F/OSS are bugzilla and Mantis.
> Worked with both, both work well.
>
> mark
>
> ___
> 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] Repositories for CentOS 6

2011-07-12 Thread Eric Viseur
Well, just like you could use any RHEL5 repo with CentOS 5, any RHEL6 should
be compatible with CentOS 6.  If you're looking for names, this can be
useful : http://wiki.centos.org/AdditionalResources/Repositories

2011/7/12 Edson - PMSS 

> Which extra repositories can be used with CentOS 6?
>
> --
> Edson D. Amaral
> Pref. Mun. de São Sebastião - SP
>
>
> ___
> 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] Switch from SL -> Centos

2011-07-12 Thread Eric Viseur
CentOS has the complete RHEL binary compatibility, which SL doesn't always
have.  Can be a decisive thing, sometimes.

2011/7/12 夜神 岩男 

> On Mon, 2011-07-11 at 14:17 +0100, James Hogarth wrote:
> > >
> > > Downloaded centos-release-6-0.el6.centos.5.x86_64.rpm and
> > > redhat-logos-60.0.14-10.el6.noarch.rpm from CentOS repo
> > >
> > > rpm -e --nodeps sl-release redhat-logos
> > > rpm -hiv redhat-logos-60.0.14-10.el6.noarch.rpm
> > > centos-release-6-0.el6.centos.5.x86_64.rpm
> > >
> > > yum update
> > >
> > > reboot, and voilà
> > >
> >
> > The above would only update a package if the centos repos had a higher
> > version number than the installed SL one I would strongly suggest
> > something akin to yum reinstall \* and leave it to chug away (backups
> > first naturally) for a while to refresh all the packages and teh rpm
> > database to be in sync with the centos build. requires matching,
> > same build options for sure etc etc
> >
> > In the event something crops up it at least eliminates an odd untested
> > mix for certain fundamental packages like glibc etc
>
> An idle question:
>
> What is the advantage of switching to CentOS 6 if you already are
> running SL6? Or at least... what is the purpose? I'm not really clear on
> the difference (other than CentOS is the noisier bit of the party).
>
> -Iwao
>
> ___
> 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] Am I being to paranoid?

2011-05-08 Thread Eric Viseur
My 2 cents : OSSEC is quite good at actively blocking attackers in
situations like this.

2011/5/8 Jason Pyeron 

>
> > -Original Message-
> > From: centos-boun...@centos.org
> > [mailto:centos-boun...@centos.org] On Behalf Of Jason
> > Sent: Sunday, May 08, 2011 15:02
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Am I being to paranoid?
> >
> > Hi Russ,
> >
> > > > 3. Is there a better way to right these rules?
> > >
> > > I wrote about my approch some time ago ...
> > >
> > >
> > http://orcorc.blogspot.com/2010/06/reading-logs-part-3-run-your-update
> > > s.html
> > >
> > > Send them safely off your box, and back home
> >
> > I read your article and It seems we are doing the same thing?
> > Is there a benefit I dont understand to use your approach
> > versus the one I am using already?
> >
>
> The point you missed was that he packaged the conf gile as a RPM and then
> added
> it to his local yum repo, so all his machines would get it durring the
> update
> cycle.
>
> > Is it true that you can to (.*) to handle easier matching?
> >
> > Say phpmyadmin, phpadmin, php-myadmin
> >
> > Could I do something like: RewriteCond %{REQUEST_URI}
> > ^/php(.*) [NC,OR] and that would handle all of them?
> >
> > -Jason
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -   -
> - Jason Pyeron  PD Inc. http://www.pdinc.us -
> - Principal Consultant  10 West 24th Street #100-
> - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
> -   -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
> ___
> 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] I have RHel6. How does that turn into Centos 6?

2011-04-29 Thread Eric Viseur
On top of that, it just seems logical granted the RHEL binary compatibility
thing.  It's used by many apps to detect the distro you're using, so...

2011/4/29 John Hinton 

> On 4/29/2011 1:46 PM, Digimer wrote:
> > On 04/29/2011 01:26 PM, Todd Rinaldo wrote:
> >> I've always been surprised that CentOS ships /etc/redhat-release given
> >> the above paragraph.
> > Probably a programmatic requirement, if I was the betting type.
> >
> I could easily be confused as it has been so long now... I think
> Whitebox actually changed that to whitebox-release and maybe CentOS did
> the save very early on. But, many applications look for that file and if
> they see redhat-release, know their stuff can run on your system and you
> are off to the races. I suppose the final answer was it wasn't an
> infringement and solved a lot of other problems. Seems I had to edit
> this file or name to get something to run on a server like 4 or 5 years
> ago?
>
> Am I required to remember everything I did from that long back? LOL
> There might be some stuff in the archives though... back in the early
> ver. 3 days.
>
> --
> John Hinton
> 877-777-1407 ext 502
> http://www.ew3d.com
> Comprehensive Online Solutions
>
> ___
> 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] Printer Configuration Centos 5

2011-01-19 Thread Eric Viseur
Well, we'll need a little more details in order to help you.
Are you trying to install a Windows-shared printer on a Linux box, or a
Linux-shared printer on a Windows box ?  If the printer is shared using
Linux, are you using CUPS ?

2011/1/19 Im Corp - Xcelris 

>  As i am having Windows/Linux(Centos) enviorment at my premisise.
> I am facing problem to install windows sharing printer on centos. kindly
> please give me some solution for the same.
>
> Error : "Printer is not accessible"
>
> Regards,
>
> Alpesh Patel
>
>
>
> "Please don't print this e-mail unless you really need to. Save Paper, Save
> Trees"
>
> 
>
> Disclaimer
> The information contained in this e-mail message and / or attachments to it
> may contain confidential or privileged information of Xcelris Labs Limited
> and / or its group companies. If you are not the intended recipient, any
> dissemination, use, review, distribution, printing or copying of the
> information contained in this e-mail message and / or attachments to it is
> strictly prohibited. If you have received this communication in error,
> please notify us by reply e-mail or telephone and immediately delete /
> destroy the message and / or any attachments permanently.
>
> Any views or opinions presented in this e-mail are solely those of the
> author and do not necessarily represent those of the company. Employees of
> the company are expressly required not to make defamatory statements and not
> to infringe or authorize any infringement of copyright or any other legal
> right by e-mail communication. Any such communication is contrary to company
> policy and outside the scope of the employment of the individual concerned.
> The company will not accept any liability in respect of such communication.
>
> No employee or associate is authorized to conclude any binding agreement on
> behalf of Xcelris with another party by e-mail without expressly written
> confirmation of the company.
>
> Warning-Computer viruses can be transmitted via e-mail. The recipient
> should check this e-mail and any attachment for the presence of viruses. The
> company has taken every reasonable precaution to minimize this risk, and is
> not liable for any damage you may sustain as a result of any virus in this
> e-mail. You should carry out your own virus checks before acting upon the
> e-mail or any attachment to it.
>
> 
>
>
> ___
> 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] Colour laser printer

2010-10-05 Thread Eric Viseur
Dunno what your needs are but I just baught a Samsung CLP-310 which works
like a charm with a headless Debian Squeeze box and shared with CUPS, so it
should work well with CentOS.  You'll have to use the Samsung driver instead
of splix, doesn't goes well with that model.

2010/10/5 Stephen Harris 

> On Tue, Oct 05, 2010 at 09:03:55AM -0400, fred smith wrote:
> > I have no experience with color printers from Brother, but I'm extremely
> > happy with my monochrome Brother laser printer. When I received it,
> > I connected it via USB (to my then Centos 4 box) and up comes a dialog
> > offering to configure the printer. ran thru it and voila.
>
> I have a Brother MFC-9120cn.  It's probably overkill for the OPs
> requirements but it works very well with Linux.  Brother even provide
> RPMs that allow you to use the scanner functions remotely, send faxes
> and so on.
>
> Just because Brother go to that level of effort means I'd strongly
> recommend them!
>
> --
>
> rgds
> Stephen
> ___
> 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] Configuring BIND to answer to two domain names (four IP addresses)

2010-09-24 Thread Eric Viseur
Maybe a Round-Robin configuration ?

2010/9/24 Dotan Cohen 

> > Have a read for the listen on directive for BIND which tells BIND what
> > interfaces/IP Addresses to bind to.
>
> Thanks, I am aware that Apache can be told to listen only to specific
> addresses. Can BIND be told to listen on all addresses? Your post
> implies that this is the default (which makes sense, as so does
> Apache), maybe I am chasing a non-issue?
>
> In other words, I should configure BIND to answer to exampleA.com and
> to exampleB.com with no regard to IP addresses. then in the control
> panel for each domain name configure the nameservers to my liking
> (with addresses that the server answers to, naturally)? That's it?
>
>
> >  Alternatively, you could just configure BIND identically on both
> machines and ensure that
> > they are setup in a master/slave configuration so that each name server
> could answer
> > requests for both domains and publish both name server records in each
> domain.
> >
>
> There is only one machine. All four addresses point to it.
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.com
> ___
> 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] GRUB woes: GRUB Hard Disk Error

2010-09-19 Thread Eric Viseur
Also please note that if that card has SATA 2.0 capacity, native mode is
probably named "AHCI" on the bios.

2010/9/19 Rob Del Vecchio 

> > Well I'd wipe the drive clean using Gparted with a cross
> > format. Do a minimal kickstart installation to install GRUB
> > on the MBR.
>
> I've read a bit on kickstart installations, and now I get to delve deeper
>  :)
> Thanks for the advice!
>
> > Can't you put the SATA drive on native instead of IDE in your bios ?
> > It decreases performance and could be problematic.
>
> Quite right, all of the information that I found on the grub error paired
> SATA and RAID.
> I chose this because I wanted to remove the variable of a RAID
> installation.  In retrospect, that was an unfounded idea.
>
> Thanks,
> Rob
>
> ___
> 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] GRUB woes: GRUB Hard Disk Error

2010-09-19 Thread Eric Viseur
Can't you put the SATA drive on native instead of IDE in your bios ?
It decreases performance and could be problematic.

2010/9/19 Keith Roberts 

> On Sun, 19 Sep 2010, Rob Del Vecchio wrote:
>
> > To: centos@centos.org
> > From: Rob Del Vecchio 
> > Subject: Re: [CentOS] GRUB woes: GRUB Hard Disk Error
> >
> > Update: on a hunch, I tried installing Ubuntu Server.  Interestingly, the
> > GRUB installation failed during setup, however the LILO installation
> > completed successfully, the Ubuntu installation boots correctly.
> >
> > For me, the whole reason to start using CentOS was to move away from
> Ubuntu.
> > I could do 3 things:
> > Try to install grub under Ubuntu and then use this
> > http://wiki.centos.org/TipsAndTricks/InstallFromGRUB as a guide, or
> >
> > Something like this:  The above except using LILO, or
> >
> > Try to install the LILO boot loader after a CentOS installation; in
> rescue
> > mode.
> >
> >
> > Better ideas or suggestions?
> >
> > TIA
> >
> > Rob
>
> Well I'd wipe the drive clean using Gparted with a cross
> format. Do a minimal kickstart installation to install GRUB
> on the MBR.
>
> Prior to that make sure the BIOS settings are OK for the
> SATA drive.
>
> That shouldn't take to long.
>
> HTH
>
> Keith
> ___
> 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