Linux-Misc Digest #888, Volume #25               Thu, 28 Sep 00 08:13:02 EDT

Contents:
  Re: What's  that  maximum mount count error reached ? (Andreas K�h�ri)
  Re: "maximum mount count reached" error : what's that? (Davide Bianchi)
  Re: "maximum mount count reached" error : what's that? (Andreas K�h�ri)
  Re: Li..... (Eric)
  Re: Access Windows 98 partition from Linux (Ian Davey)
  Limit logons with RH6.x, Samba and PAM??! ("KajS")
  Re: HELP: How to use FTP or should I turn to Windows (Glitch)
  Re: 'no such file or directory' (permissions problem?) in cgi-bin (David Efflandt)
  Re: Access Windows 98 partition from Linux (David Efflandt)
  Re: List of RH7 iso mirrors  -- we need one (Mogens Kjaer)
  Re: script needed... (David Efflandt)
  Re: Serial input/output error (David Efflandt)
  Re: Partitioning..... (Derek Jolly)
  Re: Where can I find a kernel? (Hartmann Schaffer)
  Re: Li..... (Hartmann Schaffer)
  Re: Newbie: EZ question about dir structure ([EMAIL PROTECTED])
  Re: Compiling 2.4.0 kernel for athlon (ray)

----------------------------------------------------------------------------

Crossposted-To: linux.redhat.misc
Subject: Re: What's  that  maximum mount count error reached ?
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 28 Sep 2000 11:14:49 +0100

In article <[EMAIL PROTECTED]>,
TM  <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I'm getting sometimes at boot time this kind of error:
>
>/dev/hard_drive_id has reached maimum mount count, check forced.
>
>What does it mean and how do I prevent it.
>
>Thanks
>
>TM
>


It's not an error, you do not want to prevent it.

When you have mounted your partitions a couple of times, the file
system (or whatever) must check their integrity and fragmentation.
It's a good thing.

There is one way to prevent it: Don't reboot.

Well, there's other ways too, but you need to know what you're doing
and why you're doing it... 

Read about the Ext2 file system at
<URL:http://web.mit.edu/tytso/www/linux/ext2intro.html>.

/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] (Davide Bianchi)
Crossposted-To: linux,redhat.misc
Subject: Re: "maximum mount count reached" error : what's that?
Date: Thu, 28 Sep 2000 09:15:28 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 28 Sep 2000 11:02:48 +0200, TM <[EMAIL PROTECTED]> wrote:

>Hi,
>
>I'm sometimes getting  this kind of error at boot time:
>/dev/drive_id has reached maximum mount count check forced
>what's that and how do I fix it?

It's not an error, after a number of mount/umount of your
disks, the system decide that it's time to perform a check
of the filesystem. It's nothing harmfull.

Davide


------------------------------

Subject: Re: "maximum mount count reached" error : what's that?
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 28 Sep 2000 11:18:37 +0100

[removed bogus groups] 

In article <[EMAIL PROTECTED]>,
TM  <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I'm sometimes getting  this kind of error at boot time:
>
>/dev/drive_id has reached maximum mount count check forced
>
>what's that and how do I fix it?
>
>Thanks
>
>TM
>


Wow, dejavu...

Not error, don't prevent, read about the Ext2 FS at
<URL:http://web.mit.edu/tytso/www/linux/ext2intro.html>, look for
"Always skipping filesystem checks may sometimes be dangerous, [...]"
in that text.

/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: Eric <[EMAIL PROTECTED]>
Subject: Re: Li.....
Date: Thu, 28 Sep 2000 11:22:14 +0200
Reply-To: [EMAIL PROTECTED]

Colin Mackinlay wrote:
> 
> > Just boot from DOS diskette and run: fdisk /mbr
> I have the same problem when I moved my hd from a secondary in a 686
> dual (with w98) system to the primary of a linux only system. I deleted
> all partitions and did a fresh install of linux but got the same Li and
> then a freeze. I currently boot with a floppy but would like to fix it.
> 
> fdisk/mbr gets rid of the MBR ok booting gices a missing operating sytem
> error. How can I get Lilo re-installed. I've tried using linuxconf but
> it just puts back the Li freezing problem!
> 
> --
> Colin Mackinlay

rerun fdisk /mbr AND make sure the win98 partition is set as the only
active
partition.

Eric

------------------------------

From: [EMAIL PROTECTED] (Ian Davey)
Subject: Re: Access Windows 98 partition from Linux
Date: Thu, 28 Sep 2000 09:27:15 GMT

In article <8qul7s$b1v$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Hi,
>I want to access my logical FAT16 partition from Linux. I tried
>

If it's Win98 wouldn't the partition be FAT32?

ian.

 \ /
(@_@)  http://www.eclipse.co.uk/sweetdespise/ (dark literature)
/(&)\  http://www.eclipse.co.uk/sweetdespise/libertycaptions/ (art)
 | |

------------------------------

From: "KajS" <[EMAIL PROTECTED]>
Subject: Limit logons with RH6.x, Samba and PAM??!
Date: Thu, 28 Sep 2000 09:35:45 GMT

Hallo!

I don't realy know if this is the right place to be but here is my problem.

I'am running RH 6.0 and Samba.
I have a problem with users logging on more then once on diffrent machince.
I have made some changes in '/etc/limits.conf' and '/etc/pam.d/login'.
This restricted users from logon more the once local and throw telnet but
didn't effect the samba logons.
I don't know anything about PAM and how it works, maybe PAM ain't what I'am
looking for!
Please! can someone help me?
Or if there is a homepage with howto's or information about PAM, what's the
url?

Thanx!






------------------------------

Date: Thu, 28 Sep 2000 02:19:58 -0400
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: HELP: How to use FTP or should I turn to Windows

try another ftp daemon like proftpd and see if that helps

Sharon Wang wrote:
> 
> Can someone point to me the things I should look
> at in order to get ftp work under RedHat 6.x?
> 
> Symptom: I've never been able to login!
> 
> Connected to host.domain
> 220 host.domain FTP server (Version wu-2.5.0(1) Tue Sep 21 16:48:12
> EDT
> 1999) ready.
> Name (host:me): me
> 331 Password required for me.
> Password:
> 530 Login incorrect.
> Login failed.
> ftp> quit
> 
> Here are the things I have and have checked
> 
> Files:
> /etc/passwd  (has non root user "me", group is also "me"
> /etc/shadow  (generated by pwconv)
> /etc/group  (defined group id "me")
> /etc/inetd.conf
> /etc/ftpaccess
> /etc/ftpusers  ("me" is not there)
> /etc/identd.conf
> /usr/sbin/tcpd
> /usr/sbin/in.ftpd  (wu-2.5.0(1))
> /usr/sbin/identd
> 
> /var/log/messages  (says: ftpd[13]: cmd failure, etc.)
> /var/log/secure
> 
> Someone suggested look at /dev/tty, well, it's crw--rw--rw-.
> 
> I suspect teh ftp client sends some thing to the server
> which is misinterpreted by the sever as bad user
> name and/or password.
>

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: 'no such file or directory' (permissions problem?) in cgi-bin
Date: Thu, 28 Sep 2000 09:39:57 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Tue, 26 Sep 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I can't even get my CGI scripts to run in the shell. I suspect it's a
>problem with the permissions. As an aside, I am running a firewall with
>a strong ruleset (trinityOS) and may have changed the default
>permissions -- it shouldn't matter though, I 'chmod 777' to the cgi-bin
>directory and 'chmod 755' to the *.cgi files inside.
>
>I copied the scripts to /home/httpd/cgi-bin (I'm running red hat) and
>then 'chmod 0755 cpanel.cgi' as recommended in the docs. It looks like
>they exist when I look in the directory but not when I try to run them,
>see:
>
>#ls -l c*
>
>-rwxr-xr-x 1 root root 16865 Sep 24 19:11 cpanel.cgi
>
>#./cpanel.cgi
>
>bash: ./cpanel.cgi: No such file or directory
>
>What the #?!@? hehe Herein is my problem - the file appears to exist
>and be in the directory but bash cannot run it.

This script was not handled or edited in DOS/Win was it.  DOS uses
different line endings (CR-LF) than Unix (just LF).  So even if the first
line is #!/usr/bin/perl, bash cannot find "perl^M".  But the error message
is munged because ^M really is a carriage return in a terminal.

Failing to ftp upload as ASCII text is a common newbie problem.  But if
you copy a script directly from a vfat partition, you have to strip out
the carriage returns yourself.  Or simply load it into pico (from the pine
package) do a space, backspace and then save the file.

-- 
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/


------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Access Windows 98 partition from Linux
Date: Thu, 28 Sep 2000 09:52:27 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Thu, 28 Sep 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I want to access my logical FAT16 partition from Linux. I tried
>
>mount -t msdos (and also vfat) -o conv=t, umask=022, uid=100, gid=100 -L
><mylabel name> /dev/hda8 /dos
>
>I get the error message:
>no partition found
>
>I did fdisk -l /dev/hda and confirmed that Fat16 partition does exist at
>/dev/hda8.
>
>What am I doing wrong?

Any Win95 or newer FAT partitions with long filenames should use -t vfat.
Maybe it is confused by the commas and the -L.  I am not sure what the -L
refers to, but try removing that and the commas and see what happens.  And
make sure that /dos exists (usually you would use something like
/mnt/dos).

Or try something simple first like:  mount -t vfat /dev/hda1 /dos
and if that works, umount (not "un") it and try various other options.

-- 
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/


------------------------------

From: Mogens Kjaer <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,redhat.general
Subject: Re: List of RH7 iso mirrors  -- we need one
Date: Thu, 28 Sep 2000 12:25:02 +0200

Jem Berkes wrote:
> 
> "Paul T. McNally" wrote:
> >
> > Chowder wrote:
> >
> > > That would be cool if we could get a list of RH7 iso mirrors going!
> >
> > I had some good luck with ftp.lame.org. I work nights and I was able
> > to download the iso's at work.
> 
> I downloaded from sunsite.auc.dk, about 40 kb/sec throughput (took
> overnight to download). Since then I've checked twice and I've always
> been able to log in.

This server is located in Denmark. Unless you're downloading to
someplace in Scandinavia, this is a Really Bad Idea.

Mogens
-- 
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: script needed...
Date: Thu, 28 Sep 2000 10:46:17 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Mon, 25 Sep 2000 01:25:36 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Hello,
>
>Can anybody please give me some php or cgi script which can upload files
>to server.
>It's good, if that script supports many users and very good if it
>supports SSL

Start by typing:  perldoc CGI

The CGI module that comes with Perl 5 has everything you need to produce
and process forms, including file upload.

If you ever want to e-mail uploaded files as attachments, the MIME::Lite
module works well with the CGI module, but you probably need to install
this module yourself (or put Lite.pm in a directory called MIME) and point
to the directory containing MIME with a 'use lib' statement.

-- 
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/


------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Serial input/output error
Date: Thu, 28 Sep 2000 10:51:13 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On 26 Sep 2000 14:00:33 GMT, jeff <[EMAIL PROTECTED]> wrote:
>This is beginning to drive me nuts.  My two serial ports don't work with
>Debian 2.2 - setserial always returns "Input/output error," even when I try
>just the -g parm, or with autoconfig. stty returns the same thing.  The
>hardware is fine, since it works with SuSE 6.4 and various versions of
>lesser OSs.  CMOS setup verifies that serial ports are setup correctly,
>using conventional default settings.
>
>/var/log/dmesg shows...
>Serial driver version 4.27 with no serial options enabled
>ttyS00 at 0x03f8 (irq = 4) is a 16550A
>ttyS01 at 0x02f8 (irq = 3) is a 16550A
>
>Serial ports are, I believe, "16550A equivalent," (ASUS P3B-F motherboard)
>and the settings shown in dmesg are correct.  Serial driver is loaded, and
>(default Debian install) kernel looks like it supports serial.  (I tried
>removing CONFIG_SERIAL_NONSTANDARD=y, for yucks, but no difference.)
>
>I get exactly the same result when I disable the onboard serial ports
>and try a four-port FlexPort, though the FlexPort also works under other
>OSs.  Also the same when I boot harddisk from a different (identical)
>machine.
>
>I'm SURE that this is something real simple, but I've read the Serial HOWTO
>from cover to cover, but got no clues.  Disregarding the serial problem,
>BTW, I couldn't be happier with Debian.  Can anyone help me figure this out?

So you are saying that 'setserial -bg /dev/ttyS0' or ttyS1 give you
errors?  You aren't trying to use the obsolete cua devices are you?

-- 
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/


------------------------------

From: [EMAIL PROTECTED] (Derek Jolly)
Subject: Re: Partitioning.....
Date: Thu, 28 Sep 2000 11:24:07 GMT

[EMAIL PROTECTED] (The Jigsaw Man), in message
<[EMAIL PROTECTED]>, wrote 

>> Do you have any free space?
>> That means NON PARTITIONED SPACE, not just space in the windows FS.
>> Else you will need to create it. You can use FIPS.EXE for that or
>> Partition Magic (if you have it)
>
>No, all space on my drive is set in a dha partition, for windows.

You'll need to shrink that partition to provide free non-partitioned
space to install Linux on.

First of all defrag your Windows partition from within Windows.  This
will place all data within it at the start of the drive, and leave blank
space at the end of the drive.  This is crucial, as shrinking the Windows
partition without doing this could result in you losing data.

You can then shrink the Windows partition via Mandrake's partitioner
that appears when you run the install.  Just select the partition and
resize it.  You can then partition the rest of the disk as you want for
the Linux partitions.
-- 
* Derek Jolly  ([EMAIL PROTECTED])  (Remove the 'x' for e-mail)  *
* For 50/60Hz PSX Action Replay switch codes and some Speccy stuff   *
* check out my homepage on http://www.redrival.com/rivet/            *
* Now playing: Star Trek Voyager: Elite Force (PC)                   *

------------------------------

From: [EMAIL PROTECTED] (Hartmann Schaffer)
Subject: Re: Where can I find a kernel?
Date: 27 Sep 2000 21:51:40 -0400

In article <[EMAIL PROTECTED]>,
Steve <[EMAIL PROTECTED]> wrote:
>Doesn't sound like a kernel problem.  Checkout man fstab and 

why not?  it looks like the dos and fat services aren't in the kernel
(or the modules aren't loaded).  try lsmod.

>man mount.  At the command prompt do:
>
>$ man fstab
>
>and 
>
>$ man mount
>
>From what I remember you can't mount an FS that isn't described
>in your "fstab".  Don't bother with the Filesystems-HOWTO, it's

wrong.  the fses listed in fstab get mounted at system start.  you can
mount any partition as long as you know the /dev entry

> ...

To the original poster:  what happens when you try to mount.  usually
a mount fails for any of those reasons:
   
1. the device is already mounted

2. the device isn't there

3. the file system type is not supported (maybe because the device
   driver isn't installed or loaded)

4. the mount point doesn't exist

hs

------------------------------

From: [EMAIL PROTECTED] (Hartmann Schaffer)
Subject: Re: Li.....
Date: 27 Sep 2000 22:04:03 -0400

In article <ant272143345hxQ&@mackinlay.demon.co.uk>,
Colin Mackinlay  <[EMAIL PROTECTED]> wrote:
>> Just boot from DOS diskette and run: fdisk /mbr
>I have the same problem when I moved my hd from a secondary in a 686
>dual (with w98) system to the primary of a linux only system. I deleted
>all partitions and did a fresh install of linux but got the same Li and
>then a freeze. I currently boot with a floppy but would like to fix it.

i ran into similar problems recently:  it appears that with some
BIOSES you can't boot a disk from /dev/hda when lilo was run with the
disk on /dev/hdb or /dev/hdc.

What seems to work (provided you have lilo on the hard drive):  boot
from floppy, then chroot to your root partition (with /boot mounted if
it is on a separate partition), then run lilo again.  it was the last
resort i tried, abd it worked for me.

Another thing you might try:  check the disk and bios argument in the
lilo documentation:  some BIOSes boot only from the first hard drive,
and there is some flag in the partition table / boot sector that
prevents the disk from being recognized as the first hard drive when
the mbr was written while the drive was not the first drive the BIOS
encountered.

>fdisk/mbr gets rid of the MBR ok booting gices a missing operating sytem
>error. How can I get Lilo re-installed. I've tried using linuxconf but

lilo should still be there if you included it in the installation

hs

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Newbie: EZ question about dir structure
Crossposted-To: linux.redhat.misc
Date: Thu, 28 Sep 2000 11:40:08 +0100

Robert Kiesling <[EMAIL PROTECTED]> did eloquently scribble:
>>Is bin plain ole binary and sbin is system binary?

> /bin, /usr/bin, and /usr/local/bin are for general use programs,
> in descending order of importance for basic system functions.
> /sbin, /usr/sbin, and /usr/local/sbin are mainly for networking
> and system administration functions, I guess, but I don't think
> that's written down anywhere.

from man hier

       /bin   This  directory  contains executable programs which
              are are needed in single user mode and to bring the
              system up or repair it.

       /sbin  Like /bin, this directory holds commands needed  to
              boot the system, but which are usually not executed
              by normal users.

       /usr/bin
              This is the primary directory for  executable  pro-
              grams.   Most  programs  executed  by  normal users
              which are not needed for booting or  for  repairing
              the  system  and  which  are  not installed locally
              should be placed in this directory.

       /usr/sbin
              This directories contains program binaries for sys-
              tem admininstration which are not essentail for the
              boot process, for  mounting  /usr,  or  for  system
              repair.

       /usr/local/bin
              Binaries for programs local to the site go there.

        /usr/local/sbin
              Locally installed programs for system  admininstra-
              tion.

 
> There's also /usr/X11R6/bin, for X window clients.

> The $PATH environment variable which has the same function as
> on Microstuffing, should be something like:

> export $PATH="/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin"

> so that your own locally installed substitutes for the distribution's
> programs get run instead.

>>I guess I just dont see why there are so man bins and sbins.

>>I just would like some smart linux guru out there to explain the diff
>>between the bin dirs, and why different proggies show up in different
>>locations instead of all in one?

> Oh, didn't see that part before.  You must mean me.  :)

>>Guess that is it...  Except is the /opt dir for optional (additional)
>>programs?  I just want to understand the linux dir structure as I am a
>>neat freak, and Im sick of Windows.... hence I want to use Linux

> /opt is what Solaris uses for application packages... probably right,
> optional to the system.

It's used in many linux distros as well. Mainly for large programs that
don't have a place in /usr, such as staroffice, wordperfect and netscape.

-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "Are you pondering what I'm pondering Pinky?"   |
|Andrew Halliwell BSc(hons)|                                                 |
|            in            | "I think so brain, but this time, you control   |
|     Computer Science     |  the Encounter suit, and I'll do the voice..."  |
==============================================================================

------------------------------

From: ray <[EMAIL PROTECTED]>
Subject: Re: Compiling 2.4.0 kernel for athlon
Date: Thu, 28 Sep 2000 12:09:42 GMT

Chad Lake wrote:

> Has anyone gotten any of the 2.4.0 kernels to compile for the athlon
> with LVM support?  I've tried 2.4.0test1 with various patches, as well
> as the new 2.4.0test2 kernels, and I keep getting errors about the
> variable "current" being undefined. If I take out LVM support, it
> compiles and runs just fine.
>
> Anyone else run into this problem?
>
>                      Thanks,
>
>                                 -c

    Hmmm, that's interesting. I got LVM going here in all the kernels
after test-2, and I am now running test-7, no sweat. I compiled for a
586, my chip being an AMD K6 450. Maybe try compile for a 386?

--
Ray R. Jones
Errors have been made. Others will be blamed.
[EMAIL PROTECTED]
HTTP://raymondjones.net




------------------------------


** 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
******************************

Reply via email to