Linux-Misc Digest #767, Volume #27 Wed, 2 May 01 18:13:02 EDT
Contents:
Re: Problem with dosemu (Yvan Loranger)
Re: DHCP and Road Runner blues (Dave Uhring)
Re: File System going bad (Kevin)
Re: auto logout (Kwan Lowe)
Re: copy&paste and pine (The Real Bev)
Re: Out of Memory (Redhat 6.0) (Kwan Lowe)
Re: What Linux DB is close to Access97? ("Bill Weissborn")
Re: autoloading modules on boot-up (Naren Devaiah)
run two linuxws ("alik blochin")
Re: Could Linux be used in this factory environment ? (The Ghost In The Machine)
Re: What Linux DB is close to Access97? (Mike)
Re: Best way to manage source code? (Garry Knight)
mingetty ("Martin Greco")
Re: File System going bad (Scott)
Re: File System going bad (Scott)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: Problem with dosemu
Date: 2 May 2001 20:12:35 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
P Stein ([EMAIL PROTECTED]) writes:
> Has anyone been able to get dosemu to use EMS in RH7.0? I installed the
> rpms of dosemu-1.0.1-1 and dosemu-freedos-1.0.1-1, and I can get dosemu to
> start, but it doesn't see any EMS memory. In /etc/dosemu.conf I told it
> to use 8192k of EMS, and EMS.sys is loaded in my config.sys file, but I
> still haven't had any luck.
Isn't FreeDOS considered unstable? try using another ms-dos, dr-dos, or ..
[works for me - msdos6.22 & dosemu 1.0.1-1, EMS *and* DPMI; slackware BTW!]
--
Merci........Yvan Pour le plein air: Club Vertige
http://www.ncf.ca/vertige
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Wed, 2 May 2001 15:13:47 -0500
Michael wrote:
> Here's some food for thought:
>
> Use a static ipaddress & free it from the dhcp server.
>
> http://www.monkey.org/~dugsong/dhcpfree.c
>
> In article <[EMAIL PROTECTED]>, "grooveman"
> <[EMAIL PROTECTED]> wrote:
>
>
>> Hello.
>> I am running Redhat 6.2, and I am tying to use it with Mediaone (Now
>> ATT) Road Runner service in the Detroit Metro area. My problem is that
>> my machine would not lease from the DHCP server. Of course, the
>> customer support was useless in this issue: "we don't support
>> Line-ucks".
>> I have researched this thoroughly, and have seen many people with the
>> same or similar issue, but every single one failed to document clearly
>> how they overcame this problem (if they did at all). I dropped pump all
>> together. I have the version that comes stock with RH 6.2. (0.7.8-1).
>> I downloaded the latest version of DHCPCD version 1.3.20-p10. I have
>> gotten that to work -- but it only works about 10 percent of the time.
>> 90% of the time (or so) it fails. The README for this utility is not
>> helpful at all. The howto I found was even worse. When modifying the
>> script of ifup an ifdown, it not only had the script wrong, but it said
>> to remove an "if" statement without touching the fi. I am no scripting
>> whiz, but I know you can't break conditionals like that without trashing
>> the script.
>> I modified ifup and ifdown, basically by replacing the pump commands
>> with their dhcpcd equivalents. Then, I wrote a script that loops the
>> ifup until it gets a lease. I put the script at the end of rc.local,
>> rather than having eth0 come up at init level 3. The net result is that
>> it runs through everything fine, and at the very last stage, tries to
>> bring up eth0 until it is successful. It take about 10 times plus or
>> minus.
>> (SIGH........)
>> What can I do to get this to work?
>> I really appreciate any help I can get. Thanks!
>> Chris
>>
>
Read the man page dhcpcd(8) especially WRT the -h hostname option. IIRC
your ISP gave you a client number (hostname) and you have to use it to get
your IP address via DHCP.
------------------------------
Crossposted-To: comp.os.linux.setup
From: [EMAIL PROTECTED] (Kevin)
Subject: Re: File System going bad
Date: Wed, 02 May 2001 19:35:42 GMT
When I had the same problem it turned out to be a dying hard
drive. I confirmed this by downloading the vendor's disk
diagnostic software which reported that I had media errors and
should seek service.
You might be able to look for files in your .../lost+found
directories; that's where [e2]fsck puts files that it can't
reattach to the file system correctly. The filenames would be
numbers, corresponding to the inode numbers that they used to
have. If you have files in those directories (one per file
system) then I'd say it's even more likely that your disk is
dying.
As far as current backups go, you probably should restore from
tapes known to be created before the trouble started, presuming
that this is the fault of a dying disk.
G'luck....
In article <[EMAIL PROTECTED]>,
Scott <[EMAIL PROTECTED]> writes:
> Every couple of weeks, I do a fsck and e2fsck, and it
> comes back with illegal inodes, invalid DTime values,
> and a host of other problems.
>
> I repeatedly run e2fsck and fsck to repair the system.
> When it's back up, everything is great for a while.
> (i.e. I can re-check the FS, and have no problems)
> But after a few weeks, it's bad again.
> I keep my backups current, but I'm still nervous.
--
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: auto logout
Date: Wed, 02 May 2001 20:20:48 GMT
You might try setting TMOUT (man bash). Not sure if this is what you need
though...
Wong Ching Kuen Frederick <[EMAIL PROTECTED]> wrote:
> in suse 7.1 (using bash), how to set auto logout after a preset idle time?
> thanks.
------------------------------
From: The Real Bev <[EMAIL PROTECTED]>
Subject: Re: copy&paste and pine
Date: Wed, 02 May 2001 13:24:07 -0700
Eduardo Chappa wrote:
>
> *** wroot ([EMAIL PROTECTED]) wrote today:
>
> :) When I telnet/ssh to my ISP and run pine in xterm, I can not use copy&paste
> :) (middle button) in pine.
> :) echo $TERM
> :) gives "xterm"
> :)
> :) Strangely, I can do copy&paste when I'm not running pine or when I'm
> :) running pine *locally*. (TERM is still xterm)
> :)
> :) Can I do something about it?
>
> You must have [X] enable-mouse-in-xterm configured. If you want to use the
> mouse to click on things then you must press the shift key at the same
> time that you do the copy and paste operations, if you do not want to use
> the mouse at all then disable this operation, and you won't need to worry
> about pressing the shift key when doing these operations.
No problem with cutting+pasting, but...
On a related note: When using pico as a standalone in an xterm, when I was
running slackware I could move the cursor with the mouse. When I started
running SuSE 6.1 (and now 6.4), this stopped working. Moreover, 'page
down' or moving one down one line at the bottom of the page just moves me
down half a page, which I hate.
Any ideas?
--
Cheers,
Bev
======================================================
"Don't bother looking for that key. There is no Esc."
-- M. Tabnik
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Out of Memory (Redhat 6.0)
Date: Wed, 02 May 2001 20:31:29 GMT
Tom Edelbrok <[EMAIL PROTECTED]> wrote:
> I have a Redhat 6.0 server set up for a customer. It has wu-ftp, Apache
> webserver, SSH daemon, and runs the DYNU dynamic-IP client for remote domain
> name services via DYNU.COM's DNS servers. I also have several CRONTAB
> scripts that run once a minute (one to detect IP address changes and
> implement them into the firewall by restarting it), and the other to re-run
> the DYNU client if it is ever detected as quitting.
> PROBLEM: The machine runs fine for somewhere between several weeks and
> several months, then runs out of memory. It says CROND out of memory, SSH
> out of memory, blah blah blah. In addition, SYSLOGD is found to not be
> running. Also, I see some sort of "mdrecoveryd" process in the "ps -A"
> listing.
> QUESTION: How can I monitor memory usage in Linux? How can I figure out
> where the leak is (if it's not a hardware problem). The machine has 32meg
> ram and is a P75.
You can use the 'free' or 'vmstat' utilities. 'top' might also help see what's
consuming memory (you can sort by memory usage).
Also, verify that your swap space is active. Your problems may be solved by
increasing the swap space, or perhaps adding a swap file. Do a 'swapon -s' to
see the active swap.
You might also try having the system automatically shutdown and restart
processes you suspect are causing problems. A band-aid, sure, but might solve
some headaches.
------------------------------
From: "Bill Weissborn" <[EMAIL PROTECTED]>
Subject: Re: What Linux DB is close to Access97?
Date: Wed, 2 May 2001 15:55:54 -0500
This sounds like what I am looking for, for one project. Being a total
newbie with this stuff, can you point me to where I can find the MyODBC?
Also, my goal in asking about an Access replacement is I would love to move
off of Windows but use Access quite a bit to build DBs for others to USE.
(For me, it has been the fastest system I have seen to create "one of" type
programs).
So, given that, does the Adabas D still fit the bill?
Bill W
Mike <[EMAIL PROTECTED]> wrote in message
news:9cpj7h$qgc$[EMAIL PROTECTED]...
> MS access may be rubbish, but it indeed provides a frontend which is
> extremely friendly for people who just want to USE a database. If you are
a
> person who want to BUILD a database, there is no challenge in Access.
> BTW I use a linux based MySQL database connected to my Windows PC on which
> I have a very usefull Access frontend, connected with MyODBC to MySQL.
> Works perfect. The StarOffice DB frontend is terrible.
>
> Mike
>
> Juergen Sauer wrote:
>
> > Doug Poulin <[EMAIL PROTECTED]> schrieb
> > am Tue, 01 May 2001 18:30:02 GMT in comp.os.linux.misc:
> >
> >> Adabas D, available for download with StarOffice.
> > Ohh my Lord, what an idea.
> >
> > The standard StarDB in SO is Access like, Adabas D is an
> > complete RDBMS, a thing like Acess is binary rubbish compared to Adabas.
> > mfG
> > Jojo
> >
>
------------------------------
From: Naren Devaiah <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.linux,alt.os.linux,alt.os.linux.mandrake,alt.os.linux.slackware,comp.os.linux.setup,comp.os.linux.x
Subject: Re: autoloading modules on boot-up
Date: Wed, 02 May 2001 14:21:25 -0700
On my slackware 7.0 system I use the following setup to enable autoloading of
agpgart and r128 modules (I have an ATi Rage 128 card)
In /etc/modules.conf add:
# Autoload agpgart when X tries to load r128 DRI module
pre-install r128 modprobe "-k" agpgart
pre-remove agpgart modprobe "-r" r128
Then in my X4.0.2 config file I have
Load "dri"
This should autoload agpgart when X tried to load the DRI module and
if you remove the DRI module (automatically or manually) the agpgart modules
also gets removed.
HTH
-Naren
"J.Smith" wrote:
> Hi all.
>
> I recenty have installed Mandrake 8.0, and I must say I am quite happy
> with it. There is however a small problem with my modules and X. I am
> using an matrox g400 video card, and am running xfree86 in DRI mode.
> However, the required modules agpgart and mga are not loaded
> automatically. If I do 'insmod agpgart;insmod mga' prior to starting X,
> everything works fine, so the only problem is that these modules are not
> loaded automagically. I was wondering if it is possible to force the
> loading of these modules on bootup of my system or on startup of X by
> tweaking some module configuration file or X configuration file? As a
> temporarily workaround I have added 'insmod agpgart;insmod mga' at the end
> of my rc.sysinit, but surely there has got to be a more elegant way of
> dealing with this issue?
>
> Thanks for any and all feedback.
>
> Sincerely,
> J.Smith
------------------------------
From: "alik blochin" <[EMAIL PROTECTED]>
Subject: run two linuxws
Date: Thu, 3 May 2001 00:40:36 +0200
Hi
can i run both Mandrake 8.0 and RH7.1 on the same hdisk ?
i suppose i can but two separate disks would definitly be
better choice for such endevour...
the question is how do i do it?
------------------------------
From: [EMAIL PROTECTED] (The Ghost In The Machine)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Could Linux be used in this factory environment ?
Date: Wed, 02 May 2001 21:41:07 GMT
In comp.os.linux.advocacy, Brent R
<[EMAIL PROTECTED]>
wrote
on Wed, 02 May 2001 17:12:43 GMT
<[EMAIL PROTECTED]>:
>Paul Repacholi wrote:
>>
>> [EMAIL PROTECTED] (SammyTheSnake) writes:
>>
>> > In article <[EMAIL PROTECTED]>, Jonadab the Unsightly
>> > One wrote:
>>
>> > >Above all, you don't want the computer stopping for no reason, so
>> > >run it on Unix or VMS, and you won't go down unless there's a
>> > >hardware problem or some idiot runs a forkbomb.
>>
>> VMS is not affected by this sort of thing, the 'bomber' runs out of
>> quota and gets an error.
>
>Hmm isn't that why UNIX has killall? Or do I not understand what a
>fork() bomb really is?
Killall merely searches for all processes which match a regular
expression -- or maybe it simply does a string search -- and then,
once it's gotten all the ID's, it kills them. Trouble is, the
forkbomb may have generated new processes by then.
A particularly ugly forkbomb can be written somewhat like so
(disclaimer: I have not tested this; I do not claim responsibility
to damage on any system used for testing this thing!):
while(1)
{
if(fork() && fork())
exit();
}
which basically creates two kids and then exits; the kids then create two
grandkids each, which create two great-grandkids, which ... well, you
get the idea! Once a kid has been identified, chances are it'll die
very quickly -- but there will be a lot of kids, if I've done this
correctly. (Of course, this is why one has process quotas...)
>
>> > not even then if you use a recent version of linux[1]. If each user
>> > has their own login ID then other users won't even notice :)
>>
>> Problem is, it is normal that peole DON'T log in in a factory. The
>> terminals are auto-logged in by station, and run what ever is needed.
>> VMS has several ways of doing this, up to AMDS.
>>
>> The oply use for logins is in the lunch room. A few extra 'unofficail
>> unsuported' terminals in the lunch room and some games does wonders
>> for the fault call rate, and operator ability to operate a terminal.
>>
>> --
>> Paul Repacholi 1 Crescent Rd.,
>> +61 (08) 9257-1001 Kalamunda.
>> West Australia 6076
>> Raw, Cooked or Well-done, it's all half baked.
>> Spam-To: [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],
>> [EMAIL PROTECTED],[EMAIL PROTECTED]
>
>
>--
>- Brent
>
>http://rotten168.home.att.net
--
[EMAIL PROTECTED] -- insert random misquote here
EAC code #191 2d:07h:38m actually running Linux.
[select one]
Microsoft. When you're not aggravated enough.
Are you still here?
I don't hate Microsoft. Just their products.
No neutrons were harmed during this message.
Linux. The choice of a GNU generation.
You're going to do *what* *where* *when*?
This is a pithy statement. Please watch where you pith.
This is a voluntary signature virus. Send this to somebody.
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: What Linux DB is close to Access97?
Date: Wed, 2 May 2001 23:39:25 +0200
Reply-To: [EMAIL PROTECTED]
Find MyODBC at www.mysql.com. Also subscribe to mysql and myodbc mailing
list to learn about some basic tricks.
Mike
Bill Weissborn wrote:
> This sounds like what I am looking for, for one project. Being a total
> newbie with this stuff, can you point me to where I can find the MyODBC?
>
> Also, my goal in asking about an Access replacement is I would love to
> move off of Windows but use Access quite a bit to build DBs for others to
> USE. (For me, it has been the fastest system I have seen to create "one
> of" type programs).
>
> So, given that, does the Adabas D still fit the bill?
>
> Bill W
> Mike <[EMAIL PROTECTED]> wrote in message
> news:9cpj7h$qgc$[EMAIL PROTECTED]...
>> MS access may be rubbish, but it indeed provides a frontend which is
>> extremely friendly for people who just want to USE a database. If you are
> a
>> person who want to BUILD a database, there is no challenge in Access.
>> BTW I use a linux based MySQL database connected to my Windows PC on
>> which I have a very usefull Access frontend, connected with MyODBC to
>> MySQL. Works perfect. The StarOffice DB frontend is terrible.
>>
>> Mike
>>
>> Juergen Sauer wrote:
>>
>> > Doug Poulin <[EMAIL PROTECTED]> schrieb
>> > am Tue, 01 May 2001 18:30:02 GMT in comp.os.linux.misc:
>> >
>> >> Adabas D, available for download with StarOffice.
>> > Ohh my Lord, what an idea.
>> >
>> > The standard StarDB in SO is Access like, Adabas D is an
>> > complete RDBMS, a thing like Acess is binary rubbish compared to
>> > Adabas. mfG
>> > Jojo
>> >
>>
>
>
>
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: Best way to manage source code?
Date: Wed, 2 May 2001 19:33:59 +0100
Reply-To: [EMAIL PROTECTED]
On Wed, 02 May 2001 09:01:06 +0200 in article
<[EMAIL PROTECTED]>, Michael <[EMAIL PROTECTED]>
wrote:
> Im Artikel <[EMAIL PROTECTED]> schrieb "Garry Knight"
> <[EMAIL PROTECTED]>:
> > And if you know how to use make, then you can look for the 'install'
> > target in the makefile, find out what gets installed where, and either
> > create your own 'uninstall' target or write a script to do the
> > uninstalling. Assuming you might want to uninstall at a later date, that
> > is...
>
> if you do "make -n install" you see what make wants to do...
And redirect it to a text file so you can copy and paste an edited version
into your makefile. Although I find it easier just to copy/paste and edit
in the makefile itself.
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: "Martin Greco" <[EMAIL PROTECTED]>
Subject: mingetty
Date: Wed, 2 May 2001 18:49:34 -0300
What is mingetty?
what is its purpose.
and mgetty and agetty?
Thanks everyone!!
--
-
Martin Greco
------------------------------
From: Scott <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.help,alt.linux.slakware
Subject: Re: File System going bad
Date: Wed, 02 May 2001 17:06:38 -0500
I appreciate all the advice. But let me clear some things up.
This is absolutly NOT a shutdown problem. Also, I am not
confusing a forced fs check (due to max mount count) with an error
in the file system. These are errors.
I do not re-boot often. The last interval bewteen re-boots was
over one month. And that was because the console had an error
message about a bad inode.
After I fix the FS, I can re-boot several times, forcing fsck
to run, and it finds no problems. (with 'tune2fs')
I have re-booted a few weeks after a fix, just to see if it's
all still ok, and it is (again, forcing an fsck).
Suddenly, without any warning, a reboot will give me errors,
and force me to do an fsck and e2fsck. At that point it ALWAYS
finds problems. After they are fixed, the cycle starts over.
If I knew how to track it, it might help. For example, if an
inode is bad, how can I find out what file owns that inode?
That may tell me who was trying to mess with it.
Anyway, I discovered I had old 72 pin sims for memory, so I replaced
them with a newer SDRAM. I also, added a second HD, and partitoned
it just like the first. The IDE cable go re-seated in the process
as well. I mounted HD fans on both drives, then I backed-up everything
from HDA to HDB (that I could copy, /dev and /proc couldn't copy),
and plan to make a script to do that every few days. I did this
because I can't fit everything on my ZIP disk.
-Scott
NoMadis wrote:
>
> On Tue, 01 May 2001 17:14:30 -0500, Scott <[EMAIL PROTECTED]> wrote:
> >
> <<SNIP>>
>
> >I repeatedly run e2fsck and fsck to repair the system.
> >When it's back up, everything is great for a while.
> >(i.e. I can re-check the FS, and have no problems)
> >But after a few weeks, it's bad again.
>
> you've got grotty hardware somewhere.
> replace the flatcable with a new one.
>
> if the problems persist move slowly to more expensive hardware (IDE
> controler, memory, motherboard, the like)
>
> --
> Greetz,
> Joop
> -----------------------------------------------------------------------
> Joop Bollen. Nuts & Bolts Department, Nomadis Systems, Holland
> Email: [EMAIL PROTECTED] Fax: (31)-252-532489 PGP-ID: FFB003FD
> We all live under the same sky, but we don't all have the same horizon.
------------------------------
From: Scott <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: File System going bad
Date: Wed, 02 May 2001 17:09:35 -0500
My lost and found dir is empty. I've never had anything
show up there.
I should mention that I went from a WD 13gig to a MAX 30gig about
6 months ago. The problem didn't go away.
Hopefully the memory thing will fix it.
Kevin wrote:
>
> When I had the same problem it turned out to be a dying hard
> drive. I confirmed this by downloading the vendor's disk
> diagnostic software which reported that I had media errors and
> should seek service.
>
> You might be able to look for files in your .../lost+found
> directories; that's where [e2]fsck puts files that it can't
> reattach to the file system correctly. The filenames would be
> numbers, corresponding to the inode numbers that they used to
> have. If you have files in those directories (one per file
> system) then I'd say it's even more likely that your disk is
> dying.
>
> As far as current backups go, you probably should restore from
> tapes known to be created before the trouble started, presuming
> that this is the fault of a dying disk.
>
> G'luck....
>
> In article <[EMAIL PROTECTED]>,
> Scott <[EMAIL PROTECTED]> writes:
> > Every couple of weeks, I do a fsck and e2fsck, and it
> > comes back with illegal inodes, invalid DTime values,
> > and a host of other problems.
> >
> > I repeatedly run e2fsck and fsck to repair the system.
> > When it's back up, everything is great for a while.
> > (i.e. I can re-check the FS, and have no problems)
> > But after a few weeks, it's bad again.
>
> > I keep my backups current, but I'm still nervous.
>
> --
> Unless otherwise noted, the statements herein reflect my personal
> opinions and not those of any organization with which I may be affiliated.
------------------------------
** 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
******************************