Linux-Misc Digest #914, Volume #27 Mon, 21 May 01 05:13:02 EDT
Contents:
imap & pop on Linux under xinetd won't start (Ramon F Herrera)
Re: GCC 2.95.3 Configuration/Installation ("Moshe Samuel")
Re: GCC 2.95.3 Configuration/Installation ("Moshe Samuel")
Re: Problem Mounting VFAT Disk ("Moshe Samuel")
Re: imap & pop on Linux under xinetd won't start (Rob MacGregor)
apache & 403 error messages (SideShowJohn)
Searching ftp-client ("Rene Scheibe")
Re: RPM hell ("Eric")
Re: using /etc/fstab ("Eric")
Re: GCC 2.95.3 Configuration/Installation (Jimbob)
Linux-users' daft mentality ([EMAIL PROTECTED])
Re: apache & 403 error messages (David Efflandt)
Re: Problem Mounting VFAT Disk ("Eric")
Re: Microsoft exchange server under Linux ? (Corne Beerse)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Ramon F Herrera)
Crossposted-To: comp.mail.imap
Subject: imap & pop on Linux under xinetd won't start
Date: 20 May 2001 22:37:23 -0700
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.
-Ramon
------------------------------
From: "Moshe Samuel" <[EMAIL PROTECTED]>
Subject: Re: GCC 2.95.3 Configuration/Installation
Date: Mon, 21 May 2001 01:20:55 -0500
I have also been trying to install this version of gcc on my RedHat 6.2
system. I have a K6-2 475 in the box, and config seems to be having trouble
working out what my system is. Sorry to piggy-back on your thread, but once
people are anyway thinking about this issue, does anyone know what arguments
I should pass to the config program to get it to work? Any suggestions
gratefully welcomed... TIA, MoSam
Noble Pepper <[EMAIL PROTECTED]> wrote in message
news:9e9qj9$2m2$[EMAIL PROTECTED]...
> Harry Thompson wrote:
> >
> > This is the error I get when I try to get it to work:
> >
> > Chiefslapahoe:~/untard/gcc-2.95.3# ./configure
> > Configuring for a i586-pc-linux-gnuoldld host.
> > Created "Makefile" in /root/untard/gcc-2.95.3
> > ./configure: cc: command not found
> > *** The command 'cc -o conftest -g conftest.c' failed.
> > *** You must set the environment variable CC to a working compiler.
>
> Seems that configure doesn't think you have a compiler either. I don't
> understand why you need a compiler for rpms, I thought they were
> supposed to eliminate the need to compile things. But I never grokked
> rpm's, that's why EVERYTHING on my current system I compiled myself.
>
> Anyway, to solve your problem you need a "working compiler"
>
> See if you have gcc:
>
> ls -l /usr/bin/gcc
>
> if it is not there try:
>
> locate */gcc
>
> if that doesn't work try:
>
> find / -name gcc
>
> find will take FOREVER but it will search your whole filesystem as it
> exists now.
>
> if you find gcc then use
>
> export CC=/usr/bin/gcc
>
> to set the environment variable.
>
> If you don't have gcc or this doesn't get there are more things to try,
> just come back here for more abuse.
>
>
------------------------------
From: "Moshe Samuel" <[EMAIL PROTECTED]>
Subject: Re: GCC 2.95.3 Configuration/Installation
Date: Mon, 21 May 2001 01:20:55 -0500
I have also been trying to install this version of gcc on my RedHat 6.2
system. I have a K6-2 475 in the box, and config seems to be having trouble
working out what my system is. Sorry to piggy-back on your thread, but once
people are anyway thinking about this issue, does anyone know what arguments
I should pass to the config program to get it to work? Any suggestions
gratefully welcomed... TIA, MoSam
Noble Pepper <[EMAIL PROTECTED]> wrote in message
news:9e9qj9$2m2$[EMAIL PROTECTED]...
> Harry Thompson wrote:
> >
> > This is the error I get when I try to get it to work:
> >
> > Chiefslapahoe:~/untard/gcc-2.95.3# ./configure
> > Configuring for a i586-pc-linux-gnuoldld host.
> > Created "Makefile" in /root/untard/gcc-2.95.3
> > ./configure: cc: command not found
> > *** The command 'cc -o conftest -g conftest.c' failed.
> > *** You must set the environment variable CC to a working compiler.
>
> Seems that configure doesn't think you have a compiler either. I don't
> understand why you need a compiler for rpms, I thought they were
> supposed to eliminate the need to compile things. But I never grokked
> rpm's, that's why EVERYTHING on my current system I compiled myself.
>
> Anyway, to solve your problem you need a "working compiler"
>
> See if you have gcc:
>
> ls -l /usr/bin/gcc
>
> if it is not there try:
>
> locate */gcc
>
> if that doesn't work try:
>
> find / -name gcc
>
> find will take FOREVER but it will search your whole filesystem as it
> exists now.
>
> if you find gcc then use
>
> export CC=/usr/bin/gcc
>
> to set the environment variable.
>
> If you don't have gcc or this doesn't get there are more things to try,
> just come back here for more abuse.
>
>
------------------------------
From: "Moshe Samuel" <[EMAIL PROTECTED]>
Subject: Re: Problem Mounting VFAT Disk
Date: Mon, 21 May 2001 01:35:52 -0500
Just an idea, but are you sure you have FAT32 support compiled in your
kernel? Check (I think) /proc/fs, or is it /proc/filesystems. (I'm reading
this in Window$ since my Laptop has a 56K Winmodem, and my Desktop only has
a 33.6). Let us know how it goes...
MoSam
Tim Brewer <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have been unsuccessful mounting my FAT32 Windows98
> onto RedHat Linux 7.0 file system. I have had no problems
> with my other devices including an IOMEGA ZIP drive and
> DVD/CD-ROM device.
>
> The command I am using is:
>
> mount -t vfat /dev/hdb1 /mnt/cdrive
> where /mnt/cdrive exists.
>
> The error message I get from this command is:
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
> or too many mounted file systems
>
> Using fdisk to look at the device I get the following message:
>
> The number of cylinders for this disk is set to 1653.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
> (e.g., DOS FDISK, OS/2 FDISK)
>
> Then I print the information with the p command in fdisk, I get
> the following:
> Disk /dev/hdb: 255 heads, 63 sectors, 1653 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> Disk
> /dev/hdb1 * 1 1653 13273848 c Win95 FAT32 (LBA)
> Partition 1 does not end on cylinder boundary:
> phys=(1023, 132, 63) should be (1023, 254, 63)
>
>
> Is this a major problem and the reason I can not mount the drive? If it
> is what can be done to fix the problem.
>
>
> Any help would be appreciated.
>
>
> --
> Tim Brewer
> Supporter of SETI@Home
> Stats:6.6*@ 1.51 yrs
>
>
>
------------------------------
From: Rob MacGregor <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.imap
Subject: Re: imap & pop on Linux under xinetd won't start
Reply-To: "rob macgregor hotmail com _ "@ . "@delete.this.bit"
Date: Mon, 21 May 2001 06:28:16 GMT
Ramon F Herrera wrote:
> 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
> }
> --------------------------------------------------------
Ok, is the service in /etc/services listed as "pop-3"? Usually it's
"pop3". However I'd expect to see the full path to the executable in
there, like:
service pop3
{
socket_type = stream
wait = no
user = root
flags = IDONLY
server = /usr/local/bin/ipop3d
}
If you restart xinetd (or send it USR2) it should report the config to
daemon.info.
--
Rob MacGregor (MCSE) [PGP key ID 0x1F5239DD]
The light at the end of the tunnel is an oncoming dragon.
------------------------------
From: [EMAIL PROTECTED] (SideShowJohn)
Subject: apache & 403 error messages
Date: 20 May 2001 23:43:57 -0700
I have apache running on linux rh7.0, and it is the simplest of set
ups.
My question is this:
when I type in my tld, followed by any number of folders
example --> www.domain.com/test/
what appears is a list of everything in /test/...images, htm files,
etc....how do I put an end to this, so that a fancy 'HTTP Error 403 -
Forbidden' error page shows instead?
Is there a faq/tutorial I am?
thanks in advance
john
------------------------------
From: "Rene Scheibe" <[EMAIL PROTECTED]>
Subject: Searching ftp-client
Date: Mon, 21 May 2001 08:51:18 +0200
...which can do split a large file in pieces for
faster download. How many pieces are possible
from one server? (I know some windows-proggies
which limit the pieces from one server to two.)
The proggie shouldn't be an X-proggie.
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: RPM hell
Date: Mon, 21 May 2001 08:52:06 +0200
> Which means i have to upgrade my version of libc if i want to fucking use
RPM
> Next time someone recommends RPM i'm going to commit them. I'm also going
> to remove it from my system as it's (happy Peter?) nothing but a piece of
> shit. Tarballs work just fine for me.
Tarballs also have dependencies that must be resolved.
> its neverending
>
> All i wanted was to install Opera, which needed libjpeg, which needed a
> certain version of RPM so it could be installed, which needed extra libs
And there your problems began.
Couldn't you find an older libjpeg. Or a libjpeg tarball.
Upgrading rpm itself is not something I'd choose for.
> this is fucking getting annoying. No wait. It is ANNOYING. I've never
> had this type of dependency problem in Windows. I guess only "real"
operating
> systems have these problems.
Great idea, upgrade a small tool, and be forced to download libc too.
If you prefer to download a 6MB selfextracting monster, that has everything
included
you might need, windows is the way to go.
I prefer tarballs too, but I do use rpm's frequently.
Mainly because they usually are easier to find. Therefor I wouldn't throw
out rpm
all together.
Eric
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: using /etc/fstab
Date: Mon, 21 May 2001 09:00:08 +0200
> I decided to move my /var and /usr/local from / to a new partition. this
> is what i did.
>
> 1. created a new partition /dev/hda10
> 2. used mkfs.ext2 to format it
> 3. mount -t ext2 /dev/hda10 /mnt/temp
> 4. cp -r /var /mnt/temp/
> cp -r /usr/local /mnt/temp/usr
Not so nice a scheme.
Why not make two partitions.
It's both a better and an easier solution.
> 5. ??
I wouldn't proceed, but start over, separating /var and /usr/local.
Your current setup makes no sense. You can proceed with the
partitioningscheme
you have now, by using symlinks, but it really isn't a very good idea.
> can some one please help me with completing this procedure. i know i'm
> supposed to rename the original dirrectories in / to something different
> and then mount the new directions under /etc/fstab.
> currently my /etc/fstab is
>
> LABEL=/ / ext2 defaults 1
1
> LABEL=/home /home ext2 defaults 1
2
> /dev/hda1 /mnt/c vfat defaults 0
0
> /dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0
0
> /dev/hda8 /mnt/d vfat
defaults,uid=500,umask=007,rw 0 0
> /dev/hda9 /mnt/e vfat defaults 0
0
> /dev/fd0 /mnt/floppy auto noauto,owner 0
0
> none /proc proc defaults 0
0
> none /dev/pts devpts gid=5,mode=620 0
0
> /dev/hda7 swap swap defaults 0
0
>
> i'm not sure about this...but is it required that each partition holds
> only one parent directory? like can /dev/hda10 hold both /var and
> /usr/local ?
It can, both you do not need fstab to solve this.
You should mount it to eg. /mnt/temp and symlink /var to /mnt/temp/var
(The same for /usr/local) But please don't do this.
Repartition.
Just split hda10 in two, and dedicate one to /var, and one to /usr/local
Eric
------------------------------
From: Jimbob <[EMAIL PROTECTED]>
Subject: Re: GCC 2.95.3 Configuration/Installation
Date: 21 May 2001 17:22:07 +1100
In comp.os.linux.setup Noble Pepper <[EMAIL PROTECTED]> wrote:
> Harry Thompson wrote:
>>
>> This is the error I get when I try to get it to work:
>>
>> Chiefslapahoe:~/untard/gcc-2.95.3# ./configure
>> Configuring for a i586-pc-linux-gnuoldld host.
>> Created "Makefile" in /root/untard/gcc-2.95.3
>> ./configure: cc: command not found
>> *** The command 'cc -o conftest -g conftest.c' failed.
>> *** You must set the environment variable CC to a working compiler.
> Seems that configure doesn't think you have a compiler either. I don't
> understand why you need a compiler for rpms, I thought they were
> supposed to eliminate the need to compile things. But I never grokked
> rpm's, that's why EVERYTHING on my current system I compiled myself.
> Anyway, to solve your problem you need a "working compiler"
> See if you have gcc:
> ls -l /usr/bin/gcc
> if it is not there try:
> locate */gcc
> if that doesn't work try:
> find / -name gcc
> find will take FOREVER but it will search your whole filesystem as it
> exists now.
> if you find gcc then use
> export CC=/usr/bin/gcc
> to set the environment variable.
> If you don't have gcc or this doesn't get there are more things to try,
> just come back here for more abuse.
Is there a way to compile gcc even if you dont have a compiler installed?
Just curious as to how gcc would have been built initially.
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux-users' daft mentality
Date: 21 May 2001 07:29:06 GMT
The post below is typical of Linux-users' 'talk'.
I guess the writer is advising:
" search in the idle/usr/src/linux/.config file for the 'idle' string ".
Why do computer users either want M$-cartoon-clicking or detailed
key-stroke-lists ?
Can't you think/plan/communicate at the level of:
"phone John to find out when he can meet Mary, and notify her to
expect him"; instead of: "dial XYZ and say bla.bla.....".
The midnight commander (mc) is all that makes linux tolerable for me.
{my prefered OS is oberon: much faster & 1% of the size, superior interface).
With mc (cloned from the long established [proven] DOS-based Norton
commander; mc has improved on NC), I don't WANT or need to know the
syntax for grepping, changing file/{dir never done this ?} permission .....
moving, copying, listing ....searching-for-file name(s)/contents ..... etc.
Syntax of Unix commands are as arbitrary as John's phone number, and
don't qualify to occupy creative human minds.
Chri Glur
=====================
From: Bora Ugurlu <[EMAIL PROTECTED]>
Subject: Re: A CPU cooler for Linux?
[EMAIL PROTECTED] wrote:
>>>>>Is there a way to check this in a config file?
>>>
>>>> grep -i idle/usr/src/linux/.config
>>>
>>>Running this doesn't seem to do anything?
>
>> There seems to be be a typo, try 'grep -i idle /usr/src/linux/.config'
>> (without the quotes, of course:)
>
> I get: grep: /usr/src/linux/.config: No such file or directory
>
I think we all assumed that you had a self-built kernel. You probably don't
have it. Nevermind..
--
Bora Ugurlu
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: apache & 403 error messages
Date: Mon, 21 May 2001 08:31:22 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 20 May 2001 23:43:57 -0700, SideShowJohn <[EMAIL PROTECTED]> wrote:
> I have apache running on linux rh7.0, and it is the simplest of set
> ups.
> My question is this:
>
> when I type in my tld, followed by any number of folders
>
> example --> www.domain.com/test/
>
> what appears is a list of everything in /test/...images, htm files,
> etc....how do I put an end to this, so that a fancy 'HTTP Error 403 -
> Forbidden' error page shows instead?
Either remove the Indexing from Options for that Directory or Location
tree in the httpd.conf or put in index.html in directories you don't want
indexed. You can set a list of default index files with DirectoryIndex
(space separated list).
If the docs are not on your computer, see http://www.apache.org/
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Problem Mounting VFAT Disk
Date: Mon, 21 May 2001 10:56:46 +0200
> I have been unsuccessful mounting my FAT32 Windows98
> onto RedHat Linux 7.0 file system. I have had no problems
> with my other devices including an IOMEGA ZIP drive and
> DVD/CD-ROM device.
>
> The command I am using is:
>
> mount -t vfat /dev/hdb1 /mnt/cdrive
> where /mnt/cdrive exists.
>
> The error message I get from this command is:
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
> or too many mounted file systems
And hdb1 is a drive you can access from windows?
> Using fdisk to look at the device I get the following message:
>
> The number of cylinders for this disk is set to 1653.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
> (e.g., DOS FDISK, OS/2 FDISK)
>
> Then I print the information with the p command in fdisk, I get
> the following:
> Disk /dev/hdb: 255 heads, 63 sectors, 1653 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> Disk
> /dev/hdb1 * 1 1653 13273848 c Win95 FAT32 (LBA)
> Partition 1 does not end on cylinder boundary:
> phys=(1023, 132, 63) should be (1023, 254, 63)
This is odd.
It should indeed be 1023,254,63 as that is the way to invalidate the
CHS fields, and use the LBA addressing. Remarkable that windows
doesn't complain. Well perhaps windows only looks at the partition ID?
Anyway, this may be the cause of the problem.
The FS normally starts after the first cylinder, and if it was formatted
with
incorrect settings, the FS starts at an unexpected location. Try booting
with
the following option:
When you normally get the lilo prompt, you enter "linux" to start linux.
Now enter "linux hdb=3196,133,63"
Try to mount hdb1 now.
I'm not sure if it works (It will not hurt though), so I'd be interested to
hear
from you if it does.
Eric
------------------------------
From: Corne Beerse <[EMAIL PROTECTED]>
Subject: Re: Microsoft exchange server under Linux ?
Date: Mon, 21 May 2001 10:59:47 +0200
Willy Reinhardt wrote:
>
> Hi,
> Somebody know a compatible Microsoft exchange server for Linux ?
How compatible do you need?
Functional compatible is avialable in every linux distribution.
you don't want the stability compatibility (linux tends to be more
stable).
every client that can access M$ Exchange, can access the linux variant.
CB
--
Everything should be as simple as possible but not simpler - A. Einstein
Corne' Beerse | Alcatel Telecom Nederland
------------------------------
** 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
******************************