Linux-Misc Digest #927, Volume #27 Wed, 23 May 01 08:13:01 EDT
Contents:
how to undo a ramdisk ( /dev/ram* ) ? (Andrew Strebkov)
Re: Java and fonts (Jacob Kristensen)
Re: how to undo a ramdisk ( /dev/ram* ) ? (Michael Heiming)
Re: What is sendmail? (Michael Heiming)
Re: A CPU cooler for Linux? ([EMAIL PROTECTED])
Re: linux freezin ("objbuilder")
Re: how to undo a ramdisk ( /dev/ram* ) ? (Christian Capito)
urgent help is needed: iptables -m state ("Wong Ching Kuen Frederick")
Re: Backup solution for RedHat 7.0 on Dell PowerEdge 1300 ("Wong Ching Kuen
Frederick")
Re: Dumb newbie question about setting the system time. ("Wong Ching Kuen Frederick")
Re: Dumb newbie question about setting the system time. (Christian Capito)
Re: can't compile qt-2.3.0 with -xft. Why? ("Nils O. Sel�sdal")
Swapping on RAID1 (Michael Mattsson)
Re: XMMS core dumps constantly (Tim)
Re: How to tell mkisofs to take file/dir names literally? (Stuart Summerville)
IBM to let Linux fans use mainframe--for free ("[EMAIL PROTECTED]")
Ls120 (faeychyld)
Re: XMMS core dumps constantly (Jacob Kristensen)
linux libraries (Richard)
stack trace on linux (Sandeep Grover)
Re: linux freezin (Jacob Kristensen)
Re: Who to install a .gz.tar file? ("eljayh")
Re: Swapping on RAID1 ("Support")
Re: linux libraries ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Andrew Strebkov)
Subject: how to undo a ramdisk ( /dev/ram* ) ?
Date: Wed, 23 May 2001 08:37:21 GMT
Hello, Linux gurus -
i successfully created /dev/ram1 with mke2fs - but what do I do now
that I want to return to the previous state of not having a /dev/ram1?
I know that it will go away with a reboot, but currently, due to
special circumstances, I need to undo my ramdisk without rebooting.
How do I "destroy" /dev/ram1 ?
Also, on a tangential issue - I deleted all the files and directories
under my ramdisk mount point (while it's mounted); yet, df is still
showing that 30% of the ramdisk is in use... This is also "confirmed"
by the system perceiving the space to have been partially filled in
that manner... "ls -a" does not show anything either.
Thanks in advance
andrew
------------------------------
From: Jacob Kristensen <[EMAIL PROTECTED]>
Subject: Re: Java and fonts
Date: Wed, 23 May 2001 07:48:49 +0200
Markku Kolkka wrote:
>
> Jacob Kristensen <[EMAIL PROTECTED]> writes:
> > Font specified in font.properties not found
> > [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
> > (20 times)
> > I get the same when i try to run some(but not all) of the programs that
> > come with the SUN JDK2 package.
> > I'm on a RH 7.0, kernel 2.4.4
> > Where did i f*** up??
>
> Nowhere, this is a bug that has been in the Sun JDK for ages. File
> another bug report with them, maybe they eventually get it fixed.
>
> --
> Markku Kolkka
> [EMAIL PROTECTED]
Is it worth trying the IBM Java?
Jacob
--
There he goes... One of Gods own prototypes.
A high-powered mutant of some kind,
never even considered for mass production.
Too weird to live, and too rare to die.
Jacob Kristensen -- [EMAIL PROTECTED]
------------------------------
Date: Wed, 23 May 2001 08:18:53 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: how to undo a ramdisk ( /dev/ram* ) ?
Andrew Strebkov wrote:
>
> Hello, Linux gurus -
>
> i successfully created /dev/ram1 with mke2fs - but what do I do now
> that I want to return to the previous state of not having a /dev/ram1?
> I know that it will go away with a reboot, but currently, due to
> special circumstances, I need to undo my ramdisk without rebooting.
> How do I "destroy" /dev/ram1 ?
umount /dev/ram1
Michael Heiming
------------------------------
Date: Wed, 23 May 2001 08:26:03 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: What is sendmail?
Norm wrote:
>
> Lamar Thomas wrote:
>
> > I am new to Linux and I am coming from the "Windows" world. We are thinking
> > about moving our "MS Exchange" e-mail server over to Linux and sendmail.
> > Right now with "Exchange 5.5" we can do POP3, SMTP and Web e-mail access.
> > Can we do any of this with sendmail? If not, what do we need to make it
> > happen? We well be running RedHat 7.1. Thanks for any input.
> >
> > Lamar
>
> I would recommend postfix or Qmail. A webmail interface is at in the works for
> postfix. I believe commercial webmail interfaces exist for Qmail. Sendmail is
> hard to configure and has a not-so good security history.
>
> http://www.qmail.org
> http://www.postfix.org/
> http://www.redhat.com/support/docs/faqs/RH-postfix-FAQ/book1.html
>
> You would probably like to know that HotMail is run mostly on Solaris
> and FreeBSD using Qmail.
>
> http://www.unix-vs-nt.org/
> http://www.ugraf.com/unix-nt/jt/unix-nt.nob.html
> http://www.bitwizard.nl/unixnt.html
>
> The fact that MS is willing to admit that "Solaris is one of several
> OS's being used" is enough to convince me that it is better since
> a "wholesale migration to Windows NT server has not yet been
> attempted". I would suspect this translates to "we tried it. It fell
> on its face so we stuck with our 'Legacy system'." Yes Solaris
> networking needs tuning, just like any other system. System
> administration is more thatn just popping in a CD as MS would
> like you to think.
>
> http://www.microsoft.com/ntserver/web/news/msnw/hotmail.asp?bPrint=True
>
> http://aa11.cjb.net/sun_managers/1998/05/msg00148.html
>
> Best Microsoft Quote ever:
> Judy Gibbons, director of the Microsoft Network, was unaware of the
> hardware behind Hotmail, but said: "We looked at all the on-line mail
> services and Hotmail was far and away the best. It has the most proven
> and scalable architecture."
>
> Oh, you might not want to cross post so much. Just posting to the
> most relevant news group is preferred.
You too...
sendmail is a MTA, POP3/IMAP are different protocols,
you need additional sw for this.
In addition, try this URL for some general info about, how mail works:
http://www.sendmail.org/email-explained.html
Michael Heiming
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: A CPU cooler for Linux?
Date: 23 May 2001 14:36:27 +0800
>>>>> "H" == H Dziardziel <[EMAIL PROTECTED]> writes:
H> If I could add to it; my ammeter checks on several laptops
H> (fairly easy to tap into the power for measuring)
What? You tapped your ammeter to the power supply?
I suppose by "tapping" you mean you put placed the 2 probes in contact
with two points in the circuit, without modifying (cutting) the
connections in the circuit. Right? That means you made a parallel
connection? AFAIK, ammeter readings are only meaningful when you
connect it IN SERIES to the part being examined. If you connected it
to the circuit in parallel, I don't know what the reading would
reflect. (By contrast, voltmeters should be connected in parallel,
not in series.)
--
Lee Sau Dan ���u��(Big5) ~{@nJX6X~}(HZ)
.----------------------------------------------------------------------------.
| e-mail: [EMAIL PROTECTED] http://www.csis.hku.hk/~sdlee |
`----------------------------------------------------------------------------'
------------------------------
From: "objbuilder" <[EMAIL PROTECTED]>
Subject: Re: linux freezin
Date: Wed, 23 May 2001 07:17:41 GMT
if you're running X then it's possible that your kernel is still running
fine. Try the following:
ctrl-alt-f1
login as root
kill `pidof X`
(notice the single back-quotes above)
if X doesn't start back up...
startx
In article <9ee542$35q$[EMAIL PROTECTED]>, "alik blochin"
<[EMAIL PROTECTED]> wrote:
> Hi
> i have a very strange problem:
> i recently installed mandrake 8.0 and everything goes alright but every
> 2-3 hours i get a completely freezed system(only power button helps) and
> nothing seems wrong:
> all the drivers are installed properly.... The system freezes
> particulary on screensaver...
>
> has anybody seen this before ?
>
>
>
>
------------------------------
From: Christian Capito <[EMAIL PROTECTED]>
Subject: Re: how to undo a ramdisk ( /dev/ram* ) ?
Date: Wed, 23 May 2001 08:48:11 +0200
Hi there Michael,
on Wednesday 23 May 2001 08:18, Michael Heiming quoth:
> Andrew Strebkov wrote:
>>
>> How do I "destroy" /dev/ram1 ?
>
> umount /dev/ram1
Just a question: umount /dev/ram1 means that the device isn't integrated
into the filesystem anymore. But does this also mean that the device itself
is drestoyed?
I think Andrew wants to know how he can free memory used by the ramdisk.
That would be interesting if you're tight with memory and have created a
32Mb ramdisk
chris capito
------------------------------
From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: urgent help is needed: iptables -m state
Date: Wed, 23 May 2001 15:44:25 +0800
could anyone show me how to use the state option in iptables?! i want to
allow incoming ftp transfer (passive mode) to my linux box with iptables
installed. many thanks.
fred
------------------------------
From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: Re: Backup solution for RedHat 7.0 on Dell PowerEdge 1300
Date: Wed, 23 May 2001 15:50:48 +0800
if u can pay for a tape drive, get one. the size of the tape depends on how
much disk/host u need to backup.
for software, i recommend amanda (www.amanda.org). it is free, easy to use
and most important of all, it can backup a number of hosts through tcpip. i
use a dds-3 tape to backup 6 linux box without any problem. ....... if u r
comfortable with a text interface.
fred
"Ldrpdx" <[EMAIL PROTECTED]> ���g��l��
news:[EMAIL PROTECTED]...
> Hello,
>
> I'm looking for a backup solution for a Dell PowerEdge 1300 server running
> RedHat 7.0. I'm looking primarily for a) reliability, and b) relatively
> inexpensiveness of device and media. Speed is not so important.
>
> SCSI interface preferably.
>
> Can anyone recommend a solution for me, or point me in the right direction
> (URL, company). Hardware is not my forte.
>
> Richard Robinson
>
>
------------------------------
From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: Re: Dumb newbie question about setting the system time.
Date: Wed, 23 May 2001 15:46:23 +0800
if u can connect to internet, u can use rdate
rdate -s timeserver
e.g. rdate -s stdtime.gov.hk
(time server in hong kong)
find the closest time server near your location will yeild more accurate
time.
"Joel" <[EMAIL PROTECTED]> ���g��l��
news:9ef8vl$dci$[EMAIL PROTECTED]...
> Hi. I am reletively new to linux (I've been using it for about 2 months)
> and my clock is off. I have it set to local time, but I can't figure out
> how to set it to the correct time. I remember when I installed RedHat
7.1,
> a package was installed that is for setting the time, but I don't remember
> the name. How do I set the hardware time on my computer? I have Windows
> and Linux installed, BTW. Thanks in advance.
>
>
------------------------------
From: Christian Capito <[EMAIL PROTECTED]>
Subject: Re: Dumb newbie question about setting the system time.
Date: Wed, 23 May 2001 09:27:45 +0200
Hi Joel,
on Wednesday 23 May 2001 04:51, Joel quoth:
> the name. How do I set the hardware time on my computer? I have Windows
You can't set the *hardware* time on your computer - do that in the BIOS.
Linux gets the hardware time from the BIOS at boot time, offsets it
according to you time zone setting and then runs its own clock which is
async to the bios clock.
Any changes you make to the system clock will be lost at reboot.
Chris capito
------------------------------
From: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: can't compile qt-2.3.0 with -xft. Why?
Date: Wed, 23 May 2001 10:22:38 +0200
"J�rgen Diez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Nils O. Sel�sdal" <[EMAIL PROTECTED]> wrote in
> <[EMAIL PROTECTED]>:
>
> >You need atleast xfree 4.03
>
> I've patched my 4.02 up to 4.03 but it still doesn't work
THen there could be about thousand reasons why it dont work,
so what doesnt work? What does it say? what error messages do you get?
------------------------------
From: Michael Mattsson <[EMAIL PROTECTED]>
Subject: Swapping on RAID1
Date: Wed, 23 May 2001 11:44:09 +0200
Hi.
I'm wondering if it's safe to mirror swap partitions without any
caveats. Im running two 9GB disks with RAID1. If the system is gonna be
100% fail-safe the swapping needs to be mirrored as well. If anyone
could shed som light over this i'm eternally grateful. I'm running
Linux-2.4.4 and SCSI disks (U160).
Michael
--
Michael Mattsson <[EMAIL PROTECTED]>
Webmaster/Linux sysadmin
Volvo Technological Development
Dept 6880, Engineering Infrastructure, M1.6
------------------------------
From: Tim <[EMAIL PROTECTED]>
Subject: Re: XMMS core dumps constantly
Date: Wed, 23 May 2001 11:19:25 +0100
The first place too look would be the XMMS homepage at
http://www.xmms.org
Stefan Viljoen wrote:
>
> Hi!
>
> Is there an XMMS faq somewhere or can somebody help - I have RedHat 6.0 -
> sndconfig runs fine and plays the sample of Linus' voice and the midi
> sample. However, trying to play any MP3 with XMMS in Xwindows core dumps -
> no matter what user or what MP3 file. I have already tried chmod'ding my
> /dev/audio /dev/dsp /dev/mixer etc to a=rwx but nothing seems to help - I
> tried chown'ing to root, or any other user these devices too - 0 luck - XMMS
> just keeps dumping core like clockwork. Anybody got any ideas in what
> direction I can head to fix this?
>
> Thanks!
>
> Stefan
------------------------------
From: Stuart Summerville <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.periphs.cdr
Subject: Re: How to tell mkisofs to take file/dir names literally?
Date: Wed, 23 May 2001 20:31:48 +1000
On 22 May 2001 11:59:46 -0700, [EMAIL PROTECTED] (James Pearson)
wrote:
>Just realised what the problem is - Joliet has a 64 character file name limit.
>
>mkisofs just truncates the file names at 64 characters - which in your case
>creates non-unique names.
Maybe I'd better start tarring/zipping these files/dirs up for
complete & poreper transfer to CD.... sigh....
>
>It just so happens, I've been working on an option to preserve the Joliet file
>name extension - which may help in your case. Send me an email if you want more
>details.
Planned for a future release of the tool, right?
Yes it will solve some of my problems, but I guess the limitations of
these formats is always gonna come bite me at some stage.
>
>Also note that ';' is an illegal Joliet file name character, so mkisofs will
>change this to '_'
I rest my case....
For the sake of archive integrity, I think I'd better investigate the
"bail out if needing to modify the name of a file" option(s) within
mkisofs.
Thanks for the info.
sTu.
------------------------------
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: IBM to let Linux fans use mainframe--for free
Date: Wed, 23 May 2001 10:29:29 GMT
I found this info at:
http://dailynews.yahoo.com/h/zd/20010522/tc/ibm_to_let_linux_fans_use_mainframe--for_free_1.html
Anyone knows how to get this access?
Zalek
------------------------------
Date: Wed, 23 May 2001 20:52:43 +1000
From: faeychyld <[EMAIL PROTECTED]>
Subject: Ls120
I have installed my old ls120 drive
and find I can mount and rw the disks
But the mount command reports twice after
the mount command is invoked eg;
hdd: hd1 hd2
hdd: hd1 hd2
or just
hdd:
hdd:
on a disk that is not partitioned.
The fstab entry is
/dev/hdd /mnt/ls120 auto noauto,user,rw 0 0
and only appears once.
The pressing problem is that fdisk reports unable to
open the device, and cfdisk flags a fatal error
opening the device.
I would like to remove any old partitions and format
as ext2, but I need fdisk.
Tried fdisk with the device mounted and unmounted- no
joy.
--
-
-
-
Regards F
------------------------------
From: Jacob Kristensen <[EMAIL PROTECTED]>
Subject: Re: XMMS core dumps constantly
Date: Wed, 23 May 2001 12:57:38 +0200
Stefan Viljoen wrote:
>
> Hi!
>
> Is there an XMMS faq somewhere or can somebody help - I have RedHat 6.0 -
> sndconfig runs fine and plays the sample of Linus' voice and the midi
> sample. However, trying to play any MP3 with XMMS in Xwindows core dumps -
> no matter what user or what MP3 file. I have already tried chmod'ding my
> /dev/audio /dev/dsp /dev/mixer etc to a=rwx but nothing seems to help - I
> tried chown'ing to root, or any other user these devices too - 0 luck - XMMS
> just keeps dumping core like clockwork. Anybody got any ideas in what
> direction I can head to fix this?
>
> Thanks!
>
> Stefan
At a shell try: mpeg123 <ur-favorite-mp3>. Does it work? Check that u
have the latest XMMS-version. What output plugin are u using? Got any
strange effects/visualization turned on? In options check things like
"use realtime priority....." and "enable DGA....." is OFF.
Jacob
--
There he goes... One of Gods own prototypes.
A high-powered mutant of some kind,
never even considered for mass production.
Too weird to live, and too rare to die.
Jacob Kristensen -- [EMAIL PROTECTED]
------------------------------
From: Richard <[EMAIL PROTECTED]>
Subject: linux libraries
Date: Wed, 23 May 2001 11:22:01 GMT
I am running RH 7.1 at work and here at home. I have had a problem with
a couple differnt programs trying to install or compile from source or
from rpm. It is asking for libcrypto.so.0 and libssl.so.0 .
Now i have both of these files in /usr/lib. And also have the latest (i
think) of these files in there, libcrypto.so.0.9.6 and
libssl.so.0.9.6. I have tried adding /usr/lib to my path also. I am
still quite the newbie with linux but i can usually figure these things
out and this one is stumping me good. I cannot figure out how to make
it read these files and know that they are in there. Any suggestions
would be great
rich
------------------------------
From: Sandeep Grover <[EMAIL PROTECTED]>
Subject: stack trace on linux
Date: Wed, 23 May 2001 16:44:19 +0530
hi all.
I have a signal handler for my software that catches the
deadly signals like SIGSEGV, SIGBUS etc...
now, I want to print the stack trace for the process, when
it crashes...can anyone help me with this??
on sun,
I am using 'pstack' to get the required info.
thanks,
-sandeep.
------------------------------
From: Jacob Kristensen <[EMAIL PROTECTED]>
Subject: Re: linux freezin
Date: Wed, 23 May 2001 13:32:08 +0200
alik blochin wrote:
>
> Hi
> i have a very strange problem:
> i recently installed mandrake 8.0 and everything goes alright but every 2-3
> hours i get a completely freezed system(only power button helps)
> and nothing seems wrong:
> all the drivers are installed properly....
> The system freezes particulary on screensaver...
>
> has anybody seen this before ?
I had this problem some time ago. The solution is'nt defenitive but:
In ur BIOS settings check PnP OS. Some say it should be on, some say off
- so change it and see what happens.... Kernel 2.4.4 is out. I'm using
it and have no problems. It could be a hardware problem. What
motherboard do u have?
Jacob
--
There he goes... One of Gods own prototypes.
A high-powered mutant of some kind,
never even considered for mass production.
Too weird to live, and too rare to die.
------------------------------
From: "eljayh" <[EMAIL PROTECTED]>
Subject: Re: Who to install a .gz.tar file?
Date: Wed, 23 May 2001 19:39:50 +0800
zhaohuic <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Lamar Thomas <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> > I am running RH 7.1 on an Intel system. I am trying to get me CDRW
> > working and the "CD-Writing-HOWTO" said that I needed to download and
> > install "mkisofs". Well I downloaded it but I can't seem to find a way
> > to install it. I ran the commands: "gunzip filename.gz" and "tar -xvf
> > filename.tar" and extracted the files. Now what? Can anyone help?
> > Thanks,
> >
> > Lamar
>
> Now you can enter the file directory and run command: make;make install.
> you will get it.
Alternatively, you could read the README and the INSTALL file which came
with every tar package I ever got.
------------------------------
From: "Support" <[EMAIL PROTECTED]>
Subject: Re: Swapping on RAID1
Date: Wed, 23 May 2001 21:41:47 +1000
I am running a software raid on 2 x ide drives - one is bigger than the
other so I utilise the difference in space by filling that one with the
swap. Works fine. I think that as the swap only stores temporary data it
does't matter if it ever goes west.
"Michael Mattsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi.
>
> I'm wondering if it's safe to mirror swap partitions without any
> caveats. Im running two 9GB disks with RAID1. If the system is gonna be
> 100% fail-safe the swapping needs to be mirrored as well. If anyone
> could shed som light over this i'm eternally grateful. I'm running
> Linux-2.4.4 and SCSI disks (U160).
>
> Michael
>
> --
> Michael Mattsson <[EMAIL PROTECTED]>
> Webmaster/Linux sysadmin
>
> Volvo Technological Development
> Dept 6880, Engineering Infrastructure, M1.6
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: linux libraries
Date: 23 May 2001 11:56:25 GMT
Richard <[EMAIL PROTECTED]> wrote:
> I am running RH 7.1 at work and here at home. I have had a problem with
> a couple differnt programs trying to install or compile from source or
> from rpm. It is asking for libcrypto.so.0 and libssl.so.0 .
Usually libraries are installed in /lib, with a link in /usr/lib
if necessary. The library itself is called lib*somename*.so.someversion,
while the link si called lib*somename*.so.version
So your "libcrypto.so.0" can be a link to libcrypto.so.0.9.6.
I think that you haven't correctly installed the libraries, or you
missed some passage during the installation.
Review the installation procedure.
Note: the PATH is not involved during the loading of shared libraries.
Davide
------------------------------
** 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
******************************