[Ilugc] Re: Talks

2009-04-07 Thread Antano Solar John
Aanjhan R  writes:

> On Mon, Apr 6, 2009 at 6:15 AM, Bharathi Subramanian
>  wrote:
>> April Month ILUGC Meet scheduled on Sat Apr 11th 3PM at IITM. Anybody
>> willing to give a talk in this meet, Plz mail back to me, with the
>> topic.
>

Are the slots still open?

-- 
Antano Solar John

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Abhishek Amberkar [अभिषेक]
On Wed, Apr 8, 2009 at 11:34 AM, Zico  wrote:
> On Wed, Apr 8, 2009 at 10:52 AM, Arun Khan  wrote:
>
>>
>> What about your browser, is it configured to go through a proxy even for
>> localhost?
>>
>
> Ok, i have changed the exception. Now, the new error:
>
>
> *Koha error
>
> The following fatal error has occurred:
>
> Access denied for user 'kohaadmin'@'' to database 'koha' at
> /usr/share/koha/lib/C4/Context.pm line 646.
> Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line
> 25.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm
> line 25.
> Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line
> 24.
> Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line
> 27.
> Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31.
> Compilation failed in require at
> /usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.
> BEGIN failed--compilation aborted at
> /usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.
> *

Please check the documentation link I have provided in my previous posting.
Also check if you are able to login to mysql from console.

$ mysql -u kohaadmin -D koha -p

-- 
With Regards
Abhishek Amberkar

Learn to appreciate a beauty within...
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Zico
On Wed, Apr 8, 2009 at 10:52 AM, Arun Khan  wrote:

>
> What about your browser, is it configured to go through a proxy even for
> localhost?
>

Ok, i have changed the exception. Now, the new error:


*Koha error

The following fatal error has occurred:

Access denied for user 'kohaadmin'@'' to database 'koha' at
/usr/share/koha/lib/C4/Context.pm line 646.
Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line
25.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm
line 25.
Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line
24.
Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line
27.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31.
Compilation failed in require at
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.
BEGIN failed--compilation aborted at
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.
*


-- 
Best,
Zico
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] [OT][JOB] looking for rookie programmers

2009-04-07 Thread Mano
Hi,

Am looking to hire a programmer for my startup. The work involved will be
extensively in ruby and javascript. Following are the requirements:

1. Proficiency in any programming language,
2. Comfortable with GNU/Linux,
3. 'Can do' attitude
4. Knowledge of SQL (preferred, not a show stopper)
5. 0 to 1 year experience
6. Willingness (and ability!) to adapt to different technologies and roles

Interested people, please mail m...@mindplough.com

thanks,
mano

-- 
A facility for quotation covers the absence of original thought.
 - Dorothy L. Sayers
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Arun Khan
On Wednesday 08 Apr 2009, Zico wrote:
> On Tue, Apr 7, 2009 at 12:01 PM, Arun Khan  wrote:
> > You have not answered the above question.
> > Have you disabled "proxy" for localhost?
>
> Ok, i have disabled proxy with *a2dismod proxy; *But, nothing has
> changed. Same error!!! :(

What about your browser, is it configured to go through a proxy even for 
localhost?

-- 
Arun Khan

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Making autogen,configure and makefiles

2009-04-07 Thread Shakthi Kannan
Hi,

--- On Sun, Mar 22, 2009 at 9:50 AM, Arun Chaganty
 wrote:
| Here is a good tutorial on it:
| http://sources.redhat.com/autobook/autobook/autobook_toc.html
| Another: http://www.lrde.epita.fr/~adl/autotools.html
\--

Highly recommended:
http://www.freesoftwaremagazine.com/books/autotools_a_guide_to_autoconf_automake_libtool

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Zico
On Tue, Apr 7, 2009 at 12:01 PM, Arun Khan  wrote:

> You have not answered the above question.
> Have you disabled "proxy" for localhost?


Ok, i have disabled proxy with *a2dismod proxy; *But, nothing has changed.
Same error!!! :(


-- 
Best,
Zico
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] [Job] Opening for Tech Support System Administrator

2009-04-07 Thread Bhuvaneswaran A
Hi,
At CollabNet, we've an opening for "Tech Support System Administrator". The
candidate is expected to learn about our Linux based enterprise products and
help solve customer facing issues. The candidate is expected to interact
with the customer frequently.

The ideal candidate should be exposed to true Linux/Unix Administration with
ability to write (at least to read) perl, python, ruby code and experience
with any of VCS. Experience in debugging Jboss/Tomcat/Apache based
application server is required. In addition to these expertise, we expect
the candidate to have good rapport with at least one open source community.
If the candidate is exposed to Blogging, community interaction, decent
network/reference in LinkedIn, that would be an added advantage. The opening
is based in Chennai. For more details about the opening, please refer to
this link:

http://tbe.taleo.net/NA8/ats/careers/requisition.jsp?org=COLLAB_NET&cws=3&rid=27

If you think you are fit, please forward your resume to
subashi...@collab.net with subject "Bhuvan: Ilugc Reference". Thank you!

-- 
Regards,
Bhuvaneswaran A
www.livecipher.com
GPG: 0x7A13E5B0
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread varadarajan narayanan
Hi !

Oops ! Noway I could have written that piece of code !

As per shakthi's advice I understood  Udev rules to be made.
After going through the links shathi gave  ,I looked around for some more
and then followed this article.

And it worked.

http://wiki.archlinux.org/index.php/Udev

I modified a bit to suit my needs !

Cheers

Varadarajan


www.cloudversity.com


On Tue, Apr 7, 2009 at 10:24 PM, Kapil Hari Paranjape wrote:

> Hello,
>
> On Wed, 08 Apr 2009, Kapil Hari Paranjape wrote:
> > 3. One solution is to use automount daemons like
> > autofs or autofs5 or afuse. This will also auto-unmount after a time
> > delay (i.e. some period when the drive is unused) which is configurable.
>
> Another solution seems to be "ivman" which seems to work like the
> gnome-volume-manager.
>
> Warning: I haven't tested it myself. I prefer to manually use "pmount".
>
> Kapil.
> --
>
> ___
> To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
> "unsubscribe  "
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Kapil Hari Paranjape
Hello,

On Wed, 08 Apr 2009, Kapil Hari Paranjape wrote:
> 3. One solution is to use automount daemons like
> autofs or autofs5 or afuse. This will also auto-unmount after a time
> delay (i.e. some period when the drive is unused) which is configurable.

Another solution seems to be "ivman" which seems to work like the
gnome-volume-manager.

Warning: I haven't tested it myself. I prefer to manually use "pmount".

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Kapil Hari Paranjape
Hello,

On Tue, 07 Apr 2009, varadarajan narayanan wrote:
> automount.rules in /etc/udev/rules.d
> 
> KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", OPTIONS="last_rule"
> ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", NAME="%k"
> ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /media/usb%n"
> ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o
> rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/usb%n",
> OPTIONS="last_rule"
> ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/usb%n"
> ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/usb%n",
> OPTIONS="last_rule"
> 
> And works like a charm !

I am not sure that this is a correct solution. 

1. The "remove" rule will be applied after the device is removed. How
will the "umount" work in that case? Looks like a recipe for
data-loss!

2. The "udev" rules are (IMHO) not the proper place to implement mount
and unmount rules.

3. One solution is to use automount daemons like
autofs or autofs5 or afuse. This will also auto-unmount after a time
delay (i.e. some period when the drive is unused) which is configurable.

4. Even if you do use "udev" to mount, you need to implement umount
differently. For example, GNOME and KDE require that the user
*requests* the unmounting of the device; you could do the same. 

Regards,

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Kapil Hari Paranjape
Hello,

On Wed, 08 Apr 2009, Ashok Gautham wrote:
> On Tue, Apr 7, 2009 at 11:32 PM, Kapil Hari Paranjape 
> wrote:
> > To ensure that data gets written to a removable device you should
> > "umount" it. Then wait for the activity light on the device to go off
> > (if it is not broken!) before unplugging/remove the device.
> >
> I did not know about that.  :)
> Anyway, my lights on my thumb drive do not switch off even after an
> unmount on gnu/linux or solaris. But they do on the Windows machines
> at college. Is there a reason why this happens? Or is it that the lights are
> controlled by the usb driver?

I think that one needs to worry about write-caching controllers only
for hard disks, but I may be wrong.

About the light staying on for Linux/Solaris. I consider this to be
a bug since the user should get an indication that the device is no
longer in use. I will google^Wcheck whether there is some discussion
on this in the various mailing lists.

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Ashok Gautham
On Tue, Apr 7, 2009 at 11:32 PM, Kapil Hari Paranjape wrote:

> Hello,
>
> Not really! See the recent discussion on sync, fsync and so on on
> LKML or the kernel page of LWN. For example,
>  http://lwn.net/Articles/325420/ says:
>
>  All [sync] does is preëmpt the normally delayed flushing of dirty blocks
> by
>  expiring them all.  It does *not* write them.  They just go on the
>  various disk queues to be written to each device, but that doesn't get
>  them there -- yet.  Once upon a time, and on some systems still, there
>  was a user process called update(8) that did this sort of thing every 30
>  seconds or so.
>
Thanks for that Kapil. Good info :)

Then there are "write-caching" disk-controllers etc. ...
>
> To ensure that data gets written to a removable device you should
> "umount" it. Then wait for the activity light on the device to go off
> (if it is not broken!) before unplugging/remove the device.
>
I did not know about that.  :)
Anyway, my lights on my thumb drive do not switch off even after an
unmount on gnu/linux or solaris. But they do on the Windows machines
at college. Is there a reason why this happens? Or is it that the lights are
controlled by the usb driver?


---
Ashok `ScriptDevil` Gautham
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread varadarajan narayanan
Hi !

Happy ending !

I wanted

automatic directory creation in /media
automatic symlinking
automatic mounting
automatic unmounting (and I will yank it without unmounting anytime after
the lights stop blinking in the USB stick ! This is a necessary condition
for this device)
automatic removal of directory


so added the

automount.rules in /etc/udev/rules.d

KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", NAME="%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /media/usb%n"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o
rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/usb%n",
OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/usb%n"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/usb%n",
OPTIONS="last_rule"

And works like a charm !

Thanks to ILUGC ! ILUGC rocks !

Cheers

varadarajan
www.cloudversity.com



On Tue, Apr 7, 2009 at 2:02 PM, Kapil Hari Paranjape wrote:

> Hello,
>
> On Tue, 07 Apr 2009, Ashok Gautham wrote:
> > Data is not written immediately. It is written asynchronously. You
> > can force it to be written to the disk by using the sync call.. This
> > call will exit only when all data waiting to be written has been
> > written (This works even when you have two or more disks where data
> > remains unwritten)
>
> Not really! See the recent discussion on sync, fsync and so on on
> LKML or the kernel page of LWN. For example,
>  http://lwn.net/Articles/325420/ says:
>
>  All [sync] does is preëmpt the normally delayed flushing of dirty blocks
> by
>  expiring them all.  It does *not* write them.  They just go on the
>  various disk queues to be written to each device, but that doesn't get
>  them there -- yet.  Once upon a time, and on some systems still, there
>  was a user process called update(8) that did this sort of thing every 30
>  seconds or so.
>
> Then there are "write-caching" disk-controllers etc. ...
>
> To ensure that data gets written to a removable device you should
> "umount" it. Then wait for the activity light on the device to go off
> (if it is not broken!) before unplugging/remove the device.
>
> Kapil.
> --
>
> ___
> To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
> "unsubscribe  "
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Kapil Hari Paranjape
Hello,

On Tue, 07 Apr 2009, Ashok Gautham wrote:
> Data is not written immediately. It is written asynchronously. You
> can force it to be written to the disk by using the sync call.. This
> call will exit only when all data waiting to be written has been
> written (This works even when you have two or more disks where data
> remains unwritten)

Not really! See the recent discussion on sync, fsync and so on on
LKML or the kernel page of LWN. For example,
 http://lwn.net/Articles/325420/ says:

 All [sync] does is preëmpt the normally delayed flushing of dirty blocks by
 expiring them all.  It does *not* write them.  They just go on the
 various disk queues to be written to each device, but that doesn't get
 them there -- yet.  Once upon a time, and on some systems still, there
 was a user process called update(8) that did this sort of thing every 30
 seconds or so.

Then there are "write-caching" disk-controllers etc. ...

To ensure that data gets written to a removable device you should
"umount" it. Then wait for the activity light on the device to go off
(if it is not broken!) before unplugging/remove the device.

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Ashok Gautham
On Tue, Apr 7, 2009 at 9:20 PM, varadarajan narayanan <
rad.naraya...@gmail.com> wrote:

>
> If you yank the usb without unmounting the data is not wriiten !
> Is this something to do with caching ? Is there a way to disable this and
> write the data immediately in to the drive so that we can yank it any time
> ?


Data is not written immediately. It is written asynchronously. You can force
it
to be written to the disk by using the sync call.. This call will exit only
when
all data waiting to be written has been written (This works even when you
have
two or more disks where data remains unwritten)

#sync

Now if you pull the usb drive, data is safe. Anyway. I feel it is better to
unmount.
Unmouting calls sync internally. But then, I guess it does some more stuff
too.

---
Ashok `ScriptDevil` Gautham
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread varadarajan narayanan
>
>
> >
> > How to do this  automounting ?
>
> You might want to check pmount also
> http://pmount.alioth.debian.org/
> --
>
Hi !

Thanks for the inputs !
The auto mounting seems to be working now.

Now the problem is auto -Yanking !

If you yank the usb without unmounting the data is not wriiten !
Is this something to do with caching ? Is there a way to disable this and
write the data immediately in to the drive so that we can yank it any time ?

Thanks for all the inputs once again !

Cheers

Varadarajan
www.clcoudversity.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Ashok Gautham
I think screen might be an overkill for this

http://dtach.sourceforge.net/

---
Ashok `ScriptDevil` Gautham
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread anantha narasimhan
Hi,

On Tue, Apr 7, 2009 at 9:37 PM, Ashish Verma wrote:

> Hi,
>
> I had started a rsync process in the bg and then happened to close that
> terminal. Now that process shows a S status in ps and is not working.
>
> >From what I found out, this is because the process has been disconnected
> from the terminal that started it. I could not locate a way to attach it to
> some other terminal and restart it. Is there a way to do this. I mean can
> the process be restarted in any way or connected to another terminal?


How about sending SIGHUP to that process ?



-- 
keep klicking
Anantha Narasimhan


The box said.
"Requires Windows XP or better".
So, I installed Linux.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Raja Subramanian
On Tue, Apr 7, 2009 at 3:20 PM, Ashish Verma  wrote:
> I am currently running rsync over a vpn connection. At times the VPN
> connection disconnects and rsync is killed. Is there a way to have
> persistent (keep trying till the connection comes up) / continue previous
> session, something like 'wget -c'.

Write a shell script that repeats rsync until it exits with a
zero exit code.  See man rsync, "EXIT VALUES" section.

- Raja
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Karanbir Singh

Ashish Verma wrote:

I am currently running rsync over a vpn connection. At times the VPN
connection disconnects and rsync is killed. Is there a way to have
persistent (keep trying till the connection comes up) / continue previous
session, something like 'wget -c'.


if its usable in the situation, lftp has a good 
keep-trying-till-end-of-the-world mode

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Roshan George
On Tue, 2009-04-07 at 15:26 +0530, Ashish Verma wrote:

> But then, the process should have been started in screen. I started it
> directly in a pty and closed that pty.
> 
> Is there no way to restart it without reattaching it. Or opening a new pty
> which is now of the same number as the closed one and doing something to
> attach the process to the new pty.

AFAIK, this is simply not possible.
-- 
Regards,
Roshan George 

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] ILUGC Meet - Apr 11th 3PM

2009-04-07 Thread Bharathi Subramanian
ILUGC Monthly Meet (April 11th):-
===

Time : Sat Apr 11th 15:00 IST 2009
Venue: ADI-TeNeT Seminar Hall,
   Room No: CSD 320,
   Electrical Science Block,
   IIT-Madras.

Map: http://www.chennailug.org/tenet
NOTE: CSD Entrance renamed as Deshpande Foundation

> Talk 1: KTechLab
 Speaker: SelvaKumar K, NRC-FOSS (AU-KBC)
Duration: 45mins

KTechLab is an Open Source Integrated Design Environment (IDE) for
electronic and PIC micro-controller circuit design and simulation.

Link: http://ktechlab.org/

> Talk 2: EMMA - An Intro
 Speaker: Lakshmi Narayanan, HCL
Duration: 45mins

Developers write code and unit test cases. With Java, it is possible
to automate unit/regression testing with the help of frameworks like
JUnit. Emma is an open source code coverage tool, which helps to
measure the effectiveness of the test suites. Emma measures code
coverage metric at code block, method, class and package level.

Link: http://emma.sourceforge.net/

HTH :)
--
Bharathi S

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Roshan George
On Tue, 2009-04-07 at 15:20 +0530, Ashish Verma wrote:
> Hi,
> 
> I am currently running rsync over a vpn connection. At times the VPN
> connection disconnects and rsync is killed. Is there a way to have
> persistent (keep trying till the connection comes up) / continue previous
> session, something like 'wget -c'.

You might want to try setting a high value for the --timeout option. I
haven't tried this, though, so good luck.

To 'continue' a previous session, use the --partial option.
-- 
Regards,
Roshan George 

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Sahasranaman MS
On Tue, Apr 7, 2009 at 3:07 PM, Ashish Verma wrote:

> I mean can
> the process be restarted in any way or connected to another terminal?
>


You could kill the process and start it again in daemon mode:

# rsync --daemon
or
# rsync -d


Sahas
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Kenneth Gonsalves
On Tuesday 07 April 2009 15:30:13 Joe Steeve wrote:
> Kenneth Gonsalves  writes:
> >> from the terminal that started it. I could not locate a way to
> >> attach it to some other terminal and restart it. Is there a way
> >> to do this. I mean can the process be restarted in any way or
> >> connected to another terminal?
> >
> > you could use screen

of course - I dont think one can revive a dead process
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Joe Steeve
Ashish Verma  writes:
> I am currently running rsync over a vpn connection. At times the
> VPN connection disconnects and rsync is killed. Is there a way
> to have persistent (keep trying till the connection comes up) /
> continue previous session, something like 'wget -c'.

call rsync from a script that restarts it.

-- 
.o. I'm a Free man. I use Free Software.
..o
ooo http://www.joesteeve.org/


pgpUXMLM3iop1.pgp
Description: PGP signature
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Joe Steeve
Kenneth Gonsalves  writes:
>> from the terminal that started it. I could not locate a way to
>> attach it to some other terminal and restart it. Is there a way
>> to do this. I mean can the process be restarted in any way or
>> connected to another terminal?
>
> you could use screen

The process has to be started in screen in order to re-attach.

-- 
.o. I'm a Free man. I use Free Software.
..o
ooo http://www.joesteeve.org/


pgpsBgqDwFGHo.pgp
Description: PGP signature
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Kenneth Gonsalves
On Tuesday 07 April 2009 15:20:12 Ashish Verma wrote:
> I am currently running rsync over a vpn connection. At times the VPN
> connection disconnects and rsync is killed. Is there a way to have
> persistent (keep trying till the connection comes up) / continue previous
> session, something like 'wget -c'.

run it as a cron job
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Raman.P

--- On Tue, 7/4/09, Ashish Verma  wrote:

 
> I had started a rsync process in the bg and then happened
> to close that
> terminal. Now that process shows a S status in ps and is
> not working.
> 
> >From what I found out, this is because the process has
> been disconnected
> from the terminal that started it. I could not locate a way
> to attach it to
> some other terminal and restart it. Is there a way to do
> this. I mean can
> the process be restarted in any way or connected to another
> terminal?
I don't know about re-attaching, however if all that you want is to run process 
even after closing shell or logout, you may use nohup.
e.g
$ nohup myprog &
In this case myprog will run even if you log out.

Raman.P


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Ashish Verma
>
>
>
> you could use screen
> --
> regards
> kg
>  


But then, the process should have been started in screen. I started it
directly in a pty and closed that pty.

Is there no way to restart it without reattaching it. Or opening a new pty
which is now of the same number as the closed one and doing something to
attach the process to the new pty.

Regards,
Ashish
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] attach a process to terminal

2009-04-07 Thread Kenneth Gonsalves
On Tuesday 07 April 2009 15:07:44 Ashish Verma wrote:
> I had started a rsync process in the bg and then happened to close that
> terminal. Now that process shows a S status in ps and is not working.
>
> >From what I found out, this is because the process has been disconnected
>
> from the terminal that started it. I could not locate a way to attach it to
> some other terminal and restart it. Is there a way to do this. I mean can
> the process be restarted in any way or connected to another terminal?

you could use screen
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Persistent / continue option in Rsync

2009-04-07 Thread Ashish Verma
Hi,

I am currently running rsync over a vpn connection. At times the VPN
connection disconnects and rsync is killed. Is there a way to have
persistent (keep trying till the connection comes up) / continue previous
session, something like 'wget -c'.

Regards,
Ashish
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] attach a process to terminal

2009-04-07 Thread Ashish Verma
Hi,

I had started a rsync process in the bg and then happened to close that
terminal. Now that process shows a S status in ps and is not working.

>From what I found out, this is because the process has been disconnected
from the terminal that started it. I could not locate a way to attach it to
some other terminal and restart it. Is there a way to do this. I mean can
the process be restarted in any way or connected to another terminal?

Regards,
Ashish
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Making a Beowulf Cluster in 13 Steps

2009-04-07 Thread Venkatesh Nandakumar
Nice, thanks!, I was looking for a good tutorial, hope this one does the
job.
Venkatesh Nandakumar
Department of Electronics & Computer Engineering
Indian Institute of Technology Roorkee


2009/4/7 sanath kumar 

> Hi,
>  I've built a small cluster in my home with my laptop and my desktop.
> Sharing my experiences, I've written a post at CEGLUG's website. Check the
> following site for the full tutorial on how to build a beowulf cluster in
> just 13 steps -
> http://www.ceglug.org/articles/tutorials/cluster/cluster.php.
> I've not included the performance benchmarks of this cluster in the
> tutorial. If you're interested in viewing the performance stats of this
> cluster, visit my blog - http://blog.ceglug.org/sanath/?p=71. Even though
> I've not run any standard SPEC programs, the program which I've run is
> enough to demonstrate the proof of concept.
>
> --
> SANATH KUMAR
> http://blog.ceglug.org/sanath
> ___
> To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
> "unsubscribe  "
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Making a Beowulf Cluster in 13 Steps

2009-04-07 Thread sanath kumar
Hi,
  I've built a small cluster in my home with my laptop and my desktop.
Sharing my experiences, I've written a post at CEGLUG's website. Check the
following site for the full tutorial on how to build a beowulf cluster in
just 13 steps - http://www.ceglug.org/articles/tutorials/cluster/cluster.php.
I've not included the performance benchmarks of this cluster in the
tutorial. If you're interested in viewing the performance stats of this
cluster, visit my blog - http://blog.ceglug.org/sanath/?p=71. Even though
I've not run any standard SPEC programs, the program which I've run is
enough to demonstrate the proof of concept.

-- 
SANATH KUMAR
http://blog.ceglug.org/sanath
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Arun Khan
On Tuesday 07 Apr 2009, Abhishek Amberkar [अभिषेक] wrote:
> On Tue, Apr 7, 2009 at 11:31 AM, Arun Khan  wrote:
> > You have not answered the above question.
> > Have you disabled "proxy" for localhost?  Make sure /etc/hosts
> > has "localhost" entry pointing to 127.0.0.1 and /etc/host.conf has
> > an entry "order hosts,bind"
>
> On my debian system /etc/host.conf has just one line
>
> multi on

"order hosts,bind"

does not hurt even though it is supposed to be the default.  With it you 
ensure that the resolver first looks at /etc/hosts and goes to bind if 
the fqdn remains unresolved.  "man host.conf" for more info.

-- 
Arun Khan

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread Mehul Ved
On Tue, Apr 7, 2009 at 10:30 AM, varadarajan narayanan
 wrote:
> Hi !
>
> I am again stuck with  my minimal debian installation.
>
> I want the USB drives to mounted automatically when inserted  in the
> directory /media.
>
> How to do this  automounting ?

You might want to check pmount also
http://pmount.alioth.debian.org/
-- 

The seven year itch comes from fooling around during the fourth,
fifth, and sixth years.  -
http://kingsly.net/tmp/fortune.php/1239079993
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Automount USB drives

2009-04-07 Thread varadarajan narayanan
>
> | How to do this  automounting ?
>
> Do you have the udev package installed? It should take care of
> auto-mouting. You can write udev rules for the same.
>

Hi !

Yes ! I have udev installed.
when i do,
#tail -f /var/log/messages

I see the drive being detected .. but not mounted.

Could you please tell where to add the rule to mount the device ?

I see directory /etc/udev  and bunch of files there !

Cheers

varadarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Need help on Koha 3.0 installation in Debian 5.0

2009-04-07 Thread Abhishek Amberkar [अभिषेक]
On Tue, Apr 7, 2009 at 11:31 AM, Arun Khan  wrote:


> You have not answered the above question.
> Have you disabled "proxy" for localhost?  Make sure /etc/hosts
> has "localhost" entry pointing to 127.0.0.1 and /etc/host.conf has an
> entry "order hosts,bind"

On my debian system /etc/host.conf has just one line

multi on


-- 
With Regards
Abhishek Amberkar

Learn to appreciate a beauty within...
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc