need advise: productive HDD is down

2001-07-30 Thread Dmitry Litovchenko

Hello All!

On Friday during thunderstorm productive HDD on our mail machine,
though being connected through UPS, fallen down with interesting
symptoms. Is boots as usually, LILO and other stuff but when it is
time to mount root partition, kernel panics with error Cannot mount
root.

When connected it to another Debian (of course :) machine, fdisk says
all partitions are ok, this 3G, this 1G etc. but mount refuses to
mount any of damaged partitions.

fsck (e2fsck) refuses to fix anything telling different things on
different partitions, Cannot mount FAT due to some blah blah blah or
superblock is damaged try to run e2fsck -b 8193 blah blah blah which
is also failed (I mean e2fsck -b 8193).

Are there any tools to explore and optionally restore damaged ext2fs as
we have clients mail and some sites there? Please advise some package
names to look at.

--
Sincerely,
Dmitry Litovchenko



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




Re: Router machine falls into APM sleep :(

2001-07-06 Thread Dmitry Litovchenko

On Fri, Jul 06, 2001 at 01:17:44PM -0700, Mike Fedyk wrote:
 On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote:
  Dmitry,
  Recompile the kernel without APM support.
  Matt
  
 Isn't there an ioctl that will let you disable apm at runtime?
 

if it is, where and how to reach it?
Maybe this isn't APM? ;)
But if so then which another service wakes up on keypress?

--
Sincerely,
Dmitry


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




Re: Router machine falls into APM sleep :(

2001-07-06 Thread Dmitry Litovchenko

On Fri, Jul 06, 2001 at 02:52:47PM -0400, Allen Ahoffman wrote:
 check the power management settings on the bios first, maybe it is going
 to sleep.

disabled, but awakement options all set to ON (just for my safety)

 Check your cron log and crontabs.

nothing special. I have syslog monitored at tty11: just portslave/pppd
activity of modem users and rare cron lines about my python tasks.
Nothing about APM or so... There is even NO APM WORD found by grep in
/var/log! I think it is something different. Maybe next reboot I'll
check BIOS settings again.

 Are there times when the system is really completely idel--no users?

yes, deeply in the morning, when all night users went to their beds and
when day users are still sleeping. Approx 2-3 hours of dialup and network
idle, but cron awakes with python tasks every minute for different purposes.

 If so, set up some jobs to run continuously to keep it happy and nice them
 low.
 Might make the problem go away for temporary purposes.

It doesn't go away. I have set up crontab to ping leased client with 5
small packets every 10 minutes... Guess what? It didn't help... :(

 set up syslog to log to external box so you can more easily diagnose log
 files.
 Check the kernel compilation and see if power management is on and active,
 turn it off if it is.

As I have recently checked my 'make menuconfig' infos on 'APM' subject...
It is off. And there is no visible reason for my PC to sleep, but ping
from outside disappears after 1 hour or more of idle.

P.S. What next? :-\  I will check BIOS setting upon next reboot.

--
Sincerely,
Dmitry


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




Router machine falls into APM sleep :(

2001-07-06 Thread Dmitry Litovchenko
Hello, respectable ISP community :)

I am Internet-administrator in University (see my email :) and on
small ISP. Got one problem with my router PC. All of my PCs are
Debians and one onf them, approx. month ago installed directly from
Internet (with boot floppies and LAN cable) if this matters.

So this PC got an ugly habit to go to APM (or whatever?) sleep if
not used for some time. This is not bad, but it holds leased line
client connected to 10Mbit NIC and 6 dialin modems on multiport
card... At this time they cannot work at all, modems accept login
but pppX interfaces do not route! Leased client can ping our server
but can't ping Internet. If one press any key (for example Shift)
on Router keyboard, routing quickly goes up and all things restore.

No APM daemons were found running in memory using 'ps fax' command.
No APM options were sut up in BIOS (afair) and it has set up in
BIOS to wake on any events, including LAN events.

Please tell me where to dig? My boss kicks me every day for this :)

--
Sincerely,
Dmitry




Re: Router machine falls into APM sleep :(

2001-07-06 Thread Dmitry Litovchenko
On Fri, Jul 06, 2001 at 01:17:44PM -0700, Mike Fedyk wrote:
 On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote:
  Dmitry,
  Recompile the kernel without APM support.
  Matt
  
 Isn't there an ioctl that will let you disable apm at runtime?
 

if it is, where and how to reach it?
Maybe this isn't APM? ;)
But if so then which another service wakes up on keypress?

--
Sincerely,
Dmitry




Re: Router machine falls into APM sleep :(

2001-07-06 Thread Dmitry Litovchenko
On Fri, Jul 06, 2001 at 02:52:47PM -0400, Allen Ahoffman wrote:
 check the power management settings on the bios first, maybe it is going
 to sleep.

disabled, but awakement options all set to ON (just for my safety)

 Check your cron log and crontabs.

nothing special. I have syslog monitored at tty11: just portslave/pppd
activity of modem users and rare cron lines about my python tasks.
Nothing about APM or so... There is even NO APM WORD found by grep in
/var/log! I think it is something different. Maybe next reboot I'll
check BIOS settings again.

 Are there times when the system is really completely idel--no users?

yes, deeply in the morning, when all night users went to their beds and
when day users are still sleeping. Approx 2-3 hours of dialup and network
idle, but cron awakes with python tasks every minute for different purposes.

 If so, set up some jobs to run continuously to keep it happy and nice them
 low.
 Might make the problem go away for temporary purposes.

It doesn't go away. I have set up crontab to ping leased client with 5
small packets every 10 minutes... Guess what? It didn't help... :(

 set up syslog to log to external box so you can more easily diagnose log
 files.
 Check the kernel compilation and see if power management is on and active,
 turn it off if it is.

As I have recently checked my 'make menuconfig' infos on 'APM' subject...
It is off. And there is no visible reason for my PC to sleep, but ping
from outside disappears after 1 hour or more of idle.

P.S. What next? :-\  I will check BIOS setting upon next reboot.

--
Sincerely,
Dmitry




Re: Virus scanners

2001-06-07 Thread Dmitry Litovchenko
 Hi all,
 Can any body suggest a decent virus scanner for Linux?
 I've heard that Sophos is good, but its a bit pricy...
 But anything that'll work with amavis would be a great help.

 Thx in advanced.
 Simon

Please visit www.avp.ru (you will need to look for English version on
the title page if you're unfamiliar with Russian :) There is Antiviral
Toolkit Pro - antivirus scanner fior Linux, FreeBSD and Windoze
servers and workstations. I didn't try Linux version yet, but windoze
version is popular in Russia and Ukraine, not legal copies, of course,
most of us here cannot buy commercial software :) Maybe pricing may
satisfact you...

For example such an software is present (my mailer told me so) on
freemail.ukr.net webserver, etc.

This is good antiviral software to play with. There is demo for RedHat
workstations...

--
Sincerely,
Dmitry





Re[2]: Virus scanners

2001-06-07 Thread Dmitry Litovchenko
This is cut-off from the avp.ru page (skip advertising and see
what it does):


Kaspersky Anti-Virus Business Optimal consists of three main
components to provide you with dependable control over all potential
sources of penetrating viruses:

- Virus protection for workstations running : Windows 95/98/ME, Windows
  2000/NT Workstation, Linux

- Virus protection for servers running : Windows NT Server, Novell
  NetWare, Linux, FreeBSD Unix 3.X, FreeBSD Unix 4.X, BSDi Unix 3.X,
  BSDi Unix 4.X

- Virus protection for e-mail gateways running : Microsoft Exchange
  Server, Lotus Notes/Domino, Sendmail, Qmail, Postfix.

--
http://www.avp.ru/products.asp?tgroup=3pgroup=9id=27

Kaspersky Anti-Virus (AVP) for Linux Server

Make your work with Linux completely safe 

Use the most advanced anti-virus technology available against attacks
from malicious programs of any type

Create a comprehensive defense to prevent viruses from entering your
   network via e-mail, the Internet, floppy disks and other entry points

Easily integrate anti-virus protection into third-party applications 

Create centralized anti-virus protection for your e-mail gateways 

Take advantage of free round-the-clock technical support and daily
 anti-virus database updates

---
P.S. some people may think this is ad :) ha, I'm not intended to
 promote any of these products, personally I'm using Norton AV for
 windoze and I am happy with it :)





Re[2]: Have you been hacked by f*ck PoizonBOx?

2001-06-04 Thread Dmitry Litovchenko

 Potantialy I am in danger, because I use a ISDN-Flatrate and I am
 connected 24/24 and 7/7 to the Internet. And now I have 7 MBytes
 of logs in less then 2 hours.
 
 Michelle

 Would you be interested in sharing the attacking IP with us so that we
 can blacklist it?

You can try to install Portsentry product (seek it at freshmeat.net)
to autoban attacking IPs with your firewall. And then, when attack
will calm down, you can analyze IP list and do anything you want :)

--
Dmitry





Re: TCP connection problem.

2001-06-01 Thread Dmitry Litovchenko


 I have a tcp connection problem.

 I connect to the Internet using a Debian 2.2r2.
 Some web servers refuse to respond to my requests.
 No matter witch browser I use (Lynx, Netscape Opera), they access the
 web servers but 
 no data is transferred from them. 
 The servers seems to run on Windoze NT 4.0.
 One example of this is www.conexant.com  
 I try telnet webserver.com 80 and after connection I send a request like
 a browser do, but the response does not come. I suspect somme tcp
 connection problems. 
 If I use a proxy from the net all works fine.

Those servers seem to check if your IP can be reverse-resolved to an
internet domain name. If you do have external IP (e.g. not masqueraded
by your ISP) then you should have your IP to be written in DNS
reverse-lookup tables, ask your ISP to do so or do it yourself if DNS
in on your machine. This could help.

 Could be my kernel (custom 2.2.19) the source of this problem ?
 Please help !



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




TCPD with traffic shaping capabilities?

2001-05-25 Thread Dmitry Litovchenko
Hello, Debian world!

Does anybody know how to limit incomming (and maybe outgoing) traffic
on tcpd-wrapped service. Some kind of tunnels or queues, I think.

Yes, yes, I know traffic shaper works only on outgoing traffic. Yes, I
have this. But also I have incoming traffic to shape and just don't
know how to do that. While squid does this well with delay_pools,
sendmail (for example) can receive unneeded mails with 300MByte game
all night away. Okay, I have set mail limit to 2MB per mail, but two
nights later situation repeated, when I had full pool of unsent mails
(mass mail) which unsuccessfully tried to deliver all the night. Again
traffic load was totally up and while we are paying for traffic
percentage per month I do not want to have my load graphs 100% up.

Maybe tcpd has some options (I haven't found any yet) or another tcpd
wrapper?

--
Sincerely,
Dmitry





Apache does not recognize POST method

2001-05-21 Thread Dmitry Litovchenko

Hello everybody!

Here is one little question. I am up and running Debian on small
University network to serve web pages and to allow internal users to
be online and the question is:

My Apache servers local on Windoze machine and on Debian server both
do not recognize POST method in HTML forms, to make my sites work I
should replace form method=POST by form method=GET in pages. This
is because Squid or Apache loses HTTP headers where POST data is
stored during request. This problem began after my Mandrake server
become Debian one and persists almost 3 months. As this problem does
occur even on Windoze machine I think Squid has no relation to this
problem.

Does anybody know how to make HTTP POST method work in Apache?
Some modules to include?

--
Sincerely, Dmitry



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




Re[2]: Apache does not recognize POST method

2001-05-21 Thread Dmitry Litovchenko


 To Dmitry:
 Do you have apache and squid running on the same box?
Yes I do. Every connection to outer world's ports 80, 8080 and 3128 is
transparently IPTABLE'd through squid on the same box.

 What type of file are you posting to? for example: .txt, .html, .pl,
 etc...
Just Python scripts: .py files

 What is the error?
 a snip from the error_log would help.
The problem is that script does not see form fields passed through
POST method (invisible data in request header). Apache logs tell
nothing, squid logs, as it seems, too.

 What version of apache and squid are you running?
Russian port of Apache.
Server version: Apache/1.3.14 (Unix)
Server built:   Apr 18 2001 09:56:02

To people, claiming that Russian Apache can be sucks, I can say that
problem has began much before the time when Russian Apache came to my
Linux box.

 $./trent
 [EMAIL PROTECTED]

 - Original Message -
 From: Dmitry Litovchenko [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 21, 2001 2:33 AM
 Subject: Apache does not recognize POST method


 Hello everybody!

 Here is one little question. I am up and running Debian on small
 University network to serve web pages and to allow internal users to
 be online and the question is:

 My Apache servers local on Windoze machine and on Debian server both
 do not recognize POST method in HTML forms, to make my sites work I
 should replace form method=POST by form method=GET in pages. This
 is because Squid or Apache loses HTTP headers where POST data is
 stored during request. This problem began after my Mandrake server
 become Debian one and persists almost 3 months. As this problem does
 occur even on Windoze machine I think Squid has no relation to this
 problem.

 Does anybody know how to make HTTP POST method work in Apache?
 Some modules to include?



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




Apache does not recognize POST method

2001-05-21 Thread Dmitry Litovchenko
Hello everybody!

Here is one little question. I am up and running Debian on small
University network to serve web pages and to allow internal users to
be online and the question is:

My Apache servers local on Windoze machine and on Debian server both
do not recognize POST method in HTML forms, to make my sites work I
should replace form method=POST by form method=GET in pages. This
is because Squid or Apache loses HTTP headers where POST data is
stored during request. This problem began after my Mandrake server
become Debian one and persists almost 3 months. As this problem does
occur even on Windoze machine I think Squid has no relation to this
problem.

Does anybody know how to make HTTP POST method work in Apache?
Some modules to include?

--
Sincerely, Dmitry





Re[2]: Apache does not recognize POST method

2001-05-21 Thread Dmitry Litovchenko

 To Dmitry:
 Do you have apache and squid running on the same box?
Yes I do. Every connection to outer world's ports 80, 8080 and 3128 is
transparently IPTABLE'd through squid on the same box.

 What type of file are you posting to? for example: .txt, .html, .pl,
 etc...
Just Python scripts: .py files

 What is the error?
 a snip from the error_log would help.
The problem is that script does not see form fields passed through
POST method (invisible data in request header). Apache logs tell
nothing, squid logs, as it seems, too.

 What version of apache and squid are you running?
Russian port of Apache.
Server version: Apache/1.3.14 (Unix)
Server built:   Apr 18 2001 09:56:02

To people, claiming that Russian Apache can be sucks, I can say that
problem has began much before the time when Russian Apache came to my
Linux box.

 $./trent
 [EMAIL PROTECTED]

 - Original Message -
 From: Dmitry Litovchenko [EMAIL PROTECTED]
 To: debian-isp@lists.debian.org
 Sent: Monday, May 21, 2001 2:33 AM
 Subject: Apache does not recognize POST method


 Hello everybody!

 Here is one little question. I am up and running Debian on small
 University network to serve web pages and to allow internal users to
 be online and the question is:

 My Apache servers local on Windoze machine and on Debian server both
 do not recognize POST method in HTML forms, to make my sites work I
 should replace form method=POST by form method=GET in pages. This
 is because Squid or Apache loses HTTP headers where POST data is
 stored during request. This problem began after my Mandrake server
 become Debian one and persists almost 3 months. As this problem does
 occur even on Windoze machine I think Squid has no relation to this
 problem.

 Does anybody know how to make HTTP POST method work in Apache?
 Some modules to include?