Re: [Ilugc] How to Upgrade Mysql5.0 into 5.1

2010-02-24 Thread Rajagopal Swaminathan
Greetings,

On Thu, Feb 25, 2010 at 11:36 AM, Ramkumar  wrote:

> Dear All,
> How can i upgrade MySQL 5.0 into 5.1 in centOS.
> Guide me to do it.
>

enable Remi Collet's repo
and do a
yum update mysql\*

Please note that upstream (Redhat EL) does not support such installations

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to customize a pc to cluster

2010-02-24 Thread Yogesh
2010/2/24 subhojit ojha 

>
> Thank you sir for giving useful information, I m looking to build a cluster
> with very low cost, something like this  http://helmer.sfe.se/
> is there any alternative I can get in Cent OS same as what Redhat advance
> platform provide.
>

I don't know if this is relevant but

http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/

Yogesh.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] How to Upgrade Mysql5.0 into 5.1

2010-02-24 Thread Ramkumar
Dear All,
How can i upgrade MySQL 5.0 into 5.1 in centOS.
Guide me to do it.


Thanks
Ramkumar

-- 
www.opennetguru.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Remote User Account Creation

2010-02-24 Thread Arun Khan
On Wed, Feb 24, 2010 at 6:27 PM, Ramesh Jothimani
 wrote:
> Sorry I did not understand what is in reply! Is there some commands to
> create user accounts in remote machines?

I would suggest that you get your basic system admin fundas first and
then try the stuff that you are trying to do.

LDAP is complex and requires several config files to be set correctly.
 From your query I am venturing that LDAP Auth is not the solution for
you.

Please read up some on bash scripting.  Assuming that you have "root"
access on all machine you can write a simple script to create the
logins on all systems like the following

#!/bin/bash

for x in user1 user2 user3
do
  for y in host1 host2 host3 host4
  do
ssh r...@$y 'useradd -m $x'
  done
done

I have given you the frame work, you need to expand on the above to
create the passwords etc.

HTH
-- Arun
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] puppy wont boot

2010-02-24 Thread Arun Khan
On Thu, Feb 25, 2010 at 10:29 AM, Kenneth Gonsalves
 wrote:
> On Wednesday 24 Feb 2010 6:21:24 pm Saravanan S wrote:
>> > they are referred to as hd(0,0) and hd(0,5). But in menu.lst there is a
>> > reference to /dev/sda6 - should I change this to /dev/sda5? or to
>> > /dev/hda5? -
>> > I am asking all this because I do not have access to the machine right
>> > now.
>>
>> Once done with the
>>
>> Step A :
>> grub > root hd(0,0)
>>
>> The above should not throw any error.
>
> actually it is 'root (hd0,0), and it displays the partition info
>>
>> Step B:
>> grub > kernel /> If yes proceed and then to initrd and boot steps, else go back to step A
>>  and try hd0,1 or something>
>
> doesnt work whatever I try - even 'find /boot/vmlinuz' says file not found
>

My standard modus operandi for grub problems is to

(a) boot with a rescuecd
(b) mount the root/boot partition on /mnt/
(c) examine and ensure all files are proper in the /boot directory
tree (vmlinuz, initrd, menu.lst, device.map etc.)
(d) verfiy the above files are referenced properly in menu.lst.
(e) re-install grub e.g. grub-install --root-directory=/mnt/  /dev/sda

The above works save and except when I am experimenting with the 'initrd' image.

HTH
-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] tar question

2010-02-24 Thread Arun Khan
Hi Raja,

Please see below.

On Tue, Feb 23, 2010 at 8:23 PM, Raja Subramanian
 wrote:
> On Tue, Feb 23, 2010 at 7:27 PM, Arun Khan  wrote:
>> Did not try mt -f /dev/nst0 fsf 1 though.  Seems like a complicated
>> process if I have to repeat "mt -f /dev/nst0 fsf 1" for 500+ K files
>> that are typically found in animation/sfx archives.
>
> Ah, now I understand the back ground.
>
> A few months ago, I had to help someone extracting zillions of dpx files
> from an LTO3 tape created on an IRIX box.  I used an external HP SCSI
> tape drive on a CentOS box and extracted everything using this command:
>    tar -b 1024 -xMvf /dev/nst0
>
> Took a lot of head-scratching to find that the -M flag did the trick.
>
> However, I can't remember if I got the Block of NULs error which you
> mention.  YMMV.

Going by the hypothesis that the tape indeed had "multi volume" and
that I used the incorrect device /dev/st0 (instead of /dev/nst0),   I
think it is a reasonable assumption that there would be much more than
"one" file in each volume (considering my tape archive was supposed to
have animation frames)?

So in my case there should have been more than one file in the first
volume, retrieved using /dev/st0,

Any thoughts/comments?

Thanks,
-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] puppy wont boot

2010-02-24 Thread Kenneth Gonsalves
On Wednesday 24 Feb 2010 6:21:24 pm Saravanan S wrote:
> > they are referred to as hd(0,0) and hd(0,5). But in menu.lst there is a
> > reference to /dev/sda6 - should I change this to /dev/sda5? or to
> > /dev/hda5? -
> > I am asking all this because I do not have access to the machine right
> > now.
> 
> Once done with the
> 
> Step A :
> grub > root hd(0,0)
> 
> The above should not throw any error.

actually it is 'root (hd0,0), and it displays the partition info
> 
> Step B:
> grub > kernel / If yes proceed and then to initrd and boot steps, else go back to step A
>  and try hd0,1 or something>

doesnt work whatever I try - even 'find /boot/vmlinuz' says file not found

-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Specifying IP address range

2010-02-24 Thread Arun Khan
On Wed, Feb 24, 2010 at 10:14 PM, Ramesh Jothimani
 wrote:
>>I want to create access control list for my network from 192.168.1.5 to
> 192.168.1.40 . Its given >in SQUID site only about creating ACL as a whole .

What do you mean by "as a whole"?

At best your OP was ambiguous and your follow up does not throw any
more light as to what is the purpose of this ACL that you want to
create.

You should describe in detail:

(a) what you want to achieve with the ACL
(b) what you have done so far in your setup (sharing your ACL with the
list is a good starting point)
(c) your test result with setup in (b)

IMO, only then members of this list will be able to help you. If you
cannot do the above three items. then I also conclude (like Mohan)
that you are looking for spoofed solution

This is a mailing list where people volunteer their time to help
others - not spoon feed.  For spoon fed solutions please consider
professional help through consultants.

My two cents.

-- Arun Khan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] grub failure

2010-02-24 Thread Rajagopal Swaminathan
Greetings,

On Thu, Feb 25, 2010 at 9:36 AM, Noordeen Hussain  wrote:
> Hi,
>    I was using dual OS (XP, RHEL 5.0). When I formatted my XP os, now i am
> unable to repair the grub. The partition of the redhat operating system
> exists, but unable to login. Please do guide me what to do.

1. Boot from a live cd / install cd in rescue mode
2. note the partition name
3. grub-install /dev/

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] grub failure

2010-02-24 Thread Noordeen Hussain
Hi,
I was using dual OS (XP, RHEL 5.0). When I formatted my XP os, now i am
unable to repair the grub. The partition of the redhat operating system
exists, but unable to login. Please do guide me what to do.

 Regards,
 Noordeen. H
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Simple GUI toolkit for python

2010-02-24 Thread Kenneth Gonsalves
On Thursday 25 Feb 2010 12:37:15 am Saravanan S wrote:
>  I need to create a GUI for my python command-line based
> application.
> What i need is a simple window that has the menu items for parameter
> switches, a text area and a console (i.e. to display STDOUT, STDOUT
> messages) area.
> I came across Qt, wxWidgets, etc., but is there any basic GUI toolkit/
> related project ?
> 

tkinter
-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Using Open Source can become akin to piracy if a lobby has its way

2010-02-24 Thread Mohan Sundaram
Ridiculous.

http://www.guardian.co.uk/technology/blog/2010/feb/23/opensource-intellectual-property

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Simple GUI toolkit for python

2010-02-24 Thread Shrinivasan T
Quikly in ubuntu 9.10 makes a read RAD for GUI apps in linux.

It does with glade and python.

read more here.
https://wiki.ubuntu.com/Quickly

-- 
Regards,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Simple GUI toolkit for python

2010-02-24 Thread Guru Prasath
Hi Saravanan,

Both Qt & WxWindows are mature. Did you consider ncurses? It is
terminal based GUI creator.

Regards
Guru Prasath

On Thu, Feb 25, 2010 at 12:37 AM, Saravanan S  wrote:
> Hi all,
>         I need to create a GUI for my python command-line based
> application.
> What i need is a simple window that has the menu items for parameter
> switches, a text area and a console (i.e. to display STDOUT, STDOUT
> messages) area.
> I came across Qt, wxWidgets, etc., but is there any basic GUI toolkit/
> related project ?
>
>
> Saravanan Sundaramoorthy
> Red Hat Certified Engineer
> +91 99404 32545
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Simple GUI toolkit for python

2010-02-24 Thread Saravanan S
Hi all,
 I need to create a GUI for my python command-line based
application.
What i need is a simple window that has the menu items for parameter
switches, a text area and a console (i.e. to display STDOUT, STDOUT
messages) area.
I came across Qt, wxWidgets, etc., but is there any basic GUI toolkit/
related project ?


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Specifying IP address range

2010-02-24 Thread Ramesh Jothimani
>I want to create access control list for my network from 192.168.1.5 to
192.168.1.40 . Its given >in SQUID site only about creating ACL as a whole .
Please help...!
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] OAOD (aMule)

2010-02-24 Thread Dhastha Gheer
Applicaiton: aMule

What it is:

aMule is a free peer-to-peer file sharing application that works with
the EDonkey network and the Kad Network, offering similar features to
eMule and adding others such as GeoIP (country flags).

Features:

#  eD2k and Kademlia support.
# aMule is currently available in 28 languages.
# Support for Source Exchange in order to find sources for files more
efficiently.
# Large queues and the Credit system helps to ensure that everyone
will get the file they want and rewards those who actively upload to
other users.
# Support for the compressed transfers and server communication (using
zlib), which means faster transfers for compressible files and less
strain on servers.
# Support for Secure Identification, which insures that your user hash
can't be stolen in order to inpersonate your client.
# Support for IP-Filters so that you can keep known bad IPs from
connecting to you.
# Boolean search (AND, OR, NOT).
# You can have the traditional progress bar for transfers, percents
completed or both.
# aMule supports systrays for both Gnome, KDE and other compatible
window managers. Of course, on Windows too.
# Supports Online Signatures, so you can brag about using aMule.
# Checks against aggressive clients.

To know more about:

http://wiki.amule.org/index.php/AMule

To install:

sudo apt-get install amule


-- 
 நன்றி ,

 தஸ்தகீர்.அ

 Kanchi Linux User Group Rocks !

 http://kanchilug.wordpress.com

 My Works on Linux

 http://dowithlinux.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Specifying IP address range

2010-02-24 Thread Mohan Sundaram
On Wed, Feb 24, 2010 at 6:29 PM, Ramesh Jothimani
 wrote:
> I have a network which has ip address 192.168.1.05 - 192.168.1.45 . I need
> to create an access control list in SQUID configuration as a single list .
> How can I create the ACL ? Please help ...!

This is explained well on the Squid site. Folks on this list will help
if the poster has done some work but will refuse to spoonfeed. Please
be conscious of this.

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Specifying IP address range

2010-02-24 Thread vaibhav khatavkar
find it on :
http://www.deckle.co.za/squid-users-guide/Squid_Configuration_Basics#Access_Control_Lists_and_Access_Control_Operators
On Wed, Feb 24, 2010 at 6:29 PM, Ramesh Jothimani wrote:

> I have a network which has ip address 192.168.1.05 - 192.168.1.45 . I need
> to create an access control list in SQUID configuration as a single list .
> How can I create the ACL ? Please help ...!
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



-- 
with regards,
vaibhav
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Specifying IP address range

2010-02-24 Thread Ramesh Jothimani
I have a network which has ip address 192.168.1.05 - 192.168.1.45 . I need
to create an access control list in SQUID configuration as a single list .
How can I create the ACL ? Please help ...!
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Remote User Account Creation

2010-02-24 Thread Ramesh Jothimani
Sorry I did not understand what is in reply! Is there some commands to
create user accounts in remote machines?
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] puppy wont boot

2010-02-24 Thread Saravanan S
Hi KG,

On Wed, Feb 24, 2010 at 4:43 PM, Kenneth Gonsalves wrote:

>
> I think it is something to do with numbers (that is what puppy says). I
> have
> two partitions - mandriva had called them /dev/sda1 and /dev/sda6 and in
> grub
> they are referred to as hd(0,0) and hd(0,5). But in menu.lst there is a
> reference to /dev/sda6 - should I change this to /dev/sda5? or to
> /dev/hda5? -
> I am asking all this because I do not have access to the machine right now.
>

Once done with the

Step A :
grub > root hd(0,0)

The above should not throw any error.

Step B:
grub > kernel /

In menu.lst root=/dev/sdaX;
If you are confused about the same, Try to label the partitions with e2label
and reference that with LABEL parameter.

e2label /dev/sdaX /labelX

now you can modify menu.lst entry as root=LABEL=/labelX

HTH :)

Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] puppy wont boot

2010-02-24 Thread Kenneth Gonsalves
On Wednesday 24 Feb 2010 12:34:11 pm Rajagopal Swaminathan wrote:
> > But it is not booting. I just get a prompt with 'GRUB>', and I do not
> > know what to do next.
> 
> 1. boot from livecd
> 2. note the contents of /boot/grub/menu.lst
> 3. type out those contents line by line like 'root hd(0,0)', 'vmlinuz
>  etc.
> 
> Is it able to boot after typing out all the commands?
> 
> Do a grub-install /dev/
> 
> Tab expansions are possible in grub command prompt.
> 

I think it is something to do with numbers (that is what puppy says). I have 
two partitions - mandriva had called them /dev/sda1 and /dev/sda6 and in grub 
they are referred to as hd(0,0) and hd(0,5). But in menu.lst there is a 
reference to /dev/sda6 - should I change this to /dev/sda5? or to /dev/hda5? - 
I am asking all this because I do not have access to the machine right now.
-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to customize a pc to cluster

2010-02-24 Thread Rajagopal Swaminathan
Greetings,

On Wed, Feb 24, 2010 at 3:25 PM, subhojit ojha  wrote:
>>
>
> Thank you sir for giving useful information, I m looking to build a cluster
> with very low cost, something like this  http://helmer.sfe.se/
> is there any alternative I can get in Cent OS same as what Redhat advance
> platform provide.

What is shown there is a small render farm -- HPC having shared
storage. Have not done much in this area.

The focus of this cluster is to break up a big dataset and give it to
individual nodes to crunch and then collect and collate the results
(usually done by what is called as head/management node)


Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to customize a pc to cluster

2010-02-24 Thread subhojit ojha
>
> >First off please go through the doc of Redhat  cluster suite. Remember
> >it is sold as RHEL Advanced Platform with considerably higher list
> >price that "Standard" and you will need to buy two subscriptions as a
> >HA cluster by definition consists of more than one node and a lot of
> >redudndancy in just about every element in the stack -- be it active
> >active or active passive.
>
> >Ok. having built and administered few HA RHCS, let me attempt to
> >explain with my very little knowledge.
>
> >Clusters are used for different purposes. High Availability (HA), High
> >performance computing (There is one in IITM - Check it out if you are
> >allowed)
>
> >From your requirement it seems that you need HA cluster.
>
> >To ensure that the service does not go down if one of the member node
> >dies. This can be active passive or active/active (lot of
> >pre-conditions, ifs-buts in this case).
>
> >Please think as service as an NFS server/apache server/database
> >server/terminal server (s/server/service/g)
>
> >Think of cluster as a phantom device (somewhat like Virtual IP)
> >wherein the  actual work is delegated the to one of its members.
>
> >Who delegates and how it is another subject in itself aka load
> >balancing (Checkout Linux virtual server or LB devices)
>
> >Once a service is under control of cluster, none of the individual
> >nodes can start it using /etc/init.d/ start. In fact it
> >should never be.
>
> >Hope this intro is sufficient to whet your appetite.
>
> >If you have understood the above please revisit the earlier links by
> >one of the very erudite members of this list. then come back with
> >further questions.
>
> >I would suggest you use centos to experiment. No debian at this stage
> >please. It will only confuse you. You will find a lot more people who
> >have implemented multi-node Redhat clusters so the probability of
> >getting answers is  higher
>
> >And please note that *any* clustering is complex if you dont
> >understand the underlying concepts. Administering and troubleshooting
> >the cluster is non-trivial and requires a lot of time and effort
> >investment. It is not simple as dong a partition/install packages. It
> >requires more.
>

Thank you sir for giving useful information, I m looking to build a cluster
with very low cost, something like this  http://helmer.sfe.se/
is there any alternative I can get in Cent OS same as what Redhat advance
platform provide.

Thank you
regards
subhojit ojha
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Inside Open Source's Historic Victory

2010-02-24 Thread subhojit ojha
>On Tue, Feb 23, 2010 at 6:55 PM, Bharathi Subramanian <
sbhara...@midascomm.com> >wrote:

> >"Jacobsen vs Katzer is closed, after 5 years. Open Source won, and
> >big. A manufacturer who attempted to collect royalties from an Open
> >Source developer has lost 2 patents. As terms of his settlement with
> >the developer, the manufacturer is paying $100,000 to the Open
> >Source developer, has agreed to place himself under a permanent
> >injunction, and has signed a release of any liability to all members
> >of the Open Source project. The case was not sealed like so many
> >settled cases, so its documents are available to the public now."
>
> Link:
>
> http://itmanagement.earthweb.com/features/article.php/3866316/Bruce-Perens-Inside-Open-Sources-Historic-Victory.htm



Its really nice to read this articleThanks for sending, forward it to
all FOSS lovers.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc