[CentOS] IP aliases of CentOS Guests not accessible running 2.6.18-164.el5xen

2009-09-28 Thread Devraj Mukherjee
Hi all,

First of all I am posting this on two lists for a reason, because the
issue being reported by me could be because of a change delivered by a
Kernel update or due to Xen.

I have recently managed to update all Xen Guest domains running CentOS
5.3 to the latest bunch of updates + Kernel. My Xen host also runs the
same CentOS 5.3 updated to all recent packages.

The Guest images in concern had IP aliases assigned to them.
Everything worked until I ran the updates and restarted.

Since I have restarted the aliased IP addresses are no longer
accessible from the outside world, they can still be accessed from all
machines (guest virtual machines) in the subnet (ping, services like
http).

I have removed all firewall rules to test if that would have effected
it without any change (any the fact that I can access them within the
subnet proves its not the firewall).

Is there anything special I have to do to enable aliasing? May be this
is a Xen issue? I am suspecting the Xen host, but not sure how to go
about proving this.

Any information would be greatly appreciated.

My Guests do run fail2ban (delivered via atrpms) and iptables
(allowing only HTTP, HTTPS and SSH) connections.

PS for obvious reasons I am not posting IP addresses and routes etc
first up, I can make that information available if required.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Thanks a lot for that, I will give it a go. I am trying to get another
machine with CentOS 5.3 so I can use that to perform the rescue
operations.

Did you see my post on the virtualisation list?

If so do you have any thoughts on that post?

On Sun, Sep 27, 2009 at 1:16 PM,   wrote:
> Ok, this is what I did in the exact same situation (solution below
> gotten from the xen list).
>
> I use it religiously.
>
> Lucky I'm on both forums.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Hi aurf,

On Sun, Sep 27, 2009 at 1:09 PM,   wrote:
> Is your local host using LVMs and if so, is your volume group
> something like VolGroup00?
>

Yes it uses LVM and has VolGroup00

> Is your image file also of a VolGroup00?
>
> - aurf

Yes this is true as well.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Hi all,

I am trying to mount images that I previously created with dd and the
images have two partitions (swap and LVM). I use these images to house
data for my Xen Guests.

For some reason (possibly Kernel conflicts for paravirtualized
domains) I am unable to boot my Guest images. Failing which I would
like to mount the disk images and atleast get my data out of them.

dd -o loop server.img /media/diskimage

asks me to provide a file system. How can I mount these images?

I have been Googling around for this and have failed to find and
answer, can someone please point me in the right direction.

Appreciate your time.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php-mcrypt from c5-testing is the wrong version

2009-04-28 Thread Devraj Mukherjee
Would you be willing to make the RPM available?

Thanks.

On Tue, Apr 28, 2009 at 2:56 PM, Joe Pruett  wrote:
>> I am using the c5-testing repo to fetch PHP 5.2.6 and related
>> libraries, required for the LAMP apps that I want to use. php-mcrypt
>> still seems to come from the extras repo and is version 5.1.6 and the
>> php binary doesn't load this module.
>>
>> Any ideas on howto get php-mcrypt 5.2.6?
>
> as i was waiting for the c5-testing repo to catch up with redhat, i went
> ahead and built my own.  i had to take the php-extras rpm and merge the
> php changes between 5.1.6 and 5.2.6 into it.  and to get mock to be happy
> i had to add the normal extras repo into the mock config so that the
> mcrypt libraries were there.
>
> i hesitate to make my repo public, but i know it is possible to make a new
> php-mcrypt based on the upstream code.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] php-mcrypt from c5-testing is the wrong version

2009-04-27 Thread Devraj Mukherjee
Hello all,

I am using the c5-testing repo to fetch PHP 5.2.6 and related
libraries, required for the LAMP apps that I want to use. php-mcrypt
still seems to come from the extras repo and is version 5.1.6 and the
php binary doesn't load this module.

Any ideas on howto get php-mcrypt 5.2.6?

Thanks.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Two sets of Heartbeat HTTPD clusters on same subnet

2009-03-30 Thread Devraj Mukherjee
Hi all,

I am new to Hearbeat so please be kind :) I also posted this on
Linux-HA lists with no responses so I posted it here.

I have successfully configure two machines to use heartbeat to cluster
httpd. The two nodes are called etk-1 and etk-2. I am trying to
configure another two machines to act as a separate cluster (on the
same IP subnet). These two nodes are called radu-1 and radu-2.

Obviously being a broadcast protocol radu-1 and radu-2 get these
messages from etk-1 and I can't seem to get radu-1 and radu-2 to
cluster (mostly probably because they are not getting the messages
from the right nodes).

Should I just change the name of the test, if I do that I get heaps of
WARNING log messages.

Is it possible to have two sets of clusters in the one IP subnet?

If yes what do I have to change so these clusters don't send messages
to the wrong nodes.

heartbeat[3745]: 2009/03/30_04:48:02 ERROR: process_status_message:
bad node [etk-1] in message
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG: Dumping message with 10 fields
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[0] : [t=NS_ackmsg]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[1] : [dest= etk-2]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[2] : [ackseq=1a9601]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[3] :
[(1)destuuid=0xdf38de8(37 28)]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[4] : [src= etk-1]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[5] :
[(1)srcuuid=0xdf39248(36 27)]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[6] : [hg=499a2a65]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[7] : [ts=49cfb452]
heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[8] : [ttl=3]


-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Fail2Ban

2009-02-28 Thread Devraj Mukherjee
Hi all,

I am trying to get fail2ban going on my server and its log message
reports the following error

2009-02-16 17:42:05,339 ERROR: 'iptables -L INPUT | grep -q
fail2ban-SSH' returned 256
2009-02-16 17:42:05,354 ERROR: 'iptables -D INPUT -p tcp --dport ssh
-j fail2ban-SSH

Is this because of the way the RedHat tool sets up the firewall?

Thanks for any responses.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Linux HA or Heartbeat IP address question

2009-02-02 Thread Devraj Mukherjee
Hi all,

I am following the guide on HowToForge to get Heartbeat going for two
Apache web servers
(http://www.howtoforge.com/high_availability_heartbeat_centos), a
quick question for anyone who might have a similar setup.

Do I have to assign the service IP to either of the NICs or does
Heartbeat do that automagically?

Thanks

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 Dom0 doesn't start all DomU images

2008-12-15 Thread Devraj Mukherjee
Hello all,

I have a CentOS Dom0 booting CentOS DomU, I am able to start multiple
DomUs from the command line using xm create, but if I copy the
configuration files to /etc/xen/auto only one of the DomUs seem to
start up automatically.

Has anyone experienced anything similar before?

Any pointers / hints?

Thanks.

-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 Xen Dom0 Kernel doesn't see CDROM

2008-12-07 Thread Devraj Mukherjee
Hi all,

I have successfully got Xen virtualisation configured with CentOS 4
(64bit). However now that I am using the Xen Kernel  my Dom0 doesn't
seem to see the DVDROM device. Is this intentional in the kernel?

Is there anything (apart from compiling my own kernel) that will
enable the Dom0 to see the DVD-ROM device?

Thanks

-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Segafault Apache 2.0.59 Release 1.el4s1.10.el4.centos anyone?

2008-02-19 Thread Devraj Mukherjee
Hi everyone,

I have this package installed, and Apache has been sefaulting randomly
on my server. I have tried to locate the fault and believe the problem
may be in mod_php. However there are various posts that say that HTTPD
could have an issues as well.

Is anyone else having similar issues? Any feedback is welcome thanks.
If httpd crashes again I should have a segfault dump and I will make
that available.

Name   : httpd
Arch   : x86_64
Version: 2.0.59
Release: 1.el4s1.10.el4.centos
Size   : 2.7 M
Repo   : installed
Summary: Apache HTTP Server


-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Apache2 crashes, MySQL uses upto 90% CPU

2008-02-14 Thread Devraj Mukherjee
Hi everyone,

I am running CentOS 4.6 and use the centosplus repo. Apache version
2.0.59 and MySQL 5.0.54 and for the past few days Apache 2 has been
crashing randomly. The CPU usage has been maxing out (The machine has
2 x Xeon processors, with 4Gb RAM) and there are many httpd processes
that appear to be defunct.

I read around and found that logrotate may be crashing Apache if it
doesn't quit in time. I have performance tuned MySQL to cache queries,
modified php.ini not to use too many persistent connections,
restricted the number of connections that Apache will answer to.

Top says:
8136 mysql 16   0  202  51:55.73  5.7  680m 225m 5352 S mysqld

Is there anyone else experiencing similar things? Any suggestions?

Thanks for your time.



-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Yum breaks after updating to CentOS 4.6

2007-12-30 Thread Devraj Mukherjee
Hi everyone,

Yum on one my CentOS systems has decided to stop functioning after an
upgrade to CentOS 4.6. It's complaining about errors with
Python-SQLite packages?

Any ideas anyone? Here is what happens.

[EMAIL PROTECTED] var]# yum search zaptel
Setting up repositories
Reading repository metadata in from local files
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 102, in main
result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 545, in doCommands
return self.search()
  File "/usr/share/yum-cli/cli.py", line 1129, in search
for (po, matched_value) in matching:
  File "__init__.py", line 1157, in searchGenerator
  File "sqlitesack.py", line 52, in returnSimple
  File "sqlitesack.py", line 273, in getPackageDetails
  File "sqlitesack.py", line 403, in db2class
  File 
"/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py",
line 97, in __getattr__
AttributeError: LOCATION_BASE


-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Pam module for freeradius

2007-08-02 Thread Devraj Mukherjee
Hi everyone,

Does the default installation of pam support authenticating against
radius. Or do I need the module available from the freeradius site.

If yes, then is the freeradius pam module available via rpm?

Thanks



-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PHP 4.3.10 on CentOS 4 or CentOS 5

2007-06-21 Thread Devraj Mukherjee

Hi Everyone,

I am in a fix with an installation for a client where I need PHP
version 4.3.10 or above (4.3.x, but not PHP 5). The application we are
trying to run will not run on PHP 5.

CentOS 4.5 provides PHP 4.3.9, is there a quick an easy way to have
PHP 4.3.10 available on either CentOS 4.5 or CentOS 5

Any pointers will be greatly appreciated.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos