On Sun, Feb 1, 2009 at 10:30 PM, <redhat-list-request@xxxxxxxxxx> wrote: > Send redhat-list mailing list submissions to > redhat-list@xxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/redhat-list > or, via email, send a message with subject or body 'help' to > redhat-list-request@xxxxxxxxxx > > You can reach the person managing the list at > redhat-list-owner@xxxxxxxxxx > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of redhat-list digest..." > > > Today's Topics: > > 1. SFTP max connection script help (break time) > 2. booting problem (Joy Methew) > 3. Re: booting problem (Barry Brimer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 31 Jan 2009 20:20:03 -0800 (PST) > From: break time <breaktime123@xxxxxxxxx> > Subject: SFTP max connection script help > To: redhat-list@xxxxxxxxxx > Message-ID: <173537.52855.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> > Content-Type: text/plain; charset=iso-8859-1 > > Hi All, > > I want to limit the number of simultaneous sftp connections to my RedHat 4 server. I believe OpenSSH had no options to set this limit. > > Please give some directions how to accomplish this. > > 1/ Max sftp concurrent connections is 10 > 2/ The server will reject the 11th sftp connection, then send the message to client "SFTP server too busy - Please try again later" > > Thank you ! > > bt > > > > > ------------------------------ > > Message: 2 > Date: Sun, 1 Feb 2009 14:24:33 +0530 > From: Joy Methew <ml4joy@xxxxxxxxx> > Subject: booting problem > To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx> > Message-ID: > <64fd0700902010054n66a537c4p5c70cde958d9430e@xxxxxxxxxxxxxx> > Content-Type: text/plain; charset=ISO-8859-1 > > hello all, > i have two hadr disk sda and hda. > I have installed Windows xp on a seperat hard drive(on sda). I installed > the new hard drive and then installed Redhat linux 5 on the new drive(hda). > i set the prority on other(xp) bydefault. > redhat is running fine but when i enter on other it`s not running. > i m sending out put of "fdisk -l" and grub.conf. > > thanks > [root@localhost ~]# fdisk -l > > Disk /dev/hdc: 80.0 GB, 80026361856 bytes > 255 heads, 63 sectors/track, 9729 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hdc1 2 5100 40957717+ f W95 Ext'd (LBA) > /dev/hdc2 * 5101 8924 30716280 83 Linux > /dev/hdc3 8925 9179 2048287+ 82 Linux swap / Solaris > /dev/hdc5 2 5100 40957686 7 HPFS/NTFS > > Disk /dev/sda: 80.0 GB, 80000000000 bytes > 255 heads, 63 sectors/track, 9726 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 2065 16587081 c W95 FAT32 (LBA) > /dev/sda2 2066 9725 61528950 f W95 Ext'd (LBA) > /dev/sda5 2066 4615 20482843+ b W95 FAT32 > /dev/sda6 4616 7165 20482843+ 7 HPFS/NTFS > /dev/sda7 7166 9725 20563168+ b W95 FAT32 > > > > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this file > # NOTICE: You do not have a /boot partition. This means that > # all kernel and initrd paths are relative to /, eg. > # root (hd0,1) > # kernel /boot/vmlinuz-version ro root=/dev/hdc2 > # initrd /boot/initrd-version.img > #boot=/dev/hdc > default=1 > timeout=5 > splashimage=(hd0,1)/boot/grub/splash.xpm.gz > hiddenmenu > title Red Hat Enterprise Linux Server (2.6.18-8.el5) > root (hd0,1) > kernel /boot/vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet > initrd /boot/initrd-2.6.18-8.el5.img > title Other > rootnoverify (hd0,4) > chainloader +1 > > > ------------------------------ > > Message: 3 > Date: Sun, 1 Feb 2009 10:45:45 -0600 (CST) > From: Barry Brimer <lists@xxxxxxxxxx> > Subject: Re: booting problem > To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx> > Message-ID: <Pine.LNX.4.61.0902011038200.16178@xxxxxxxxxxxxxxxxxxxxx> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > > On Sun, 1 Feb 2009, Joy Methew wrote: > >> hello all, >> i have two hadr disk sda and hda. >> I have installed Windows xp on a seperat hard drive(on sda). I installed >> the new hard drive and then installed Redhat linux 5 on the new drive(hda). >> i set the prority on other(xp) bydefault. >> redhat is running fine but when i enter on other it`s not running. >> i m sending out put of "fdisk -l" and grub.conf. >> >> thanks >> [root@localhost ~]# fdisk -l >> >> Disk /dev/hdc: 80.0 GB, 80026361856 bytes >> 255 heads, 63 sectors/track, 9729 cylinders >> Units = cylinders of 16065 * 512 = 8225280 bytes >> >> Device Boot Start End Blocks Id System >> /dev/hdc1 2 5100 40957717+ f W95 Ext'd (LBA) >> /dev/hdc2 * 5101 8924 30716280 83 Linux >> /dev/hdc3 8925 9179 2048287+ 82 Linux swap / Solaris >> /dev/hdc5 2 5100 40957686 7 HPFS/NTFS >> >> Disk /dev/sda: 80.0 GB, 80000000000 bytes >> 255 heads, 63 sectors/track, 9726 cylinders >> Units = cylinders of 16065 * 512 = 8225280 bytes >> >> Device Boot Start End Blocks Id System >> /dev/sda1 * 1 2065 16587081 c W95 FAT32 (LBA) >> /dev/sda2 2066 9725 61528950 f W95 Ext'd (LBA) >> /dev/sda5 2066 4615 20482843+ b W95 FAT32 >> /dev/sda6 4616 7165 20482843+ 7 HPFS/NTFS >> /dev/sda7 7166 9725 20563168+ b W95 FAT32 >> >> >> >> # grub.conf generated by anaconda >> # >> # Note that you do not have to rerun grub after making changes to this file >> # NOTICE: You do not have a /boot partition. This means that >> # all kernel and initrd paths are relative to /, eg. >> # root (hd0,1) >> # kernel /boot/vmlinuz-version ro root=/dev/hdc2 >> # initrd /boot/initrd-version.img >> #boot=/dev/hdc >> default=1 >> timeout=5 >> splashimage=(hd0,1)/boot/grub/splash.xpm.gz >> hiddenmenu >> title Red Hat Enterprise Linux Server (2.6.18-8.el5) >> root (hd0,1) >> kernel /boot/vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet >> initrd /boot/initrd-2.6.18-8.el5.img >> title Other >> rootnoverify (hd0,4) >> chainloader +1 > > I believe your /boot/grub/device.map will need a line that says : > > (hd1) /dev/sda > > and the grub.conf statement called 'Other' would need to say: > > rootnoverify (hd1,6) > chainloader +1 > > Although I have never not created partitions 3 and 4 on my disk .. so I > don't know how their absence is handled. > > You also may wish to look at Super Grub Disk > <http://www.supergrubdisk.org/> > > Barry > > > > ------------------------------ > > __ > redhat-list mailing list > Unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > End of redhat-list Digest, Vol 60, Issue 1 > ****************************************** > >You have 2 hard disks hda and sda and in order to address 2nd hard disk u need to address it by calling it hd1. So your windows booting device becomes (hd1,0) insdead of (hd0,4).Because boot record for your windows drive is installed on 2nd hard disk and 1st parttiton. Just change line rootnoverify (hd0,4) to rootnoverify(hd1,0) It should work... Mudit -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list