Re: [CentOS] ext3 heavy file fragmentation with NFS write

2009-02-28 Thread Andrzej Szymanski
Stephen John Smoogen wrote:
> On Fri, Feb 27, 2009 at 12:31 AM, Andrzej Szymański  
> wrote:
>> Hello,
>>
>> Does anybody know how to avoid the file fragmentation when a file is
>> created over NFSv3?
>>
>> A file created locally is OK:
>> dd bs=32k if=/dev/zero of=test count=32x1024 conv=fsync
>> filefrag test
>> test: 10 extents found, perfection would be 9 extents
>>
>> When I create the file in the same dir, but from another machine,
>> mounted over NFS:
>>
>> filefrag test
>> test: 4833 extents found, perfection would be 9 extents
> 
> 1) what is filefrag and where is it from?
filefrag comes with e2fsprogs-1.39-15.el5

> 2) Have you played with adding/subtracting threads to see if that helps?
8 threads - 3300 - 5000 extents
2 threads ~3000 extents
1 thread ~2000 extents (this one I've checked both with tcp and udp)
so it drops with decreasing number of threads

> 3) What happens if you don't use fsync on the dd.
No significant change.

> 4) What happens if you use larger/smaller bs
No siginficant change.

> 5) Is the rsize/wsize onthe server 32768 or some other number. I
> thought the default w/size on an export was 512 or some small number.
32768 is my setting. But when I leave it at the default the result is 
the same.

Andrzej
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.2 - latest rpms for mailcanner , clamav and spamassassin

2009-02-28 Thread Kai Schaetzl
Craig White wrote on Fri, 27 Feb 2009 07:46:47 -0700:

> you can get clam* and newer spamassassin rpms from rpmforge

I suggest rolling your own SA. It's as simple as downloading the tarball 
and rebuilding it with the included spec file. It's a simple one-line 
command and documented on the download site.
I suggest it because the rpmforge SA package pulls in unnecessary 
dependencies and has one or two problematic config options set if I 
remember right.
clamav from rpmforge is just fine.
Mailscanner can be easily installed from the repo Dan already mentioned.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.2 - latest rpms for mailcanner , clamav and spamassassin

2009-02-28 Thread Linux Advocate




> Craig White wrote on Fri, 27 Feb 2009 07:46:47 -0700:
> 
> > you can get clam* and newer spamassassin rpms from rpmforge
> 
> I suggest rolling your own SA. It's as simple as downloading the tarball 
> and rebuilding it with the included spec file. It's a simple one-line 
> command and documented on the download site.
> I suggest it because the rpmforge SA package pulls in unnecessary 
> dependencies and has one or two problematic config options set if I 
> remember right.
> clamav from rpmforge is just fine.
> Mailscanner can be easily installed from the repo Dan already mentioned.
> 
> Kai

Thanx kal. i have done that. got mailscanner installed.


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kerberos 1.6.3 on centos 4/5??

2009-02-28 Thread Thomas Johansson
Stephen John Smoogen wrote:
> On Fri, Feb 27, 2009 at 12:27 PM, Thomas Johansson  wrote:
>   
>> Stephen John Smoogen wrote:
>> 
>>> On Fri, Feb 27, 2009 at 5:03 AM, Thomas Johansson  
>>> wrote:
>>>
>>>   
 Hi

 My problem is related to clientless authentication for printing. We are
 evaluating if it's worth the trouble on centos. Uppgrading cups is not a
 problem That i have already solved. Further research also states that
 kerberos have to be version 1.6.3. This is a big problem. Neither centos
 4 nor centos 5 have the required version of kerberos. Compiling my own
 compile kerberos is not something i want to do!

 Is it worth it or even possible to upgrade kerberos to 1.6.3 or will we
 most likely break something else with an upgrade?? No rpms are available
 and i suppose there's a reason for that. There's no problem compiling
 cups or kerberos on both platforms. I just wanna find out if it is worth
 the trouble we will get or if it's possible/recommended to do it?!?!.

 
>>> Upgrading kerberos on CentOS systems is not a trivial task. Kerberos
>>> is a basic component for a lot of packages which requires a large
>>> dependency chain.
>>>   
>> We noticed that. Several pages of dependencies  if one make a yum remove
>> of krb5-workstation. I'm really dont want to try upgrading. Its more
>> like i'm looking for arguments against such a crazy thing.
>>
>> 
>>> I would look at it as follows:
>>>
>>> 1) CentOS-4/5 do not have kerberos needed.
>>> 2) Fedora-10/11 does have the kerberos needed.
>>> 3) CentOS-6 might be based off of Fedora-11.
>>>
>>> Build your proof of concept project with Fedora-10 with a plan of
>>> rebuilding the system after CentOS-6 comes out. Then you have both an
>>> immediate win and a long term plan on how to reach a stable product.
>>>
>>> Hope that helps.
>>>
>>>   
>> We have figured it out that far. On platforms like Solaris, ubuntu
>> Fedora and others we have no problem printing. The problem is that we
>> have a lot of software that require both centos 5 and centos 4. Cannot
>> abandon centos for those clients. Also, the print project is a solution
>> offered/pushed to us. Obviously we cannot use it on centos. They (the
>> project leaders) have to choose another solution for centos. That will
>> be the answer to the project leaders.
>> 
>
> A last set would be to have a seperate set of kerberos Libraries and
> statically compile the cups you want against those. Its an ugly hack
> but works in those cases.
>   
Excellent tip! We completely missed that. Have now compiled and tested 
this on one client. It works!

Thanks a lot!

Now to the formalities.. My apoligies for kidnapping a thread! A mistake 
that will not happen again..
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mailscanner installation - centos 5.2 - rpmforge + vanderkooij rpms

2009-02-28 Thread Linux Advocate

Guys,  i have just installed  ( after reading
the docs on the mailscanner site and centos lists ) Mailscanner, and was 
wondering

a.) How do i test my installation? is there some sample spam/ virus messages 
that can be used to test.

b.) MailScanner -V shows;

b.1)

LibClamAV Warning: **
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.***
LibClamAV Warning: **

how do i update this database?

b.2) there are some modules missing; how do i iinstall them or do i ignore them



Module versions are:
1.00AnyDBM_File
1.16Archive::Zip
0.17bignum
1.04Carp
1.42Compress::Zlib
1.119   Convert::BinHex
missing Convert::TNEF <--- missing ?

2.121_08Data::Dumper
2.27Date::Parse
1.00DirHandle
1.05Fcntl


Optional module versions are:

1.30Archive::Tar
0.17bignum
missing Business::ISBN< missing ?

missing Business::ISBN::Data
missing Data::Dump
1.814   DB_File
1.14DBD::SQLite
1.52DBI
1.14Digest
1.01Digest::HMAC
2.36Digest::MD5
2.11Digest::SHA1
missing Encode::Detect
missing Error
missing ExtUtils::CBuilder
missing ExtUtils::ParseXS


regards,
mgomez.


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mailscanner installation - centos 5.2 - rpmforge + vanderkooij rpms

2009-02-28 Thread Kai Schaetzl
you got answers on the mailscanner list.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mailscanner installation - centos 5.2 - rpmforge + vanderkooij rpms

2009-02-28 Thread tdukes
I think ClamAV updates itself via cron.

The modules you are missing can be installed from CPAN maybe yum or check Dag 
Wieers site.

 Linux Advocate  wrote: 
> 
> Guys,  i have just installed  ( after reading
> the docs on the mailscanner site and centos lists ) Mailscanner, and was 
> wondering
> 
> a.) How do i test my installation? is there some sample spam/ virus messages 
> that can be used to test.
> 
> b.) MailScanner -V shows;
> 
> b.1)
> 
> LibClamAV Warning: **
> LibClamAV Warning: ***  The virus database is older than 7 days!  ***
> LibClamAV Warning: ***   Please update it as soon as possible.***
> LibClamAV Warning: **
> 
> how do i update this database?
> 
> b.2) there are some modules missing; how do i iinstall them or do i ignore 
> them
> 
> 
> 
> Module versions are:
> 1.00AnyDBM_File
> 1.16Archive::Zip
> 0.17bignum
> 1.04Carp
> 1.42Compress::Zlib
> 1.119   Convert::BinHex
> missing Convert::TNEF <--- missing ?
> 
> 2.121_08Data::Dumper
> 2.27Date::Parse
> 1.00DirHandle
> 1.05Fcntl
> 
> 
> Optional module versions are:
> 
> 1.30Archive::Tar
> 0.17bignum
> missing Business::ISBN< missing ?
> 
> missing Business::ISBN::Data
> missing Data::Dump
> 1.814   DB_File
> 1.14DBD::SQLite
> 1.52DBI
> 1.14Digest
> 1.01Digest::HMAC
> 2.36Digest::MD5
> 2.11Digest::SHA1
> missing Encode::Detect
> missing Error
> missing ExtUtils::CBuilder
> missing ExtUtils::ParseXS
> 
> 
> regards,
> mgomez.
> 
> 
>   
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread Noob Centos Admin
On Fri, Feb 27, 2009 at 8:12 PM, JohnS  wrote:
> How about chown -R root:staff /directory_name ???
>                   chmod -R 777 /directory_name ???

The directory was chown -R to staff:staff and chmod -R to 770
I'll give a try on 777 on Monday (US Sunday). They are currently using
an older Win2K server for sharing so not an urgent transition hence I
don't get to go in again until they start on Monday.

>> 4. tested smbclient -L smbserver works
>
> smbclient -L localhost -U% try that.

I did try the -U  previously. samba will ask me for a
password, and then show me the standard information. So it's rather
odd that this doesn't show up on log, and coming in from the network
doesn't work at all. Iptables has the ports opened and server can be
pinged so it's not due to traffic being blocked either.

> Just to rule out user input error take the working samba configuration
> from the previous server and copy it over to the current none working
> one. Then "service smb reload" or "service smb restart".

Will try that on Monday, although the exact names are not quite the same.

> At least make sure you are working with the same samba package versions.

Both of them should be the latest version as in both cases, I did a
yum remove and install after initial difficulties just to clear out
any possible errors introduced by this clueless admin.

> Lastly it would be or "WE" could help a bit more if you posted the
> current configuration your working with to possibly spot errors in it.

Ok, again, Monday :)

Thanks!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread Les Mikesell
Noob Centos Admin wrote:
> I'm seriously befuddled by Samba now.
> 
> I followed the good advice given and got the previous server set up nicely.
> 
> I did the same thing on another one and it refuses to work.
> 
> 1. useradd some users
> 2. gpasswd -a them to a "staff" group nd smbpasswd -a them
> 3. chmod g+s the staff directory
> 4. tested smbclient -L smbserver works
> 5. Windows user can see the Netbios name but not the share
> 6. Trying to access fails after timeout
> 7. Checked iptables/firewall not blocking
> 8. tail -f samba logs but nothing happens, it's like samba never see
> the incoming request. Note that it doesn't log anything with smbclient
> -L either.
> 9. mv the smb.conf and used a very basic one, similar to the one
> suggested in this thread.
> 10. yum remove and installed samba again just in case
> 
> Still not working.
> 
> I'm almost certain now that samba coder snuck in a devious randomizer
> that requires every single installation to only work after an random
> sequence of actions is taken. :(
> 
> Any hints or magic words?

First, I'll repeat my advice about using the SME server distribution 
which makes it as easy as filling in simple forms on web pages for 
users, groups, and shares and basically would take no other 
administration unless you want email or additional services.

But, if you want to do it the hard way, you probably have an 
authentication issue.  With the default security setting of 'user', the 
windows users must authenticate before they can even see a share - and 
things get weird if the name they used to log into windows is not the 
same as the linux/samba login name.   You can still map drives if you 
explicitly specify \\server\share, 'connect as other user' and fill in 
the name and password, but browsing for shares often doesn't work.  If 
you aren't too concerned about security, you can change this to 
'security = share' and then you can browse before authenticating, and 
also have the option to authenticate as different users when connecting 
to different shares on the same machine which you can't do in user or 
server modes.

I don't understand the log issue, though.  Are you sure smbd is running? 
Nmbd would be enough to activate the netbios name - maybe you have a 
syntax error in smb.conf and smbd did not start.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread Noob Centos Admin
On Sun, Mar 1, 2009 at 2:21 AM, Les Mikesell  wrote:

> But, if you want to do it the hard way, you probably have an

Unfortunately I do want to do it the hard way. While the SME server
would make things really easy, the lesson I learnt in the past with
easy thing is that, once something break, I will really have no idea
what is going on.

It's kind of like folks who grew up knowing only GUI, they usually are
helpless if the mouse doesn't work.

> authentication issue.  With the default security setting of 'user', the
> windows users must authenticate before they can even see a share - and
> things get weird if the name they used to log into windows is not the
> same as the linux/samba login name.   You can still map drives if you
> explicitly specify \\server\share, 'connect as other user' and fill in
> the name and password, but browsing for shares often doesn't work.

I think we have a winner! This could be it as the names they use to
log into their Windows machine are not their own. Most of them are
inherited PC, they simply continued using the previous login since no
password were set, usually.

Where as the other location was a new setup with new PC setup.

> you aren't too concerned about security, you can change this to
> 'security = share' and then you can browse before authenticating, and
> also have the option to authenticate as different users when connecting
> to different shares on the same machine which you can't do in user or
> server modes.

I'll probably do this since this is what they are used to, and expect.


> I don't understand the log issue, though.  Are you sure smbd is running?
>    Nmbd would be enough to activate the netbios name - maybe you have a
> syntax error in smb.conf and smbd did not start.

Definitely running. I have tail -f on both their logs and ls the log
folder every time. The startup message gets logged everytime I did a
service restart on trying a different setting. Which was why I was
curious why there was no log message whatsoever.

The other machine would show new logs for connecting IP/machines (I
think as a result of me using the split log function) even if they got
rejected.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread JohnS

On Sun, 2009-03-01 at 02:44 +0800, Noob Centos Admin wrote:
> On Sun, Mar 1, 2009 at 2:21 AM, Les Mikesell  wrote:
> 
> > But, if you want to do it the hard way, you probably have an
> 
> Unfortunately I do want to do it the hard way. While the SME server
> would make things really easy, the lesson I learnt in the past with
> easy thing is that, once something break, I will really have no idea
> what is going on.
> 
> It's kind of like folks who grew up knowing only GUI, they usually are
> helpless if the mouse doesn't work.
> 
> > authentication issue.  With the default security setting of 'user', the
> > windows users must authenticate before they can even see a share - and
> > things get weird if the name they used to log into windows is not the
> > same as the linux/samba login name.   You can still map drives if you
> > explicitly specify \\server\share, 'connect as other user' and fill in
> > the name and password, but browsing for shares often doesn't work.
> 
> I think we have a winner! This could be it as the names they use to
> log into their Windows machine are not their own. Most of them are
> inherited PC, they simply continued using the previous login since no
> password were set, usually.
> 
> Where as the other location was a new setup with new PC setup.
> 
> > you aren't too concerned about security, you can change this to
> > 'security = share' and then you can browse before authenticating, and
> > also have the option to authenticate as different users when connecting
> > to different shares on the same machine which you can't do in user or
> > server modes.
> 
> I'll probably do this since this is what they are used to, and expect.

Share Mode is depreciated now. All that does is revert back to user mode.

> > I don't understand the log issue, though.  Are you sure smbd is running?
> >Nmbd would be enough to activate the netbios name - maybe you have a
> > syntax error in smb.conf and smbd did not start.
> 
> Definitely running. I have tail -f on both their logs and ls the log
> folder every time. The startup message gets logged everytime I did a
> service restart on trying a different setting. Which was why I was
> curious why there was no log message whatsoever.
> 
> The other machine would show new logs for connecting IP/machines (I
> think as a result of me using the split log function) even if they got
> rejected.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] gnet-2.0, gio-2.0

2009-02-28 Thread Ondrej Filip

Hello,
I'm porting one project to centos where we use gnet and gio libraries. Will
be these libraries part of centos in future? I'm not sure what relationship
is between these libraries and glib.

Regards
Ondrej Filip
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread Les Mikesell
Noob Centos Admin wrote:
> 
>> But, if you want to do it the hard way, you probably have an
> 
> Unfortunately I do want to do it the hard way. While the SME server
> would make things really easy, the lesson I learnt in the past with
> easy thing is that, once something break, I will really have no idea
> what is going on.

There's a tradeoff here.  When you cobble up a one-of-a-kind system 
yourself, not only is it much more likely to break than one set up by an 
expert, but no one else is going to be having the same problem so you 
won't be able to easily get help from a mail list or forum.  If SME 
server breaks, other people will likely have already posted the 
workaround or update to fix it.

> It's kind of like folks who grew up knowing only GUI, they usually are
> helpless if the mouse doesn't work.

Not exactly.  SME server mostly runs the same programs with the same 
config files as Centos, so you can look at the configs and understand 
them if you want.  The configs are actually created by perl scripts that 
merge canned snippets with your web form entries, so it is somewhat more 
difficult to modify them in ways that weren't planned but that's not 
really out of the question either.

>> authentication issue.  With the default security setting of 'user', the
>> windows users must authenticate before they can even see a share - and
>> things get weird if the name they used to log into windows is not the
>> same as the linux/samba login name.   You can still map drives if you
>> explicitly specify \\server\share, 'connect as other user' and fill in
>> the name and password, but browsing for shares often doesn't work.
> 
> I think we have a winner! This could be it as the names they use to
> log into their Windows machine are not their own. Most of them are
> inherited PC, they simply continued using the previous login since no
> password were set, usually.
> 
> Where as the other location was a new setup with new PC setup.

You can test this with the explicit mapping commands.

>> you aren't too concerned about security, you can change this to
>> 'security = share' and then you can browse before authenticating, and
>> also have the option to authenticate as different users when connecting
>> to different shares on the same machine which you can't do in user or
>> server modes.
> 
> I'll probably do this since this is what they are used to, and expect.

I see someone mentioned that this may not work anymore.  Making the 
windows and Linux logins match may be a better approach.  You can test 
that on one one box to see if it works.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-28 Thread Craig White
On Sun, 2009-03-01 at 02:44 +0800, Noob Centos Admin wrote:

> > you aren't too concerned about security, you can change this to
> > 'security = share' and then you can browse before authenticating, and
> > also have the option to authenticate as different users when connecting
> > to different shares on the same machine which you can't do in user or
> > server modes.
> 
> I'll probably do this since this is what they are used to, and expect.

security = share is for all purposes deprecated and probably a bad
option to start with now.

> > I don't understand the log issue, though.  Are you sure smbd is running?
> >Nmbd would be enough to activate the netbios name - maybe you have a
> > syntax error in smb.conf and smbd did not start.
> 
> Definitely running. I have tail -f on both their logs and ls the log
> folder every time. The startup message gets logged everytime I did a
> service restart on trying a different setting. Which was why I was
> curious why there was no log message whatsoever.
> 
> The other machine would show new logs for connecting IP/machines (I
> think as a result of me using the split log function) even if they got
> rejected.

you can set the log level in smb.conf between 0 and 10 (10 being
highest) and the amount of detail steadily increases. Consult the man
page for smb.conf for details. The configuration from smb.conf is
re-read approximately once a minute so you don't actually have to
restart the service for changes once they are saved to take effect.

Also, it's useful to note that in 'security = user' mode, that a user
must exist in both /etc/passwd and samba
s passdb (usually now /etc/samba/passdb.tdb) and you can figure this out
by executing something like 'testparm -s -v |grep passdb' 

If you want detailed help, it's generally helpful to include the output
of the 'testparm -s' command.

Last thing that I have found useful to test users and passwords in samba
are things like this from command line on Linux machine...

smbclient -L $NETBIOS_NAME -U% 
 # anonymous authentication should show shares (no password)

smbclient -L $NETBIOS_NAME -U administrator
 # should prompt administrator password and generally, there is a file
 # called /etc/samba/smbusers which maps 'root' to 'administrator'

Once a 'user' like administrator above can connect without error, then
you can test access to specific shares like this...

smbclient //$NETBIOS_NAME/staff -U administrator
 # should prompt for administrator password

smbclient //$NETBIOS_NAME/staff -U $SOME_USER
 # should prompt for $SOME_USER password and if user is allowed access,
you are given a command prompt.

Craig

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (a) WinPower RPM available? (b) where to install if use tar.gz file?

2009-02-28 Thread Lanny Marcus
On Fri, Feb 27, 2009 at 7:32 PM, Joseph L. Casale
 wrote:
>>Apcupsd apparently runs with some of the UPS not made by APC, but
>>looks like it will not work with mine. Here's what's in the Service
>>data for :
>>
>>apcupsd (pid 6568) is running...
>>Error contacting host localhost port 3551: Connection refused
>
> That doesn't mean it can't contact your ups, that means you have it setup
> wrong:)
>
> What interface does your ups use? Serial, ether, usb? What model #?

Serial port communications. It is made by Nicomar Electronics in
Bogota, Colombia. 750 VA Line Interactive UPS.  The software they say
to use (WinPower) is apparently widely used, by Belkin UPS and many
others.
The WinPower software download site is in Taiwan, so now I wonder
whether or not they just sell the software to the OEMs or if they
manufacturer the UPS and put a brand name on them and ship them from
Taiwan

apcupsd was very easy to install with yum and the documentation for it
is easy to download. nut is a different story and not so easy to know
what to download.  And, I didn't see a .pdf file I could download with
the nut documentation.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (a) WinPower RPM available? (b) where to install if use tar.gz file?

2009-02-28 Thread Lanny Marcus
On Fri, Feb 27, 2009 at 7:39 PM, Joseph L. Casale
 wrote:
>>I've got the package below installed now. Is that the right one?
>
> No
>
>>Running Transaction
>>  Installing: perl-UPS-Nut                 # [1/1]
>>Installed: perl-UPS-Nut.noarch 0:0.04-1.el5.rf
>>Complete!
>
> Slow down a bit son, anything with a "Perl-" in the front is, well, a perl
> module:)

After I clicked send, immediately after I clicked send, I realized
that it was a perl module. That's the only nut package I came up with,
when I searched with yum, so I didn't have the proper search terms.
>
> You should have done a yum info first.
>
> # yum info perl-UPS-Nut.noarch

> Summary: Perl module to talk to a UPS via Network UPS Tools (NUT) upsd
> Description:
> perl-UPS-Nut is a Perl module to talk to a UPS via NUT (Network UPS Tools) 
> upsd.
>
> This package contains the following Perl module:
>
>    UPS::Nut
>
> Looks like rpmfind doesn't show any for RHEL :/ You might have to roll your 
> own.
> Let's try and get Apcupsd working first, your config was wrong to start so 
> its worth
> trying again.

Thank you!   I feel better about not finding the packages for nut,
when I searched with yum! :-) I hope apcupsd will work with
this UPS, if I can configure it properly.

I will try apcupsd again. What should I change in the config for apcupsd?

Just a little bit of knowledge, which is what I have about Linux, can
be *extremely*  dangerous I had come up with the idea that I might
need to "roll" my own package(s) for nut, but I will really need to
RFM before even thinking about trying to do that, because I'm not sure
what that involves I have 2 books:  "Running Linux" and "Red Hat
Fedora and Enterprise Linux 4 Bible" which probably will explain that,
along with the CentOS Wiki. The development tools are installed on
this box, if I need them to do that.

Joe: Thank you very  much. And you called me "son". Who is older?   :-)  Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (a) WinPower RPM available? (b) where to install if use tar.gz file?

2009-02-28 Thread Lanny Marcus
On Sat, Feb 28, 2009 at 1:40 AM, Filipe Brandenburger
 wrote:
> On Fri, Feb 27, 2009 at 19:39, Joseph L. Casale
>  wrote:
>> Looks like rpmfind doesn't show any for RHEL :/ You might have to roll your 
>> own.
>> Let's try and get Apcupsd working first, your config was wrong to start so 
>> its worth
>> trying again.
>
> NUT RPMs seems to be available from EPEL. NUT 2.2.0 is available for
> CentOS 5. Here are the i386 RPMs:
> http://download.fedora.redhat.com/pub/epel/5/i386/repoview/nut.html

Filipe: Thank you! I will add the EPEL Repository and get the nut rpms
there. That should be a lot easier than "rolling my own" (and much
faster, since I've never done that), which Joe said I might need to
do. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] trying to install 5.2 on a laptop

2009-02-28 Thread Michael Klinosky
Hello.
I burned a CD with the 5.2 netinstall iso, and installed it onto a 
laptop (Acer Aspire 3680). Note that I'm *totally* new to laptops.

The install went fine. But, when I boot it, it errors at the user login. 
A screen comes up, stating that X11 cannot start, and that it's probably 
the mouse.

A bit of investigating revealed that there is no Synaptics module 
installed. It will boot into runlevel=3.

I tried the 'upgrade' option of the netinstall disk; it saw that 5.2 is 
installed, and quit.  |:(

The X wiki suggested that I try adding this to /etc/X11/xorg.conf:
Section "ServerFlags"
 Option "AllowMouseOpenFail" "1"
EndSection

Using "cat xorg.conf", I seeSection "InputDevice"   , which refers 
to the Synaptics module.

Being new-ish to linux, I can't figure out the text-based editor (vi) to 
modify the file. I have "System Rescue CD" and "Ultimate Boot CD", but 
(apparently) they don't mount the installed system.

I have some Fedora install disks (if they'd be of any help) - but not a 
rescue CD. It seems like CentOS doesn't have a rescue CD - would 
Fedora's help?

I need to modify xorg.conf, or figure out how to install the Synaptics 
module. How can I do that?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Fail2Ban

2009-02-28 Thread Devraj Mukherjee
Hi all,

I am trying to get fail2ban going on my server and its log message
reports the following error

2009-02-16 17:42:05,339 ERROR: 'iptables -L INPUT | grep -q
fail2ban-SSH' returned 256
2009-02-16 17:42:05,354 ERROR: 'iptables -D INPUT -p tcp --dport ssh
-j fail2ban-SSH

Is this because of the way the RedHat tool sets up the firewall?

Thanks for any responses.

-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fail2Ban

2009-02-28 Thread Agile Aspect
Devraj Mukherjee wrote:
> Hi all,
>
> I am trying to get fail2ban going on my server and its log message
> reports the following error
>
> 2009-02-16 17:42:05,339 ERROR: 'iptables -L INPUT | grep -q
> fail2ban-SSH' returned 256
> 2009-02-16 17:42:05,354 ERROR: 'iptables -D INPUT -p tcp --dport ssh
> -j fail2ban-SSH
>
> Is this because of the way the RedHat tool sets up the firewall?
>
> Thanks for any responses.
>
>   
First, have you installed iptables, shorewall, and tcp-wrappers
installed?

Second, have you tried the failed grep expression, i.e., have
you tried

  iptables -L INPUT | grep -q fail2ban-SSH

As to why this would fail, you need to ask on the fail2ban
mailing list since evidently this appears to be part of the
installation.

The iptables can be setup by anyone - RedHat simply provides
a default set of rules.

-- 
Article. VI. Clause 3 of the constitution of the United States states: 

"The Senators and Representatives before mentioned, and the Members of 
the several State Legislatures, and all executive and judicial Officers, 
both of the United States and of the several States, shall be bound by 
Oath or Affirmation, to support this Constitution; but no religious Test 
shall ever be required as a Qualification to any Office or public Trust 
under the United States." 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos