Re: [SLUG] LDAP and keepalive errors

2007-03-07 Thread Jamie Wilkinson
This one time, at band camp, Craig Dibble wrote:
...right up until I deployed our new LDAP servers to production. Now I
find that I get intermittent failures from the keepalive script whereby
it reports that some or all of the processes it is monitoring have died,
tries to restart them, and fails.

Immediately I am thinking that the problem is somewhere in NSS.  Timeouts
due to LDAP connection overheads, fd leaks in nss_ldap, nscd's very
existence, all could be causing something to fail.

Unlike Solaris, POSIX and Linux don't cater to temporary failure, so
anything that explodes in the pipeline is going to return a failed lookup
(and if you're using nscd, it'll cache that negative if you're really
unlucky.)

[1] As a temporary fix I have put a simple hook in the keepalive script
to die if the returned process list is empty. This works ok for the
moment but without knowing why it is behaving like this I can't help but
feel all I might be doing is putting a bandaid on a bigger problem.

Do you get an empty process list when you run it by hand?

Is there a timeout on the process list command in the keepalive script?

The first thing to try is to replicate the conditions in the script to get a
repeatable failure of ps.  Once you've done that, you'll have some idea as
to where to look next.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] bash question

2007-03-07 Thread justin randell

hi all,

after reading up on ssh config options, i've gone with some Host
sections in ~/.ssh/config:

Host glebe1
   User johndoe
   Hostname xxx.xxx.xxx.xxx

does what i want without any worries of 'doing it the csh way' ;-)

cheers
justin
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] OT domain name and company name

2007-03-07 Thread Ben Donohue

Hi all,

It used to be that to get a .com.au domain name you had to have a 
company or business name.

Is this still the case as I've heard different responses.

Also what if you have .com.au domain name and you close your company or 
business related to the domain name, do you lose the .com.au domain name?
Or is it once you have the domain name, it's yours forever? (so long as 
you pay the yearly fee).


TIA,
Ben

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] OT domain name and company name

2007-03-07 Thread Richard Hayes
It used to be that to get a .com.au domain name you had to have a 
company or business name.

Is this still the case as I've heard different responses.


Yes, almost you need to 'prove' that you are entitled to register the name.

To quote the auDA policy:

1. To be eligible for a domain name in the com.au 2LD, registrants must be:

a) an Australian registered company; or

b) trading under a registered business name in any Australian State or 
Territory; or


c) an Australian partnership or sole trader;

d) a foreign company licensed to trade in Australia; or

e) an owner of an Australian Registered Trade Mark; or

f) an applicant for an Australian Registered Trade Mark ; or

g) an association incorporated in any Australian State or Territory; or

h) an Australian commercial statutory body.

2. Domain names in the com.au 2LD must:

a) exactly match, acronym or abbreviation of the registrant’s company or 
trading name, organization or association name or trademark; or:


b) be otherwise closely and substantially connected to the registrant.



Also what if you have .com.au domain name and you close your company or 
business related to the domain name, do you lose the .com.au domain 

name?
Or is it once you have the domain name, it's yours forever? (so long as 
you pay the yearly fee).


Yes, for all practical purposes. There is no need to 'prove' continuing 
substantially connected to the registrant.


regards

Richard Hayes


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OT domain name and company name

2007-03-07 Thread Sam Lawrance


On 08/03/2007, at 7:21 AM, Richard Hayes wrote:

It used to be that to get a .com.au domain name you had to have a  
company or business name.

Is this still the case as I've heard different responses.


Yes, almost you need to 'prove' that you are entitled to register  
the name.


To quote the auDA policy:

1. To be eligible for a domain name in the com.au 2LD, registrants  
must be:


a) an Australian registered company; or

b) trading under a registered business name in any Australian State  
or Territory; or


c) an Australian partnership or sole trader;

d) a foreign company licensed to trade in Australia; or

e) an owner of an Australian Registered Trade Mark; or

f) an applicant for an Australian Registered Trade Mark ; or

g) an association incorporated in any Australian State or  
Territory; or


h) an Australian commercial statutory body.

2. Domain names in the com.au 2LD must:

a) exactly match, acronym or abbreviation of the registrant’s  
company or trading name, organization or association name or  
trademark; or:


b) be otherwise closely and substantially connected to the registrant.



Also what if you have .com.au domain name and you close your  
company or business related to the domain name, do you lose  
the .com.au domain

name?
Or is it once you have the domain name, it's yours forever? (so  
long as you pay the yearly fee).


Yes, for all practical purposes. There is no need to 'prove'  
continuing substantially connected to the registrant.


Don't rely on it.  If the registrant eligibility is based on the  
company or business, and the company or business no longer exists,  
there is no eligibility to use the domain.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] LDAP and keepalive errors

2007-03-07 Thread Craig Dibble
Jamie Wilkinson wrote:
 This one time, at band camp, Craig Dibble wrote:
 ...right up until I deployed our new LDAP servers to production. Now I
 find that I get intermittent failures from the keepalive script 

 Immediately I am thinking that the problem is somewhere in NSS.  Timeouts
 due to LDAP connection overheads, fd leaks in nss_ldap, nscd's very
 existence, all could be causing something to fail.

This is my thinking too, but I'm at a loss as to how I might debug this.

 Unlike Solaris, POSIX and Linux don't cater to temporary failure, so
 anything that explodes in the pipeline is going to return a failed lookup
 (and if you're using nscd, it'll cache that negative if you're really
 unlucky.)

Again, that's what I thought, but I still get it even with the caches
cleared, disabled, or nscd stopped.

 [1] As a temporary fix I have put a simple hook in the keepalive script
 to die if the returned process list is empty. 

 Is there a timeout on the process list command in the keepalive script?

No, that would be my next step in tidying up the script. I'll probably
do that today just so I can see if it is in fact timing out or if there
is some other issue causing the failures. To be honest, I'd rather bin
the script and start again but that won't help me understand why this is
happening.

 Do you get an empty process list when you run it by hand?

 The first thing to try is to replicate the conditions in the script to get a
 repeatable failure of ps.  Once you've done that, you'll have some idea as
 to where to look next.

Like I said, it's intermittent so very hard to replicate. I haven't yet
managed to figure out exactly what else may be occurring at the exact
instant it fails, or indeed how/why it fails.

As far as I have been able to ascertain simply running the ps command by
hand does not seem to fail, but interestingly, with the quick fix I put
in yesterday I put a backticked date command in the 'die' expression to
print a timestamp to the log file (to compare against any potential
further false positives). About 1/3 of the failures overnight in the log
have no timestamp on them. The ps command itself is also contained in
backticks. I'm not sure what that's telling me, but I think it's time to
add some debugging to the script and see what is going on at each stage.

Craig
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] data recovery specialists?

2007-03-07 Thread Jon Wilson

Hiya,

Can anyone recommend any data recovery specialists, preferably in 
Sydney? We have a several boxes of ten year old DLTIII tapes, but have 
only been able to read the data we need off about half of them.


Thanks,

Jon

--
Jon Wilson, Sydney, Australia
Mob: +61 4 0549 9490, Yahoo: phuq_eu, Skype: jonwilson
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OT domain name and company name

2007-03-07 Thread david
On Thu, 2007-03-08 at 07:37 +1100, Sam Lawrance wrote:
 On 08/03/2007, at 7:21 AM, Richard Hayes wrote:
 
  It used to be that to get a .com.au domain name you had to have a  
  company or business name.
  Is this still the case as I've heard different responses.
 
  Yes, almost you need to 'prove' that you are entitled to register  
  the name.
 

My experience is that once you have a name, it's unlikely to be taken
from you. I have some legacy names that haven't been registered business
names for years. OTOH, I wouldn't rely on that! If I registered a
business name and then found that someone was illegally sitting on that
domain name without authority, I would definitely take action and I'm
sure any business person would.

You have to quote some form of authority (ABN, business name
registration etc) but I'm pretty sure it isn't checked. I may be wrong. 

Personally, I think it's silly to register a name you aren't entitled
to. It's a recipe for trouble.

I've even gone to the trouble of trademarking .com names in the USA if I
thought it was really going to matter down the track. As I'm sure most
of you know, the .com tld is set up specifically to maximise income for
registrars. The Australian system is nominally better in my not so
humble opinion.

  To quote the auDA policy:
 
  1. To be eligible for a domain name in the com.au 2LD, registrants  
  must be:
 
  a) an Australian registered company; or
 
  b) trading under a registered business name in any Australian State  
  or Territory; or
 
  c) an Australian partnership or sole trader;
 
  d) a foreign company licensed to trade in Australia; or
 
  e) an owner of an Australian Registered Trade Mark; or
 
  f) an applicant for an Australian Registered Trade Mark ; or
 
  g) an association incorporated in any Australian State or  
  Territory; or
 
  h) an Australian commercial statutory body.
 
  2. Domain names in the com.au 2LD must:
 
  a) exactly match, acronym or abbreviation of the registrant’s  
  company or trading name, organization or association name or  
  trademark; or:
 
  b) be otherwise closely and substantially connected to the registrant.
 
 
 
  Also what if you have .com.au domain name and you close your  
  company or business related to the domain name, do you lose  
  the .com.au domain
  name?
  Or is it once you have the domain name, it's yours forever? (so  
  long as you pay the yearly fee).
 
  Yes, for all practical purposes. There is no need to 'prove'  
  continuing substantially connected to the registrant.
 
 Don't rely on it.  If the registrant eligibility is based on the  
 company or business, and the company or business no longer exists,  
 there is no eligibility to use the domain.
 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] A little annoying keyboard type issue...

2007-03-07 Thread Zhasper

On 06/03/07, Michael Fox [EMAIL PROTECTED] wrote:

On 3/2/07, Zhasper [EMAIL PROTECTED] wrote:
 It sounds like Screen is confused about your terminal.

 What's the value of $TERM in the terminal before you launch screen?

 Can you show us the output of stty -a both inside of and outside of screen?

 As an interim workaround, see if ^H (ctrl+h) works as backspace inside
 screen. Another workaround - stty erase ctrl+vbackspace will
 probably fix backspace, but only for that one screen


The output from stty -a in both a screen session and non screen
session is exactly the same.

Your suggestion of ctrl+h to see if that works, certainly does. Any
chance we can figure out how to make this work on all sessions all the
time.


Put it in a .bashrc?

I don't actually know. I find that  it breaks for me on odd occasions
- never consistently enough for me to look for a permanent fix. I just
end up doing a stty erase ^v^h any time I notice it's a problem.

I suspect it's a problem with the termcap for screen on older
machines, but I'm not certain...


If you could CC me on any replies directly that would be appreciated,
as I am not on the list for the moment (will resign up again later
on).

Thanks





--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] data recovery specialists?

2007-03-07 Thread David Kempe

Jon Wilson wrote:

Hiya,

Can anyone recommend any data recovery specialists, preferably in 
Sydney? We have a several boxes of ten year old DLTIII tapes, but have 
only been able to read the data we need off about half of them.



Payam have been good for us

http://www.payam.com.au/

dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OT domain name and company name

2007-03-07 Thread Sam Lawrance


On 08/03/2007, at 11:37 AM, david wrote:


On Thu, 2007-03-08 at 07:37 +1100, Sam Lawrance wrote:

On 08/03/2007, at 7:21 AM, Richard Hayes wrote:


It used to be that to get a .com.au domain name you had to have a
company or business name.
Is this still the case as I've heard different responses.


Yes, almost you need to 'prove' that you are entitled to register
the name.



My experience is that once you have a name, it's unlikely to be taken
from you. I have some legacy names that haven't been registered  
business

names for years. OTOH, I wouldn't rely on that! If I registered a
business name and then found that someone was illegally sitting on  
that

domain name without authority, I would definitely take action and I'm
sure any business person would.

You have to quote some form of authority (ABN, business name
registration etc) but I'm pretty sure it isn't checked. I may be  
wrong.


Personally, I think it's silly to register a name you aren't entitled
to. It's a recipe for trouble.


I think we can agree that like so many things, it's all around  
managing risk :-)


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] data recovery specialists?

2007-03-07 Thread Jon Wilson

David Kempe wrote:

Jon Wilson wrote:

Hiya,

Can anyone recommend any data recovery specialists, preferably in 
Sydney? We have a several boxes of ten year old DLTIII tapes, but have 
only been able to read the data we need off about half of them.



Payam have been good for us

http://www.payam.com.au/

dave


Apparently they don't do tape recovery :-(

--
Jon Wilson, Sydney, Australia
Mob: +61 4 0549 9490, Yahoo: phuq_eu, Skype: jonwilson
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Firefox sux

2007-03-07 Thread Luke Vanderfluit

Heracles wrote:
Firefox for AMD64 has to be the worst piece of crap ever written; just 
use epiphany (if you run gnome) or konqueror (if you run KDE).
I used to love firefox on my old system; it was fast and easy to use. 
The new version just uses up ALL my processor and memory as soon as it 
is started and brings the system to a standstill. I have to switch to 
a command line to stop it after which everything returns to normal.


What happened to it between 1.5 and 2.0? My current version is 2.0.0.2 
but the problem has existed since 2.0. I am now using epiphany and 
occasionally konqueror (without flash) and don't have the hassle.



I don't know exactly but I have been experiencing strange things too.
-E.G. flash plugin crashes the browser on several sites (something in a 
flash swf must cause this)

-Browser freezes and dies unpredictably.

I've gone back to using 1.5.0.

This is on FC5 32bit.

Kr.
Luke.



Heracles



--
Luke Vanderfluit
Analyst / Web Programmer
e3Learning.com.au
08 8221 6422

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Firefox sux

2007-03-07 Thread Alan L Tyree
On Thu, 08 Mar 2007 15:40:40 +1030
Luke Vanderfluit [EMAIL PROTECTED] wrote:

 Heracles wrote:
  Firefox for AMD64 has to be the worst piece of crap ever written;
  just use epiphany (if you run gnome) or konqueror (if you run KDE).
  I used to love firefox on my old system; it was fast and easy to
  use. The new version just uses up ALL my processor and memory as
  soon as it is started and brings the system to a standstill. I have
  to switch to a command line to stop it after which everything
  returns to normal.
 
  What happened to it between 1.5 and 2.0? My current version is
  2.0.0.2 but the problem has existed since 2.0. I am now using
  epiphany and occasionally konqueror (without flash) and don't have
  the hassle.
 
 I don't know exactly but I have been experiencing strange things too.
 -E.G. flash plugin crashes the browser on several sites (something in
 a flash swf must cause this)
 -Browser freezes and dies unpredictably.
 
 I've gone back to using 1.5.0.
 
 This is on FC5 32bit.

I'm using Iceweasel 2.0.0.2 on Debian testing (32 bit). No problems at
all, at all. I have the flash plugin.

Cheers,
Alan


 
 Kr.
 Luke.
 
 
  Heracles
 
 
 -- 
 Luke Vanderfluit
 Analyst / Web Programmer
 e3Learning.com.au
 08 8221 6422
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670Mobile: +61 427 486 206
Fax: +61 2 4782 7092FWD: 615662
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html