Linux-Misc Digest #129, Volume #25 Fri, 14 Jul 00 03:13:03 EDT
Contents:
Re: Nebie question on mounting a dos partition ("David ..")
Re: Stopping apache, (Red Hat) ("David ..")
Re: changing resolution (K S Venkatraman)
Re: Apache CGI problems. (walter)
Re: line in use? /dev/cua0 ("miles zarathustra")
Re: Stopping apache, (Red Hat) (alan)
Re: RPM misery... Help please. ("miles zarathustra")
Re: Kernel too big ("Victor")
changing window managers ("HAL@Discovery")
Re: What is foobar, or foo bar, or whatever...?? (Julian Bordas)
Re: Are there substantially more/less RPMs for RH or SuSE? (Valentin Guillen)
Re: Changing Prompt Color (Faux_Pseudo)
Re: Stopping apache, (Red Hat) (Prasanth A. Kumar)
Re: What is foobar, or foo bar, or whatever...?? (Glenn Trigg)
RealPlayer7: Cannot open audio device (Krzys Majewski)
----------------------------------------------------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Nebie question on mounting a dos partition
Date: Thu, 13 Jul 2000 22:53:44 -0500
Mike Misiewicz wrote:
>
> Hello,
>
> I have a 13 gig (apx) linux partition and a 500 mb windows partiton. I
> would like to mount the windows partition, however I cannot seem todo
> this. Mount say that it cannot find "dos" or "vfat" in /etc/fstab
> or /etc/mtab. I am not sure If i havethe syntax right, I type
>
> #mount dos
> or
>
> #mount vfat
>
> As you may have seen, I am new to linux, and I need to get the partiton
> mounted.
You can add the lines below to /etc/fstab which will allow all users to
mount the windoz partition. They will also be able to delete any and all
files on the windoz partition and subsequently destroy windoz if they
wish to.
YOU HAVE BEEN WARNED!!!
/dev/hda1 /mnt/win vfat
user,owner,exec,dev,suid,rw,noauto 0 0
Both lines above should be on one line in /etc/fstab
Then to mount the partition you would use:
mount /mnt/win
and umount /mnt/win to unmount it.
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Stopping apache, (Red Hat)
Date: Thu, 13 Jul 2000 22:56:48 -0500
alan wrote:
>
> Hi,
> So how does one stop apache? I refer to the default setup you get under
> Red Hat 6? I realise there are the "kill -TERM 'cat httpd.pid'" and
> "apachetl stop" commands, but I'm not exactly sure if/how these apply.
> (Note again, I'm referring to the setup under Red Hat, not the
> "usr/local/apache" style setup you get from an apache download).
To temporarily stop it you enter:
/etc/rc.d/init.d/httpd stop
To stop it from starting at boot time:
/usr/sbin/setup
choose System services
remove the asterisk next to httpd
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: K S Venkatraman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: Re: changing resolution
Date: Thu, 13 Jul 2000 21:07:43 -0700
Try doing a Ctrl Alt + to increase resolution; and a Ctrl Alt - to decrease it.
Hope it works!
-Venkat
D & S wrote:
> Hi,
>
> I seem to remember someone posting a command here that allowed you to change
> your screen resolution rather easily. I'm not sure if it was specific to
> Red Hat Linux or not. All I remember is that it was a single command and
> voila the resolution was changed. It didn't require you to modify any files
> or re-run XConfigurator or XF86setup. Thanks for any ideas.
>
> - Doug -
------------------------------
From: walter <[EMAIL PROTECTED]>
Subject: Re: Apache CGI problems.
Date: Fri, 14 Jul 2000 04:30:04 GMT
specifically my apache error log states:
[Thu Jul 13 18:09:37 2000] [error] [client 192.168.1.3] Premature end of
script
headers: /home/admin/public_html/uffl/score.cgi
The http.conf file is set up to allow users to execute cgi scripts in
their home directories:
FROM HTTPD.CONF:
<Directory /home/*/public_html>
Options All
AllowOverride All
</Directory>
the server has been restarted.
The html file calls a post to the scripts like so:
<FORM METHOD="POST" ACTION="score.cgi">
The perl scripts score.cgi is in the same directory as the html file
which is in a public_html subdirectory. It has 755 permissions, I
removed any of the dos end of line characters that might have been
there. I checked the location of perl and it is correct. The script runs
fine on my ISP site using the same files.
I don't know how to run it manually since it requires two pieces of
input data. do you run it like a C executable? by passing parameters
manually?
Dave Brown wrote:
>
>
> In article <[EMAIL PROTECTED]>, Akira Yamanita wrote:
> >walter wrote:
> >>
> >> I can't get cgi scripts to work anywhere, not in the defined cgi bin,
not
> >> in the public_html, I've tried everything suggested by the 100 other
> >> messages on this same subject. I have a copy of a working web site,
the
> >> scripts fun fine on my ISP site but on the SuSe box it just says that
the
> >> scripts ended prematurely. Does anyone have anthing new to add to
this or
> >> has ANYONE actually fixed this on their system? I've been working on
this
> >> for about 2 months and I am about ready to destroy this infernal
machine!!!
> >
> >You mean premature end of script headers? What's the exact error?
> >
> >Though I find it strange that it works on your ISPs server (also
> >uncommon that you can run your own CGI scripts) but the error I
> >mentioned is a script error. You need to make sure you've defined
> >the content type in the script.
> >...
> >I don't know what previous responses you've gotten so sorry
> >if this is all repeated information.
>
> As Akira says, it's hard to jump into the middle, not knowing where
> you've been.
>
> Can you execute the script yourself, instead of having the server
> execute it? When you execute it, you should see the errors directly.
> However, the server should also log those errors somewhere (depending
> on server configuration) when it executes the script.
>
> Common problems: execute permissions, url locations improperly specified,
> paths improperly specified (based on server configuration). From what
> you have (sparsely) described, these are likely candidates creating
> your problems.
>
> --
> Dave Brown Austin, TX
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "miles zarathustra" <[EMAIL PROTECTED]>
Subject: Re: line in use? /dev/cua0
Date: Thu, 13 Jul 2000 22:25:30 -0700
making it world-writeable also works. (uucp-owned... that's good to
know.)
"Villy Kruse" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On 20 Jun 2000 09:46:19 GMT,
> Christoph Kukulies <[EMAIL PROTECTED]> wrote:
>
>
> >Redhat 6.1:
> >
> >I want to simply do a cu -l /dev/cua0 -s 9600 and I'm getting:
> >
> ># cu -l /dev/cua0 -s 9600
> >cu: open (/dev/cua0): Permission denied
> >cu: /dev/cua0: Line in use
> >crw------- 1 root root 5, 64 May 5 1998 /dev/cua0
> >
> >ttyS0 same picture.
> >
> >I'm not seeing any getty processes on these ttys.
> >
>
>
>
> Devices must be uucp owned for cu to work.
>
>
>
> Villy
>
------------------------------
From: alan <[EMAIL PROTECTED]>
Subject: Re: Stopping apache, (Red Hat)
Date: Fri, 14 Jul 2000 05:30:06 GMT
Thanks,
by 'running' "/etc/rc.d/init.d/httpd", do you just mean typing that
and pressing enter. For me that stirs the hard drive into action (I can
hear it working), but there is no visible output.
Alan
Kevin Vandersloot wrote:
>
>
> In article <[EMAIL PROTECTED]>,
> alan <[EMAIL PROTECTED]> wrote:
> > Hi,
> > So how does one stop apache? I refer to the
> > default setup you get under
> > Red Hat 6? I realise there are the "kill -TERM
> > 'cat httpd.pid'" and
> > "apachetl stop" commands, but I'm not exactly
> > sure if/how these apply.
> > (Note again, I'm referring to the setup under
> > Red Hat, not the
> > "usr/local/apache" style setup you get from an
> > apache download).
> >
> > Thanks,
> >
> > Alan.
> >
> >
> > --
> > Posted via CNET Help.com http://www.help.com/
>
> The init scripts are in
> /etc/rc.d/init/
> and the apache one is httpd. So just run
> /etc/rc.d/init/httpd and it will give you a list
> of options to stop start or restart apache.
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "miles zarathustra" <[EMAIL PROTECTED]>
Subject: Re: RPM misery... Help please.
Date: Thu, 13 Jul 2000 22:39:48 -0700
It's telling you the package name is ssh.
you include the entire file name when installing, but when un-installing
just the package name.
rpm -e ssh
I think the -F option will avoid trashing (or renaming) your config files.
-= m =-
"Chumkil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> [root@myhouse openssh]# rpm -Uvh ssh-1.2.27-7us_glibc20.i386.rpm
> package ssh-1.2.27-7us is already installed
> [root@myhouse openssh]# rpm -e ssh-1.2.27-7us_glibc20.i386.rpm
> error: package ssh-1.2.27-7us_glibc20.i386.rpm is not installed
> [root@myhouse openssh]#
>
> As you can see I am a little pissed at this RPM....
> I need to strip it out and fully install it so that I can make way for
> SSH2 (I need
> to maintain SSH1 backwards compatibility however...)
>
> How do I "nuke and pave" this RPM set?
>
------------------------------
From: "Victor" <[EMAIL PROTECTED]>
Subject: Re: Kernel too big
Date: Fri, 14 Jul 2000 05:38:13 GMT
I think Intel architecture gives you a lot of choice. You aren't restricted
to an OS. I run Windows 2000 and BSD and Linux (well, currently linux). And
you can mix and match any way you want. For a server, you don't need any
extra parts and if web is what you want, you can get the new Intel i815 with
a 700 or 800 cpu and 256MB or 133ECC ram. Get a 60 gig drive from IBM and
you have a server. Both web and net card are already built into the
motherboard so you are set. For a graphics workstation you just have to add
a GeForce card. For a mid range server, add ram and add scsi. You can mix
and match and pay less. You don't always pay less but you get the exact
components you want. You know that your IBM drive is not outdated version
(check www.storagereview.com for the best reviews of drives). That's what I
like in building my own system, I know what components are in. If you buy
trusted brands, skip the newly released and stick with tested platforms (at
least 6 months, I draw an exception with i815 cause it's the only solution
of it's kind), you will not be disappointed with your server.
Celerons would make a great web server too if you are just starting out and
you can always buy two and then cluster them. Good experience and great
performance too from a $150 dollar chip.
Intel certainly did a great job with 80's technology. It's amazing that the
technology I love to hate, is actually outperforming more expensive servers
right now.
"David Steuber" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Victor" <[EMAIL PROTECTED]> writes:
>
> ' By they, I mean intel. I am aware of sparc and ppc and etc, but for
whatever
> ' reasons, they have difficulty competing with intel in the
userspace/small
> ' server arena. I don't want a niche machine. I like intel because they
are a
> ' market leader and they don't cost an arm and a leg. Sparc is way to
> ' expensive and there is no support for anything other than Solaris. PPC
is
> ' coming along, but still there are no solutions that would let you build
your
> ' own machine from spare parts and very limited (if not nonexistant)
vendor
> ' support (unless you're buying a mac or a supercomputer from ibm). Alpha
is
> ' also way to expensive and only comes into play when you are comparing
prices
> ' to Xeons, or something in that category. What chip in RISC segment
actually
> ' competes with Pent III 600? Maybe some PPC that can only be bought in a
mac
> ' and that would cost you twice as much. The problems in the Intel bios
aren't
> ' that big to justify a switch, and would not even be an issue if they
were
> ' fixed (well, they aren't broken, but say reingineered).
>
> I have problems with the old AT/ATX architecture, but not the CPUs.
> My problems revolve around booting into real mode and the IRQ setup
> that is still in use since the early 80s. My problems are also
> philosophical. I've not been able to put together a good argument
> that would convince someone who I know who builds all his PCs from off
> the shelf parts.
>
> I am currently taking my own first step into building a PC for a
> low-end server. I am going the parts route. Information and parts
> for ATX based PCs abounds. I have managed to miss any information
> that may lead me to buy the parts and build my own Alpha or G4 PPC
> based system from scratch and install Linux on it.
>
> Intel has almost as much a monopoly as Microsoft. About the only real
> difference is that AMD is becoming very popular in the low-end PC
> market. Also, Intel is not a player in the high-end server market
> because not that many people are building Beowolf clusters.
>
> Linux and Beowolf clusters are more likely to push Intel/AMD based PCs
> into the high end server market than any other current software that I
> am aware of. I suspect this means that the early 80's / late 70s
> technology that the ATX based PC uses to this day will be acting as a
> boat anchor for some time to come.
>
> I find that particularly ironic when you consider that Linux (and the
> *BSDs) are in a position to make the hardware architecture
> irrelevant. Both Linux and, AFAIK, the *BSDs have been ported to
> other platforms. GCC supports other architectures, which is actually
> even more important.
>
> I think it is up to the hardware vendors to provide inexpensive
> hardware options to those hobbyists who build their own machines and
> to the OEMs/VARs who may assemble and configure machines so that there
> are viable choices beyond the ATX formfactor. Until that happens, I
> will be in an Intel world simply because I don't have much money to
> spend on hardware.
>
> One of my goals in life is to have a machine with 1TB of RAM. That
> machine will most likely be a Beowolf cluster of some sort. If I had
> a wad of cash, I could do it today with only 512 single CPU machines
> with 2GB of RAM each. As for disk storage? Each of those boxes could
> have 160GB. That would give me 80TB of storage. How many copies of
> the Library of Congress is that?
>
> I dread the electric bill!
>
> --
> David Steuber | Hi! My name is David Steuber, and I am
> NRA Member | a hoploholic.
>
> ``This case serves as a dire warning to all burglars. Any citizen is
> entitled to use reasonable force. A householder in his own home might
> not be reasonable and that can have tragic consequences''
> --- Mr Justice Owen at Tony Martin's murder trial as quoted by
> http://www.norfolk-now.co.uk/
>
> The ``From'' address is a valid e-mail address.
>
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=hoplite&submit=Look
+it+up
------------------------------
From: "HAL@Discovery" <[EMAIL PROTECTED]>
Subject: changing window managers
Date: Thu, 13 Jul 2000 15:48:31 -0700
Hi,
i just installed Caldera edesktop 2.4.
how things have changed since i first installed
Linux 2 years ago.
Painless installation with some exceptiions.
My SBAwe64 doesn't work and the pages
i found are lacking in clarity.
also it comes with only KDE.
I want to run Afterstep,Windowmaker etc... i want to
choose my manager.
How difficult is it to install and switch to a manager.
it cant bbe that tuff/
Seeking discussion on both points.
Warren
------------------------------
From: Julian Bordas <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Re: What is foobar, or foo bar, or whatever...??
Date: Fri, 14 Jul 2000 16:03:13 +1000
Hmm I've not heard of TARFU. what does the TAR stand for?
[EMAIL PROTECTED] wrote:
> You have obviously never been in the military. There are three ways of
> describing events:
>
> SNAFU
> TARFU
> FUBAR
>
> Take a little time and you'll figure out what they mean.
>
> In article <[EMAIL PROTECTED]>,
> Hendrix <[EMAIL PROTECTED]> wrote:
> > Hi foobarians,
> >
> > I've heard so many linux sites, books, and even email messages that
> > contain this phrase...??? What the heck is foo bar...???? The weird
> > thing is that it also makes its presence in the movie "Saving Private
> > Ryan", but they never define the term... Hmmm..... Ha...
> >
> > Thanks,
> > --
> > Trevor Penney,
> > A+, Network+ Certified
> > ----------------------
> > That's alright, I still got my guitar...
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Valentin Guillen <[EMAIL PROTECTED]>
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Fri, 14 Jul 2000 00:01:59 -0600
Jerome,
If your criteria is a well crafted, dependable, easy to
install/administer distribution, you should definitely investigate
SuSE. SuSE reflects the world famous German tradition of craftsmanship
and quality, and is certainly refreshing in this world of cheap goods
and shoddy services.
I'm not badmouthing any distro, as I've only used a few. Slackware back
about five years ago was so difficult/intimidating, that I never
upgraded, but merely reinstalled over it. From Red Hat 3.0.3 to 4.0 was
a big jump, especially in installation ease. We then had scripts to
help with basic admin stuff, like netcfg and others. RH 5.x had a good
selection of window managers to chose from, but the manuals were getting
sparser and thinner. By then, I thought it's a good time to look at
other distros (although I still have RH 4.1 Alpha on my DEC Multia box).
I've since used SuSE, Mandrake, Storm, Caldera, and have been most
impressed with Linux Mandrake, and SuSE. I won't switch from SuSE, but
do have a couple of Mandrake evaluation boxes, and am impressed with it.
The issue is not how many rpms run on this distro or that. Virtually
any rpm will be installable on an rpm system, (as opposed to deb package
management) if you're willing to install any dependencies. Rather I
would look at things like the kind of support you can expect to get,
comprehensiveness of documentation and support structures, potential
bundled software, frequency of update/patches being issued, etc. Who
wants to run the most popular distro, if it's flakier than others?
Regards,
Valentin Guillen
------------------------------
From: [EMAIL PROTECTED] (Faux_Pseudo)
Crossposted-To: comp.os.linux.setup
Subject: Re: Changing Prompt Color
Reply-To: [EMAIL PROTECTED]
Date: Fri, 14 Jul 2000 06:10:35 GMT
--(Once apon a time, in comp.os.linux.setup,)--
--(Kevin Brown said it like only they can.)--
$How do I change the color of the prompt when using bash or tcsh? Also,
$how do I get it to display the full path instead of just the current
$directory?
$
$Thanks,
$Kevin
$[EMAIL PROTECTED]
$
ibpconf.sh is a interactive bash prompt config script avaliabl at freshmeat.net
with it you can do both of those things with out haveing to actualy learn
anyting about the processes involved
if you want to learn then try the bash-prompt-howto
--
._______. ._______.
| <> <> | To all who say evolution is to slow to | <> <> |
\-|o|-/ make a race as advanced as ours I have \-|o|-/
/___\ only one thing to say. Have you ever seen /___\
(MMM) the Jerry Springer Show? UIN=66618055 (MMM)
------------------------------
Subject: Re: Stopping apache, (Red Hat)
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Fri, 14 Jul 2000 06:12:08 GMT
alan <[EMAIL PROTECTED]> writes:
> Thanks,
> by 'running' "/etc/rc.d/init.d/httpd", do you just mean typing that
> and pressing enter. For me that stirs the hard drive into action (I can
> hear it working), but there is no visible output.
>
> Alan
<snip>
It should be '/etc/rc.d/init.d/httpd stop'.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
Crossposted-To: alt.os.linux,nf.comp.linux
Subject: Re: What is foobar, or foo bar, or whatever...??
From: [EMAIL PROTECTED] (Glenn Trigg)
Date: 14 Jul 2000 16:42:57 +1000
Julian Bordas <[EMAIL PROTECTED]> writes:
> Hmm I've not heard of TARFU. what does the TAR stand for?
Things Are Really
> [EMAIL PROTECTED] wrote:
>
> > You have obviously never been in the military. There are three ways of
> > describing events:
> >
> > SNAFU
> > TARFU
> > FUBAR
> >
> > Take a little time and you'll figure out what they mean.
> >
> > In article <[EMAIL PROTECTED]>,
> > Hendrix <[EMAIL PROTECTED]> wrote:
> > > Hi foobarians,
> > >
> > > I've heard so many linux sites, books, and even email messages that
> > > contain this phrase...??? What the heck is foo bar...???? The weird
> > > thing is that it also makes its presence in the movie "Saving Private
> > > Ryan", but they never define the term... Hmmm..... Ha...
> > >
> > > Thanks,
> > > --
> > > Trevor Penney,
> > > A+, Network+ Certified
> > > ----------------------
> > > That's alright, I still got my guitar...
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
Glenn Trigg
------------------------------
From: Krzys Majewski <[EMAIL PROTECTED]>
Subject: RealPlayer7: Cannot open audio device
Date: 13 Jul 2000 23:41:56 -0700
Anyone else get "Cannot open the audio device. Another application may
be using it"? I've got r/w permissions to /dev/audio, /dev/dsp, and
/dev/mixer, and any other audio app doesn't complain. -chris
------------------------------
** 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
******************************