Linux-Misc Digest #822, Volume #25 Thu, 21 Sep 00 06:13:02 EDT
Contents:
Cyrillic fonts in Netscape (Andrei Pushkarev)
Re: End-User Alternative to Windows (robert w hall)
Re: Boot Upgrade, how do I tell LILO? (Eric)
Re: Increase memory to 128M (Eric)
Re: startx problem with the normal user (Eric)
Re: rpm ("David ..")
Re: Creating a hard link to a directory.... ("David ..")
Re: still can't upload via anonymous ftp (The Drag)
Re: Creating a hard link to a directory.... ("David ..")
Re: Creating a hard link to a directory.... (Vilmos Soti)
Re: Out of Memory Error... ([EMAIL PROTECTED])
Boot image on DOS partition? (John Forkosh)
Re: strange effect when killing a process trying to view /proc/kcore ("O. Mayer")
Re: zombie ("James T. Dennis")
wide character functions ("Ludwig Stroobant")
Re: ip masq. trouble (David Efflandt)
Re: man pages for iproute2 ? or How to get info (Andreas K�h�ri)
ide+scsi raid-1 ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Andrei Pushkarev <[EMAIL PROTECTED]>
Subject: Cyrillic fonts in Netscape
Date: Wed, 20 Sep 2000 23:15:46 -0400
Hi,
I am trying to fill the forms in Netscape with
cyrillic letters, it doesn't work. I am using RedHat 6.1
Please give the pointer.
Thanks, Andrei
------------------------------
From: robert w hall <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Wed, 20 Sep 2000 23:38:03 +0100
In article <[EMAIL PROTECTED]>, Matthias Warkus
>For most early-era operating systems, there was not much of a
>difference between binary and source code. Writing operating systems
>in high-level languages is a pretty recent development. :)
Er, 1970 - BCPL - I remember it well
Bob
>
>mawa
--
robert w hall
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Boot Upgrade, how do I tell LILO?
Date: Thu, 21 Sep 2000 08:33:27 +0200
Reply-To: [EMAIL PROTECTED]
Rob Blomquist wrote:
>
> I recently added an oversize (40Mb) /dev/hda1 at the head of my disk
> which is now mounted and running as /boot.
>
> I have been booting off a bootdisk as my Linux drive /dev/hda3, is
> beyond 1024 thanks to Win98, and I could not directly boot Linux.
>
> I would like to know how to write LILO into hda's MBR so that I can boot
> Linux and Win98 directly. I understand how to edit lilo.conf, but not
> how to get it to run.
just edit the lilo.conf file and re-run /sbin/lilo ?
You'll need to list the contents of your lilo.conf here, if you need
more specific help.
Eric
> Rob
> --
> Rob Blomquist
> Kirkland, WA
>
> Gone to the penguins...Bye, bye, Billy-boy....
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Increase memory to 128M
Date: Thu, 21 Sep 2000 08:36:11 +0200
Reply-To: [EMAIL PROTECTED]
Teck Meng, Liaw wrote:
>
> Hi!
>
> I have install RedHat 6.2 with 64M ram, now I have upgrade the server
> to128M, how do I change the system configuration to utilize all there 128M?
> I can do it during the boot time by typing Linux mem=128M at boot prompt,
> but I cannot retain this setting after I have try to reboot it again.
> Any help is appreciate.
>
> Teck Meng, Liaw
Don't post the same question every day, but read the replies to it !
Besides that, there were already a dozen other people with the same
problem, so I can safely assume you didn't bother to look at deja.com
either.
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: startx problem with the normal user
Date: Thu, 21 Sep 2000 08:40:58 +0200
Reply-To: [EMAIL PROTECTED]
Dr. Tu Yu wrote:
>
> Thanks for the replies. Need more help with this though. I have the same
> problem as Chakravarthy, except other ordinary users can startx without the
> same problem, i.e., gray screen, x mouse only.
That means X is started but you don't have a windowmanager running.
look in the startx script and see why it doesn't start a windowmanager.
Eric
> Tried this solution and it doesn't help. In fact copied all .X*, .xauth,
> .esd_auth files from root to users dir and it still doesn't work. Removed
> all .X*, .xauth, .esd_auth and it still doesn't work.
>
> Without .xserverrc doesn't X use the /etc/X11/.xserverrc? None of the other
> users have .xserverrc in the directory so will moving a copy to the user dir
> help? I will try that solution though.
>
> "Eric" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Chakravarthy Sannedhi wrote:
> > >
> > > We at UAB are using Redhat linux for a particular project on VoIP. We
> got a
> > > problem with the console permissions. X is working only with the root
> and
> > > when i try to run with my user name it is displaying
> > > *Perhaps you do not have console ownership?*,
> > > and it is prompting for some command!
> > > I tried the following 3 things to get around this problem.
> > > 1. Added the following line in the /etc/pam.d/xserver
> > > *account required /lib/security/pam_permit.so* to the existing lines.
> > > 2. chmod go+w /dev/console
> > > 3. rpm --freshen *.rpm
> > >
> > > still not happy. I mean startx runs fine as root, just not as any other
> > > normal user!
> > > what else could be done.
> > >
> > > thanks
> > > Chakravarthy K Sannedhi
> >
> > I'm not sure if it'll work (nor if it is a wise thing to do) but you
> > could try to copy /root/.Xauthority to your homedir.
> >
> > Eric
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: rpm
Date: Thu, 21 Sep 2000 01:51:27 -0500
David Mehringer wrote:
>
> I'm trying to upgrade to rpm 4.0 from 3.0.4. I've read
>
> http://www.mailgate.org/linux/linux.redhat.rpm/msg05460.html
>
> When I do the suggested
>
> rpm -Uvh {rpm,popt}-*
>
> I get
>
> only packages with major numbers <= 3 are supported by this version of RPM
> error: rpm-4.0-7x.i386.rpm cannot be installed
> ...
>
> www.rpm.org is of little use; the front page hasn't been modified in over a
> year. It claims that 3.0.4 is the latest version.
>
> Any help on what I need to do is appreciated.
> Thanks
> Emails (as well as simultaneous posts) are greatly appreciated since my news
> feed can be flaky.
I don't know if this will help or not but rpm-3.0.5 is available here.
http://www.redhat.com/support/errata/RHEA-2000-051-01.html
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Creating a hard link to a directory....
Date: Thu, 21 Sep 2000 01:54:16 -0500
Rob Blomquist wrote:
>
> I'm trying to make a hard link from a directory in my home directory to
> /mnt/robbo.
>
> I have su'd to root, then given the command: ln -F /mnt/robbo
> /home/robbo/documents. I get the error message "Invalid Cross Device
> Link". I guess that means that it thinks /home/robbo/documnents is a
> file. I have tried several other variants, and can't seem to figure this
> one out. Yes, I realize that I could mount the drive to the location,
> but I would rather do this.
>
> Any thoughts?
You could do it with a softlink.
ln -s /mnt/robbo /home/robbo/documents
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: [EMAIL PROTECTED] (The Drag)
Crossposted-To: linux.redhat.misc,comp.os.linux.setup
Subject: Re: still can't upload via anonymous ftp
Date: Thu, 21 Sep 2000 06:54:18 GMT
Well, you didn't actually read the FAQ or you would have the answer.
(or perhaps you just don't understand how anon-ftp is actually
supposed to be used)
Please tell us why you insist on installing anon-ftp for a production
webserver. At this point you have a breachable server as you didn't
setup enough security in your ftpaccess file.
Tell us what you want to accomplish, and we'll post an appropriate
config to help you out. The point being that none of us want to help
you get rooted by offering the same lack of security as the ftpaccess
file you posted.
TD
=================================================================================
On Wed, 20 Sep 2000 10:02:09 -0400, Don <[EMAIL PROTECTED]> wrote:
>Ok, I'm waving the white flag. After upgrading to wu-ftp 6.1 and
>modifying my ftp access file according to the docs, I still can't
>upload, i.e., I am getting "permission denied on server" error messages
>when I try yo upload to the /home/ftp/pub directory. Does someone have
>an example ftpaccess file I can look at? Here is mine so maybe you can
>spot the problem.
>
>Thanks in advance,
>Don
>
>===========================================
>class all real,guest,anonftp,anonymous *
>
>email root@localhost
>
>loginfails 5
>
>readme README* login
>readme README* cmd=*
>
>message /welcome.msg login
>message .message cwd=*
>
>compress yes all
>tar yes all
>chmod no guest,anonymous
>delete no guest,anonymous
>overwrite no guest,anonymous
>rename no guest,anonymous
>
>class anonftp anonymous *
>upload /home/ftp /pub yes ftp ftp 0440 nodirs
>noretrieve /home/ftp /pub
>
>log transfers anonymous,real inbound,outbound
>
>shutdown /etc/shutmsg
>
>passwd-check rfc822 warn
>===========================================
>
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Creating a hard link to a directory....
Date: Thu, 21 Sep 2000 01:55:40 -0500
Rob Blomquist wrote:
>
> I'm trying to make a hard link from a directory in my home directory to
> /mnt/robbo.
>
> I have su'd to root, then given the command: ln -F /mnt/robbo
> /home/robbo/documents. I get the error message "Invalid Cross Device
> Link". I guess that means that it thinks /home/robbo/documnents is a
> file. I have tried several other variants, and can't seem to figure this
> one out. Yes, I realize that I could mount the drive to the location,
> but I would rather do this.
>
> Any thoughts?
Or possibly: ln -d /mnt/robbo /home/robbo/documents
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
Subject: Re: Creating a hard link to a directory....
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 21 Sep 2000 06:59:53 GMT
Rob Blomquist <[EMAIL PROTECTED]> writes:
> I'm trying to make a hard link from a directory in my home directory to
> /mnt/robbo.
You are not supposed to make a hard link to a directory. Many utilities
depend on that there is only one way to get to a specific directory
excluding soft links. The ln program checks this, and it refuses to
create the hard link. However, as I know, this is built into the ln
command, and if you write your own ln command, then you can do it.
But don't come back complaining that your system blows up if you
do this. ;-)
Also, just think about it. Each directory has the .. which points
to the parent directory. If there are two ways to go to a specific
directory, then where will .. point to?
> I have su'd to root, then given the command: ln -F /mnt/robbo
> /home/robbo/documents. I get the error message "Invalid Cross Device
> Link". I guess that means that it thinks /home/robbo/documnents is a
> file. I have tried several other variants, and can't seem to figure this
Soft links can traverse filesystem boundaries. They are just a placeholder
for a name. It is entirely possible to create a softlink to a file or
directory, then remove the targeted file or directory. The softlink
still remains there just points to an invalid filename. Consider,
it is like you program someone's phonenumber into your phone, but the
person moves. The preprogrammed button will point to an invalid number.
However, hard links work in a different way. They point to an inode.
Therefore, it cannot traverse filesystem boundaries. There is no way,
either user or root, to create a hard link to a file on another filesystem.
My recommendation is to stick with soft link. There is nothing wrong
with that.
Vilmos
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.os.linux,comp.groupware.lotus-notes.admin,comp.groupware.lotus-notes.misc,redhat.general
Subject: Re: Out of Memory Error...
Date: Thu, 21 Sep 2000 09:17:44 +0200
Hi Tim,
I can't help cause I'm using SUSE 7.0 and don't have a pronlem. But look
at the IBM Redbooks. They just released a book about Domino 5 and Linux
and give some insight into the linux kernel konfiguration .
Regards
Rainer Mattern
------------------------------
From: [EMAIL PROTECTED] (John Forkosh)
Subject: Boot image on DOS partition?
Date: 21 Sep 2000 07:56:49 GMT
Is it possible to put a boot image on a DOS and/or NT partition?
I have several machines that have already been partitioned, and
which I'd rather not repartition, that need boot images below
lilo's 1024 cylinder limit. Is it possible to put boot images
in a dos/nt directory? If so, how do I tell lilo about that?
Thanks,
John ([EMAIL PROTECTED])
------------------------------
From: "O. Mayer" <[EMAIL PROTECTED]>
Subject: Re: strange effect when killing a process trying to view /proc/kcore
Date: Thu, 21 Sep 2000 10:27:47 +0100
Well, maybe my explanations were not detailed enough. The 360M
was not caused by the process in question but has been accumulated
within a couple of days mainly caused by mysqld and httpd. Usually,
after a reboot, the memory usage approximates about 90M and slowly
increases from day to day. It was just a coincidence that the memory
usage was at 360M when I tried to watch the content of /proc/kcore.
Maybe this throws a different light on the situation?!
BTW: I do mind my system freezing like that but sometimes you
just can't help being curious ;)
Greetings
Dances With Crows schrieb in Nachricht ...
>On Wed, 20 Sep 2000 11:17:33 +0100, O. Mayer wrote:
>>Being a curious being, I tried to watch the content of /proc/kcore
>>using Midnight Commanders view-command (f3). That caused MC not to
>>react to the keyboard anymore nor to come with any output / result so I
>>had to log in with another session to kill the process running MC.
>>What's strange about this is that, after killing this process without
>>any problems, the memory usage droped back from about 360M to 96M. Can
>>anybody of you explain this behaviour?
>>
>>The system is Red Hat 6.2 on a 4-processor i686 (Kernel 2.2.14-5.0smp)
>>mainly running apache with PHP and mySQL.
>
>/proc/kcore is the entire contents of system RAM. If you try to view it
>using a tool like less or vi, that process will try to allocate a great
>deal of memory in order to show the entire {64, 96, 128, 256}M file.
>Hence the extreme memory usage there. When you killed the process, it
>released all the memory it was holding, which accounts for the memory
>usage dropping.
>
>/proc/kcore is really not meant for use by anyone other than kernel
>hackers, but if you don't mind your system freezing like that, go ahead
>and explore....
>
>--
>Matt G|There is no Darkness in Eternity/But only Light too dim for us to
see
>Brainbench MVP for Linux Admin / Those who do not understand Unix are
>http://www.brainbench.com / condemned to reinvent it, poorly.
>-----------------------------/ --Henry Spencer
------------------------------
From: "James T. Dennis" <[EMAIL PROTECTED]>
Subject: Re: zombie
Date: 21 Sep 2000 08:27:47 GMT
Scott Hunter <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>>
>> When I run top it says I have 4 zombie processes. Can
>> someone tell me exactly what a zombie process is? I
>> couldn't find anything in top man page. Thanks
> This should be fairly accurate.
> A zombie process happens when a process forks
> a child and forgets to kill it.
Wrong. A zombie is an entry in the process table
which holds the exit value of a program until the
parent retrieves it (with system call in the wait()
family). They are a natural part of the UNIX
process model. Zombies *will* occur for short
periods of time.
Persistent zombies (those that stick around long
enough for you to seem them in two different
'ps' listings) are a result of a parent process
which is failing to "reap" the results of its
dead children.
If the parent dies/exits before its children then
the children are "adopted by" (assigned to) the
init process (PID==1).
> The OS can reclaim the zombie's memory but it
> does claim one space on the process table.
> There's (AFAIK) no way to get rid of the
> zombie entry in the process table without rebooting.
Wrong again. You can rid yourself of zombies by
killing the parent processes. Then the zombies will
be adopted by init which will then reap them as part
of its normal process management housekeeping cycle.
Note: there have occassionally been bugs in various
versions of init (Linux and other forms of UNIX) which
occasionally failed to reap some zombies. I imagine
there have even been very rare bugs that prevent the
kernel from assigning some zombies to init's family.
Nota Bene!: There are some processes which might be
listed as "D" (in the D state). These are NOT zombies.
They are in a long term "device sleep" -- meaning that
they are wedged, block on I/O in the midst of a system
call. This can happen when a hard mounted NFS server
is down --- the client system's processes will get
wedged into this state. Those cannot be killed
(since killing them involves signal handling which
requires wake them up) and may be stuck inside of a
system call which can even prevent the kernel from
killing them (on rare occasions that relate to
how the system call that was deferred might have been
holding some kernel lock or resource).
Those are the one sort of process that can't be
killed. (zombies can't be killed; they're already
dead; but they can be wiped off the process table and
buried by killing the irresponsible parent process
that failed to install a SIGCHLD signal handler and
didn't have the decency to orphan the child (through a
classic double fork() --- to spawn off a grandchild
before the exec()).
> The good news is you're not really out any resources
> except a singe PID.
> Ignore them, they dont matter.
This is mostly true. Note that long-running daemons
that accumulate zombie children are not well written.
You should seriously reconsider relying on any daemon
that can handle at least the rudiments of process
management since it might also be full of race
conditions, buffer overflows, memory leaks and other
bugs that will hurt worse than the zombies.
------------------------------
From: "Ludwig Stroobant" <[EMAIL PROTECTED]>
Subject: wide character functions
Date: Thu, 21 Sep 2000 08:56:01 GMT
Ok, I just found out the swprintf function isn't available yet in the
current libc library.
Can someone send me, or tell me where I can find the standard UNICODE
implementation of the swprintf() function?
(and maybe also the wprintf() function)
Thanks
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: ip masq. trouble
Date: Thu, 21 Sep 2000 09:17:29 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Mon, 18 Sep 2000, Axel Scheepers <[EMAIL PROTECTED]> wrote:
>recently I had to reconfigure my linux internet gateway. I use
>squid as a proxy wich works fine. For masq. I use ipchains. I
>defined a policy wich forwards any requests outside my private
>net to the internet. But when i try to ping a host on the
>internet it still complains that it can't find the network. At
>the moment I can't send any logs since I am using a palm handheld
>for news acces. I use the same setup as described in the masq.
>howto, I just adapted it to my own net.
>Can anybody give me some points to start searching on what is
>wrong?
Assuming you read the IPCHAINS-HOWTO, you may have forgotten to enable IP
forwarding by changine ip_forward from 0 to 1. This is included in the
simple 3 line MASQ example:
echo 1 > /proc/sys/net/ipv4/ip_forward
Also if using ftp you should: /sbin/insmod ip_masq_ftp
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
Subject: Re: man pages for iproute2 ? or How to get info
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 21 Sep 2000 11:25:41 +0100
In article <8J9y5.27951$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>I' was going throught the advanced routing howto and eventually put in tc
>and ip .
>Now for the documentation : It's in textinfo or something, definitely not
>for the man pages .
>I have never used the former , and so far have been using man.
>
>So how do I access this thing ?
>
So, your question is basicly about how to use the info system?
Start by giving the command "info", then type the letter 'h'. This
will take you to an info tutorial that will teach you how to navigate
through texinfo files. Go through it.
Oh BTW, by searching for "iproute2 documentation" on Google, I found
out that there should be a 'doc' directory int the 'iproute2'
distribution continuing some TeX and/or some LaTeX files. To format
and view them you need to run them through 'latex' to produce DVI
files. These DVI files may then be viewed with 'xdvi' or converted
into Postscript files for viewing with e.g. 'gv'.
Texinfo files are usually named "file.texinfo" or "file.texi".
/A
--
Andreas K�h�ri, <URL:http://hello.to/andkaha/>. Junk mail, no.
========================================================================
What part of "GNU" did you not understand? <URL:http://www.gnu.org/>
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: ide+scsi raid-1
Date: Thu, 21 Sep 2000 09:50:19 GMT
hi,
i would like to install rh6.2 with a raid-1 on both hard disks.
(scsi+ide)
scsi 18Gb and ide 20Gb.
i would like to make a bootable raid-1.
how can i make the partitions???
on the raid (scsi and ide)
/boot
/
/usr
/var
/home
swap
just in ide:
/backup
is that ok??
do i need any upgrade the rh6.2 to do that?????
thanks in advance,
marcos
[EMAIL PROTECTED]
------------------------------
** 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
******************************