Linux-Misc Digest #961, Volume #27 Sun, 27 May 01 19:13:02 EDT
Contents:
Re: Problem compiling Ed-0.2 (Colin Watson)
linux (william)
Re: partition labels? in RH 7.1 (R S Prigan)
Re: linux (Juergen Heinzl)
Re: FTP Question RH 7.1 ("arjen")
"export" problems (Joe Woods)
Re: Java support for Opera (Vic Ayres)
Kernel Parameters (Andreas Pauley)
Re: bootpd and dhcpd ("Stuart R. Fuller")
Re: imap & pop on Linux under xinetd won't start (Nick Rout)
Re: IBM to let Linux fans use mainframe--for free (Peter =?ISO-8859-1?Q?K=F6hlmann?=)
Re: Kernel Parameters (Michael Heiming)
Re: "export" problems (Michael Heiming)
Re: FTP Question RH 7.1 (J Sloan)
Re: FTP Question RH 7.1 (J Sloan)
Re: Apache and FTP question (J Sloan)
Re: Resize the swap file? (C McPherson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Problem compiling Ed-0.2
Date: 27 May 2001 20:14:53 GMT
Michael Pye <[EMAIL PROTECTED]> wrote:
>"Peet Grobler" <[EMAIL PROTECTED]> wrote in message
>news:3b00d790$0$[EMAIL PROTECTED]...
>> Michael Pye wrote in message ...
>> >Apparently vi -e works the same as ed. I might just forget it and
>> >create a simlink to vi emulating ed.
>>
>> Mine didn't even compile outside of the chrooted environment.
>> How would you create that symlink? ln -s ed vi -e?
>
>I think it is
>
>ln -s "vi -e" ed
>
>or similar. You would have to check the vi option first though. It might
>only apply to vim... Check the help files...
(Not the same Michael Pye I went to school with?)
You can't do that with symlinks. It'd look for a file called 'vi -e'
rather than running 'vi' with the argument '-e'. Try creating a small
shell script or a shell alias instead.
I thought 'vi -e' emulated ex rather than ed, though.
Cheers,
--
Colin Watson [[EMAIL PROTECTED]]
"Alas, alas poor Willie, we'll hear his voice no more.
What he took for H2O was H2SO4" - Ruthless Rhymes for Heartless Homes
------------------------------
From: william <[EMAIL PROTECTED]>
Subject: linux
Date: Sun, 27 May 2001 20:30:08 -0000
Does anyone out there know of a linux that is not made for nerds and geeks?
I've trying for a month to install corel and as a last resort zipslack.
If linux is so great and powerful why hasen't some smart guy did what gates
did and start out with a Linux 1.0 like the win3.1 which was a piece of
cake to install. Put the disks in drive a:\ and type setup.
But no, they had to make hard so the comp geeks can have ball sitting in
front of their comp for 12 hrs.
I mean, is it such a big deal for all these comp buffs to make a simple
Type a:\install or setup?
All I hear about is what a great OS linux is. If somebody wanted to make
gates squirm just a tiny bit why didn't they follow what he did and make
it easy for the common folk to install Linux.
Thank You
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: R S Prigan <[EMAIL PROTECTED]>
Subject: Re: partition labels? in RH 7.1
Reply-To: [EMAIL PROTECTED]
Date: Sun, 27 May 2001 20:46:25 GMT
Dave Uhring wrote:
> R S Prigan wrote:
>
>> I installed RH 7.1 to try it out, and in the process gave some funky
>> names to partions in the setup procedure -- e.g. "will-be-usr" -- as
>> original mount points.
>>
>> Now I find that strange names are somehow IN THE PARTITION TABLE ?! and
>> during boot up the fsck displays these names for partitions. (Once
>> booted, the appropriate names from fstab are used.)
>>
>> In cfdisk, the odd names are displayed as "LABEL" for ea partition; but I
>> can't find where to edit.
>>
>> Any ideas? Thanks.
>>
>>
>>
>
> /etc/fstab (?)
>
>
No, while the fstab mount points are what I ultimately get, during boot up
the labels are used -- e.g fsck checks "will-be-usr"
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: linux
Date: Sun, 27 May 2001 21:20:41 GMT
In article <[EMAIL PROTECTED]>, william wrote:
>Does anyone out there know of a linux that is not made for nerds and geeks?
>I've trying for a month to install corel and as a last resort zipslack.
>If linux is so great and powerful why hasen't some smart guy did what gates
>did and start out with a Linux 1.0 like the win3.1 which was a piece of
>cake to install. Put the disks in drive a:\ and type setup.
[-]
Because Linux runs on systems which don't have a drive a:\, too.
>But no, they had to make hard so the comp geeks can have ball sitting in
>front of their comp for 12 hrs.
[-]
Life must have a meaning.
>I mean, is it such a big deal for all these comp buffs to make a simple
>Type a:\install or setup?
>
>All I hear about is what a great OS linux is. If somebody wanted to make
>gates squirm just a tiny bit why didn't they follow what he did and make
>it easy for the common folk to install Linux.
[-]
Ever tried to fly a Boing 747 ? Quite a beast compared to a Piper,
isn't it ? Oh and who said Linux is about making Gate squirm.
You know what a Unix system looks like at all to start with ? I mean
after a month I'd just say "sod it" and move on. Since you didn't say
anything regarding what's going wrong, no error message, no nothing
it's hard to respond in a sensible manner.
Take care,
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: "arjen" <[EMAIL PROTECTED]>
Subject: Re: FTP Question RH 7.1
Date: Sun, 27 May 2001 23:26:52 +0200
In article <[EMAIL PROTECTED]>, "Dave Uhring"
<[EMAIL PROTECTED]> wrote:
> Markku Kolkka wrote:
>
>> Lamar Thomas <[EMAIL PROTECTED]> writes:
>>> Just installed RH 7.1 and am trying to get FTP working. When I dial
>>> into my ISP from a Windows system I get an access denied msg. When I
>>> run "chkconfig --list wu-ftpd" it returns "wu-ftpd off". Is this why
>>> I can't connect?
>> Yes. Use "chkconfig wu-ftpd on" to start ftpd automatically at boot, or
>> "service wu-ftpd start" to start it immediately.
> Or edit /etc/xinetd.d/wu-ftpd and change "disable = yes" to "disable =
> no" Then execute /etc/rc.d/init.d/xinetd restart. And the next time you
> reboot you don't have to run any chkconfig command.
It might be a little of topic but i also suggest u make a lotta
modifications to wu-ftpd since it is an acronym for exploit .... :-))
First run wu-ftpd from anther port
Ad/replace in
/etc/services
ftpserver yourport/tcp
/etc/xinetd.d/wu-ftpd
service ftpserver
Second really dont allow anymore services than absolutely nessesary (?)
... if u want to give anonymous ftpacces consider using another programm
Third read everything there is about securing wu-ftpd and apply
everything
Fourth check for exploits on your version regularly
------------------------------
From: Joe Woods <[EMAIL PROTECTED]>
Subject: "export" problems
Date: Sun, 27 May 2001 21:30:05 -0000
Hi,
I've recently installed QT into /usr/local/qt
$QTDIR points to /ust/lib/qt
How do I change it? /etc/profile contains no reference to it. If I manually
type "export QTDIR=/usr/local/qt" into the command line, this changes
$QTDIR
until I log out. Once I log back in, it reverts back to /usr/lib/qt
Please help! (using suse 7.1)
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Vic Ayres <[EMAIL PROTECTED]>
Subject: Re: Java support for Opera
Date: Sun, 27 May 2001 22:21:06 +0100
Gaetan Paquette wrote:
> Hi,
>
> I downloaded and installed the latest Opera browser for Linux and I love it!
> It's fast, pages are rendered perfectly (no fonts problems) and it's loaded
> with features. The only problem is that there is no java support on the
> version that I downloaded, what's the story here?
> Why is there no java support on the free version?
> I will defenitly use Opera as my only browser whenever java support is
> included.
>
See http://www.opera.com/linux/faq.html. What doesn't Opera for Linux do yet?
Item 1 - java. It's not to do with the free version. Opera doesn't at present
support java on linux.
--
Vic Ayres
------------------------------
Date: Sun, 27 May 2001 23:46:07 +0200
From: Andreas Pauley <[EMAIL PROTECTED]>
Subject: Kernel Parameters
Hi all,
I need to know where and how I can tune the following
kernel parameters:
SHMMNI
SHMSEG
SHMMAX
SEMMNI
SEMMNS
SEMMSL
MAXUMEM
NOFILES
NFILES
NBUFS
I had a look at some of the header files in
/usr/src/linux/include,
but I can't see a definitive file where one can change all
these.
Some of them are mentioned there (not necessarily with a
value),
but others are not.
I also saw 2 interesting files in /proc/sys/kernel: shmmax
and shmall
Can I change the values here dynamically?
It would be great if I could change all of my parameters
like this,
without the need of a kernel recompile and reboot.
I need to change these parameters for Progress and Oracle
databases
running on RedHat servers (versions 6.0 - 7.0)
Thanks a lot,
Andreas.
--
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental. Any
resemblance between the above and my own views is non-deterministic.
The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader. The question of the existence of
the reader is left as an exercise for the second god coefficient. (A
discussion of non-orthogonal, non-integral polytheism is beyond the
scope
of this article.)
------------------------------
From: "Stuart R. Fuller" <[EMAIL PROTECTED]>
Subject: Re: bootpd and dhcpd
Reply-To: [EMAIL PROTECTED]
Date: Sun, 27 May 2001 21:38:47 GMT
jm <[EMAIL PROTECTED]> wrote:
: I have bootpd and dhcpd. When the diskless terminal server requests,
: they (dhcp and bootpd) both (I tried both) reply, but the server never
: gets the image. It just keeps requesting and getting a reply over and
: over. I know this works on hp-ux, but I am trying to get it to work
: on linux hp-ux 6.2. Thanks for any help. I also do not have tftpd
: for linux, but I have the man pages. I don't understand that or the
: relation to bootp.
You've already named your problem - you don't have tftpd.
bootpd or dhcpd simply tell the booting client its address and the name of a
file that it should download. The client, then, performs a tftp file transfer
to do the actual download of its operating system image.
Stu
------------------------------
From: Nick Rout <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.imap
Subject: Re: imap & pop on Linux under xinetd won't start
Date: Mon, 28 May 2001 09:43:03 +1200
I hate to say it, but did you restart xinetd?
service xinetd restart
? obvious, but frustrating i f you forget LOL
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I have successfully installed many versions of the University of
> Washington's imap and pop daemons, under many different versions of
> Linux. Until now, that is.
>
> I am trying to install imap 2001 on a RedHat Linux 7.1 server.
> After compiling and copying the 2 executables (imapd & ipop3d)
> to /usr/sbin, I executed the commands:
>
> # inetdconvert imap
> # inetdconvert pop-3
>
> And the output files look like this:
>
> --------------------------------------------------------
> /etc/xinetd.d/imap:
> # Converted by inetdconvert
> service imap
> {
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> server = imapd
> disable = no
> }
> --------------------------------------------------------
> /etc/xinetd.d/pop-3:
> # Converted by inetdconvert
> service pop-3
> {
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> server = ipop3d
> disable = no
> }
> --------------------------------------------------------
>
> I have tried with full path names (/usr/sbin/{imapd,ipo3d}) but the
> daemons won't answer any connections. They run fine from the
> command line.
>
> The first suspicious evidence of problem is the fact that the
> log file /var/run/xinetd.dump doesn't even mention the daemons
> in question. The only ones mentioned are the ones started by default
> in RedHat's distribution (telnet, shell, login and finger).
>
> Any suggestions are very much appreciated.
>
------------------------------
From: Peter =?ISO-8859-1?Q?K=F6hlmann?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: IBM to let Linux fans use mainframe--for free
Date: Sun, 27 May 2001 23:19:39 +0200
Stephen Rank wrote:
> "Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
>> When posting long URL's please adjust your line length so that they don't
>> get fucked up
>
> Am I the only one who enjoys the irony of a complaint about netiquette
> coming with a sig over *50* lines long?
>
No, but a lot of the guys here simply killfiled that jerk.
He´s simply not worth *any* effort at reading.
Peter
--
Eagles may soar, but weasels don't get sucked into jet engines
------------------------------
Date: Mon, 28 May 2001 00:09:16 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Kernel Parameters
Andreas Pauley wrote:
>
> Hi all,
>
> I need to know where and how I can tune the following
> kernel parameters:
> SHMMNI
> SHMSEG
> SHMMAX
>
> SEMMNI
> SEMMNS
> SEMMSL
>
> MAXUMEM
> NOFILES
> NFILES
> NBUFS
>
> I had a look at some of the header files in
> /usr/src/linux/include,
> but I can't see a definitive file where one can change all
> these.
> Some of them are mentioned there (not necessarily with a
> value),
> but others are not.
>
> I also saw 2 interesting files in /proc/sys/kernel: shmmax
> and shmall
> Can I change the values here dynamically?
>
> It would be great if I could change all of my parameters
> like this,
> without the need of a kernel recompile and reboot.
>
> I need to change these parameters for Progress and Oracle
> databases
> running on RedHat servers (versions 6.0 - 7.0)
Did you check google.com?
AFAIK there is some info available on tuning the kernel for those DB.
However, this should show you where to look. (kernelp.dat contains just
the
parameters pasted from your post)
"for i in `cat kernelp.dat`; do grep -A5 -r $i /usr/src/linux ; done"
Good luck
Michael Heiming
------------------------------
Date: Mon, 28 May 2001 00:20:39 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: "export" problems
Joe Woods wrote:
>
> Hi,
>
> I've recently installed QT into /usr/local/qt
>
> $QTDIR points to /ust/lib/qt
>
> How do I change it? /etc/profile contains no reference to it. If I manually
> type "export QTDIR=/usr/local/qt" into the command line, this changes
> $QTDIR
> until I log out. Once I log back in, it reverts back to /usr/lib/qt
>
> Please help! (using suse 7.1)
grep -r QTDIR /etc/
Michael Heiming
--
UNIX is user friendly, it's just picky about who its friends are.
------------------------------
From: J Sloan <[EMAIL PROTECTED]>
Subject: Re: FTP Question RH 7.1
Date: Sun, 27 May 2001 22:27:33 GMT
Dave Uhring wrote:
> Markku Kolkka wrote:
>
> > Lamar Thomas <[EMAIL PROTECTED]> writes:
> >> Just installed RH 7.1 and am trying to get FTP working. When I dial
> >> into my ISP from a Windows system I get an access denied msg. When I
> >> run "chkconfig --list wu-ftpd" it returns "wu-ftpd off". Is this why I
> >> can't connect?
> >
> > Yes. Use "chkconfig wu-ftpd on" to start ftpd automatically at boot,
> > or "service wu-ftpd start" to start it immediately.
> >
>
> Or edit /etc/xinetd.d/wu-ftpd and change "disable = yes" to "disable = no"
> Then execute /etc/rc.d/init.d/xinetd restart. And the next time you reboot
> you don't have to run any chkconfig command.
Then again, rebooting comes only once in a blue
moon to most Linux users, and it is unreasonable
to expect them to go around rebooting left and
right to effect changes, as though they were running
ms windows...
cu
jjs
------------------------------
From: J Sloan <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: FTP Question RH 7.1
Date: Sun, 27 May 2001 22:29:37 GMT
Lamar Thomas wrote:
> Just installed RH 7.1 and am trying to get FTP working. When I dial
> into my ISP from a Windows system I get an access denied msg. When I
> run "chkconfig --list wu-ftpd" it returns "wu-ftpd off". Is this why I
> can't connect?
That would do it - turn it "on" via chkconfig command.
Then use the service command to start the service.
> From my Windows system I ran the following command from a DOS prompt:
> C:\>ftp "ipaddress". I also tried using FTP Explorer. Thanks for any
> help.
>
> Lamar
------------------------------
From: J Sloan <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Apache and FTP question
Date: Sun, 27 May 2001 22:46:03 GMT
Lamar Thomas wrote:
> J Sloan wrote:
>
> > Lamar Thomas wrote:
> >
> > > I just installed RH 7.1 and I did NOT configure the firewall during the
> > > install (I will go back and do that later after I get everything up and
> > > running. Besides, nothing is on this system but the Linux OS). Anyway,
> > > I am trying to get the Apache web server and the FTP server up and
> > > running. I went through the steps in RH's "Customization Guide" but I
> > > can not connect to either server. From my linux system I CAN pull up my
> > > web page but I can NOT access if from another system (i.e. from work).
> > > How do I get access from outside my system, and let everyone else have
> > > access too?
> >
> > Are you only seeing the docs (static files)
> > when you are looking at localhost? Is httpd
> > actually running?
> >
> > > I also can not connect to my FTP server. I get an "access denied"
> > > message. Any ideas? Thanks for any help.
> >
> > You need to 1. enable ftp and 2. make sure hosts.allow allows it.
> >
> > see /var/log/secure for more info -
> >
> > cu
> >
> > jjs
>
> I can see the "Powered by RedHat" index page. I then copied my web page into
> the /var/www/html directory with a new index page. The last command I ran
> was "# service httpd restart" just like the book said.
OK, httpd is unhappy, look in /var/log/httpd/error_log
and see what apache is unhappy about
> Do you have an example of what hosts.allow would look like if someone had
> access rights?
AFAIK apache does not check hosts.allow, it's pretty
much as open as you allow it to be with the access
controls in httpd.conf (wide open by default for normal
pages)
However an ftp server might have an entry like so:
(assuming the use of proftpd)
in.proftpd : ALL
or if you are more selective, like so:
in.proftpd : 127. 192.168. 203.45.223.45
to allow localhost, all hosts on the 192.168 lan, and 203.45.223.45
cu
jjs
------------------------------
From: C McPherson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.questions
Subject: Re: Resize the swap file?
Date: Sun, 27 May 2001 19:08:24 -0400
> Well I wouldn't think so, but I didn't know if Linux had some builtin
> partition utility that would do it. I don't think Partition Magic will
> will it?
>
> Liam
>
>
> Brian Davis wrote:
> >
> > There's no way to put that reclaimed space in the root partition, is there?
> >
> > Thanks,
> > Brian
> >
> > "Chris Elvidge" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Liam Watts wrote:
> > > >
> > > > I've been monitoring my swap file, and it almost never gets over 5%
> > > > used.
> > > > I have 128 MB RAM and 250 MB swap file. That's a lot of unused HD space
> > > > I'd like to get back.
> > > >
> > > > Is there a way to resize that partition and reapply the space to the
> > > > root partition? Or at least take a chunk of it as another partition?
> > > >
> > > > Thanks for any assistance!!
> > > >
> > > > Liam
> > >
> > > Single mode. Swapoff. Fdisk. Delete swap partition. New patritions size
> > > x and 250-x. Make one type 83, other 82. Write and quit. mkswap
> > > /dev/hd{whatever}. Swapon. Reboot. makefs /dev/hd{otherwhatever}.
>
I just resized my swap partition using partition magic. Worked good.
-Clyde
------------------------------
** 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
******************************