Linux-Misc Digest #953, Volume #25 Thu, 5 Oct 00 20:13:02 EDT
Contents:
rp3 applet crashes (Craig Holyoak)
Linux: Freeing Memory (Jason M)
Re: Need terminal emulator (Grant Edwards)
file settings???? (newbie) ("Jim Young")
Re: Not allow mount file system ([EMAIL PROTECTED])
Data Volume Tracker? ("Dave Faulkner")
Re: Implications (Douglas D. Anderson)
Re: file settings???? (newbie) (Mark Post)
Re: processes don't die when users disconnect (RH 5.2) ("AcKBaR[KAC]")
Re: getting rid of mingetty (Fester)
Re: copying and pasting? (Andrew Purugganan)
Re: processes don't die when users disconnect (RH 5.2) (Robert Kiesling)
Re: copying and pasting? (Vilmos Soti)
Re: Microsoft owns a piece of Corel (Christopher Browne)
Re: Printer socket (Christopher Browne)
file problems still (newbie) ("Jim Young")
Re: tar but no dump - help? ("ekkis")
----------------------------------------------------------------------------
From: Craig Holyoak <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: rp3 applet crashes
Date: Fri, 06 Oct 2000 08:14:53 -1000
I just installed RedHat 7.0 and have set up my dial-in access using
rp3-config and using rp3 from a prompt works just fine. However, I want
to use the rp3 applet in my gnome panel, but when I add it, it crashes
the panel. Has anybody else experienced this? What could be the problem?
Craig
--
Craig Holyoak
[EMAIL PROTECTED]
http://www.uq.net.au/craigh/
------------------------------
From: Jason M <[EMAIL PROTECTED]>
Subject: Linux: Freeing Memory
Date: Thu, 05 Oct 2000 22:30:06 -0000
We have a server running linux which has 2Gb of RAM running Red Hat 6.2.
When an application called 'fluent' (extremely memory intensive) is run and
completed, linux fails to free the memory that was used by this process.
'top' shows the process is definitely dead so kill -9 is useless and we
only know that we are running out of memory because 'free' says so. Also,
the system hangs after running fluent a couple of times requiring us to
reboot.
If anyone knows a command to clear memory that DOES NOT involve rebooting,
I would love to know so we don't have to reboot the server twice a day!
Thankyou,
Jason M
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Need terminal emulator
Date: Thu, 05 Oct 2000 22:33:45 GMT
In article <8rirg1$pd2$[EMAIL PROTECTED]>, Frank da Cruz wrote:
>: I don't think there's much demand for this kind of thing. It's mostly
>: limited to people like me using a PC as a source for test signals when
>: debugging serial interfaces on other things. I really ought to get my
>: HP4957A protocol analyzer fixed.
>
>Black Box used to sell a software package you could use on a
>Windows PC (laptops are good for this) with two serial ports
>(which worked pretty well as long as the ports were both driven
>by 16550A or above). You could scroll back a long way, log to
>files, etc -- a lot more than the typical protocol analyzer
>could do.
Years ago, I had a package from Greenleaf that ran under DOS
and turned a PC w/ 2 serial ports into a pretty decent protocol
analyzer.
--
Grant Edwards grante Yow! Am I SHOPLIFTING?
at
visi.com
------------------------------
From: "Jim Young" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,alt.os.linux.slackware,comp.os.linux.help,comp.os.linux.questions
Subject: file settings???? (newbie)
Date: Thu, 05 Oct 2000 22:39:16 GMT
Hi everyone, i've been having a problem with things lately. whenever i
untarzip something (tar xvzf file) the files are created with messed
settings. PLease be lenient on my not knowing the terminology :) anyways, if
i ls -l, all the files, where it usually sais bin or such, sais users. I
can't execute anything i untar. i looked at the HOWTO's but couldn't find
anything. if anyone can point me to a doc, that'd be MUCH appreciated.
thanks, Jim
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.security
Subject: Re: Not allow mount file system
Date: Thu, 05 Oct 2000 18:42:09 -0400
Beggar wrote:
>
> Hi all,
>
> is there any way to not allow the linux partition cannot mount
> by other OS (include linux) except the machine install on it.
>
> I want to protect my files not being steal by others even he can
> physically access the hardware. Any idea?
>
> I have heard about "kerneli.org" , but it seems not applicable for
> me.
>
> Dicky
I have not researched this. This is merely what I think. The other
answers are correct. If you want real security, you have to go with
strong encryption. There are packages for that. You CAN NOT leave the
disk mounted when you are running an encrypted file syste.
If you can keep the user from getting root. Just set the mount point to
700 root:root. Set the device permissions the same. Unless you have
sophisticated users, you should be fine.
For example:
If the device is the floppy... which is a good place to store things you
don't want others to see...
chmod 700 /dev/floppy
chown root:root /dev/floppy
chmod 700 /dev/fd0h1440
chown root:root /dev/fd0h1440
If the mount point is /floppy
chmod 700 /floppy
chown root:root /floppy
That will make it so that your users have to get root to mount the
device.
Someone please correct me if I am wrong...
------------------------------
From: "Dave Faulkner" <[EMAIL PROTECTED]>
Subject: Data Volume Tracker?
Date: Fri, 6 Oct 2000 09:52:40 +1000
Hi All,
Terribly sorry about the crosspost.....but i am quite in urgent need of help
to get this sorted.
I was wondering if someone could point me in the direction of an easy to use
piece of software that will keep a track of the amount of data brought into
the system.
We have only one linux machine in the office which does all of our NAT. With
the ISP that we are with...we have a 1 gig download limit. I would like to
be able to
A) See if our totals match theirs
B) Keep a track on data usage at any time throughout the month.
I use redhat 6.1 and never use X.
TIA
Dave
------------------------------
From: [EMAIL PROTECTED] (Douglas D. Anderson)
Subject: Re: Implications
Date: 5 Oct 2000 22:55:23 GMT
In article <[EMAIL PROTECTED]>,
eljayh <[EMAIL PROTECTED]> writes:
>
>
> "Peter T. Breuer" wrote:
>
>> Goodbye, loon. (and how do you know that there are an infinite number
>> of concepts?).
>>
> Perhaps he counted them.
>
> Eljayh
>
Perhaps he is using thought (i.e. 'thought' >>>----------}> 'concept')
in the unbalanced sense.
------------------------------
From: [EMAIL PROTECTED] (Mark Post)
Crossposted-To:
alt.linux,alt.os.linux,alt.os.linux.slackware,comp.os.linux.help,comp.os.linux.questions
Subject: Re: file settings???? (newbie)
Date: Thu, 05 Oct 2000 22:59:37 GMT
On Thu, 05 Oct 2000 22:39:16 GMT, "Jim Young" <[EMAIL PROTECTED]> wrote:
>Hi everyone, i've been having a problem with things lately. whenever i
>untarzip something (tar xvzf file) the files are created with messed
>settings. PLease be lenient on my not knowing the terminology :) anyways, if
>i ls -l, all the files, where it usually sais bin or such, sais users. I
>can't execute anything i untar. i looked at the HOWTO's but couldn't find
>anything. if anyone can point me to a doc, that'd be MUCH appreciated.
If you untar a file as a non-root user, the ownership of all the files will
be set to your userid and group. If you want to preserve that information
(and frequently you do), then su to root and then do the tar. Make sure you
specify the -p option on it as well.
Mark Post
Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.
------------------------------
From: "AcKBaR[KAC]" <[EMAIL PROTECTED]>
Subject: Re: processes don't die when users disconnect (RH 5.2)
Date: Thu, 05 Oct 2000 23:00:36 GMT
I should clarify a bit: The processes are listed in 'top' as
sleeping, not dead or zombie. It also happens with telnet, so I doubt
it's an SSH problem. I also doubt it's a kernel problem because I've
been using the same kernel (2.2.5-ac7) for over a year. The problem
started when I had to reboot after 355 days of uptime because I
changed the root password and forgot it. It had been running
flawlessly until then. I also upgraded a bunch of RPMs and removed a
bunch around the same time but didn't get any warnings about
dependencies.
If the ssh/telnet connection isn't shut down cleanly (i.e. by downing
a router between us) all of a user's process hang around forever. If
the ssh connection is shut down properly only the extra sshd processes
(in.telnetd and login for telnet) hang around.
Should a user space program be killing these processes or is it the
kernel's job?
On 5 Oct 2000 16:45:56 -0400, [EMAIL PROTECTED] (Robert
Kiesling) wrote:
>In article <[EMAIL PROTECTED]>,
>AcKBaR[KAC] <[EMAIL PROTECTED]> wrote:
>>Hello,
>>
>>I have been having a problem on a Red Hat 5.2 box where when a user is
>>SSHed in and gets disconnected, all of that users processes will hang
>>around forever until I kill (sometimes kill -9) them. By then end of
>>the day I have 10 sshd and 10 bash processes hanging around. It's not
>>just 'w' and 'who' that list the users, the processes are still in 'ps
>>aux' and visible in /proc. The same thing happens whether I use the
>>OpenSSH server or the one from www.ssh.fi. I've never had this happen
>>on any other system. I suspect it's a bug in RH 5.2 but I can't
>>upgrade because of a binary-only RPM that requires this version.
>>
>>Any ideas?
>
>Unfortunately not, unless it is possible to monitor and intercept the
>signals of the processes the SSH server creates. For some reason
>Linux doesn't seem to keep the PID's of dead or zombie processes as
>other unices do. Not to discourage you, but you might get a better
>answer on the linux-kernel mailing list.
>
>
>--
>http://www.mainmatter.com/
>"Almost cut my hair."
------------------------------
From: [EMAIL PROTECTED] (Fester)
Subject: Re: getting rid of mingetty
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Oct 2000 23:04:58 GMT
I saw Mihai Cartoaje rant about the following:
>Hello,
>
>I have a computer with 16MB of ram running RedHat, and top informs me
>that the 5 instances of mingetty loaded at startup take up over 2MB.
>
>I have tried renaming mingetty so that iniscript wouldn't find it, but
>then Linux wouldn't boot. I have my computer back up and running now,
>but I still have to get rid of mingetty!
edit /etc/inittab and comment out any unnecessary references to
mingetty. You want to keep at least 1 (otherwise the problem above will
occur).
--
-- Fester
"And Dream dreams of the future. Progress dreams of clean.
And Stress only dreams about stress, all over everything."
==============================================================
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: copying and pasting?
Date: 5 Oct 2000 23:16:10 GMT
[EMAIL PROTECTED] wrote:
[ I know I can copy and paste using Shift-Insert
[ But how can I copy and paste between say terminal window
[ and Netscape? Shift-Insert does not work.
[ People often send me URL's and I must admit, in Linux, I
[ really don't know how to copy and paste from term to Netscape
[ and vis-a-versa.
go to freshmeat.net and get the RPM for openit
It let me add a command 'Surf it!' to my menu
You just highlight the URL in the xterm and select 'Surf it!'
I dont think it's limited to Window Manager
--
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: [EMAIL PROTECTED] (Robert Kiesling)
Subject: Re: processes don't die when users disconnect (RH 5.2)
Reply-To: [EMAIL PROTECTED]
Date: 5 Oct 2000 19:29:04 -0400
In article <[EMAIL PROTECTED]>,
AcKBaR[KAC] <[EMAIL PROTECTED]> wrote:
>
>I should clarify a bit: The processes are listed in 'top' as
>sleeping, not dead or zombie. It also happens with telnet, so I doubt
>it's an SSH problem. I also doubt it's a kernel problem because I've
>been using the same kernel (2.2.5-ac7) for over a year. The problem
>started when I had to reboot after 355 days of uptime because I
>changed the root password and forgot it. It had been running
>flawlessly until then. I also upgraded a bunch of RPMs and removed a
>bunch around the same time but didn't get any warnings about
>dependencies.
>
>If the ssh/telnet connection isn't shut down cleanly (i.e. by downing
>a router between us) all of a user's process hang around forever. If
>the ssh connection is shut down properly only the extra sshd processes
>(in.telnetd and login for telnet) hang around.
>
>Should a user space program be killing these processes or is it the
>kernel's job?
[Previous text omitted.]
Clearly, if SSH was a binary-only installation, any additional
processing must be external to the server and in user space, the same
as the server. But I'm afraid I don't have a clue, not knowing
exactly what you've upgraded. I would guess that if a user closes a
connection normally, the shell terminates on a SIGHUP, and a login
keeps respawning on that line. What happens if you send a SIGHUP to
the login? Does it respawn immediately? Does the sshd process
terminate when the user shell--or whatever the user program that is
running--terminates? In that case, I'd look to whatever
(min|v|a)getty the upgrades might have installed, what options
they--or actually inetd--might have when starting a sshd process,
and/or try to find out how to get the login to terminate and be
respawned when the connection drops. There should also be a timeout
on the sshd process, but I'm afraid I don't know exactly how it would
be configured. If the kernel is communication correctly with the sshd
process, then all of the user processes should terminate also.
Failing that, the only other course I would take would be to back out
of each of the upgrades if possible. And, of course, using OpenSSH so
that you could configure it for that host as necessary.
Apologies that I can't be more specific. Those are my ideas, based on
the information you've given me.
Robert
--
http://www.mainmatter.com/
Once upon a time, back in the days when programmers where men, and so
were the terminals...
--
Robert Kiesling
Linux FAQ Maintainer
[EMAIL PROTECTED]
------------------------------
Subject: Re: copying and pasting?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 05 Oct 2000 23:53:03 GMT
> [EMAIL PROTECTED] wrote:
> I know I can copy and paste using Shift-Insert
>
> But how can I copy and paste between say terminal window
> and Netscape? Shift-Insert does not work.
In the terminal window, just highlight the url. By highlighting,
you will place it into the clipboard. You can paste it with the
middle buton (or if two buttons then the two together).
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.sys.mac.advocacy,misc.writing,talk.bizarre
Subject: Re: Microsoft owns a piece of Corel
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Oct 2000 23:58:53 GMT
In our last episode (Wed, 04 Oct 2000 18:45:17 -0700),
the artist formerly known as Thomas Armagost said:
>The Register <http://www.theregister.co.uk/content/1/13728.html> sez:
>> Microsoft would only have to sell its shares to destabilise Corel
>
>This brings to mind certain nasty rumors about the cause of Apple's
>recent crash. But, really, Microsoft wouldn't dare pull such a stunt.
>The U.S. Department of Justice is riding their posterior.
... And Canada might declare war ... They had to paint the
President's house _White_ after the last time we set it on fire during
such a war...
:-)
--
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/lsf.html>
"I have yet to see any problem, however complicated, which, when you
looked at it in the right way, did not become still more complicated."
-- Poul Anderson
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Printer socket
Reply-To: [EMAIL PROTECTED]
Date: Thu, 05 Oct 2000 23:59:11 GMT
In our last episode (3 Oct 2000 22:17:17 GMT),
the artist formerly known as Juergen Heinzl said:
>In article <[EMAIL PROTECTED]>, SchAmane wrote:
>>How cann i new create socket for a printer, like /dev/printer ?
>[-]
>
>You don't. If the printer daemon requires one, then it ought to
>create one itself. Yes, this does mean lpd must be started up
>by root.
>
>See the documentation for your printing system as you may not
>run the plain BSD lpd.
Hum? "Plain BSD lpd" is intended to run as root, and run MAKEDEV to
create the devices? I don't think so...
The gentle user is probably using the term "socket" wrongly;
/dev/printer is likely to _not_ be a socket, but rather a device file,
and the appropriate utility is either mknod, if you want to control
device creation by hand, perhaps making up funky device names, or
/dev/MAKEDEV, if you want to create devices using the typical naming
conventions.
A printer would typically be named something like /dev/lp, /dev/lp0,
or /dev/lp1.
Supposing you want to use the name /dev/printer, I'd suggest starting
by creating /dev/lp[whatever], and then renaming it /dev/printer via:
# mv /dev/lp0 /dev/printer
--
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/linux.html>
PALINDROME spelled backwards is EMORDNILAP.
------------------------------
From: "Jim Young" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.questions
Subject: file problems still (newbie)
Date: Fri, 06 Oct 2000 00:09:27 GMT
Hey all. I still have problems executing files that i've untarred. i
use tar xvpzf file while i'm root, and when i ls -l the files, they say
root root for the properties, yet when i type the name in it sais file or
command not found. its reallll odd. if iuse the tab-shortcut key it also
doesn't recognize it.
i'm on slackware linux, newest version
thank you
Jim
------------------------------
From: "ekkis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.hardware,linux.redhat.misc,linux.scsi
Subject: Re: tar but no dump - help?
Date: Thu, 5 Oct 2000 17:07:36 -0700
thx for the response. the tape length is an issue but my big problem is
that I can't seem to back up across tapes... whenever the end of the first
tape is reached and he asks for the next tape, if I mount another tape, he
fails to open it. In the transcript below, I physically change the tapes
after being prompted and before responding (by issuing: mtx -f /dev/sg1
next). but he just fails to open it. any idas?
DUMP: 75.80% done, finished in 0:54
DUMP: End of tape detected
DUMP: Closing /dev/st0
DUMP: Volume 1 completed at: Thu Oct 5 16:44:40 2000
DUMP: Volume 1 took 2:50:12
DUMP: Volume 1 transfer rate: 341 KB/s
DUMP: Change Volumes: Mount volume #2
DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes
DUMP: Cannot open output "/dev/st0".
DUMP: Do you want to retry the open?: ("yes" or "no") n
DUMP: The ENTIRE dump is aborted.
thx - e
<[EMAIL PROTECTED]> wrote in message
news:8rhi11$k02$[EMAIL PROTECTED]...
> In comp.os.linux.admin ekkis <[EMAIL PROTECTED]> wrote:
> > hi all,
>
> You need to tell dump how large the tape is (-s switch) default is
> a very small tape (in your output you can see that dump
> estimates that it will need 99.97 tapes for your backup !)
>
> Be aware that switches for dump is a little "unnatural" i guess
> you should do :
> dump -0usf 1000000 /dev/st0 /home/ftp/mp3z
>
> but do check your manpage first !
>
>
> > I'm having a problem backing up a file system to tape using "dump". I
can
> > tar to the device (read and write) so I know there's nothing wrong
> > with the hardware or drivers... can anyone help point me ine right
> > direction?
>
> > here's my command and it's output:
>
> > root@beowulf:/root # dump -0u -f /dev/st0 /home/ftp/mp3z
> > DUMP: Date of this level 0 dump: Mon Oct 2 13:32:48 2000
> > DUMP: Date of last level 0 dump: the epoch
> > DUMP: Dumping /dev/hdb1 (/ (dir home/ftp/mp3z)) to /dev/st0
> > DUMP: Label: none
> > DUMP: mapping (Pass I) [regular files]
> > DUMP: mapping (Pass II) [directories]
> > DUMP: estimated 3913078 tape blocks on 99.97 tape(s).
> > DUMP: Volume 1 started at: Mon Oct 2 13:32:49 2000
> > DUMP: dumping (Pass III) [directories]
> > DUMP: dumping (Pass IV) [regular files]
> > DUMP: Closing /dev/st0
> > DUMP: Volume 1 completed at: Mon Oct 2 13:34:44 2000
> > DUMP: Volume 1 took 0:01:55
> > DUMP: Volume 1 transfer rate: 333 KB/s
> > DUMP: Change Volumes: Mount volume #2
> > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") y
> > DUMP: Cannot open output "/dev/st0".
> > DUMP: Do you want to retry the open?: ("yes" or "no") n
> > DUMP: The ENTIRE dump is aborted.
>
> > the drive has 4 tapes. When dump first asks
> > whether the "new volume" is mounted, I switch to the next tape by
issuing:
>
> > root@beowulf:/var/log # mtx -f /dev/sg1 next
> > Unloading Data Transfer Element into Storage Element 1...done
>
> > and then respond "y" (which fails).
>
> > Some useful info:
>
> > root@beowulf:/root # uname -a
> > Linux beowulf 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i586 unknown
>
> > root@beowulf:/root # tapeinfo -f /dev/sg1
> > Product Type: Tape Drive
> > Vendor ID: 'ARCHIVE '
> > Product ID: 'Python 28849-XXX'
> > Revision: '4.CM'
> > Attached Changer: No
> > DataCompEnabled: yes
> > DataCompCapable: yes
> > DataDeCompEnabled: yes
> > CompType: 0x20
> > DeCompType: 0x20
> > ActivePartition: 0
> > EarlyWarningSize: 0
> > NumPartitions:0
> > MaxPartitions:1
> > MinBlock:1
> > MaxBlock:16777215
>
> > root@beowulf:/root # mtx -f /dev/sg1 status
> > Storage Changer /dev/sg1:1 Drives, 4 Slots ( 0 Import/Export )
> > Data Transfer Element 0:Full (Storage Element 2 Loaded)
> > Storage Element 1:Full
> > Storage Element 2:Empty
> > Storage Element 3:Full
> > Storage Element 4:Full
>
> > Also, something weird, the directory I'm trying to dump is a little over
> > 3GB:
>
> > root@beowulf:/root # ls /home/ftp/mp3z |head -1
> > total 3885396
>
> > and my tapes should fit 4GB (uncompressed), however if you'll notice in
the
> > dump output:
>
> > DUMP: estimated 3913078 tape blocks on 99.97 tape(s).
>
> > the number of tapes calculated is BIG! What's up with this?
>
> > any help greatly appreciated. - erick
>
> > p.s. please e-mail so I don't have to keep coming back to the newsgroup,
> > thx!
>
>
>
>
>
>
>
>
> --
> Peter H�kanson
> IPSec Sverige (At the Riverside of Gothenburg, home of
Volvo)
> Sorry about my e-mail address, but i'm trying to keep spam out.
> Remove "icke-reklam"and "invalid" and it works.
>
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************