Re: Hanging run-parts weirdness!!!

2001-10-08 Thread Noel Koethe

On Mon, 08 Okt 2001, BeerBong wrote:

Hello,

  6177 pts/2S  0:00  \_ -sh
 16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
 16388 pts/2Z  0:00  \_ [man-db defunct]
 
 What the hell is going on 
 Every time different script, and if  I run every script manually it is
 completed in a moment without problems!
 Kernel is 2.4.10 (on 2.4.9 was the same problems)
 Logs are clean. Machine is loaded by _many_ other jobs without any problems,
 I don't think that reason is broken memory, but I have another machines with
 the same Debian and kernel and daily scripts without any problems. Though,
 other machines less loaded.
 It's a very big trouble for me - please help.

I have the same problem on my SMP machine with kernel 2.4.5.
I have no idea what the problem is.
Maybe its a good idea to report this bug to the debianutils
package where run-parts belong to.

-- 
Noèl Köthe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread Noel Koethe

On Mon, 08 Okt 2001, Christian Kurz wrote:

Hello Small,:)

   16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
   16388 pts/2Z  0:00  \_ [man-db defunct]
   
   Every time different script, and if  I run every script manually it is
   completed in a moment without problems!

  I have no idea what the problem is.
  Maybe its a good idea to report this bug to the debianutils
  package where run-parts belong to.
 
 No, that's wrong because run-parts is working fine, but mandb is the
 program which is hanging around in defunctional status. So this bug
 should be reported against mandb. But please look before into the
 cronjob in /etc/cron.daily that is calling mandb and try running the
 exact command manual to see if it works or if that one hangs too.

:) No. The initial mail show many hanging jobs from cron.daily and
not always man.db. I tried all the cron.daily scripts many times
by hand and this never happened.
Sergey wrote now the same problems 
(http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
and I think this could be a run-parts problem.

part of ps(1):
...
   Processes  marked  defunct are dead processes (so-called zombies) that 
remain because their parent has
   not destroyed them properly. These processes will be destroyed by init(8) if 
the parent process exits.
...

The parent proccess is run-parts if I understand everything correct.

Here 2 other examples from the last 2 days:

root  6697  0.0  0.0  18004 ?SOct06   0:00 /USR/SBIN/CRON
root  6702  0.0  0.0  21724 ?SOct06   0:00 /bin/sh -c test -e 
/usr/sbin/anacron || run-parts --report /etc/cron.daily
root  6704  0.0  0.0  12764 ?SOct06   0:00 run-parts --report 
/etc/cron.daily
root  9292  0.0  0.0 00 ?ZOct06   0:00 [logrotate defunct]

root 32644  0.0  0.0  1800  444 ?SOct07   0:00 /USR/SBIN/CRON
root 32649  0.0  0.0  2172 1008 ?SOct07   0:00 /bin/sh -c test -e 
/usr/sbin/anacron || run-parts --report /etc/cron.daily
root 32652  0.0  0.0  1276   80 ?SOct07   0:00 run-parts --report 
/etc/cron.daily
root  2220  0.0  0.0 00 ?ZOct07   0:00 [apache-ssl defunct]

-- 
Noèl Köthe


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread B.C.J.O

On Mon, 8 Oct 2001, Noel Koethe wrote:

 On Mon, 08 Okt 2001, Christian Kurz wrote:
16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
16388 pts/2Z  0:00  \_ [man-db defunct]
   
Every time different script, and if  I run every script manually it is
completed in a moment without problems!

   I have no idea what the problem is.
   Maybe its a good idea to report this bug to the debianutils
   package where run-parts belong to.
 
  No, that's wrong because run-parts is working fine, but mandb is the
  program which is hanging around in defunctional status. So this bug
  should be reported against mandb. But please look before into the
  cronjob in /etc/cron.daily that is calling mandb and try running the
  exact command manual to see if it works or if that one hangs too.

 :) No. The initial mail show many hanging jobs from cron.daily and
 not always man.db. I tried all the cron.daily scripts many times
 by hand and this never happened.
 Sergey wrote now the same problems 
(http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
 and I think this could be a run-parts problem.

seems that cron isn't reaping its children correctly. I noticed this
problem on a machine that I had moved to woody from potato. Kill off cron,
and the zombies go away. There was a cron update a few days ago that seems
to have lessened the problem to a certain extent. It's still a pain, tho.
=)

Brian
[EMAIL PROTECTED]

You can't depend on your judgement when your imagination
is out of focus.   -- Mark Twain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Sendmail

2001-10-08 Thread Martin Man

On Sat, Oct 06, 2001 at 01:48:37PM -0700, Michael R. Welch wrote:
 snip/
 
 When I remotely scan the ports I can't find smtp services. So my question is
 how do you configure sendmail to start in daemon mode on reboot. I'm new to
 debian but have some unix/linux experience as a user and super user, but am
 unfamiliar with some of the finer details.

generally all system services are started thru /etc/init.d/... scripts, which
are linked to appropriate runlevel directories /etc/rc?.d/..., the default
boot runlevel can be found in /etc/inittab on the line containing initdefault,
... to see whether the service is running at the machine you can use 

netstat -ltu (listen, tcp, udp)


more in nag, lag, etc. they're packaged...

 
 thanks
 
 Michael Welch
 

martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Jeremy C. Reed

On Mon, 8 Oct 2001, Matt Fair wrote:

 daily stats, nothing.  Apache is still recording the transfer logs, and 

Are the transfers really being recorded to
/var/log/apache/virtual/opensimpx/transfer.log?

 26 records (26 ignored) in 0.00 seconds

This looks like it has 26 old entries but no new ones. Have a look.

  Jeremy C. Reed
...
 ISP-FAQ.com -- find answers to your questions
 http://www.isp-faq.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Matt Fair

Yes,
I did a tail -f /var/log/apache/virtual/opensimpx/transfer.log and I can 
see traffic coming to the site.

Jeremy C. Reed wrote:
 On Mon, 8 Oct 2001, Matt Fair wrote:
 
 
daily stats, nothing.  Apache is still recording the transfer logs, and 

 
 Are the transfers really being recorded to
 /var/log/apache/virtual/opensimpx/transfer.log?
 
 
26 records (26 ignored) in 0.00 seconds

 
 This looks like it has 26 old entries but no new ones. Have a look.
 
   Jeremy C. Reed
 ...
  ISP-FAQ.com -- find answers to your questions
  http://www.isp-faq.com/
 
 
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Cameron Moore

* [EMAIL PROTECTED] [2001.10.08 13:44]:
 Hello,
 I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
 I have several websites running on my server using Apache/1.3.9 (Unix), 
 each site with its own config file.  I have a cron to run: webalizer -c 
 config file each half hour.  On October 4th one of my sites got about 
 20,000 hits and now from the 5th on does not record any records.  No 
 daily stats, nothing.  Apache is still recording the transfer logs, and 
 I manually executed webalizer with the config files, and it runs through 
 the correctly, but does not generate any NEW stats, nothing past the 4th.

I'm seeing the exact same problem (same version of webalizer but newer
apache).  Nothing was changed on the box -- it just stopped working.
Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
First one to figure out the problem speak up.  :-)
-- 
Cameron Moore


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Matt Fair

Hello,
After looking this problem over some more, it seems it just ignores 
changes, I removed the webalizer.current file, re-ran webalizer and it 
got todays stats, but when I put back my original webalizer.current file 
an re-ran webalizer again it doesn't change anything, instead it ignores 
129 records.  I removed the html file thinking it may have just not 
generated the new page, but it doesn't generate any new page either. 
The main question here is there any way to force webalizer to read the 
records, why are they being ignored?
Thanks,
Matt

Cameron Moore wrote:
 * [EMAIL PROTECTED] [2001.10.08 13:44]:
 
Hello,
I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
I have several websites running on my server using Apache/1.3.9 (Unix), 
each site with its own config file.  I have a cron to run: webalizer -c 
config file each half hour.  On October 4th one of my sites got about 
20,000 hits and now from the 5th on does not record any records.  No 
daily stats, nothing.  Apache is still recording the transfer logs, and 
I manually executed webalizer with the config files, and it runs through 
the correctly, but does not generate any NEW stats, nothing past the 4th.

 
 I'm seeing the exact same problem (same version of webalizer but newer
 apache).  Nothing was changed on the box -- it just stopped working.
 Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
 First one to figure out the problem speak up.  :-)
 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Asher Densmore-Lynn

At 03:15 PM 10/8/01 -0500, Cameron Moore wrote:

I'm seeing the exact same problem (same version of webalizer but newer
apache).  Nothing was changed on the box -- it just stopped working.
Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
First one to figure out the problem speak up.  :-)

Back up all the webalizer.* files, then cut the log file up into pieces and
figure out which one is giving webalizer such a headache? If there's a
particular malformed line involved, Perl might be able to make the logchunk
more palatable for it.

--
Asher Densmore-Lynn [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Marcin Owsiany

On Mon, Oct 08, 2001 at 01:01:16PM -0700, Jeremy C. Reed wrote:
 
 I am guessing that there is a config option to allow longer requests. (But
 I don't see it in my manual page.)

I don't think so. I remember I had to patch it and recompile.

Marcin
-- 
Marcin Owsiany [EMAIL PROTECTED]  http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Cameron Moore

* [EMAIL PROTECTED] [2001.10.08 15:36]:
 Cameron Moore wrote:
   I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12)
   English.  I have several websites running on my server using
   Apache/1.3.9 (Unix), each site with its own config file.  I have a
   cron to run: webalizer -c config file each half hour.  On October
   4th one of my sites got about 20,000 hits and now from the 5th on
   does not record any records.  No daily stats, nothing.  Apache is
   still recording the transfer logs, and I manually executed
   webalizer with the config files, and it runs through the correctly,
   but does not generate any NEW stats, nothing past the 4th.
  
  I'm seeing the exact same problem (same version of webalizer but
  newer apache).  Nothing was changed on the box -- it just stopped
  working. Plenty of resources (disk, memory, etc).  Seems like a
  webalizer bug. First one to figure out the problem speak up.  :-)
 
 I can't reproduce the problem as I don't have a potato box at hand.
 However recompiling that very same version of webalizer against a newer
 C library (like the one in woody) seems to solve the problem as well.
 Kinda weird.

Well, to add to the confusion, I've also got a Sun 5.x box that has a
broken webalizer.  Exact same problem.

/me scratches his head...
-- 
Cameron Moore


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Peter Billson

  Take a look at your webalizer.current file. The second line will be
the date of the last record processed. Webalizer will not process any
files before that date to prevent duplication. I have manually changed
the date to process older log files with success.


Pete Billson
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Remco van de Meent

Hi.

A workaround is to change the epoch from 1/1/1990 to 1/1/2000 in the
webalizer.c sources and recompile. Credits go to Mait Vares.

Anyone know if the number of seconds from 1/1/1990 till 5/10/2001 is
something like 10^x or 2^y ? :-)


regards,
Remco.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




RE: Sendmail

2001-10-08 Thread Michael R. Welch

Thanks Martin,

I'll check that out. I have been able to verify that sendmail is working for
outgoing stuff by getting a form mailer working. It's just not replying by
sending to my account @ the ip address. I believe that
sendmail is configured to use my domain name but cant yet because my DNS
changes haven't occured yet from my old site to my new site.

Michael Welch


-Original Message-
From: Martin Man [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 08, 2001 12:36 PM
To: Michael R. Welch
Cc: debian - isp
Subject: Re: Sendmail


On Sat, Oct 06, 2001 at 01:48:37PM -0700, Michael R. Welch wrote:
 snip/

 When I remotely scan the ports I can't find smtp services. So my question
is
 how do you configure sendmail to start in daemon mode on reboot. I'm new
to
 debian but have some unix/linux experience as a user and super user, but
am
 unfamiliar with some of the finer details.

generally all system services are started thru /etc/init.d/... scripts,
which
are linked to appropriate runlevel directories /etc/rc?.d/..., the default
boot runlevel can be found in /etc/inittab on the line containing
initdefault,
... to see whether the service is running at the machine you can use

netstat -ltu (listen, tcp, udp)


more in nag, lag, etc. they're packaged...


 thanks

 Michael Welch


martin
--
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: portslave

2001-10-08 Thread Russell Coker

On Mon, 8 Oct 2001 16:36, I. Forbes wrote:
 The old one ran mgetty and a pppd patched for radius
 authentication via the radius client library.  The patches have not
 been updated since pppd version 2.2 and the old machine still has
 a 2.0 series kernel.

 I am using portslave 2000-12-24 which I built on potato from a deb
 source archive a while back and kernel 2.2.19. It seems to work
 and we will go live in a few days.

The versions before 2001-06-20 all sucked in various ways.  It was only in 
the 2001-06-20 version that I really got the source under control.

 Do you know of a potato deb for the latest version, or if you have
 suggestions on how to get it to compile on potato, please let me
 know.  I ran into problems with an unsupported debhelper version.
  Upgrading debhelper would require upgrading perl, by the time I
 have done that it wont look like a potato system any more.

Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
ppp package at the same time.  Then you'll get the latest pppd along with the 
Portslave that uses the regular pppd (saves memory).

 I am also not too sure if I agree with your comments on portslave
 doing everything than mgetty can do.  I had a big battle to get
 portslave to work with my old modem to modem uucp clients.

Tell me exactly what you were trying to do and how it failed, if the current 
version can't handle it easily then I'll add some new features.

Also the recent versions have many more features regarding logins other than 
PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
than a year ago!

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

 There's nothing stopping you from running Portslave with a single dial-in 
 line!

Is that like sending in the tanks? :)

 If your dial-in setup is serious enough to use a RADIUS server then it's big 
 enough for Portslave.
 
 Setting up the RADIUS server is likely to be the most difficult part of a 
 Portslave installation.

Can I authenticate with PAM, etc. somehow?

- Jeff

-- 
  Trying to get a PC to analyse one of the most abstract forms of  
   language - the poem - is like trying to drill for oil with a banana.
   - The Register   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Tony Green

* This one time, at band camp, Jeff Waugh said:
  Setting up the RADIUS server is likely to be the most difficult part of a 
  Portslave installation.
 
 Can I authenticate with PAM, etc. somehow?
 

Well, RADIUS isn't that hard.  A simple radius server can auth from a
number of different 'backends'.  If you can't do PAM with the Portslave
natively, then radius will provide the functionality.

If you need any help with getting RADIUS working, give me a shout.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker

On Tue, 9 Oct 2001 01:27, Jeff Waugh wrote:
 quote who=Russell Coker

  There's nothing stopping you from running Portslave with a single dial-in
  line!

 Is that like sending in the tanks? :)

I like tanks!  ;)

  If your dial-in setup is serious enough to use a RADIUS server then it's
  big enough for Portslave.
 
  Setting up the RADIUS server is likely to be the most difficult part of a
  Portslave installation.

 Can I authenticate with PAM, etc. somehow?

Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

I recommend FreeRadius, although last time I checked the Debian package was 
still in limbo.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

  Is that like sending in the tanks? :)
 
 I like tanks!  ;)

Not on my phoneline, thank you. ;)

 Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

Cool. I've never really looked at it, as I've always thought, oh no, that's
for like, *lots* of modems. :)

 I recommend FreeRadius, although last time I checked the Debian package was 
 still in limbo.  :(

I might pick it up if I get to like it.

- Jeff

-- 
  NASCAR is not race per se. It's just a contest about who can turn left   
the best. - Unknown


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker

On Tue, 9 Oct 2001 02:12, Jeff Waugh wrote:
 quote who=Russell Coker

   Is that like sending in the tanks? :)
 
  I like tanks!  ;)

 Not on my phoneline, thank you. ;)

Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
fast, etc.

  Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some
  way.

 Cool. I've never really looked at it, as I've always thought, oh no,
 that's for like, *lots* of modems. :)

Well the latest version of Portslave (the one that is too experimental for 
upload to Debian) has got some new code for direct authentication without 
RADIUS (which hasn't been properly tested yet)...

  I recommend FreeRadius, although last time I checked the Debian package
  was still in limbo.  :(

 I might pick it up if I get to like it.

Well the current maintainer isn't really looking for someone to take over the 
job, he just wants what he's done to be accepted and there was some hold-up 
last time I communicated with him.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh

quote who=Russell Coker

Is that like sending in the tanks? :)
  
   I like tanks!  ;)
 
  Not on my phoneline, thank you. ;)
 
 Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
 fast, etc.

I meant the tank. ;)

 Well the latest version of Portslave (the one that is too experimental for 
 upload to Debian) has got some new code for direct authentication without 
 RADIUS (which hasn't been properly tested yet)...

Very cool - I'm just getting my hands dirty with the current version as we
speak.

- Jeff

-- 
 The GPL is good. Use it. Don't be silly. - Michael Meeks 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread BeerBong

I submited a bug...

Bug#114864: Hanging run-parts

As maintainer wrote  - such problem was in previous 1.13.3 version,
but has been corrected in current version... not well.
---
Sergey BeerBong Polyakov
chief of WebZavod (http://www.webzavod.ru)
- Original Message -
From: B.C.J.O [EMAIL PROTECTED]
To: Noel Koethe [EMAIL PROTECTED]
Cc: Christian Kurz [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, October 08, 2001 11:29 PM
Subject: Re: Hanging run-parts weirdness!!!


 On Mon, 8 Oct 2001, Noel Koethe wrote:

  On Mon, 08 Okt 2001, Christian Kurz wrote:
 16310 pts/2S  0:00  \_ run-parts --report
/etc/cron.daily/
 16388 pts/2Z  0:00  \_ [man-db defunct]

 Every time different script, and if  I run every script manually
it is
 completed in a moment without problems!
 
I have no idea what the problem is.
Maybe its a good idea to report this bug to the debianutils
package where run-parts belong to.
  
   No, that's wrong because run-parts is working fine, but mandb is the
   program which is hanging around in defunctional status. So this bug
   should be reported against mandb. But please look before into the
   cronjob in /etc/cron.daily that is calling mandb and try running the
   exact command manual to see if it works or if that one hangs too.
 
  :) No. The initial mail show many hanging jobs from cron.daily and
  not always man.db. I tried all the cron.daily scripts many times
  by hand and this never happened.
  Sergey wrote now the same problems
(http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
  and I think this could be a run-parts problem.

 seems that cron isn't reaping its children correctly. I noticed this
 problem on a machine that I had moved to woody from potato. Kill off cron,
 and the zombies go away. There was a cron update a few days ago that seems
 to have lessened the problem to a certain extent. It's still a pain, tho.
 =)

 Brian
 [EMAIL PROTECTED]

 You can't depend on your judgement when your imagination
 is out of focus. -- Mark Twain


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread BeerBong

Forgot to say,
Fast fix.
Seems to be problem go away if you remove --report part...

---
Sergey BeerBong Polyakov
chief of WebZavod (http://www.webzavod.ru)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Mail Server Virus Protection

2001-10-08 Thread Andrew Tait

I have set up a server with exiscan along with McAfee VirusScan for Linux
and it has worked quite well.

The only problem is that messages aren't delivered immediately, there are
queued until the exiscan script checks them for virus's. Exim normally
attempts to deliver mail straight away.

Apart from that I am rather happy with it.

Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874

It's the smell! If there is such a thing. Agent Smith - The Matrix

- Original Message -
From: Jeremy C. Reed [EMAIL PROTECTED]
To: Debian ISP Mailing List [EMAIL PROTECTED]
Sent: Sunday, October 07, 2001 8:37 AM
Subject: Re: Mail Server Virus Protection


 Another scanner (which I haven't tried yet) is exiscan:

 http://duncanthrax.net/exiscan/ says:

 ... works together with the Exim MTA designed to be very easy to
 implement. Exiscan supports multithreaded unpacking and scanning of
 mail, with a configurable number of processes. Exiscan has generic
 support for available command line virus scanners. Exiscan can scan
 inside of MS-TNEF and SMIME (signed) wrapped messages.

 I started making a list of different filters and scanners:
  http://www.reedmedia.net/misc/mail/filters.html
 (If anyone wants to share some comments for my page, please do.)

   Jeremy C. Reed
 ...
  ISP-FAQ.com -- find answers to your questions
  http://www.isp-faq.com/


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




webalizer

2001-10-08 Thread Matt Fair

Hello,
I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
I have several websites running on my server using Apache/1.3.9 (Unix), 
each site with its own config file.  I have a cron to run: webalizer -c 
config file each half hour.  On October 4th one of my sites got about 
20,000 hits and now from the 5th on does not record any records.  No 
daily stats, nothing.  Apache is still recording the transfer logs, and 
I manually executed webalizer with the config files, and it runs through 
the correctly, but does not generate any NEW stats, nothing past the 4th.

output:

Titan:/var/virtual/opensimpx/stats# /usr/bin/webalizer -c 
/etc/webalizer/opensimpx.org.conf
Webalizer V1.30-04 (Linux 2.2.12) English
Using logfile /var/log/apache/virtual/opensimpx/transfer.log
Creating output in /var/virtual/opensimpx/stats
Hostname for reports is 'www.opensimpx.org'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
26 records (26 ignored) in 0.00 seconds


Are there any known bugs like this in webalizer?
Any thoughts?
Thanks,
Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Martin Man

On Mon, Oct 08, 2001 at 01:32:59PM -0600, Matt Fair wrote:
 Hello,
 I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
 I have several websites running on my server using Apache/1.3.9 (Unix), 
 each site with its own config file.  I have a cron to run: webalizer -c 
 config file each half hour.  On October 4th one of my sites got about 
 20,000 hits and now from the 5th on does not record any records.  No 
 daily stats, nothing.  Apache is still recording the transfer logs, and 
 I manually executed webalizer with the config files, and it runs through 
 the correctly, but does not generate any NEW stats, nothing past the 4th.

since the beginning of september I'm sometimes getting something like
oversized request truncated from webalizer, though I haven't look at it
because upgrade to woody is underway just to let you know that mine is not
perfect as well (and no I really don't have any idea how many hits this site
have :-))...

 
 output:
 
 Titan:/var/virtual/opensimpx/stats# /usr/bin/webalizer -c 
 /etc/webalizer/opensimpx.org.conf
 Webalizer V1.30-04 (Linux 2.2.12) English
 Using logfile /var/log/apache/virtual/opensimpx/transfer.log
 Creating output in /var/virtual/opensimpx/stats
 Hostname for reports is 'www.opensimpx.org'
 Reading history file... webalizer.hist
 Reading previous run data.. webalizer.current
 26 records (26 ignored) in 0.00 seconds
 
 
 Are there any known bugs like this in webalizer?
 Any thoughts?
 Thanks,
 Matt
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 

-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread Noel Koethe
On Mon, 08 Okt 2001, BeerBong wrote:

Hello,

  6177 pts/2S  0:00  \_ -sh
 16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
 16388 pts/2Z  0:00  \_ [man-db defunct]
 
 What the hell is going on 
 Every time different script, and if  I run every script manually it is
 completed in a moment without problems!
 Kernel is 2.4.10 (on 2.4.9 was the same problems)
 Logs are clean. Machine is loaded by _many_ other jobs without any problems,
 I don't think that reason is broken memory, but I have another machines with
 the same Debian and kernel and daily scripts without any problems. Though,
 other machines less loaded.
 It's a very big trouble for me - please help.

I have the same problem on my SMP machine with kernel 2.4.5.
I have no idea what the problem is.
Maybe its a good idea to report this bug to the debianutils
package where run-parts belong to.

-- 
Noèl Köthe




Re: portslave

2001-10-08 Thread I. Forbes
Hello Russell 

I am busy testing a portslave server to replace my old ancient 
Cyclades-Y based terminal server.  

The old one ran mgetty and a pppd patched for radius 
authentication via the radius client library.  The patches have not 
been updated since pppd version 2.2 and the old machine still has 
a 2.0 series kernel.

I am using portslave 2000-12-24 which I built on potato from a deb 
source archive a while back and kernel 2.2.19. It seems to work 
and we will go live in a few days.

Do you know of a potato deb for the latest version, or if you have 
suggestions on how to get it to compile on potato, please let me 
know.  I ran into problems with an unsupported debhelper version. 
 Upgrading debhelper would require upgrading perl, by the time I 
have done that it wont look like a potato system any more.

I am also not too sure if I agree with your comments on portslave 
doing everything than mgetty can do.  I had a big battle to get 
portslave to work with my old modem to modem uucp clients.

Regards

Ian



On 5 Oct 2001, at 16:02, Russell Coker wrote:

 On Thu, 4 Oct 2001 17:34, Cathedral wrote:
  I`m configuring one board cylades cyclom-y and got all the board configured
  but now i can`t set the modens to work, i`ve configured the radius-client
  to authenticat on my radius-server and start pppd automaticaly.
  I have put a line like that on inittab
 
 
  C0:23:respawn:/sbin/getty -I ' AT OK ATW0' ttyC0 (also with /dev/)
  9600 -l path_to_radlogin/radlogin
  The modem answers the line but my win98 clients doesn`t connect do nybody
  can help me about that,i`m getting really desperated.
 
 That will only work for terminal authentication (the default for Windows is 
 AutoPPP).  Also are you sure that your -I parameter is correct?  The 
 documentation for the version of getty that I use doesn't indicate support 
 for chat scripts.
 
 Why not use Portslave?  It answers the phone and supports full chatscript 
 functionality for modem configuration etc.  Portslave presents a login: 
 prompt and authenticates with a RADIUS server.  It also recognises AutoPPP 
 sequences and runs pppd with a special module so that the pppd will talk to 
 the RADIUS server for authentication.  When the connection is finished the 
 details of bytes and packets transferred will be logged to the RADIUS server.
 
 Also Portslave supports a variety of options for running ssh, telnet, or 
 rlogin connections based on what the RADIUS server specifies.
 
 
 Anything that can be done by getty, mgetty, radius-client, etc can be done 
 better by Portslave.
 
 Another thing, currently there are two active Portslave developers, me and a 
 Cyclades employee (the Cyclades TS4000 type boxes run a derivative of my 
 2000-12-25 release).  Run the latest Portslave from unstable and you get most 
 of the features of the high-end Cyclades terminal server boxes, plus some 
 features that haven't yet been copied into the Cyclades tree.
 
 -- 
 http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
 http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
 http://www.coker.com.au/projects.html Projects I am working on
 http://www.coker.com.au/~russell/ My home page
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread Noel Koethe
On Mon, 08 Okt 2001, Christian Kurz wrote:

Hello Small,:)

   16310 pts/2S  0:00  \_ run-parts --report /etc/cron.daily/
   16388 pts/2Z  0:00  \_ [man-db defunct]
   
   Every time different script, and if  I run every script manually it is
   completed in a moment without problems!

  I have no idea what the problem is.
  Maybe its a good idea to report this bug to the debianutils
  package where run-parts belong to.
 
 No, that's wrong because run-parts is working fine, but mandb is the
 program which is hanging around in defunctional status. So this bug
 should be reported against mandb. But please look before into the
 cronjob in /etc/cron.daily that is calling mandb and try running the
 exact command manual to see if it works or if that one hangs too.

:) No. The initial mail show many hanging jobs from cron.daily and
not always man.db. I tried all the cron.daily scripts many times
by hand and this never happened.
Sergey wrote now the same problems 
(http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
and I think this could be a run-parts problem.

part of ps(1):
...
   Processes  marked  defunct are dead processes (so-called zombies) 
that remain because their parent has
   not destroyed them properly. These processes will be destroyed by 
init(8) if the parent process exits.
...

The parent proccess is run-parts if I understand everything correct.

Here 2 other examples from the last 2 days:

root  6697  0.0  0.0  18004 ?SOct06   0:00 /USR/SBIN/CRON
root  6702  0.0  0.0  21724 ?SOct06   0:00 /bin/sh -c test 
-e /usr/sbin/anacron || run-parts --report /etc/cron.daily
root  6704  0.0  0.0  12764 ?SOct06   0:00 run-parts 
--report /etc/cron.daily
root  9292  0.0  0.0 00 ?ZOct06   0:00 [logrotate 
defunct]

root 32644  0.0  0.0  1800  444 ?SOct07   0:00 /USR/SBIN/CRON
root 32649  0.0  0.0  2172 1008 ?SOct07   0:00 /bin/sh -c test 
-e /usr/sbin/anacron || run-parts --report /etc/cron.daily
root 32652  0.0  0.0  1276   80 ?SOct07   0:00 run-parts 
--report /etc/cron.daily
root  2220  0.0  0.0 00 ?ZOct07   0:00 [apache-ssl 
defunct]

-- 
Noèl Köthe




Re: Hanging run-parts weirdness!!!

2001-10-08 Thread B.C.J.O
On Mon, 8 Oct 2001, Noel Koethe wrote:

 On Mon, 08 Okt 2001, Christian Kurz wrote:
16310 pts/2S  0:00  \_ run-parts --report 
/etc/cron.daily/
16388 pts/2Z  0:00  \_ [man-db defunct]
   
Every time different script, and if  I run every script manually it is
completed in a moment without problems!

   I have no idea what the problem is.
   Maybe its a good idea to report this bug to the debianutils
   package where run-parts belong to.
 
  No, that's wrong because run-parts is working fine, but mandb is the
  program which is hanging around in defunctional status. So this bug
  should be reported against mandb. But please look before into the
  cronjob in /etc/cron.daily that is calling mandb and try running the
  exact command manual to see if it works or if that one hangs too.

 :) No. The initial mail show many hanging jobs from cron.daily and
 not always man.db. I tried all the cron.daily scripts many times
 by hand and this never happened.
 Sergey wrote now the same problems 
 (http://lists.debian.org/debian-isp/2001/debian-isp-200110/msg00078.html)
 and I think this could be a run-parts problem.

seems that cron isn't reaping its children correctly. I noticed this
problem on a machine that I had moved to woody from potato. Kill off cron,
and the zombies go away. There was a cron update a few days ago that seems
to have lessened the problem to a certain extent. It's still a pain, tho.
=)

Brian
[EMAIL PROTECTED]

You can't depend on your judgement when your imagination
is out of focus.   -- Mark Twain




webalizer

2001-10-08 Thread Matt Fair
Hello,
I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
I have several websites running on my server using Apache/1.3.9 (Unix), 
each site with its own config file.  I have a cron to run: webalizer -c 
config file each half hour.  On October 4th one of my sites got about 
20,000 hits and now from the 5th on does not record any records.  No 
daily stats, nothing.  Apache is still recording the transfer logs, and 
I manually executed webalizer with the config files, and it runs through 
the correctly, but does not generate any NEW stats, nothing past the 4th.

output:
Titan:/var/virtual/opensimpx/stats# /usr/bin/webalizer -c 
/etc/webalizer/opensimpx.org.conf
Webalizer V1.30-04 (Linux 2.2.12) English
Using logfile /var/log/apache/virtual/opensimpx/transfer.log
Creating output in /var/virtual/opensimpx/stats
Hostname for reports is 'www.opensimpx.org'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
26 records (26 ignored) in 0.00 seconds

Are there any known bugs like this in webalizer?
Any thoughts?
Thanks,
Matt



Re: Sendmail

2001-10-08 Thread Martin Man
On Sat, Oct 06, 2001 at 01:48:37PM -0700, Michael R. Welch wrote:
 snip/
 
 When I remotely scan the ports I can't find smtp services. So my question is
 how do you configure sendmail to start in daemon mode on reboot. I'm new to
 debian but have some unix/linux experience as a user and super user, but am
 unfamiliar with some of the finer details.

generally all system services are started thru /etc/init.d/... scripts, which
are linked to appropriate runlevel directories /etc/rc?.d/..., the default
boot runlevel can be found in /etc/inittab on the line containing initdefault,
... to see whether the service is running at the machine you can use 

netstat -ltu (listen, tcp, udp)


more in nag, lag, etc. they're packaged...

 
 thanks
 
 Michael Welch
 

martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223




Re: webalizer

2001-10-08 Thread Martin Man
On Mon, Oct 08, 2001 at 01:32:59PM -0600, Matt Fair wrote:
 Hello,
 I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
 I have several websites running on my server using Apache/1.3.9 (Unix), 
 each site with its own config file.  I have a cron to run: webalizer -c 
 config file each half hour.  On October 4th one of my sites got about 
 20,000 hits and now from the 5th on does not record any records.  No 
 daily stats, nothing.  Apache is still recording the transfer logs, and 
 I manually executed webalizer with the config files, and it runs through 
 the correctly, but does not generate any NEW stats, nothing past the 4th.

since the beginning of september I'm sometimes getting something like
oversized request truncated from webalizer, though I haven't look at it
because upgrade to woody is underway just to let you know that mine is not
perfect as well (and no I really don't have any idea how many hits this site
have :-))...

 
 output:
 
 Titan:/var/virtual/opensimpx/stats# /usr/bin/webalizer -c 
 /etc/webalizer/opensimpx.org.conf
 Webalizer V1.30-04 (Linux 2.2.12) English
 Using logfile /var/log/apache/virtual/opensimpx/transfer.log
 Creating output in /var/virtual/opensimpx/stats
 Hostname for reports is 'www.opensimpx.org'
 Reading history file... webalizer.hist
 Reading previous run data.. webalizer.current
 26 records (26 ignored) in 0.00 seconds
 
 
 Are there any known bugs like this in webalizer?
 Any thoughts?
 Thanks,
 Matt
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 

-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223




Re: webalizer

2001-10-08 Thread Jeremy C. Reed
On Mon, 8 Oct 2001, Martin Man wrote:

 since the beginning of september I'm sometimes getting something like
 oversized request truncated from webalizer, though I haven't look at it

Same here. In my case, these were requests by the Code Red-type worm.

I am guessing that there is a config option to allow longer requests. (But
I don't see it in my manual page.)

  Jeremy C. Reed
...
 ISP-FAQ.com -- find answers to your questions
 http://www.isp-faq.com/




Re: webalizer

2001-10-08 Thread Jeremy C. Reed
On Mon, 8 Oct 2001, Matt Fair wrote:

 daily stats, nothing.  Apache is still recording the transfer logs, and 

Are the transfers really being recorded to
/var/log/apache/virtual/opensimpx/transfer.log?

 26 records (26 ignored) in 0.00 seconds

This looks like it has 26 old entries but no new ones. Have a look.

  Jeremy C. Reed
...
 ISP-FAQ.com -- find answers to your questions
 http://www.isp-faq.com/





Re: webalizer

2001-10-08 Thread Matt Fair
Yes,
I did a tail -f /var/log/apache/virtual/opensimpx/transfer.log and I can 
see traffic coming to the site.

Jeremy C. Reed wrote:
On Mon, 8 Oct 2001, Matt Fair wrote:

daily stats, nothing.  Apache is still recording the transfer logs, and 

Are the transfers really being recorded to
/var/log/apache/virtual/opensimpx/transfer.log?

26 records (26 ignored) in 0.00 seconds
This looks like it has 26 old entries but no new ones. Have a look.
  Jeremy C. Reed
...
 ISP-FAQ.com -- find answers to your questions
 http://www.isp-faq.com/





Re: webalizer

2001-10-08 Thread Cameron Moore
* [EMAIL PROTECTED] [2001.10.08 13:44]:
 Hello,
 I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
 I have several websites running on my server using Apache/1.3.9 (Unix), 
 each site with its own config file.  I have a cron to run: webalizer -c 
 config file each half hour.  On October 4th one of my sites got about 
 20,000 hits and now from the 5th on does not record any records.  No 
 daily stats, nothing.  Apache is still recording the transfer logs, and 
 I manually executed webalizer with the config files, and it runs through 
 the correctly, but does not generate any NEW stats, nothing past the 4th.

I'm seeing the exact same problem (same version of webalizer but newer
apache).  Nothing was changed on the box -- it just stopped working.
Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
First one to figure out the problem speak up.  :-)
-- 
Cameron Moore




Re: webalizer

2001-10-08 Thread Matt Fair
Hello,
After looking this problem over some more, it seems it just ignores 
changes, I removed the webalizer.current file, re-ran webalizer and it 
got todays stats, but when I put back my original webalizer.current file 
an re-ran webalizer again it doesn't change anything, instead it ignores 
129 records.  I removed the html file thinking it may have just not 
generated the new page, but it doesn't generate any new page either. 
The main question here is there any way to force webalizer to read the 
records, why are they being ignored?
Thanks,
Matt

Cameron Moore wrote:
* [EMAIL PROTECTED] [2001.10.08 13:44]:
Hello,
I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12) English. 
I have several websites running on my server using Apache/1.3.9 (Unix), 
each site with its own config file.  I have a cron to run: webalizer -c 
config file each half hour.  On October 4th one of my sites got about 
20,000 hits and now from the 5th on does not record any records.  No 
daily stats, nothing.  Apache is still recording the transfer logs, and 
I manually executed webalizer with the config files, and it runs through 
the correctly, but does not generate any NEW stats, nothing past the 4th.

I'm seeing the exact same problem (same version of webalizer but newer
apache).  Nothing was changed on the box -- it just stopped working.
Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
First one to figure out the problem speak up.  :-)




Re: webalizer

2001-10-08 Thread Asher Densmore-Lynn
At 03:15 PM 10/8/01 -0500, Cameron Moore wrote:

I'm seeing the exact same problem (same version of webalizer but newer
apache).  Nothing was changed on the box -- it just stopped working.
Plenty of resources (disk, memory, etc).  Seems like a webalizer bug.
First one to figure out the problem speak up.  :-)

Back up all the webalizer.* files, then cut the log file up into pieces and
figure out which one is giving webalizer such a headache? If there's a
particular malformed line involved, Perl might be able to make the logchunk
more palatable for it.

--
Asher Densmore-Lynn [EMAIL PROTECTED]




Re: webalizer

2001-10-08 Thread Remco van de Meent
Cameron Moore wrote:
  I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12)
  English.  I have several websites running on my server using
  Apache/1.3.9 (Unix), each site with its own config file.  I have a
  cron to run: webalizer -c config file each half hour.  On October
  4th one of my sites got about 20,000 hits and now from the 5th on
  does not record any records.  No daily stats, nothing.  Apache is
  still recording the transfer logs, and I manually executed
  webalizer with the config files, and it runs through the correctly,
  but does not generate any NEW stats, nothing past the 4th.
 
 I'm seeing the exact same problem (same version of webalizer but
 newer apache).  Nothing was changed on the box -- it just stopped
 working. Plenty of resources (disk, memory, etc).  Seems like a
 webalizer bug. First one to figure out the problem speak up.  :-)

I can't reproduce the problem as I don't have a potato box at hand.
However recompiling that very same version of webalizer against a newer
C library (like the one in woody) seems to solve the problem as well.
Kinda weird.

Maybe someone can grab the sources for the webalizer package from
woody (i.e. webalizer version 2.01.6-something) and recompile it on
potato (don't know if it works out of the box), and see if that works?

Or send me the output of strace running webalizer within strace on a
(small, please, thank you) logfile that triggers the bug, on potato?


regards,
Remco (with webalizer package maintainer hat on)




Re: webalizer

2001-10-08 Thread Marcin Owsiany
On Mon, Oct 08, 2001 at 01:01:16PM -0700, Jeremy C. Reed wrote:
 
 I am guessing that there is a config option to allow longer requests. (But
 I don't see it in my manual page.)

I don't think so. I remember I had to patch it and recompile.

Marcin
-- 
Marcin Owsiany [EMAIL PROTECTED]  http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216




Re: webalizer

2001-10-08 Thread Cameron Moore
* [EMAIL PROTECTED] [2001.10.08 15:36]:
 Cameron Moore wrote:
   I am using Debian Stable with Webalizer V1.30-04 (Linux 2.2.12)
   English.  I have several websites running on my server using
   Apache/1.3.9 (Unix), each site with its own config file.  I have a
   cron to run: webalizer -c config file each half hour.  On October
   4th one of my sites got about 20,000 hits and now from the 5th on
   does not record any records.  No daily stats, nothing.  Apache is
   still recording the transfer logs, and I manually executed
   webalizer with the config files, and it runs through the correctly,
   but does not generate any NEW stats, nothing past the 4th.
  
  I'm seeing the exact same problem (same version of webalizer but
  newer apache).  Nothing was changed on the box -- it just stopped
  working. Plenty of resources (disk, memory, etc).  Seems like a
  webalizer bug. First one to figure out the problem speak up.  :-)
 
 I can't reproduce the problem as I don't have a potato box at hand.
 However recompiling that very same version of webalizer against a newer
 C library (like the one in woody) seems to solve the problem as well.
 Kinda weird.

Well, to add to the confusion, I've also got a Sun 5.x box that has a
broken webalizer.  Exact same problem.

/me scratches his head...
-- 
Cameron Moore




Re: webalizer

2001-10-08 Thread Peter Billson
  Take a look at your webalizer.current file. The second line will be
the date of the last record processed. Webalizer will not process any
files before that date to prevent duplication. I have manually changed
the date to process older log files with success.


Pete Billson
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting




Re: webalizer

2001-10-08 Thread Remco van de Meent
Hi.

A workaround is to change the epoch from 1/1/1990 to 1/1/2000 in the
webalizer.c sources and recompile. Credits go to Mait Vares.

Anyone know if the number of seconds from 1/1/1990 till 5/10/2001 is
something like 10^x or 2^y ? :-)


regards,
Remco.
 




RE: Sendmail

2001-10-08 Thread Michael R. Welch
Thanks Martin,

I'll check that out. I have been able to verify that sendmail is working for
outgoing stuff by getting a form mailer working. It's just not replying by
sending to my account @ the ip address. I believe that
sendmail is configured to use my domain name but cant yet because my DNS
changes haven't occured yet from my old site to my new site.

Michael Welch


-Original Message-
From: Martin Man [mailto:[EMAIL PROTECTED]
Sent: Monday, October 08, 2001 12:36 PM
To: Michael R. Welch
Cc: debian - isp
Subject: Re: Sendmail


On Sat, Oct 06, 2001 at 01:48:37PM -0700, Michael R. Welch wrote:
 snip/

 When I remotely scan the ports I can't find smtp services. So my question
is
 how do you configure sendmail to start in daemon mode on reboot. I'm new
to
 debian but have some unix/linux experience as a user and super user, but
am
 unfamiliar with some of the finer details.

generally all system services are started thru /etc/init.d/... scripts,
which
are linked to appropriate runlevel directories /etc/rc?.d/..., the default
boot runlevel can be found in /etc/inittab on the line containing
initdefault,
... to see whether the service is running at the machine you can use

netstat -ltu (listen, tcp, udp)


more in nag, lag, etc. they're packaged...


 thanks

 Michael Welch


martin
--
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223




Re: portslave

2001-10-08 Thread Russell Coker
On Mon, 8 Oct 2001 16:36, I. Forbes wrote:
 The old one ran mgetty and a pppd patched for radius
 authentication via the radius client library.  The patches have not
 been updated since pppd version 2.2 and the old machine still has
 a 2.0 series kernel.

 I am using portslave 2000-12-24 which I built on potato from a deb
 source archive a while back and kernel 2.2.19. It seems to work
 and we will go live in a few days.

The versions before 2001-06-20 all sucked in various ways.  It was only in 
the 2001-06-20 version that I really got the source under control.

 Do you know of a potato deb for the latest version, or if you have
 suggestions on how to get it to compile on potato, please let me
 know.  I ran into problems with an unsupported debhelper version.
  Upgrading debhelper would require upgrading perl, by the time I
 have done that it wont look like a potato system any more.

Hopefully I'll have one for you tomorrow.  I'll try and back-port the main 
ppp package at the same time.  Then you'll get the latest pppd along with the 
Portslave that uses the regular pppd (saves memory).

 I am also not too sure if I agree with your comments on portslave
 doing everything than mgetty can do.  I had a big battle to get
 portslave to work with my old modem to modem uucp clients.

Tell me exactly what you were trying to do and how it failed, if the current 
version can't handle it easily then I'll add some new features.

Also the recent versions have many more features regarding logins other than 
PPP/SLIP, whatever your problem was I'm sure it's a lot easier to solve now 
than a year ago!

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

 There's nothing stopping you from running Portslave with a single dial-in 
 line!

Is that like sending in the tanks? :)

 If your dial-in setup is serious enough to use a RADIUS server then it's big 
 enough for Portslave.
 
 Setting up the RADIUS server is likely to be the most difficult part of a 
 Portslave installation.

Can I authenticate with PAM, etc. somehow?

- Jeff

-- 
  Trying to get a PC to analyse one of the most abstract forms of  
   language - the poem - is like trying to drill for oil with a banana.
   - The Register   




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Tony Green
* This one time, at band camp, Jeff Waugh said:
  Setting up the RADIUS server is likely to be the most difficult part of a 
  Portslave installation.
 
 Can I authenticate with PAM, etc. somehow?
 

Well, RADIUS isn't that hard.  A simple radius server can auth from a
number of different 'backends'.  If you can't do PAM with the Portslave
natively, then radius will provide the functionality.

If you need any help with getting RADIUS working, give me a shout.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker
On Tue, 9 Oct 2001 01:27, Jeff Waugh wrote:
 quote who=Russell Coker

  There's nothing stopping you from running Portslave with a single dial-in
  line!

 Is that like sending in the tanks? :)

I like tanks!  ;)

  If your dial-in setup is serious enough to use a RADIUS server then it's
  big enough for Portslave.
 
  Setting up the RADIUS server is likely to be the most difficult part of a
  Portslave installation.

 Can I authenticate with PAM, etc. somehow?

Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

I recommend FreeRadius, although last time I checked the Debian package was 
still in limbo.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

  Is that like sending in the tanks? :)
 
 I like tanks!  ;)

Not on my phoneline, thank you. ;)

 Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some way.

Cool. I've never really looked at it, as I've always thought, oh no, that's
for like, *lots* of modems. :)

 I recommend FreeRadius, although last time I checked the Debian package was 
 still in limbo.  :(

I might pick it up if I get to like it.

- Jeff

-- 
  NASCAR is not race per se. It's just a contest about who can turn left   
the best. - Unknown




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Russell Coker
On Tue, 9 Oct 2001 02:12, Jeff Waugh wrote:
 quote who=Russell Coker

   Is that like sending in the tanks? :)
 
  I like tanks!  ;)

 Not on my phoneline, thank you. ;)

Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
fast, etc.

  Sure.  AFAIK every RADIUS server in the Unix world supports PAM in some
  way.

 Cool. I've never really looked at it, as I've always thought, oh no,
 that's for like, *lots* of modems. :)

Well the latest version of Portslave (the one that is too experimental for 
upload to Debian) has got some new code for direct authentication without 
RADIUS (which hasn't been properly tested yet)...

  I recommend FreeRadius, although last time I checked the Debian package
  was still in limbo.  :(

 I might pick it up if I get to like it.

Well the current maintainer isn't really looking for someone to take over the 
job, he just wants what he's done to be accepted and there was some hold-up 
last time I communicated with him.  :(

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Smaller dial-in systems [was: portslave]

2001-10-08 Thread Jeff Waugh
quote who=Russell Coker

Is that like sending in the tanks? :)
  
   I like tanks!  ;)
 
  Not on my phoneline, thank you. ;)
 
 Why?  The latest version is only an 80K deb!  It's small, resource friendly, 
 fast, etc.

I meant the tank. ;)

 Well the latest version of Portslave (the one that is too experimental for 
 upload to Debian) has got some new code for direct authentication without 
 RADIUS (which hasn't been properly tested yet)...

Very cool - I'm just getting my hands dirty with the current version as we
speak.

- Jeff

-- 
 The GPL is good. Use it. Don't be silly. - Michael Meeks