Linux-Misc Digest #364, Volume #27               Thu, 15 Mar 01 02:13:04 EST

Contents:
  Re: file restoration for lotus 1-2-3 ([EMAIL PROTECTED])
  Re: Bizarre message ("Dennis")
  Re: compile error - gcc (Paul Kimoto)
  can a serial connection work when keyboard/monitor doesn't? (Randy R)
  script to monitor and kill/restart runaway processes on Linux server (Randy R)
  Re: Debian apt question (Paul Kimoto)
  USB modems supported (Stearns28)
  Re: How to startup prog automatically. ([EMAIL PROTECTED])
  Re: can a serial connection work when keyboard/monitor doesn't? (Dances With Crows)
  JUNKBUSTER breaks website form logins? ("Flacco")
  Re: USB modems supported (Jay & Shell)
  Re: JUNKBUSTER breaks website form logins? ("Flacco")
  Re: How to startup prog automatically. ([EMAIL PROTECTED])
  Is it hard to change the package using? (Carfield Yim)
  Re: Books on Unix Kernel for non-programmer. ("Michael Vilain ")
  Re: compile error - gcc ("Katriel Traum")
  Re: Books on Unix Kernel for non-programmer. (Jefferson Ogata)
  Re: script to monitor and kill/restart runaway processes on Linux server 
([EMAIL PROTECTED])
  source rpm's not quite right ("D. Stimits")
  Re: USB modems supported (David Efflandt)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: Re: file restoration for lotus 1-2-3
Date: Thu, 15 Mar 2001 04:16:06 GMT

SCOTT <[EMAIL PROTECTED]> writes:
> In lotus 1-2-3 release 5.0, I saved a blank worksheet as a very
> important file and thus erased all the data in that file.  Can I
> recover the "old" version of this file.  How?  Thank you as it is a
> very critical data file.

Fairly likely not, unless you are exceedingly lucky.  When a file is
"overwritten," this tends to result in the formerly occupied blocks
getting tossed onto some form of "free list," eventually to be
reclaimed and used for some other purpose.

If it has been a while since the "overwriting," and you have made
quite a lot of changes to files on the filesystem involved, then it is
fairly likely that the old version has been overwritten.  

If that be the case, recovery methods likely involve fairly ridiculous
extremes like hiring in security engineers to use things like electron
microscopes to pull signals off the hard drive.  Down that road lies
costs of thousands of dollars...

More likely, you've lost the data, with no practical recourse.  This
is a painful lesson that demonstrates the _necessity_ of doing regular
backups of important data.

There's a sad story (perhaps, but probably not, apocryphal) of a
graduate student that was nearing completion on a Ph.D thesis; shortly
before submission, there was a fire that burned his apartment, along
with the text of the thesis, as well as all his notes.  There was
nothing to be done, as his thesis efforts became _ashes_.  He could
not muster the funds or the emotional effort to restart the process,
and had to give up on the degree.

I had a disk crash, destroying the whole text, at about that same
point in my M.Sc, just as I was finalizing things.  Fortunately, I was
_already_ paranoid, and had enough backups stashed away in different
cities for it to be a non-issue.  [I lost more time out of the 6 days
it took to ship in a new drive than from anything else.]

By the way, your question doesn't seem likely to have much of anything
to do with Linux, as Lotus 123 is not an application known for running
on Linux...
-- 
(reverse (concatenate 'string "gro.gultn@" "enworbbc"))
http://vip.hex.net/~cbbrowne/finances.html
"I still maintain the point that designing a monolithic kernel in 1991
is  a fundamental error.   Be thankful  you are  not my  student.  You
would not get a high grade  for such a design :-)" -- Andrew Tanenbaum
to Linus Torvalds

------------------------------

From: "Dennis" <[EMAIL PROTECTED]>
Subject: Re: Bizarre message
Date: Thu, 15 Mar 2001 08:10:27 +0400

Hi Juergen

Thanks for your valuable help.
If i disable it in the /etc/inittab, does it mean that Squid will no longer
work?

Thanks for your help
Regards
Dennis

"Juergen Heinzl" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <98njm2$4dd$[EMAIL PROTECTED]>, Dennis wrote:
> [-]
> >Exec : /usr/man/man4/squid : cannot execute : No such file or directory
> >
> >This message appears at least 10 times, then he gets this :
> >
> >
> >
> >INIT : Id "pa" respawning too fast : disabled for 5 minutes
> [-]
> See /etc/inittab and search for an entry like this ...
>
> xt:5:respawn:/opt/X11R6/GNUstep/Apps/Login.app/Login
>
> ... where what's xt: here must read pa. respawn means
> re-start as soon as the process has died. Since squid
> in /usr/man/man4 is hardly an executable init is trying
> very hard but gives up after a time.
>
> You can put a # in front of the line, then (as root)
> run /sbin/telinit q to re-read /etc/inittab.
>
> Then you can hunt down the problem since as long as
> you don't remove the # init isn't going to try that
> line again.
>
> >Since I am also new to Linux I asked him to reboot his server.
> >
> >However the same message appears after the reboot.
> [-]
> Yes, sure.
>
> >What is this squid? I found in /etc/passwd an account with this same
name..
> >But my friend tells me no one uses this account.
> [-]
> It's a httpd proxy cache server and yes, at times one uses
> a special account like httpd here for my, well, httpd server.
>
> It's just so the uid for that one exists and those accounts
> don't have a $HOME or so.
>
> >Can this be a hacker?
> [-]
> If so it was a very stupid one.
>
> Cheers,
> Juergen
>
> --
> \ Real name     : Juergen Heinzl                \       no flames      /
>  \ EMail Private : [EMAIL PROTECTED] \ send money instead /



------------------------------

From: [EMAIL PROTECTED] (Paul Kimoto)
Crossposted-To: comp.os.linux.setup
Subject: Re: compile error - gcc
Date: 14 Mar 2001 23:31:21 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Nick Traxler wrote:
> I am trying to replace the compiler packaged with redhat 
> 7 (gcc 2.96) with the current stable release, 2.95.2.
> But, the compile dies

It is known that gcc-2.95.2 doesn't build right on glibc-2.2 systems.
I'm not sure whether you are running into this particular problem,
but you could try

(1) applying the patch at
    http://clisp.cons.org/~haible/gcc-glibc-2.2-compat.diff

or

(2) trying gcc-2.95.3.test*, which is being prepared for release soon; see
    http://gcc.gnu.org/ml/gcc/2001-03/msg00387.html

-- 
Paul Kimoto
This message was originally posted on Usenet in plain text.  Any images, 
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.

------------------------------

From: Randy R <[EMAIL PROTECTED]>
Subject: can a serial connection work when keyboard/monitor doesn't?
Date: Thu, 15 Mar 2001 04:31:27 GMT

I work for a fairly large sized Website provider, and we also have
dedicated Linux servers. One of my jobs is rebooting dedicated servers
that have crashed for one reason or the other. 99% of the time I have
to do a hard reboot. Is there any way to avoid this without having
someone on the server moitoring processes 24 hours a day?
  When I go to reboot the machine, I connect the monitor and keyboard
directly to the server, and usually I don't get anything, just a blank
screen and the keyboard doesn't do anything. I was wondering if either
a direct serial connection, or a connection via a console server would
at least allow me to soft reboot the machine, or if there is any other
way to reboot the machine without hitting reset ie a KVM switch, etc.

------------------------------

From: Randy R <[EMAIL PROTECTED]>
Subject: script to monitor and kill/restart runaway processes on Linux server
Date: Thu, 15 Mar 2001 04:37:12 GMT

This is related to my previous post. Again, I work for a medium sized
webhosting provider who also host dedicated Linux servers. I was
wondering if anyone could recommend some software or scripts that
would keep a Linux server from freezing up because of runnaway
processes, etc, or at least lessen the frequency. Or even if there was
a way to monitor the processes on a server, and make the computer
automatically reboot before it crashed.

------------------------------

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Debian apt question
Date: 14 Mar 2001 23:43:32 -0500
Reply-To: [EMAIL PROTECTED]

In article <bCVr6.390703$[EMAIL PROTECTED]>,
Gene Wilburn wrote:
> Hit http://http.us.debian.org potato/main Sources
> Ign http://http.us.debian.org potato/main Release
> Hit http://http.us.debian.org potato/non-free Sources 
> Ign http://http.us.debian.org potato/non-free Release 
> Hit http://http.us.debian.org potato/contrib Sources  
> Ign http://http.us.debian.org potato/contrib Release  
> 
> I've been looking for an explanation and haven't found it yet.
> What does "Ign" mean? Is it a problem?

Doesn't it just mean that the corresponding "Releases" file couldn't
be found?  (The files downloaded by potato's "apt-get update" go in
/var/state/apt/lists.)  There are several (seven, today) machines
serving as http.us.debian.org, and sometimes a few seem rather flaky.

(P.S.  Is there a reason for using "potato" rather than "stable"?
Are you skipping the security.debian.org stable/updates deliberately?)

-- 
Paul Kimoto
This message was originally posted on Usenet in plain text.  Any images, 
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.

------------------------------

From: [EMAIL PROTECTED] (Stearns28)
Date: 15 Mar 2001 04:59:53 GMT
Subject: USB modems supported

Do Linux kernel 2.2 and 2.4 support USB modems?  Are there any documentations
on this subject on-line?  

Thanks for any info and comments.

-Stearns


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: How to startup prog automatically.
Date: Thu, 15 Mar 2001 05:00:31 GMT

Tertr <[EMAIL PROTECTED]> writes:
> If I want to open a gnome-terminal automatically when I login the
> Redhat Linux graphical desktop(level 5). Just like the programs in
> the Windows startup folder. How can I set this?

You may want to look at the manual page for your favorite window
manager; WMs often provide a mechanism for this.  

For instance, I usually run WindowMaker, and it provides a
"point'n'click" way of requesting that apps run at start time.
-- 
(reverse (concatenate 'string "gro.gultn@" "enworbbc"))
http://www.ntlug.org/~cbbrowne/finances.html
What hair color do they put on the driver's licenses of bald men?

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: can a serial connection work when keyboard/monitor doesn't?
Date: 15 Mar 2001 05:20:50 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 15 Mar 2001 04:31:27 GMT, Randy R staggered into the Black Sun
and said:
>dedicated Linux servers. One of my jobs is rebooting dedicated servers
>that have crashed for one reason or the other. 99% of the time I have
>to do a hard reboot. 

Has anyone done any investigation of this?  Linux machines running the
stable kernel Just Shouldn't Die so long as the hardware is OK.

>Is there any way to avoid this without having someone on the server
>moitoring processes 24 hours a day?

In the kernel configuration menu, you will see options for "watchdog"
hardware and a "software watchdog".  Check these out.  Hardware watchdog
cards may be a significant expense if you have lots of machines to
outfit.  The software watchdog will not help you if the kernel's memory
space is being corrupted somehow.

>When I go to reboot the machine, I connect the monitor and keyboard
>directly to the server, and usually I don't get anything, just a blank
>screen and the keyboard doesn't do anything. 

Not even Alt-SysRq-S, Alt-SysRq-U, Alt-SysRq-B ?  (This assumes x86
hardware; the "magic key" sequence is different for other architectures)

>I was wondering if either a direct serial connection, or a connection
>via a console server would at least allow me to soft reboot the
>machine, or if there is any other way to reboot the machine without
>hitting reset ie a KVM switch, etc.

I assume you can't ssh into the machine, then.  A direct serial
connection might work, but if the machine is so hosed that Alt-SysRq
doesn't do anything, I wouldn't hold out too much hope.  Please clarify
what you mean by the KVM comment; a KVM is not magic, it's just a way of
having many machines sharing one keyboard/monitor/mouse.  A KVM can help
you avoid the problems associated with hot-plugging PS2 mice/keyboards
into cheap x86 hardware, but that's about it.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

------------------------------

From: "Flacco" <[EMAIL PROTECTED]>
Subject: JUNKBUSTER breaks website form logins?
Date: Thu, 15 Mar 2001 05:24:00 GMT

When using Junkbuster, website logins appear not to work.

For example, when I log into Slashdot, it acts as if I never logged in at
all.  None of my settings are recognized, and my "preferences" options
are not displayed next to my user name.

As soon as I remove junkbuster from proxy settings, it works.

Anyone know what's going on?

(ps - Mozilla nightly on Redhat 7)

------------------------------

From: Jay & Shell <[EMAIL PROTECTED]>
Subject: Re: USB modems supported
Date: Thu, 15 Mar 2001 05:30:48 GMT

Check here!

http://www.scyld.com/network/



Stearns28 wrote:
> 
> Do Linux kernel 2.2 and 2.4 support USB modems?  Are there any documentations
> on this subject on-line?
> 
> Thanks for any info and comments.
> 
> -Stearns

-- 
Registered Linux user #192969

MS-Windows - A Colorful Clown Suit For Dos !

------------------------------

From: "Flacco" <[EMAIL PROTECTED]>
Subject: Re: JUNKBUSTER breaks website form logins?
Date: Thu, 15 Mar 2001 05:41:29 GMT

Scratch that - I found it - slashdot was not in my cookiefile

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: How to startup prog automatically.
Date: Thu, 15 Mar 2001 05:46:02 -0000

Tertr <[EMAIL PROTECTED]> wrote:
> If I want to open a gnome-terminal automatically when I login
> the Redhat Linux graphical desktop(level 5). Just like the programs
> in the Windows startup folder. How can I set this?
> 

There are usually equivalents in most WMs - You can also put a line to
call it from one of your login scripts (~/.profile or whatever), but
keep in mind that it will try to launch _every_ time you login, whether
locally or via telnet session, etc.


-- 

 -- Len Philpot -> [EMAIL PROTECTED]     (personal) <--
 ----------------> [EMAIL PROTECTED]   (work) <--
 ------ ><> -----> http://philpot.org/      (web) <--

------------------------------

Date: Thu, 15 Mar 2001 14:15:38 +0800
From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Is it hard to change the package using?

I am a mandrake user, but now I find that http://www.gentoo.org/ is
interest to try. I would like to ask, is it hard to backup the setting
and personal information from one package and bring to the other
package?

------------------------------

From: "Michael Vilain <[EMAIL PROTECTED]>"
Crossposted-To: comp.unix.admin,comp.unix.misc,comp.unix.solaris
Subject: Re: Books on Unix Kernel for non-programmer.
Date: Wed, 14 Mar 2001 22:22:40 -0800

In article <98p1u5$tfb5$[EMAIL PROTECTED]>,
 "JosB" <[EMAIL PROTECTED]> wrote:

> "J.Smith" <[EMAIL PROTECTED]> wrote in message
> news:qivr6.8829$43.65361@zonnet-reader-1...
> > Dear all,
> >
> > Im looking for some books or web-resources that will help me understand the
> > *nix kernel in some more detail, and was hoping that posting here would get
> > me some good tips ;). Im looking for books that will help me understand the
> > concepts and design decisions, rather than show me the source code. Since
> > im not a programmer but a simple *nix system administrator, Lions' Commentary
> > on Unix probably is not what im looking for here. Books that cover the *nix
> > kernel in general (like BSD or SysV) rather than a specific implementation
> > (like Solaris kernel) would also be preferred.
> 
> The book I have on this is : Operating Systems: Internals and Design
> Principles by W. Stallings.
> Good book, not about source, more about the working of the OS.

Don't know what you expect to learn from an OS internals book when
you don't know a *int from an int.

I have THE MAGIC GARDEN EXPLAINED by Goodhard and Cox.  It's about
SVR4, the basis of Solaris.  The Bach book is good for BSD.

-- 
Michael Vilain
Certified Advanced Rolfer(r)
[EMAIL PROTECTED]
http://www.vilain.com

------------------------------

From: "Katriel Traum" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: compile error - gcc
Date: Thu, 15 Mar 2001 08:43:40 +0200

I had the same problem,
Evidently the 2.95.2 doesn't compile on RH 7.
Try compiling the 2.995.2.1 from
http://packages.linuxfromscratch.org/new-in-cvs/
It compiled for me under RH7 with no probs at all.

Katriel.


"Nick Traxler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am trying to replace the compiler packaged with redhat
> 7 (gcc 2.96) with the current stable release, 2.95.2.
> But, the compile dies with what appears to be incorrect
> code. I'm running a pentium2/300 w/ 192 MB.
> Does anyone have suggestions? Or, are there RPMs
> anywhere? (I've looked on gcc.gnu.org, but I didn't
> see anything)
>
> Any help is appreciated!
>
> Here's the error dialog:
>
> ../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where
> a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where
> a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where
> a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to
> non-scalar type `streampos' requested
> ../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos
> indirectbuf::seekpos(_G_fpos64_t, int = 3)':
> ../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where
> a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used
> where a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used
> where a `int' was expected
> ../../../gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to
> non-scalar type `streampos' requested
> make[2]: *** [indstream.o] Error 1
> make[2]: Leaving directory `/tmp/build/i686-pc-linux-gnu/libio'
> make[1]: *** [all-target-libio] Error 2
> make[1]: Leaving directory `/tmp/build'
> make: *** [bootstrap-lean] Error 2
> --
> Nick Traxler
> Computer Science, Purdue University
> http://www.cs.purdue.edu/people/traxlend
>
> "The two most common things in the Universe are Hydrogen and Stupidity."



------------------------------

From: Jefferson Ogata <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.unix.admin,comp.unix.aix,comp.unix.bsd.openbsd.misc,comp.unix.misc,comp.unix.solaris,comp.unix.ultrix
Subject: Re: Books on Unix Kernel for non-programmer.
Date: Thu, 15 Mar 2001 01:43:27 -0500

"J.Smith" wrote:
> Im looking for some books or web-resources that will help me understand the
> *nix kernel in some more detail, and was hoping that posting here would get
> me some good tips ;).
[snip]

My favorite so far is "UNIX Internals : The new frontiers" by Uresh Vahalia.
Well written, detailed, covers many varieties of UNIX, and branches off to Mach
and NT a bit for comparison.

Not bad, though somewhat uneven to my mind, is "The Design and Implementation
of the 4.4BSD Operating System", by Marshall Kirk McKusick, Keith Bostic,
Michael J. Karels, and John S. Quarterman. This one has some interesting detail
on the TCP/IP implementation in BSD.

-- 
Jefferson Ogata : Internetworker, Antibozo
<[EMAIL PROTECTED]>  http://www.antibozo.net/ogata/
whois: [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: script to monitor and kill/restart runaway processes on Linux server
Date: 15 Mar 2001 06:46:37 GMT

Randy R <[EMAIL PROTECTED]> wrote:
> wondering if anyone could recommend some software or scripts that
> would keep a Linux server from freezing up because of runnaway
> processes, etc, or at least lessen the frequency. Or even if there was
> a way to monitor the processes on a server, and make the computer
> automatically reboot before it crashed.

There is "watchdog" that basically poll the system each a minute or so
and (if it does not respond), is able to reboot the machine.

Davide


------------------------------

Date: Wed, 14 Mar 2001 23:51:40 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: source rpm's not quite right

I have a source rpm that breaks on rpm --rebuild, because it thinks I
don't have perl (it is wrong). I want to use the --nodeps, but
apparently this option is not passed on to later stages of a source rpm
rebuild, it only works in earlier stages (or on binary rpm's). Is there
some way to force rpm to cause later stages of a source rebuild to
inherit the nodeps flag?

D. Stimits, [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: USB modems supported
Date: Thu, 15 Mar 2001 06:51:27 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On 15 Mar 2001 04:59:53 GMT, Stearns28 <[EMAIL PROTECTED]> wrote:
>Do Linux kernel 2.2 and 2.4 support USB modems?  Are there any documentations
>on this subject on-line?  

http://www.linux-usb.org/

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to