Re: RAID: megamgr won't run

2003-05-31 Thread Jesse Keating
On Friday 30 May 2003 03:42, Ross Macintyre wrote:
> Thanks for this information Jesse - exactly what I was looking for. Bad
> coincidence that I decided to take the opportunity of putting on the
> latest redhat kernel at the same time as trying out megamgr!
> You say the performance is bad under 2.4.20-13. Can you tell me how
> you can measure this?

hdparm -t /dev/sda  is one meausre, although not all that accurate.

tiobench is another measuring tool, along with bonnie++.

For some of these tests (multiple tests within each package) the newer kernel 
was faster, but for many of them, the older kernel was faster.  For example, 
hdparm -t on the new kernel gave me 40MB/s on a 3disk raid5 array, while on 
the older kernel I got 150MB/s from hdparm -t.

-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


Re: X Window System, Minimum Installation

2003-05-31 Thread Guy Fraser
Hi

I have setup many "headless" servers with a few X-apps, as long as the 
application's dependancies
are met they should work. I always put Nedit on my servers, it also 
requires "motif" libraries. If you
want to know what a program requires to run do somting like this :

$ rpm -q --requires nedit
openmotif
/usr/bin/desktop-file-install
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libICE.so.6
libm.so.6
libm.so.6(GLIBC_2.0)
libSM.so.6
libX11.so.6
libXext.so.6
libXm.so.3
libXmu.so.6
libXpm.so.4
libXp.so.6
libXt.so.6
$ rpm -q --provides openmotif
libMrm.so.3
libUil.so.3
libXm.so.3
openmotif = 2.2.2-12
$ rpm -q --whatprovides /usr/bin/desktop-file-install
desktop-file-utils-0.3-3
$ rpm -q --provides desktop-file-utils-0.3-3
desktop-file-utils = 0.3-3
...and so on...

So in total, nedit requires :

rpm :-)

openmotif
desktop-file-utils
glibc
XFree86-libs
I hope this helps, using these methods you should be able to pair down 
your RPM based system.

Guy

Hattie Rouge wrote:

So if I'm not going to run a desktop on a server, just want to forward X
to my remote desktop, all I need is XFree86-libs (and dependencies)?
Cool!
Hattie Rouge

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jesse Keating
Sent: Thursday, May 29, 2003 9:33 AM
To: [EMAIL PROTECTED]
Subject: Re: X Window System, Minimum Installation

On Thursday 29 May 2003 09:30, Mike Wagner wrote:
   

Hello,

I was wondering if anyone could tell me what packages I 
 

need to do a 
   

basic installation of X.  This is going to be on a server and I am 
going to be tunning X over ssh.  I need X so I can install a SNMP 
agent.  I do not even need X to run on the server's 
 

display.  I just 
   

need it to work over ssh.
 

Then just install the XFree86-libs (and it's deps).  Thats 
all you'll need to 
be able to export X apps from the server out to clients.

--
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (http://www.microwerks.net/~hugo/)
Was I helpful?  Let others know:  
http://svcs.affero.net/rm.php?r=jkeating

--
Psyche-list 
mailing list
[EMAIL PROTECTED] 
https://www.redhat.com/mailman/listinfo/psyche> -list

   



 



--
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


Re: USER can't use Modem

2003-05-31 Thread Christian Thibodeau
On Fri, 2003-05-30 at 03:27, Stephen Liu wrote:
> Hi Dusan,
> 
> Lucent modem (winmodem)
> ==
> 
> Thanks for your advice.
> 
> Before testing your suggestion, I accidentally delete /dev/modem which
> is symbolic linked to /dev/ttyLT0.  Rebooting PC could not recover it. 
> mkdir /dev/modem only creates a directory.
> 
> Kindly advise how to get it back.  Thanks in advance.
> 
> B.Regards
> Stephen

ln -s /dev/ttyLT0 /dev/modem

-- 
Christian Thibodeau
Open Systems, Operations
Common IT Services
Solutions BC, Province of BC
Phone: 250-387-5993 Fax: 250-387-5231
Solutions BC http://www.solutionsbcsharedservices.gov.bc.ca
CITS https://cits.gov.bc.ca


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


Re: USER can't use Modem

2003-05-31 Thread Stephen Liu
Hi Dusan, 

Further to my late posting.  I have recovered /dev/modem and made it
symbolic linked to /dev/ttyLT0.  Modem is now working. 

Get back to your advice.  Some thing strange happened.  It works but is
not stable. 

Konsole window 
$ su - 
password 
# chmod +s /usr/sbin/kppp  (return) 
# (nothing visible recognised) 

exited Konsole window 

KStart -> Extras -> Internet - > KPPP 
kppp started without asking for password 

First I configured another kppp for USER and made it worked

Started Konsole window 
$ kppp 
kppp started without asking for password 

$ cu -l /dev/modem
Connected. 
AT 
OK 
~[localhost]. 
Disconnected. 
$

After testing several times, the problem returned

KStart -> Extras -> Internet - > KPPP 
kppp started asking for password

Started Konsole window 
$ kppp 
kppp started asking for password 

Rebooted PC (also tried - shutdown and re-start)

Started Konsole window 
$ su - 
password 
# chmod +s /usr/sbin/kppp  (return) 
# (nothing visible recognised) 

Problem could not be solved.

B.Regards
Stephen


On Fri, 2003-05-30 at 16:57, Dusan Djordjevic wrote: 
> Friday 30 May 2003 04:25, Stephen Liu:
> >  As ROOT kppp works without problem.  As USER, request for ROOT
> > password will popup, without ROOT password user is not allowed to run
> > Kppp
> 
> 
> Use /usr/sbin/kppp and set SUID on it.
> chmod +s /usr/sbin/kppp
> 
> Then it will work without question for users.
> -- 
> Eng. Dusan Djordjevic (RHCE)


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


Re: USER can't use Modem

2003-05-31 Thread Guy Fraser
Add the user to group uucp.

That should take care of it.

As you can see below only user root and group uucp can access
the serial ports.
crw-rw1 root uucp   4,  64 Aug 30  2002 /dev/ ttyS0
crw-rw1 root uucp   4,  65 Aug 30  2002  /dev/ttyS1
crw-rw1 root uucp   4,  66 Aug 30  2002  /dev/ttyS2
crw-rw1 root uucp   4,  67 Aug 30  2002  /dev/ttyS3
...
Do NOT change the permissions or ownership, or you will create security 
problems.

Guy

Stephen Liu wrote:

Hi all folks,

Lucent modem (winmodem)
===
User can't use modem

As ROOT kppp works without problem.  As USER, request for ROOT password
will popup, without ROOT password user is not allowed to run Kppp
I made following test

As ROOT
# cu -l /dev/modem
Connected.
AT
OK
~[localhost].
Disconnected.
#
But it could not work as USER
$ cu -l /dev/modem
Connected.
It hanged here and I was not allowed to type

A temp file was created /var/lock/LCK...Modem to lock the modem

I have been looking for a solution for sometimes without result? 
Permission for modem, lock, tty, ttyLT0 (symbolic linked), user group,
and other relevant items, etc. have been checked.

Any advice.  Thanks in advance.

B.Regards
satimis


 



--
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


Re: USER can't use Modem

2003-05-31 Thread Dusan Djordjevic
Friday 30 May 2003 18:52, Stephen Liu:
>  KStart -> Extras -> Internet - > KPPP

Check where it points to. By default, it points not directly to 
/usr/bin/kppp, but to some RH wrapper. Change it.

Also check your path variable from shell (echo $PATH), since from it 
dependes what program is started. 

-- 
Eng. Dusan Djordjevic (RHCE)


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list


RPM kernel install problem: not enough room on partition

2003-05-31 Thread Charles Curley
I tried installing a new kernel on one machine, and got the following
error message:

[EMAIL PROTECTED] root]# rpm -ivh /var/spool/autoupdate/kernel-2.4.20-13.8.i686.rpm
Preparing...### [100%]
installing package kernel-2.4.20-13.8 needs 2MB on the /boot filesystem
[EMAIL PROTECTED] root]# df /boot/
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1  15M   11M  3.6M  75% /boot
[EMAIL PROTECTED] root]#

I was able to install the kernel fine on other computers with more
room available in their /boot partitions.


-- 

Charles Curley  /"\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or writing?  X No HTML/RTF in email
http://www.charlescurley.com/ \No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB


pgp0.pgp
Description: PGP signature


Re: RPM kernel install problem: not enough room on partition

2003-05-31 Thread Tom Diehl
On Fri, 30 May 2003, Charles Curley wrote:

> I tried installing a new kernel on one machine, and got the following
> error message:
> 
> [EMAIL PROTECTED] root]# rpm -ivh /var/spool/autoupdate/kernel-2.4.20-13.8.i686.rpm
> Preparing...### [100%]
> installing package kernel-2.4.20-13.8 needs 2MB on the /boot filesystem
> [EMAIL PROTECTED] root]# df /boot/
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda1  15M   11M  3.6M  75% /boot
> [EMAIL PROTECTED] root]#

Well lets see:
(tigger pts2) $ ll -h *8
-rw-r--r--1 root root 505K May 12 12:15 System.map-2.4.20-13.8
-rw-r--r--1 root root  44K May 12 12:15 config-2.4.20-13.8
-rw-r--r--1 root root  15K May 12 12:15 module-info-2.4.20-13.8
-rw-r--r--1 root root 3.0M May 12 12:15 vmlinux-2.4.20-13.8
-rw-r--r--1 root root 1.1M May 12 12:15 vmlinuz-2.4.20-13.8

The above alone looks like more than 3.6 megs. Suggest deleting an old kernel
if you can.

-- 
..Tom   CLUELESSNESS: There Are No Stupid Questions, But
[EMAIL PROTECTED]   There Are LOTS of Inquisitive Idiots. :-)
Registered Linux User #14522http://counter.li.org


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list