Linux-Misc Digest #617, Volume #26 Sat, 23 Dec 00 14:13:02 EST
Contents:
TT_Engine ([EMAIL PROTECTED])
Can I do this? (start but maybe!) ("Tom Edelbrok")
Re: swapon ("Eric en Jolanda")
Kill this thing - how? ("Tom Edelbrok")
Re: SCSI ADAPTER 1505 (Gotzon Berrojalbiz)
rm files ("Christian Hartmann")
Re: Why would starting httpd hang? [Apache] ("Tom Edelbrok")
Embedded character ("Tom Edelbrok")
Re: DVD software for Linux yet? ("Biz")
Re: rm files ([EMAIL PROTECTED])
Missing libc6.1-1.so.2 (Pat Traynor)
Re: Kill this thing - how? (Lee soonki)
Re: RH 6.1 or 6.2 ("Generic User")
Re: Kill this thing - how? (Juan Arnal)
Re: DVD software for Linux yet? ("Mattias Dahlberg")
Re: A great Shockwave flash movie (The Ghost In The Machine)
Re: All vt's blank on exit from KDE (The Ghost In The Machine)
Re: Can someone explain DUMP? (WORLOK)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: TT_Engine
Date: Sat, 23 Dec 2000 14:57:56 GMT
Hi!
When I try to compile enlightenment it does not
recognise the type TT_Engine (and alot of other
related types) in one of the source files (format.c).
I get a parsing error.
I have installed freetype2.0.1 and gcc seems
to be aware of its libraries.
Have anyone any ideas?
Caj Zell
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Can I do this? (start but maybe!)
Date: Sat, 23 Dec 2000 07:23:55 -0800
I want to use a script to start a process, but only if it is not already
running, because otherwise each new one stays in the system (along with any
old processes) until my machine is boggled. Therefore I want the script to
start the process if it is not running, but not start it if it is already
running.
I can see the process in "ps -A". So it there a way in a script of saying
something like this:
if (ps -A | grep -i <myprocessname>) = (yup I found it) then
do nothing
else
start the <myprocessnamething>
echo "I am a very happy Linux user who is still learning the basics of
BASH"
end if
Obviously I am familiar with VB and not so much with BASH script, but you
get my idea. Any ideas appreciated!
Thanks,
Tom
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: swapon
Date: Sat, 23 Dec 2000 15:55:16 +0100
> [root@cuagpj /etc]# fdisk -l /dev/sda
>
> Disk /dev/sda: 255 heads, 63 sectors, 4427 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 4 32098+ 83 Linux
> /dev/sda2 5 4427 35527747+ 5 Extended <<<wrong type
I know linux wont care, but I'd change it to 0x85 anyway (or 0x0F if you
plan to ever put logical FAT partitions there for use with windows)
> /dev/sda5 2898 4172 10241406 83 Linux
> /dev/sda6 4173 4427 2048256 82 Linux swap
> /dev/sda7 5 1917 15366109+ 83 Linux
> /dev/sda8 1918 2897 7871818+ 83 Linux
>
> Partition table entries are not in disk
> order
I don't like this last message either. It's a sure way to get problems.
Delete all the partitions and recreate them in the right order. If you make
no mistakes (typos), you will not lose data. (BUt I must advise you to
backup any data you can before you start messing with this table.
Eric
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Kill this thing - how?
Date: Sat, 23 Dec 2000 07:25:56 -0800
Some processes shown in "ps -A" respond to a kill command and others don't.
How can I kill a pesky process that doesn't respond to kill? (Besides
rebooting!)
Thanks,
Tom
------------------------------
From: Gotzon Berrojalbiz <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: SCSI ADAPTER 1505
Date: Sat, 23 Dec 2000 16:32:36 +0000
Ekkard Gerlach wrote:
> Your problem:
> I have got the same SCSI-Card and an scanner attached, too.
> Have you got a pnp-card (Plug&Play) or non-pnp ? - The
> non-pnp-card you can switch IRQ and DMA by jumper, the
> pnp-card you have to initialise by Kernel-options
> at lilo-start. See linux-pnp-tool (attention: isapnp.conf
> that is automatically generated is buggy! Delete "CHECK"!).
>
> Which options did you enable in your Kernel? pnp?
> SCSI-generic support? ..... What exactly have you
> done?
I've generated a new kernel with these options:
PLUG & PLAY SUPPORT = Y
SCSI SUPPORT = Y
SCSI GENERIC SUPPORT = Y
ADAPTEC AHA152X/2825 SUPPORT = Y
The SCSI card I'm using it's PNP and there's no posibility of
configuring by jumpers.
I've also modified the BIOS config. with NON PNP O.S.
My questions are:
a) Do I have to compile scsi card support as a module ?
b) How do I exactly have to modify lilo.conf ?
c) Is there any conflict risk between these card and SCSI EMULATION
SUPPORT for IDE CD-RW ?
d) Do I have to use isapnptools for modifying IO and IRQ , or this can
be done with lilo.conf ?
THANKS
------------------------------
From: "Christian Hartmann" <[EMAIL PROTECTED]>
Subject: rm files
Date: Sat, 23 Dec 2000 16:47:52 +0100
Hello,
how am I able to delete files in a directory, which are older than 14 days?
I wanna do this with a script using the bash-shell.
Thanx for any help,
Christian Hartmann
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Re: Why would starting httpd hang? [Apache]
Date: Sat, 23 Dec 2000 07:53:30 -0800
If you don't have a registered domain name then in httpd.conf you can put:
ServerName http://172.17.10.116/
in the httpd.conf script, where you use whatever your real IP address is
(this is a private class 'B'). In httpd.conf it also says that for local
testing you can use 127.0.0.1 in the above directive. However, if you are
using a dynamic IP you might want to look at www.dynu.com and try out their
Linux client "DYNUPREM" which registers your dynamic IP against one of their
subdomains, or even against your own registered domain name (if you have
one).
Tom
Andrew Purugganan <[EMAIL PROTECTED]> wrote in message
news:920v09$[EMAIL PROTECTED]...
> It's weird, it only fails sometimes, other times it seems that I should
> be online or ppp up before http becomes active. I have Mandrake 6.0 with
> 2.2.13
>
> Without the server, I can't even get tohttp://127.0.0.1! Does this make
> sense? Does it have anything to do with my ISP assigning dynamic IPs?
>
> --
> jazz
> Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
> Doesn't it bother you, that we have to search for intelligent life
> --- OUT THERE??
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Embedded character
Date: Sat, 23 Dec 2000 08:21:02 -0800
How can I embed a control character in a bash script.
For example, if I want to pass a control character to a process that is
reading a script or data file that has been created with pico. I want to
place a CTRL X or a CTRL Z or some such thing in the file. Obviously
pressing the actual CTRL character is going to cause the wrong thing to
happen.
Tom
------------------------------
From: "Biz" <[EMAIL PROTECTED]>
Crossposted-To: alt.video.dvd,alt.video.dvd.software,linux.redhat.misc
Subject: Re: DVD software for Linux yet?
Date: Sat, 23 Dec 2000 16:20:28 GMT
You could always write one. Isn't that what's so fabulous about Linux?
--
Biz
"The views and opinions expressed by me are not necessarily mine, they might
be my evil twins"
tap <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> Is there a software player for Linux yet like PowerDVD 3 for windows?
> PowerDVD 3 for Linux would be nice...
>
> thanks in advance
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: rm files
Date: Sat, 23 Dec 2000 17:00:19 GMT
In article <922hfg$5p5k5$[EMAIL PROTECTED]>,
"Christian Hartmann" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> how am I able to delete files in a directory, which are older than 14
days?
> I wanna do this with a script using the bash-shell.
>
> Thanx for any help,
>
> Christian Hartmann
>
>
You will want to test this by replacing rm with something less
dangerous, e.g. echo to a file or something, but the following should
work.
find . -type f -mtime +14 -print0 | xargs -0r -n $(getconf ARG_MAX) -P
0 rm -fv
You should replace the "." with the directory tree you want to clean.
By older, I guessed you wanted files that had not been modified in more
than 14 days.
I piped this to xargs, because on Thursday I had to clean so many files
that rm died tring to delete them, i.e. there we more than ARG_MAX
files that needed to be removed so rm would not remove them with one
command. The xargs corrected this problem for me.
--
MM
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Pat Traynor)
Subject: Missing libc6.1-1.so.2
Date: Sat, 23 Dec 2000 17:16:59 GMT
I don't do a whole lot of development on this machine, so it may not
be as up to date as it should, but I recently downloaded a piece of
software that's failing due to a missing library:
error in loading shared libraries
libstdc++-libc6.1-1.so.2: cannot open shared object file:
No such file or directory
If getting this library installed is a monumental project, it's just
not that important. I have moderate (but not impressive) Linux
experience, so please be gentle with me. =-)
FWIW, here is the contents of my /lib directory, if it tells you
anything. And thanks in advance for any help.
cpp
ld-2.0.7.so
ld-linux.so
ld-linux.so.1
ld-linux.so.1.9.9
ld-linux.so.2
ld.so
libBrokenLocale-2.0.7.so
libBrokenLocale.so.1
libc-2.0.7.so
libc.so.4
libc.so.4.7.6
libc.so.5
libc.so.5.4.46
libc.so.6
libcom_err.so.2
libcom_err.so.2.0
libcrypt-2.0.7.so
libcrypt.so.1
libcurses.so
libcurses.so.0
libcurses.so.0.1.2
libcurses.so.1
libcurses.so.1.0.0
libdb-2.0.7.so
libdb.so.2
libdl-2.0.7.so
libdl.so
libdl.so.1
libdl.so.1.9.9
libdl.so.2
libe2p.so.2
libe2p.so.2.3
libext2fs.so.2
libext2fs.so.2.4
libgdbm.so.1
libgdbm.so.1.7.3
libm-2.0.7.so
libm.so.4
libm.so.4.6.27
libm.so.5
libm.so.5.0.9
libm.so.6
libncurses.so
libncurses.so.1.9.9g
libncurses.so.3.0
libncurses.so.3.4
libnsl-2.0.7.so
libnsl.so.1
libnss_compat-2.0.7.so
libnss_compat.so.1
libnss_db-2.0.7.so
libnss_db.so.1
libnss_dns-2.0.7.so
libnss_dns.so.1
libnss_files-2.0.7.so
libnss_files.so.1
libnss_nis-2.0.7.so
libnss_nis.so.1
libpthread-0.7.so
libpthread.so.0
libresolv-2.0.7.so
libresolv.so.2
libss.so.2
libss.so.2.0
libtermcap.so.2
libtermcap.so.2.0.8
libutil-2.0.7.so
libutil.so.1
libuuid.so.1
libuuid.so.1.1
modules
------------------------------
From: [EMAIL PROTECTED] (Lee soonki)
Subject: Re: Kill this thing - how?
Date: Sun, 24 Dec 2000 02:30:14 +0900 (KST)
Reply-To: [EMAIL PROTECTED]
On Sat, 23 Dec 2000 07:25:56 -0800, Tom Edelbrok <[EMAIL PROTECTED]> wrote:
>Some processes shown in "ps -A" respond to a kill command and others don't.
>
>How can I kill a pesky process that doesn't respond to kill? (Besides
>rebooting!)
>
>Thanks,
>Tom
>
>
try to use -9 option.
ex) I wanna kill a 100(PID) process
first..
kill 100
wouldn't die? then...
kill -9 100
------------------------------
From: "Generic User" <[EMAIL PROTECTED]>
Subject: Re: RH 6.1 or 6.2
Date: Sat, 23 Dec 2000 17:26:41 GMT
Thanks.
-chris
------------------------------
From: Juan Arnal <[EMAIL PROTECTED]>
Subject: Re: Kill this thing - how?
Date: Sat, 23 Dec 2000 18:54:40 +0100
Tom Edelbrok wrote:
>
> Some processes shown in "ps -A" respond to a kill command and others don't.
>
> How can I kill a pesky process that doesn't respond to kill? (Besides
> rebooting!)
>
> Thanks,
> Tom
Try sending them the KILL signal with kill -9 <pid>. Btw if a process is
on a D or Z state you won't be able to kill it.
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
From: "Mattias Dahlberg" <[EMAIL PROTECTED]>
Crossposted-To: alt.video.dvd,alt.video.dvd.software
Subject: Re: DVD software for Linux yet?
Date: Sat, 23 Dec 2000 18:57:18 +0100
> Is there a software player for Linux yet like PowerDVD 3 for
> windows? PowerDVD 3 for Linux would be nice...
Yes, LinDVD exists ("the WinDVD for Linux") but it's currently
available only to certain manufacturers.
See for yourself at:
http://www.intervideo.com/jsp/Products.jsp?mode=LinDVD
Matt
------------------------------
From: [EMAIL PROTECTED] (The Ghost In The Machine)
Subject: Re: A great Shockwave flash movie
Date: Sat, 23 Dec 2000 18:14:15 GMT
In comp.os.linux.misc, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
wrote
on Mon, 11 Dec 2000 15:57:52 +0000
<[EMAIL PROTECTED]>:
>Wayne Pollock <[EMAIL PROTECTED]> did eloquently scribble:
>> Are you nuts? This isn't a shockwave flash movie, is is a trojan
>> horse (a virus)! Did you really send this messsage, or has the virus
>> sent the message?
>
>> Do *NOT* follow Johan's advice, don't download this!
(Download *what*? The original poster failed to give us a URL.)
>
>Hehehe... If linux had shockwave, I might've been tempted to create a new
>user and try it out, just to have a laugh and see what it would fail to do
>to my system.
>
>No viruses on linux and shockwave on linux alas, so what the hell's this
>being posted here for?
Dunno. Linux *does* have Flash, though, courtesy of MacroMedia.
[.sigsnip]
--
[EMAIL PROTECTED] -- insert random misquote here
up 87 days, 20:23, running Linux.
------------------------------
From: [EMAIL PROTECTED] (The Ghost In The Machine)
Subject: Re: All vt's blank on exit from KDE
Date: Sat, 23 Dec 2000 18:54:02 GMT
In comp.os.linux.misc, David Efflandt
<[EMAIL PROTECTED]>
wrote
on Sun, 10 Dec 2000 14:40:13 +0000 (UTC)
<[EMAIL PROTECTED]>:
>I have run across an occasional problem when I exit KDE to the console and
>find that ALL of the consoles are totally blank except for the cursor.
>In fact in login screens I do not even see the colored ANSI tux logo.
>Everything else still works, the cursor moves when I type and I can enter
>commands, I just cannot see what I am typing. If I log in from a
>differnet box or startx again, everything is fine there.
>
>I tried 'stty sane' and 'setterm -reset' and neither did any good. I was
>not aware of the 'reset' command (symlinked to tset) so I have not had a
>chance to try that yet. Does that reset all vt's or just the one you are
>on?
>
>I am running Mandrake 7.0 with generic kernel 2.2.17 with ancient S3
>Trio64 video.
This is not a KDE problem, but may have to do with some sort of
issue regarding settings of the kernel video driver, or with
the card, or even with X. I have had a somewhat similar issue --
although couldn't get the cursor back -- when I was fiddling with
various modes on one of my boxes using SVGATextMode, which allows
for some very weird modes; unfortunately, in my case, when I exited X,
the video was totally futzed -- not even a cursor. The fact that you are
getting your cursor back indicates a slightly different problem.
(I don't need SVGATextMode, so backed out and used 80x50
standard VGA mode instead. I don't do a lot of work in the console
so this works for me.)
As for your other question -- 'reset' only resets the current terminal.
Most likely, it will beep at you, then clear the screen and then
tell you
Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
and go back to the '$' prompt. If you don't see this, then I'm
not sure what the problem is. I do hope this works for you.
stty sane is mostly for resetting cooked mode (if, say, vi bombs out)
or to ensure that backspace, interrupt, and kill are set to their defaults.
setterm -reset prints out the terminal reset string, which
"resets the terminal to its power on state" according to the
manpage (the manpage is assuming you're remotely logged in via,
say, an ADM 3A or a Wyse 60 or a Teleray or any of the many other
serial terminals that termcap/terminfo supports; for a Linux console,
I'm not sure how meaningful this "reset" will be).
[.sigsnip]
--
[EMAIL PROTECTED] -- insert random misquote here
up 87 days, 20:26, running Linux.
------------------------------
From: WORLOK <[EMAIL PROTECTED]>
Subject: Re: Can someone explain DUMP?
Date: Sat, 23 Dec 2000 18:53:11 GMT
Thanks for the reply, but when I feed it the line that you provided,
this is what happens:
]# dump -0u -a -f /dev/nst0 /
DUMP: Date of this level 0 dump: Sat Dec 23 12:38:31 2000
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/hda5 (/) to /dev/nst0
DUMP: Label: none
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 257683 tape blocks.
DUMP: Volume 1 started at: Sat Dec 23 12:38:33 2000
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 65.51% done, finished in 0:02
DUMP: Closing /dev/nst0
DUMP: Volume 1 completed at: Sat Dec 23 12:46:33 2000
DUMP: Volume 1 took 0:08:00
DUMP: Volume 1 transfer rate: 537 KB/s
DUMP: 258164 tape blocks (252.11MB) on 1 volume(s)
DUMP: finished in 477 seconds, throughput 541 KBytes/sec
DUMP: level 0 dump on Sat Dec 23 12:38:31 2000
DUMP: Date of this level 0 dump: Sat Dec 23 12:38:31 2000
DUMP: Date this dump completed: Sat Dec 23 12:46:33 2000
DUMP: Average transfer rate: 537 KB/s
DUMP: DUMP IS DONE
=============
I have a scsi2 Tecmar WangDAT DDS2 drive. Could it have written that
amount of data that fast? I have my doubts.
Rgds,
Tom
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> On Sat, 23 Dec 2000 07:31:04 GMT, WORLOK <[EMAIL PROTECTED]>
wrote:
> | Hi,
> |
> |I have always used TAR to do tape backups, and decided to try DUMP.
> |Every fs should fit on my tape, which is 4mm DAT DDS2 120m. I
started
> |with my root partition, which is small, and I cannot understand the
> |output. It seems it ran out of tape? It was only running for a few
> |seconds. Can anyone explain why it prompted for the second tape so
> |quickly??
> |
> |Output:
> |
> |# /sbin/dump -0u -f /dev/st0 /
> | DUMP: Date of this level 0 dump: Sat Dec 23 00:31:28 2000
> | DUMP: Date of last level 0 dump: the epoch
> | DUMP: Dumping /dev/hda5 (/) to /dev/st0
> | DUMP: Label: none
> | DUMP: mapping (Pass I) [regular files]
> | DUMP: mapping (Pass II) [directories]
> | DUMP: estimated 257745 tape blocks on 6.63 tape(s).
> | DUMP: Volume 1 started at: Sat Dec 23 00:31:31 2000
> | DUMP: dumping (Pass III) [directories]
> | DUMP: dumping (Pass IV) [regular files]
> | DUMP: Closing /dev/st0
> | DUMP: Volume 1 completed at: Sat Dec 23 00:33:04 2000
> | DUMP: Volume 1 took 0:01:33
> | DUMP: Volume 1 transfer rate: 412 KB/s
> | DUMP: Change Volumes: Mount volume #2
> | DUMP: Is the new volume mounted and ready to go?: ("yes" or "no")
no
> | DUMP: Do you want to abort?: ("yes" or "no") yes
> | DUMP: The ENTIRE dump is aborted.
> |
> |This is my disk:
> |
> |$ df -m
> |Filesystem 1M-blocks Used Available Use% Mounted on
> |/dev/hda5 289 235 39 86% /
> |/dev/hda7 3397 794 2430 25% /home
> |/dev/hda6 3999 2581 1215 68% /usr
>
> They seem to have done a 'bug for bug' rewite of the normal Unix dump.
>
> dump assumes some ancient tape hardware that holds about 40 Mb.
>
> Fortunately they have added a very useful option. 'man dump' says that
> you should use:
>
> dump -0u -a -f /dev/st0 /
>
> The '-a' option says to keep writing until dump gets an 'end of tape'
> error.
>
> --
> Reverend Paul Colquhoun, [EMAIL PROTECTED]
> Universal Life Church http://andor.dropbear.id.au/~paulcol
> -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
> xenaphobia: The fear of being beaten to a pulp by
> a leather-clad, New Zealand woman.
>
--
================================
Viva Linux!! Viva La Revoluti�n!
================================
Sent via Deja.com
http://www.deja.com/
------------------------------
** 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
******************************