Re: [CentOS] School Server Setup

2008-06-10 Thread Bent Terp
On Tue, Jun 10, 2008 at 7:20 AM, lingu <[EMAIL PROTECTED]> wrote:
> install.I recommend u either fedora6 or fedora 8.

6 ?!?! Why in the name of the holy penguin would anybody want to
install FC6 today?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] netboot, vnc and no keyboard/mouse/monitor

2008-06-10 Thread Fabian Arrotin

dnk wrote:

hey guys,

I just created a custom netboot cd, that launches and loads from a 
http source, but connects to a vnc listening viewer. All in all, not 
hard to do, but what is different with this one is that it skips the 
media check, has no prompts and allows you to start the install on a 
machine that has no keyboard/mouse/monitor. Was handy for me as when i 
have some boxes to load, I just plug in power and ethernet in the 
corner (or where ever I have room) and go through the install.


I know it also works with a cd as a source (if you use it from cd 1), 
and assume it would also work with a DVD (have not tested yet).


If you would like it, I can add to the wiki if anyone would like it.
You can do the same from a usb key/stick ... I even prefer that method 
so that i don't have to run mkisofs to recreate the netboot.iso image 
and burn it ...
I've also created a menu (thanks to syslinux.cfg) on the usb key to boot 
different install (centos 4 and 5 in i386 and x86_64 flavors) with 
several parameters included ... easier and faster to maintain than a 
netboot.iso file (my opinion) ...

But the best is always PXE booting anyway ... :D
There is already a pxe menu howto on the wiki, but i don't mind seeing a 
3 lines explanation about modifying the netboot.iso image ... that's 
just the isolinux.cfg to modify , mkisofs to create the iso and burn .. ;-)


--
- 
Fabian Arrotin <[EMAIL PROTECTED]>

"Internet network currently down, TCP/IP packets delivered now by UPS/Fedex ..."





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


[CentOS] mac address in prompt

2008-06-10 Thread Gergely Buday
Hi there,

for some reasons bash writes out my host's mac address as a result of
including \h in PS1. Do you know why? This was not always so.

[EMAIL PROTECTED] ~]$ echo $PS1
[EMAIL PROTECTED] \W]\$

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


Re: [CentOS] Hardware Specs

2008-06-10 Thread Bent Terp
> My boss wants me to do some research in finding which hardware is most used
> under Linux(ex. Dell servers, Barebones Kits, HP & Compaq servers, etc.)

I'm quite partial to Dell cuz they've always worked quite well as far
as raid drivers and so are concerned. Also, their service guys seem
quite competent - at least where we live.

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


Re: [CentOS] Hardware Specs

2008-06-10 Thread Tim Verhoeven
On Tue, Jun 10, 2008 at 8:49 AM, nate <[EMAIL PROTECTED]> wrote:
>
> I suppose the easiest route if your into Dell/HP is just go to them and
> ask for Linux solutions. Dell I think claims to be the #1 hardware
> vendor for linux. They offer servers with either no OS or linux pre
> installed. HP offers both servers and workstations with no OS or
> linux pre installed. (not sure about desktops/laptops/etc).

And of course the same goes for IBM. They have been supported Linux
for years and every server shipped by IBM has Linux support (well,
support for RHEL and SLES that is). I've never had any real issues
with their Linux support (all issues encountered they fixed :) ). They
go even as far that for servers Linux is on the same level as Windows,
meaning that Linux is supported at the release of new hardware (not a
couple of months later).

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] vsftp 553 Could not create file

2008-06-10 Thread lingu
HI,

  I am facing problem in connecting ftp from the windows client.


CENTOS5U1 Running vsftp daemon. From linux client i am able to upload and
download. When i do an ftp upload of any files or folders from  windows
command line i am getting below error .

*vsftp 553 Could not create file*

*NOTE: SELINUX IS DISABLED AND THERE IS NO FIREWALL RUNNING*

See my user permission and ownership details

User i am using is paps

ll -ld /home/paps/
drwxr-xr-x 2 paps dba 4096 Jun 10 23:09 /home/paps/

My vsftp configuration

cat /etc/vsftpd/vsftpd.conf  |grep -v \#
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
listen=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES


Regards

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


[CentOS] Re: TFP inside firewall

2008-06-10 Thread lingu
Hi ,

 Thanx for your reply  but my query is different already ip_conntrack_tftp
is loaded in my centos . TFTP is working fine now ,but i want to toghten
more security on iptables.Right now all of my udp port is opened, i dont
want to do that .see my previous mail below


I have a setup where the tftp server is inside the firewall.

Now the issue is tftp client send request on dynamic udp port. Can anyone
give some idea, how i can bind the fixed port for client udp requests ?
Otherwise i hope, it is not a solution that i will open all port related to
UDP in the firewall.
#

Regards,
lingu

On Mon, Jun 9, 2008 at 5:28 PM, lingu <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have a setup where the tftp server is inside the firewall.
>
> Now the issue is tftp client send request on dynamic udp port. Can anyone
> give some idea, how i can bind the fixed port for client udp requests ?
> Otherwise i hope, it is not a solution that i will open all port related to
> UDP in the firewall.
>
> Regards,
> lingu
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] School Server Setup

2008-06-10 Thread Sergey Podushkin

lingu wrote:
Desktop: Fedora is a good move but check out the stable version and 
install.I recommend u either fedora6 or fedora 8.Keep in mind if you 


I think it worth to use CentOS on desktops too or, may be it would be 
even better, Scientific Linux - it's like CentOS is a rebuild of RHEL.

You got binary compatible packages for all purposes.

I make school-alike server with many features you are requested, but now 
it lacks of internationalization, all interface on russian.
It now has DHCP+DNS with dynamic updates, central LDAP authentication 
for Samba, Apache, Squid, Sendmail and Dovecot, virus filtering with 
ClamAV on Squid and Sendmail (through c-icap and milter), spam 
protection with black and greylisting, internet usage accounting and 
managing and more.


You can see source on our site:
http://www.abbris.ru/officemaster

May be it's not so pretty code yet, but it written by administrator for 
 non-it-aware people and those who use it like it.


You can see some screenshots on our site (http://www.abbris.ru), but, 
sorry all in russian.


You can help us to make it better and localize it to other languages if 
you want.


All code is GPL licensed and will be available on sf.net soon.

With best regards, Sergey.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] new hardware & centos / fedora

2008-06-10 Thread rmoktali
hi,

Hardware: core2duo(E8400)/Intel Classic Board DG33FBC / 2x2GB

I have been trying to install 5.1x64 for it's longterm support and xen but it 
just does not install till acpi=off is passed. works with one core after that 
and does not power off. 

Install stops at ACPI: PCI Root Bridge [PCI0] (:00)

below is the reply from intel.
==
Thank you for contacting Intel(R) Technical Support.  

Regarding your technical question, we regret to inform you that Linux* is not a 
supported Operating system for the Intel(R) Desktop Board DG33FB. Please review 
the following list for supported Operating systems for your Desktop Board.
http://intel.com/support/motherboards/desktop/sb/CS-008326.htm 

Intel(R) Technical Support cannot provide assistance or drivers on operating 
systems that are not supported by the specific motherboard. 

Also, be aware that Intel(R) Desktop Boards do not support manually changing 
the IRQs, as the OS usually handles this. You can try disabling the onboard 
audio to check if you get rid of the POST error message. 
==

the dmesg from Centos5.1 install after acpi=off is here
http://www.pastebin.ca/1043584

Fedora 9 does not seem to have problem and installs fine. the dmesg is here
http://www.pastebin.ca/1043590 

Maybe  we need to wait for another year or two for upstream and centos to 
catchup. :)

-- 
rm

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


Re: [CentOS] School Server Setup

2008-06-10 Thread gopinath
Please check the attachment
- Original Message - 
From: "Les Mikesell" <[EMAIL PROTECTED]>
To: "CentOS mailing list" 
Sent: Tuesday, June 10, 2008 10:56 AM
Subject: Re: [CentOS] School Server Setup


> Harry Sukumar wrote:
> >
> > I was wondering if you can help me little bit
> >
> > I am trying to help (voluntary service) a country side school
> > (Aboriginal community) in Northern Queensland Australia setup lab
> > infrastructure, it's a very remote school and they don't have enough
> > funds to go commercial
> >
> > The school has only till grade 6
> >
> > They have 25 machines that was bought out of the government grant but
> > none of the machines come with windows
> >
> > I was asked by the school president to setup lab infrastructure
> > currently they have Internet (Dynamic) with only two machines connected
> >
> > I have asked them to change the plan to Static IP address which I
> > presume will be done some time this week
> >
> > I have decided to go Linux on all the machines including the server
> >
> > Could some one please cast some light on how I can carry on with this
> > project, I am not sure where to start and I am fairly new to Linux and
> > system administration world
> >
> > Currently what's in my mind is to setup fedora on all desktop and
> > CentOS5 as my server with following services configured
>
> If you have one machine that could reasonably act as a server, you could
> load k12ltsp (a CentOS based distribution that adds the ability to
> network-boot thin clients and some educational programs) on it and be
> done.  In any case you might find the information here useful:
> http://k12ltsp.org/mediawiki/index.php/Main_Page along with their mail
list.
>
> -- 
>Les Mikesell
> [EMAIL PROTECTED]
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Diskless Installations.doc
Description: MS-Word document
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftp 553 Could not create file

2008-06-10 Thread Ian Blackwell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi lingu,
| *vsftp 553 Could not create file***
I think this means you have a file with the same name already there, and 
you don't have permission to replace it.  I connected from Windows to my 
CentOS 5.1 server using the same vsftpd.conf settings, and here's the 
transcript:-


C:\Users\Ian>ftp 192.168.3.2
Connected to 192.168.3.2.
220 (vsFTPd 2.0.5)
User (192.168.3.2:(none)): ian
331 Please specify the password.
Password:
230 Login successful.
ftp> send winscp.RND
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 600 bytes sent in 0.00Seconds 300.00Kbytes/sec.
ftp> send winscp.RND
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 600 bytes sent in 0.00Seconds 200.00Kbytes/sec.
ftp> send winscp.RND
200 PORT command successful. Consider using PASV.
553 Could not create file.
ftp>

All worked well until the last send, when I had changed the file 
permissions for winscp.RND from rw-r--r-- to r--r--r--.  This was all 
with iptables and SELinux running at the time.


Hope that helps :)

Ian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFITkNKLwWMnKQTL2sRAlk9AJ4iCpB2nDNmpUSLW0nbWOHlEdI60QCePtRw
h8nhAQyXZbiNtI+pq3FETiA=
=m+rf
-END PGP SIGNATURE-

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


Re: [CentOS] vsftp 553 Could not create file

2008-06-10 Thread lingu
HI ian,

 No its been the new file and directory i am trying to upload.And also i
checked with send and put command from linux client it is overwriting
properly if the file is already existing on the ftp users directory.I DONT
KNOW WHAT IS THE PROBLEM WITH WINDOWS.For your information there is no
firewall or selinux runnig on that ftp server.


Regards
lingu


On Tue, Jun 10, 2008 at 2:33 PM, Ian Blackwell <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi lingu,
> | *vsftp 553 Could not create file***
> I think this means you have a file with the same name already there, and
> you don't have permission to replace it.  I connected from Windows to my
> CentOS 5.1 server using the same vsftpd.conf settings, and here's the
> transcript:-
>
> C:\Users\Ian>ftp 192.168.3.2
> Connected to 192.168.3.2.
> 220 (vsFTPd 2.0.5)
> User (192.168.3.2:(none)): ian
> 331 Please specify the password.
> Password:
> 230 Login successful.
> ftp> send winscp.RND
> 200 PORT command successful. Consider using PASV.
> 150 Ok to send data.
> 226 File receive OK.
> ftp: 600 bytes sent in 0.00Seconds 300.00Kbytes/sec.
> ftp> send winscp.RND
> 200 PORT command successful. Consider using PASV.
> 150 Ok to send data.
> 226 File receive OK.
> ftp: 600 bytes sent in 0.00Seconds 200.00Kbytes/sec.
> ftp> send winscp.RND
> 200 PORT command successful. Consider using PASV.
> 553 Could not create file.
> ftp>
>
> All worked well until the last send, when I had changed the file
> permissions for winscp.RND from rw-r--r-- to r--r--r--.  This was all with
> iptables and SELinux running at the time.
>
> Hope that helps :)
>
> Ian
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFITkNKLwWMnKQTL2sRAlk9AJ4iCpB2nDNmpUSLW0nbWOHlEdI60QCePtRw
> h8nhAQyXZbiNtI+pq3FETiA=
> =m+rf
> -END PGP SIGNATURE-
>
> ___
> 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] sendmail not sending after reboot

2008-06-10 Thread Kai Schaetzl
Ray Leventhal wrote on Mon, 09 Jun 2008 17:02:43 -0400:

> I made that change 
> you suggested in the webmin interface (sendmail.m4) and rebuilt it from 
> there.

You can m4 rebuild the sendmail.cf from the sendmail section in webmin? I 
wouldn't be to sure about that. I haven't ever noticed that might be 
possible (I use webmin only to manage the various sendmail databases, not 
the configuration). Do you have sendmail-devel installed?
Removing the localhost from daemon options won't change anything. It was 
working before, just with a timeout (which means the settings from this 
file were not in use!), so sendmail *is* listening on all interfaces 
already. Now, by recompiling the sendmail.cf from m4/mc files (if that  
really was done) that you may have never used before you might have 
introduced more problems.
If your sendmail.cf did not change a tiny bit from before the working 
state then the problem is *not* in sendmail.cf, but somewhere else. And 
Stephen's hints to DNS and the connection to rebooting make sense to me. 
Anyway, it cannot be sendmail.cf unless you changed it and didn't restart 
it after the change. (If you made all changes with webmin then it got 
restarted each time.)

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] vsftp 553 Could not create file

2008-06-10 Thread Tru Huynh
On Tue, Jun 10, 2008 at 02:54:53PM +0530, lingu wrote:
> HI ian,
> 
>  No its been the new file and directory i am trying to upload.And also i
> checked with send and put command from linux client it is overwriting
> properly if the file is already existing on the ftp users directory.I DONT
> KNOW WHAT IS THE PROBLEM WITH WINDOWS.For your information there is no
> firewall or selinux runnig on that ftp server.

what about
- showing the full transcript of your commands as Ian did?
- the logs from /var/log/vsftpd.log, /var/log/messages, /var/log/secure ?

And respect the mailing list guidelines
- TRIM your replies
- BOTTOM post

Thanks.

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


pgpXlLG2ifRm0.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mac address in prompt

2008-06-10 Thread Ralph Angenendt
Gergely Buday wrote:
> Hi there,
> 
> for some reasons bash writes out my host's mac address as a result of
> including \h in PS1. Do you know why? This was not always so.
> 
> [EMAIL PROTECTED] ~]$ echo $PS1
> [EMAIL PROTECTED] \W]\$

What does "hostname -f" come back with?

Ralph


pgpevllnoz91n.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vsftp 553 Could not create file

2008-06-10 Thread Ian Blackwell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I mentioned firewall and SELinux to positively exclude them.  For me, 
with both running, I was getting the same error when I was trying to 
overwrite an existing file with read-only permissions.  When the file 
was read-write I was able to repeatedly overwrite it.


Is there anything in your /var/log/vsftpd.log or /var/log/messages log 
files?


Ian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFITkomLwWMnKQTL2sRAuvRAJ9a1O2OR+8D8b0dYhi1fJo2q+JdiQCfU+bU
hF9oaR/fUwukpc4tHZ1Lw8g=
=gybN
-END PGP SIGNATURE-

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


Re: [CentOS] Clustersuite package installation failed in Itanium server

2008-06-10 Thread Michael Simpson
On 6/10/08, Balaji <[EMAIL PROTECTED]> wrote:
> First I have installed emulator package in itanium server and then only i am
> installing the clustersuite packages
> in itanium server
> But i am getting the following error
> error: %post(package name here) scriptlet failed, exit status 255 and
error:
> %pre(package name here) scriptlet failed, exit status 255 problem

How can i
> rectify this problem.
can u send me the ia64.rpm download path
> Please do the needful.


As a junior doctor working in hospitals i used to get referrals from
family practitioners (GPs) which stated "patient unwell, please do the
needful"

sigh

a quick bit of googling


gives this




this is not a supported repo, will stop you from seeking support from
CentOS, may break your computer, render your harddrive useless, eat
your children &c

if you wish to use it please use the precautions stated here



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


Re: [CentOS] Hardware Specs

2008-06-10 Thread Michael Simpson
On 6/10/08, Tim Verhoeven <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 10, 2008 at 8:49 AM, nate <[EMAIL PROTECTED]> wrote:
> >
> > I suppose the easiest route if your into Dell/HP is just go to them and
> > ask for Linux solutions. Dell I think claims to be the #1 hardware
> > vendor for linux. They offer servers with either no OS or linux pre
> > installed. HP offers both servers and workstations with no OS or
> > linux pre installed. (not sure about desktops/laptops/etc).
>
> And of course the same goes for IBM. They have been supported Linux
> for years and every server shipped by IBM has Linux support (well,
> support for RHEL and SLES that is). I've never had any real issues
> with their Linux support (all issues encountered they fixed :) ). They
> go even as far that for servers Linux is on the same level as Windows,
> meaning that Linux is supported at the release of new hardware (not a
> couple of months later).
>

Dell has also some nice yum repos set up for both openmanage and also
firmware updates



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


Re: [CentOS] sendmail not sending after reboot

2008-06-10 Thread Les Mikesell

Kai Schaetzl wrote:


I made that change 
you suggested in the webmin interface (sendmail.m4) and rebuilt it from 
there.


You can m4 rebuild the sendmail.cf from the sendmail section in webmin? I 
wouldn't be to sure about that. I haven't ever noticed that might be 
possible (I use webmin only to manage the various sendmail databases, not 
the configuration). Do you have sendmail-devel installed?


A 'make' is run when the sendmail init script starts that will rebuild 
sendmail.cf from sendmail.mc if it is newer, and all the databases if 
their corresponding text file is newer.


Removing the localhost from daemon options won't change anything. It was 
working before, just with a timeout (which means the settings from this 
file were not in use!), so sendmail *is* listening on all interfaces 
already.


A reboot would trigger the rebuild from sendmail.mc.  Perhaps it was 
changed after sendmail was working before.  Backups of the files in /etc 
are always a good thing...


Now, by recompiling the sendmail.cf from m4/mc files (if that  
really was done) that you may have never used before you might have 
introduced more problems.
If your sendmail.cf did not change a tiny bit from before the working 
state then the problem is *not* in sendmail.cf, but somewhere else. And 
Stephen's hints to DNS and the connection to rebooting make sense to me. 
Anyway, it cannot be sendmail.cf unless you changed it and didn't restart 
it after the change. (If you made all changes with webmin then it got 
restarted each time.)


You should be able to tell by the timestamps, but you can easily tell if 
sendmail is listening by trying to telnet to port 25 from another 
machine.  If it accepts connections, you should be able to diagnose 
other problems from the /var/log/maillog entries.  If it doesn't, check 
the daemon options and any firewalling you might have.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] new hardware & centos / fedora

2008-06-10 Thread Peter Kjellstrom
On Tuesday 10 June 2008, [EMAIL PROTECTED] wrote:
> hi,
>
> Hardware: core2duo(E8400)/Intel Classic Board DG33FBC / 2x2GB
>
> I have been trying to install 5.1x64 for it's longterm support and xen but
> it just does not install till acpi=off is passed. works with one core after
> that and does not power off.

I have a similar board, try passing "pci=nommconf" instead of "acpi=off". That 
enables me to run smp ok.

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Copying files from specific date.

2008-06-10 Thread Peter Farrell
That's an excellent idea.
-pf


2008/6/9 Bowie Bailey <[EMAIL PROTECTED]>:
> Rajeev R. Veedu wrote:
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Steve Huff
>> Sent: Monday, June 09, 2008 7:34 PM
>> To: centos@centos.org
>> Subject: Re: [CentOS] Copying files from specific date.
>>
>>
>> On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote:
>> > Does anyone aware of any utility  to copy files which are created
>> > or modify form a specific date ?.
>> >
>>
>> > > to copy all files in /dir1 modified within the last 5 days to
>> > > /dir2:
>>
>> > > $ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2
>>
>> > > if the filenames have whitespace in them, you can use this trick:
>>
>> > > $ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2
>>
>> > > for more details on selecting by time:
>>
>> > > $ man find
>>
>> > > pay particular attention to the options -atime, -amin, -ctime,
>> > > -cmin, -mtime, -mmin, and -daystart.
>>
>> > > -steve
>>
>> Actually I need to copy this on to another server with same folder
>> structure. I think I need to explain bit of history.
>>
>> I had a server crash last week, and we have restored the files from
>> the tape. However during this period of making the server up, the
>> users having adding or changed files from our backup Server (Samba
>> server which rsync to production server every night.) now I need to
>> copy the files which user added/ modify last 7 days. Ideally if I can
>> get this option in rsync it would be better. Otherwise I need to have
>> a method so that all changed files to go on the relevant folder on
>> the production server. I cannot take the full files in the backup
>> files since they are historical backup and there are some unwanted
>> files.
>>
>> Can I use scp instead of cp in your statement?. But how does it take
>> the same directory name as the original location?
>>
>> Eg:from ServerA/FLDR2/FLDR3/Filename should go to
>> ServerB/FLDR2/FLDR3/FILENAME
>>
>> Only change is the server name all other values will remain same.
>>
>> Any help would be really appreciated.
>
> One approach would be to use the find command given above to generate a
> list of files that have changed.  Then pass that list to rsync via the
> '--files-from' option to transfer them to the other server.
>
> --
> Bowie
> ___
> 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] Confirming grub installation

2008-06-10 Thread Peter Farrell
When installing CentOS - sometimes the RAID-1 /boot partition, usually
/dev/md0 fails to boot.

The bug is known and exists on the bugtracker for CentOS as well as RedHat.

The fix is to re-install GRUB on on each partition of the RAID-1 array.

I think you could use the same method to answer your question.

1. boot server w/ any 'Disk-1' of an installation set
at boot prompt type 'linux rescue'
Continue boot.

2. First double check your disks with the mdadm utility
# mdadm -QD /dev/md0
Make a note of every disk (you can ignore the spare)
example: /dev/{sda1, sdb1, sdc1, sdd1, sde1}

3. drop into the GRUB prompt
# grub
grub> device (hd0) /dev/sda
grub> root (hd0,0)
grub> setup (hd0)



grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)

Rinse - Repeat, etc.

4. exit from GRUB and reboot.


If you then want to test it, disconnect one of your drives - or just
drop into grub  at boot
and tell it to boot from the partition of another drive.

-Peter




2008/6/9 Bowie Bailey <[EMAIL PROTECTED]>:
> I have two drives in a software mirror.  Other than setting the bios to
> boot from the second drive, is there any way to confirm that grub is
> installed properly on the second drive?
>
> --
> Bowie
> ___
> 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] School Server Setup

2008-06-10 Thread Les Mikesell

gopinath wrote:

Please check the attachment



Yes, you can enable diskless booting on a stock Centos if you work at 
it, but if you install the k12ltsp distro it will come up working out of 
the box and with 2 NICs it will be configured to run one interface 
connected to your normal internet-facing LAN and boot clients connected 
to the other using a private address range - and it will NAT for other 
machines on the private side.  It also comes with squidguard and the 
other things you are likely to need for a classroom/lab setup - and a 
mail list with a lot of people with experience in that environment. 
Just be sure to get the 5EL version which is Centos based - the others 
are currently outdated.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mac address in prompt

2008-06-10 Thread Gergely Buday
>> for some reasons bash writes out my host's mac address as a result of
>> including \h in PS1. Do you know why? This was not always so.
>>
>> [EMAIL PROTECTED] ~]$ echo $PS1
>> [EMAIL PROTECTED] \W]\$
>
> What does "hostname -f" come back with?

[EMAIL PROTECTED] ~]$ hostname -f
hostname: Unknown host

After this I set hostname with the similarly-named command and now it
works, thanks for the tip.

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


Re: [CentOS] Hardware Specs

2008-06-10 Thread Johnny Hughes

Victor Padro wrote:

Hello all!

I was wondering if you can help me a little bit...
My boss wants me to do some research in finding which hardware is most used
under Linux(ex. Dell servers, Barebones Kits, HP & Compaq servers, etc.)
This is just for budgeting issues...he wants to get rid of some old and
obsolete hardware we run and wants to know which hardware could be easy to
deploy on the server side and workstations side(common user boxes will be
decided for HP or Dell leasing quotes - Obviously M$ Windows Vista).




If you want to be sure, use this list:

https://hardware.redhat.com/

That will tell you things that are certified for RHEL.

Should have no problems with anything on there.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] School Server Setup

2008-06-10 Thread Johnny Hughes

Bent Terp wrote:

On Tue, Jun 10, 2008 at 7:20 AM, lingu <[EMAIL PROTECTED]> wrote:

install.I recommend u either fedora6 or fedora 8.


6 ?!?! Why in the name of the holy penguin would anybody want to
install FC6 today?


FC6 no longer gets security updates, and CentOS-5 was based on FC6 
anyway ... so if you are thinking of using FC6 on the desktop, just use 
CentOS-5.





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mac address in prompt

2008-06-10 Thread Ralph Angenendt
Gergely Buday wrote:
> [EMAIL PROTECTED] ~]$ hostname -f
> hostname: Unknown host
> 
> After this I set hostname with the similarly-named command and now it
> works, thanks for the tip.

You might want to add the correct hostname in /etc/sysconfig/network, so
that the change will survive reboots ...

Cheers,

Ralph


pgpGOxJaV1Dfj.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Confirming grub installati on

2008-06-10 Thread Bowie Bailey
Peter Farrell wrote:
> 
> 2008/6/9 Bowie Bailey <[EMAIL PROTECTED]>:
> > I have two drives in a software mirror.  Other than setting the
> > bios to boot from the second drive, is there any way to confirm
> > that grub is installed properly on the second drive?
> 
> When installing CentOS - sometimes the RAID-1 /boot partition, usually
> /dev/md0 fails to boot.
> 
> The bug is known and exists on the bugtracker for CentOS as well as
> RedHat. 
> 
> The fix is to re-install GRUB on on each partition of the RAID-1
> array. 
> 
> I think you could use the same method to answer your question.

  

> If you then want to test it, disconnect one of your drives - or just
> drop into grub  at boot
> and tell it to boot from the partition of another drive.

I already know how to install grub on the second drive.  The issue is
that this is a production server and I'm trying to avoid rebooting it if
possible.

I'm looking for a way to determine whether grub is installed on a drive
WITHOUT having to actually attempt to boot from it.  If I redo the
installation, then I can be sure it's installed, but if it's already
there, I'd rather leave it alone.  There's no point in messing with it
if it's already installed.

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


Re: [CentOS] sendmail not sending after reboot

2008-06-10 Thread Kai Schaetzl
Les Mikesell wrote on Tue, 10 Jun 2008 07:49:09 -0500:

> A 'make' is run when the sendmail init script starts that will rebuild 
> sendmail.cf from sendmail.mc if it is newer, and all the databases if 
> their corresponding text file is newer.

I was aware about the latter, not the former. You are right, it even replaces 
the sendmail.mc if I rename it. Good to know if it ever gets replaced by an 
update (I use my own mc file).

> A reboot would trigger the rebuild from sendmail.mc. Perhaps it was 
> > changed after sendmail was working before.  

The point is that his sendmail.cf from his backup (=before the reboot) and 
after the reboot are the same. So, this scenario doesn't apply.

> Backups of the files in /etc 
> > > are always a good thing...

The rebuild creates a backup at sendmail.cf.bak, btw.

> You should be able to tell by the timestamps, but you can easily tell if 
> sendmail is listening by trying to telnet to port 25 from another 
> machine.

He already knows that sendmail accepts connections. Maillog is of no help 
(maybe with a higher log level, I know that you can get even more info with 
14). He has to identify the cause of the timeout and the first step is to 
identify the phase where it happens.



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: RE: [CentOS] Confirming grub installati on

2008-06-10 Thread Kai Schaetzl
Bowie Bailey wrote on Tue, 10 Jun 2008 10:19:34 -0400:

> I'm looking for a way to determine whether grub is installed on a drive
> WITHOUT having to actually attempt to boot from it.  If I redo the
> installation, then I can be sure it's installed, but if it's already
> there, I'd rather leave it alone.  There's no point in messing with it
> if it's already installed.

You could dd the MBR to a file and then examine both. You could diff them, 
I think they should be identical, should they?

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


[CentOS] Help!

2008-06-10 Thread Sam Drinkard
   Folks, I have a bit of a problem and can't seem to figure out what 
is getting broken or why.  I've been pulling my hair out trying to get 
clamav or clamav-milter to install and permit yum update to continue.  
What is happening is this:  I yum install the clamav package, but when I 
try to do an update on the system, it constantly returns with an error 
of a Missing Dependency for clamd and clamav-db.  I've installed and 
erased clamav several times, and that's the only way I can do a yum 
update on the system.  The files are coming from sourceforge, and the 
version is 0.93-2.el4rf.  Perhaps I'm not installing in the correct 
sequence or something, so could someone please tell me how to go about 
getting all the dependencies for the clamav package?  This is the x86_64 
version I've been working with.


Many thanks

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


Re: [CentOS] Clustersuite package installation failed in Itanium server

2008-06-10 Thread Karanbir Singh

Balaji wrote:

First I have installed emulator package in itanium server and then only
i am installing the clustersuite packages
in itanium server
But i am getting the following error

error: %post(package name here) scriptlet failed, exit status 255 and
error: %pre(package name here) scriptlet failed, exit status 255 problem

How can i rectify this problem.
can u send me the ia64.rpm download path

Please do the needful.



CentOS does not ship the 32bit emultion layer with the ia64 distro's.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help!

2008-06-10 Thread Craig White
On Tue, 2008-06-10 at 10:33 -0400, Sam Drinkard wrote:
> Folks, I have a bit of a problem and can't seem to figure out what 
> is getting broken or why.  I've been pulling my hair out trying to get 
> clamav or clamav-milter to install and permit yum update to continue.  
> What is happening is this:  I yum install the clamav package, but when I 
> try to do an update on the system, it constantly returns with an error 
> of a Missing Dependency for clamd and clamav-db.  I've installed and 
> erased clamav several times, and that's the only way I can do a yum 
> update on the system.  The files are coming from sourceforge, and the 
> version is 0.93-2.el4rf.  Perhaps I'm not installing in the correct 
> sequence or something, so could someone please tell me how to go about 
> getting all the dependencies for the clamav package?  This is the x86_64 
> version I've been working with.

first off...  .el4rf sounds more like files coming from dag than
sourceforge.

do you have dag repository installed? if not, you should since it
maintains current clam* packages for CentOS-4

secondly, you probably should show us the exact error rather than
paraphrase and have us guess at what the error is. But I suspect that if
you solve the first, you solve it all.

Craig

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


Re: [CentOS] Help!

2008-06-10 Thread Kai Schaetzl
Sam Drinkard wrote on Tue, 10 Jun 2008 10:33:39 -0400:

Please, use subjects that make sense! And as a general hint, it's really 
not good style to lament about "missing dependencies" with telling more.

> The files are coming from sourceforge

Please elaborate. There are several repo's that have clamav. I recommend 
using rpmforge. Or do you mean *rpm*forge when you write sourceforge? 
Problems with the latest clamav rpms have been reported several times on 
this list, read back! I personally haven't had any problems.


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


[CentOS] mod_security

2008-06-10 Thread Tony Schreiner

I've set up a CentOS 5 system as a server for http installs.

Currently up-to-date with
httpd-2.2.3-11.el5_1.centos.3
mod_security-2.1.7-1.el5

my installs were failing just after the root password set up, before  
software selection.


I tracked it down to a server error 500 and it was due to  
mod_security claiming the comps.xml file was too big


The error:
[Tue Jun 10 09:59:01 2008] [error] [client XXX.XXX.XXX.XXX]  
ModSecurity: Output filter: Content-Length (934390) over the limit  
(524288). [hostname "XXX.XXX"] [uri "/install/centos/5/x86_64/ 
repodata/comps.xml"] [unique_id "VJNb-4inMQIAACd0XcwA"]



This is set in  /etc/httpd/mod_security.d/modsecurity_crs_10_config.conf
SecResponseBodyLimit 524288


I increased that size and all is now well, but can somebody enlighten  
me as to the purpose of that setting?


I've started reading the document in
/usr/share/doc/mod_security-2.1.7/doc/modsecurity2-apache-reference.pdf
is there other good documentation for mod_security?

Cheers,
Tony Schreiner
Boston College
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help!

2008-06-10 Thread Sam Drinkard



Craig White wrote:

On Tue, 2008-06-10 at 10:33 -0400, Sam Drinkard wrote:
  
Folks, I have a bit of a problem and can't seem to figure out what 
is getting broken or why.  I've been pulling my hair out trying to get 
clamav or clamav-milter to install and permit yum update to continue.  
What is happening is this:  I yum install the clamav package, but when I 
try to do an update on the system, it constantly returns with an error 
of a Missing Dependency for clamd and clamav-db.  I've installed and 
erased clamav several times, and that's the only way I can do a yum 
update on the system.  The files are coming from sourceforge, and the 
version is 0.93-2.el4rf.  Perhaps I'm not installing in the correct 
sequence or something, so could someone please tell me how to go about 
getting all the dependencies for the clamav package?  This is the x86_64 
version I've been working with.



first off...  .el4rf sounds more like files coming from dag than
sourceforge.

do you have dag repository installed? if not, you should since it
maintains current clam* packages for CentOS-4

secondly, you probably should show us the exact error rather than
paraphrase and have us guess at what the error is. But I suspect that if
you solve the first, you solve it all.

Craig

  
Ok.. I guess I should have been a bit more exact in my phrases.. No, I 
don't have Dag's repo enabled, as most of the time it would fail when I 
tried to use it.  I guess the URL has probably changed as well.  As for 
the source, yes, that should have been rpmforge instead of sourceforge.  
If you have the current Dag repo URL, I'd appreciate it if you'd include 
it in a reply, or just send it to me off list.


The output of "yum update"

# yum update
Setting up Update Process
Setting up repositories
kbs-CentOS-Extras 100% |=|  951 B00:00
kbs-CentOS-Misc   100% |=|  951 B00:00
update100% |=|  951 B00:00
rpmforge  100% |=| 1.1 kB00:03
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package cups.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
---> Package evolution.x86_64 0:2.0.2-35.0.4.el4_6.2 set to be updated
---> Package clamav-server.x86_64 0:0.88.2-2.el4.kb set to be updated
---> Package cups-libs.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be 
updated

---> Package cups-libs.i386 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
---> Package clamav-data.x86_64 0:0.88.2-2.el4.kb set to be updated
--> Running transaction check
--> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: 
clamav-server
--> Processing Dependency: libclamav.so.1()(64bit) for package: 
clamav-server

--> Processing Dependency: clamav-db for package: clamav
--> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package clamav-lib.x86_64 0:0.88.2-2.el4.kb set to be updated
--> Running transaction check
--> Processing Dependency: clamav-db for package: clamav
--> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
--> Finished Dependency Resolution
Error: Missing Dependency: clamav-db is needed by package clamav
Error: Missing Dependency: clamd = 0.93-2.el4.rf is needed by package 
clamav-milter


Sam



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


Re: [CentOS] Help!

2008-06-10 Thread Sam Drinkard


Kai Schaetzl wrote:

Sam Drinkard wrote on Tue, 10 Jun 2008 10:33:39 -0400:

Please, use subjects that make sense! And as a general hint, it's really 
not good style to lament about "missing dependencies" with telling more.


  

The files are coming from sourceforge



Please elaborate. There are several repo's that have clamav. I recommend 
using rpmforge. Or do you mean *rpm*forge when you write sourceforge? 
Problems with the latest clamav rpms have been reported several times on 
this list, read back! I personally haven't had any problems.



Kai

  


Kai,

   I get the two repo's mixed up from time to time.  Anyhow, it works 
well if I don't try to update the machine, but I have to remove it to do 
a yum update till I get this problem sorted out.  It should have been 
rpmforge instead of sourceforge.


Sam

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


Re: [CentOS] Help!

2008-06-10 Thread Craig White
On Tue, 2008-06-10 at 11:20 -0400, Sam Drinkard wrote:
> 
> Craig White wrote:
> > On Tue, 2008-06-10 at 10:33 -0400, Sam Drinkard wrote:
> >   
> >> Folks, I have a bit of a problem and can't seem to figure out what 
> >> is getting broken or why.  I've been pulling my hair out trying to get 
> >> clamav or clamav-milter to install and permit yum update to continue.  
> >> What is happening is this:  I yum install the clamav package, but when I 
> >> try to do an update on the system, it constantly returns with an error 
> >> of a Missing Dependency for clamd and clamav-db.  I've installed and 
> >> erased clamav several times, and that's the only way I can do a yum 
> >> update on the system.  The files are coming from sourceforge, and the 
> >> version is 0.93-2.el4rf.  Perhaps I'm not installing in the correct 
> >> sequence or something, so could someone please tell me how to go about 
> >> getting all the dependencies for the clamav package?  This is the x86_64 
> >> version I've been working with.
> >> 
> > 
> > first off...  .el4rf sounds more like files coming from dag than
> > sourceforge.
> >
> > do you have dag repository installed? if not, you should since it
> > maintains current clam* packages for CentOS-4
> >
> > secondly, you probably should show us the exact error rather than
> > paraphrase and have us guess at what the error is. But I suspect that if
> > you solve the first, you solve it all.
> >
> > Craig
> >
> >   
> Ok.. I guess I should have been a bit more exact in my phrases.. No, I 
> don't have Dag's repo enabled, as most of the time it would fail when I 
> tried to use it.  I guess the URL has probably changed as well.  As for 
> the source, yes, that should have been rpmforge instead of sourceforge.  
> If you have the current Dag repo URL, I'd appreciate it if you'd include 
> it in a reply, or just send it to me off list.
> 
> The output of "yum update"
> 
> # yum update
> Setting up Update Process
> Setting up repositories
> kbs-CentOS-Extras 100% |=|  951 B00:00
> kbs-CentOS-Misc   100% |=|  951 B00:00
> update100% |=|  951 B00:00
> rpmforge  100% |=| 1.1 kB00:03
> base  100% |=| 1.1 kB00:00
> addons100% |=|  951 B00:00
> extras100% |=| 1.1 kB00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package cups.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
> ---> Package evolution.x86_64 0:2.0.2-35.0.4.el4_6.2 set to be updated
> ---> Package clamav-server.x86_64 0:0.88.2-2.el4.kb set to be updated
> ---> Package cups-libs.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be 
> updated
> ---> Package cups-libs.i386 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
> ---> Package clamav-data.x86_64 0:0.88.2-2.el4.kb set to be updated
> --> Running transaction check
> --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: 
> clamav-server
> --> Processing Dependency: libclamav.so.1()(64bit) for package: 
> clamav-server
> --> Processing Dependency: clamav-db for package: clamav
> --> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package clamav-lib.x86_64 0:0.88.2-2.el4.kb set to be updated
> --> Running transaction check
> --> Processing Dependency: clamav-db for package: clamav
> --> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
> --> Finished Dependency Resolution
> Error: Missing Dependency: clamav-db is needed by package clamav
> Error: Missing Dependency: clamd = 0.93-2.el4.rf is needed by package 
> clamav-milter

http://dag.wieers.com/rpm/FAQ.php#B2

Craig

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


Re: [CentOS] Help!

2008-06-10 Thread Craig White
On Tue, 2008-06-10 at 11:20 -0400, Sam Drinkard wrote:
> 
> Craig White wrote:
> > On Tue, 2008-06-10 at 10:33 -0400, Sam Drinkard wrote:
> >   
> >> Folks, I have a bit of a problem and can't seem to figure out what 
> >> is getting broken or why.  I've been pulling my hair out trying to get 
> >> clamav or clamav-milter to install and permit yum update to continue.  
> >> What is happening is this:  I yum install the clamav package, but when I 
> >> try to do an update on the system, it constantly returns with an error 
> >> of a Missing Dependency for clamd and clamav-db.  I've installed and 
> >> erased clamav several times, and that's the only way I can do a yum 
> >> update on the system.  The files are coming from sourceforge, and the 
> >> version is 0.93-2.el4rf.  Perhaps I'm not installing in the correct 
> >> sequence or something, so could someone please tell me how to go about 
> >> getting all the dependencies for the clamav package?  This is the x86_64 
> >> version I've been working with.
> >> 
> > 
> > first off...  .el4rf sounds more like files coming from dag than
> > sourceforge.
> >
> > do you have dag repository installed? if not, you should since it
> > maintains current clam* packages for CentOS-4
> >
> > secondly, you probably should show us the exact error rather than
> > paraphrase and have us guess at what the error is. But I suspect that if
> > you solve the first, you solve it all.
> >
> > Craig
> >
> >   
> Ok.. I guess I should have been a bit more exact in my phrases.. No, I 
> don't have Dag's repo enabled, as most of the time it would fail when I 
> tried to use it.  I guess the URL has probably changed as well.  As for 
> the source, yes, that should have been rpmforge instead of sourceforge.  
> If you have the current Dag repo URL, I'd appreciate it if you'd include 
> it in a reply, or just send it to me off list.
> 
> The output of "yum update"
> 
> # yum update
> Setting up Update Process
> Setting up repositories
> kbs-CentOS-Extras 100% |=|  951 B00:00
> kbs-CentOS-Misc   100% |=|  951 B00:00
> update100% |=|  951 B00:00
> rpmforge  100% |=| 1.1 kB00:03
> base  100% |=| 1.1 kB00:00
> addons100% |=|  951 B00:00
> extras100% |=| 1.1 kB00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package cups.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
> ---> Package evolution.x86_64 0:2.0.2-35.0.4.el4_6.2 set to be updated
> ---> Package clamav-server.x86_64 0:0.88.2-2.el4.kb set to be updated
> ---> Package cups-libs.x86_64 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be 
> updated
> ---> Package cups-libs.i386 1:1.1.22-0.rc1.9.20.2.el4_6.8 set to be updated
> ---> Package clamav-data.x86_64 0:0.88.2-2.el4.kb set to be updated
> --> Running transaction check
> --> Processing Dependency: clamav-lib = 0.88.2-2.el4.kb for package: 
> clamav-server
> --> Processing Dependency: libclamav.so.1()(64bit) for package: 
> clamav-server
> --> Processing Dependency: clamav-db for package: clamav
> --> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package clamav-lib.x86_64 0:0.88.2-2.el4.kb set to be updated
> --> Running transaction check
> --> Processing Dependency: clamav-db for package: clamav
> --> Processing Dependency: clamd = 0.93-2.el4.rf for package: clamav-milter
> --> Finished Dependency Resolution
> Error: Missing Dependency: clamav-db is needed by package clamav
> Error: Missing Dependency: clamd = 0.93-2.el4.rf is needed by package 
> clamav-milter

now that I've looked your errors over, there appears to be a clash over
clamav/clamav-db/clamd between rpmforge and Karanbirs repositories.

Perhaps just remove them and re-install them...

yum remove clamd clamav clamav-db clamav-milter
and then reinstall...
yum install clamd clamav clamav-db clamav-milter

You may want to 'disable' rpmforge if you're going to use kbs packages
or tell rpmforge to ignore-pkgs=clam*

Craig

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


Re: [CentOS] Help!

2008-06-10 Thread Kai Schaetzl
Sam Drinkard wrote on Tue, 10 Jun 2008 11:20:24 -0400:

As I said: you are mixing repo's: rf=rpmforge, kb=Karanbir Singh

(dag = rpmforge)

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] Help!

2008-06-10 Thread Kai Schaetzl
Sam Drinkard wrote on Tue, 10 Jun 2008 11:23:05 -0400:

> Anyhow, it works 
> well if I don't try to update the machine

Your problem comes probably from mixing repos. As I said: read back on the 
list, has been discussed here already several times this spring/summer.

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] Help!

2008-06-10 Thread Ralph Angenendt
Craig White wrote:
> You may want to 'disable' rpmforge if you're going to use kbs packages
> or tell rpmforge to ignore-pkgs=clam*

The clam packages in kbs are more than stone old. rpmforge is the
repository where you should install clam* from, so I suggest to do it
the other way round ...

Ralph


pgpIWtz0lR4Xj.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help!

2008-06-10 Thread Karanbir Singh

Ralph Angenendt wrote:

Craig White wrote:

You may want to 'disable' rpmforge if you're going to use kbs packages
or tell rpmforge to ignore-pkgs=clam*


The clam packages in kbs are more than stone old. rpmforge is the
repository where you should install clam* from, so I suggest to do it
the other way round ...



I can and will remove my pkgs soon, whats the best way to provide a 
migration path over to rpmforge for these ?


There is always the option of just mirroring the rpmforge clam-* pkgs 
over...


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


Re: [CentOS] Help!

2008-06-10 Thread Craig White
On Tue, 2008-06-10 at 17:43 +0200, Ralph Angenendt wrote:
> Craig White wrote:
> > You may want to 'disable' rpmforge if you're going to use kbs packages
> > or tell rpmforge to ignore-pkgs=clam*
> 
> The clam packages in kbs are more than stone old. rpmforge is the
> repository where you should install clam* from, so I suggest to do it
> the other way round ...

good point...I don't use kbs' packages so I don't know these things.

rpmforge has been solid for years

Craig

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


[CentOS] raid1 disk format?

2008-06-10 Thread Les Mikesell
If you have a disk with several partitions set up as members of a raid1 
md devices, can you make a dd image of that disk to replace its matching 
drive with identical partitions or are there differences between the 
mirrored partitions?


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help!

2008-06-10 Thread Sam Drinkard



Kai Schaetzl wrote:

Sam Drinkard wrote on Tue, 10 Jun 2008 11:23:05 -0400:

  
Anyhow, it works 
well if I don't try to update the machine



Your problem comes probably from mixing repos. As I said: read back on the 
list, has been discussed here already several times this spring/summer.


Kai

  
Ok.. I sort of figured that was the problem, but I just removed 
everything clamav related and reinstalled only clamav-milter.  When I 
tried a normal "yum update" it fails again just as before.  As far as I 
can tell, the files are coming from rpmforge and not dag.  I don't have 
his in the repos.  Looking at the index list on Dag's website, it shows 
the latest clamav as version 0.92 and not 0.93 which is coming from 
rpmforge.  How do I make sure all the stuff comes from rpmforge and not 
somewhere else?


Yes, I remember the discussion from earlier this year, and I got a good 
install on my other server, but this 64-bit machine is not doing like 
the 32-bit server.  I know it's frustrating to have the same questions 
asked over and over, but this situation appears to be something besides 
mixed repositories, or at least from what I see on the screen says it 
all came from rpmforge.


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


RE: [CentOS] raid1 disk format?

2008-06-10 Thread Ross S. W. Walker
Les Mikesell wrote:

> If you have a disk with several partitions set up as members of a raid1 
> md devices, can you make a dd image of that disk to replace its matching 
> drive with identical partitions or are there differences between the 
> mirrored partitions?

you can 'dd' the MBR and then re-add the partitions to the raid for
resyncing with 'mdadm'.

# dd if=/dev/sda of=/dev/sdb bs=512 count=1
# mdadm /dev/md0 --add /dev/sdb1
# mdadm /dev/md1 --add /dev/sdb2

If you want to really make sure you got everything you could dd the
whole first track with:

# dd if=/dev/sda of=/dev/sdb bs=512 count=63

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Copying files from specific date.

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 5:56 AM, Peter Farrell
<[EMAIL PROTECTED]> wrote:
> That's an excellent idea.
> -pf
>

What is?

>
> 2008/6/9 Bowie Bailey <[EMAIL PROTECTED]>:
>> Rajeev R. Veedu wrote:
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>>> Behalf Of Steve Huff
>>> Sent: Monday, June 09, 2008 7:34 PM
>>> To: centos@centos.org
>>> Subject: Re: [CentOS] Copying files from specific date.
>>>
>>>
>>> On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote:
>>> > Does anyone aware of any utility  to copy files which are created
>>> > or modify form a specific date ?.
>>> >
>>>
>>> > > to copy all files in /dir1 modified within the last 5 days to
>>> > > /dir2:
>>>
>>> > > $ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2
>>>
>>> > > if the filenames have whitespace in them, you can use this trick:
>>>
>>> > > $ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2
>>>
>>> > > for more details on selecting by time:
>>>
>>> > > $ man find
>>>
>>> > > pay particular attention to the options -atime, -amin, -ctime,
>>> > > -cmin, -mtime, -mmin, and -daystart.
>>>
>>> > > -steve
>>>
>>> Actually I need to copy this on to another server with same folder
>>> structure. I think I need to explain bit of history.
>>>
>>> I had a server crash last week, and we have restored the files from
>>> the tape. However during this period of making the server up, the
>>> users having adding or changed files from our backup Server (Samba
>>> server which rsync to production server every night.) now I need to
>>> copy the files which user added/ modify last 7 days. Ideally if I can
>>> get this option in rsync it would be better. Otherwise I need to have
>>> a method so that all changed files to go on the relevant folder on
>>> the production server. I cannot take the full files in the backup
>>> files since they are historical backup and there are some unwanted
>>> files.
>>>
>>> Can I use scp instead of cp in your statement?. But how does it take
>>> the same directory name as the original location?
>>>
>>> Eg:from ServerA/FLDR2/FLDR3/Filename should go to
>>> ServerB/FLDR2/FLDR3/FILENAME
>>>
>>> Only change is the server name all other values will remain same.
>>>
>>> Any help would be really appreciated.
>>
>> One approach would be to use the find command given above to generate a
>> list of files that have changed.  Then pass that list to rsync via the
>> '--files-from' option to transfer them to the other server.
>>

Oh, you mean this?

I know this has never been brought up before, certainly not in the
last month or so, but this list has some conventions:

1) Trim your replies
2) Bottom post

See why?

Thanks.

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


Re: [CentOS] Help!

2008-06-10 Thread Craig White
On Tue, 2008-06-10 at 12:57 -0400, Sam Drinkard wrote:
> 
> Kai Schaetzl wrote:
> > Sam Drinkard wrote on Tue, 10 Jun 2008 11:23:05 -0400:
> >
> >   
> >> Anyhow, it works 
> >> well if I don't try to update the machine
> >> 
> >
> > Your problem comes probably from mixing repos. As I said: read back on the 
> > list, has been discussed here already several times this spring/summer.
> >
> > Kai
> >
> >   
> Ok.. I sort of figured that was the problem, but I just removed 
> everything clamav related and reinstalled only clamav-milter.  When I 
> tried a normal "yum update" it fails again just as before.  As far as I 
> can tell, the files are coming from rpmforge and not dag.  I don't have 
> his in the repos.  Looking at the index list on Dag's website, it shows 
> the latest clamav as version 0.92 and not 0.93 which is coming from 
> rpmforge.  How do I make sure all the stuff comes from rpmforge and not 
> somewhere else?
> 
> Yes, I remember the discussion from earlier this year, and I got a good 
> install on my other server, but this 64-bit machine is not doing like 
> the 32-bit server.  I know it's frustrating to have the same questions 
> asked over and over, but this situation appears to be something besides 
> mixed repositories, or at least from what I see on the screen says it 
> all came from rpmforge.

I was under the impression that dag and rpmforge were the same for
CentOS purposes...here is the URL for downloading/installing
rpmforge.repo

https://rpmrepo.org/RPMforge/Using

Craig

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


[CentOS] Re: raid1 disk format?

2008-06-10 Thread Scott Silva

on 6-10-2008 9:59 AM Ross S. W. Walker spake the following:

Les Mikesell wrote:

If you have a disk with several partitions set up as members of a raid1 
md devices, can you make a dd image of that disk to replace its matching 
drive with identical partitions or are there differences between the 
mirrored partitions?


you can 'dd' the MBR and then re-add the partitions to the raid for
resyncing with 'mdadm'.

# dd if=/dev/sda of=/dev/sdb bs=512 count=1
# mdadm /dev/md0 --add /dev/sdb1
# mdadm /dev/md1 --add /dev/sdb2

If you want to really make sure you got everything you could dd the
whole first track with:

# dd if=/dev/sda of=/dev/sdb bs=512 count=63

-Ross


Or sfdisk -d /dev/sdX | sfdisk /dev/sdY
where x is source and y is the target.
This will work across drives that have slight geometry differences.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Copying files from specific date.

2008-06-10 Thread Scott Silva



Any help would be really appreciated.

One approach would be to use the find command given above to generate a
list of files that have changed.  Then pass that list to rsync via the
'--files-from' option to transfer them to the other server.



Oh, you mean this?

I know this has never been brought up before, certainly not in the
last month or so, but this list has some conventions:

1) Trim your replies
2) Bottom post



I thought I heard that somewhere!  ;-P


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Help!

2008-06-10 Thread Scott Silva

on 6-10-2008 10:06 AM Craig White spake the following:

On Tue, 2008-06-10 at 12:57 -0400, Sam Drinkard wrote:

Kai Schaetzl wrote:

Sam Drinkard wrote on Tue, 10 Jun 2008 11:23:05 -0400:

  
Anyhow, it works 
well if I don't try to update the machine

Your problem comes probably from mixing repos. As I said: read back on the 
list, has been discussed here already several times this spring/summer.


Kai

  
Ok.. I sort of figured that was the problem, but I just removed 
everything clamav related and reinstalled only clamav-milter.  When I 
tried a normal "yum update" it fails again just as before.  As far as I 
can tell, the files are coming from rpmforge and not dag.  I don't have 
his in the repos.  Looking at the index list on Dag's website, it shows 
the latest clamav as version 0.92 and not 0.93 which is coming from 
rpmforge.  How do I make sure all the stuff comes from rpmforge and not 
somewhere else?


Yes, I remember the discussion from earlier this year, and I got a good 
install on my other server, but this 64-bit machine is not doing like 
the 32-bit server.  I know it's frustrating to have the same questions 
asked over and over, but this situation appears to be something besides 
mixed repositories, or at least from what I see on the screen says it 
all came from rpmforge.


I was under the impression that dag and rpmforge were the same for
CentOS purposes...here is the URL for downloading/installing
rpmforge.repo

https://rpmrepo.org/RPMforge/Using

Craig

Add "ignore-pkgs=clam*" to the kbs repo definitions.
Do you actually have things installed from kbs-extras?
KBS and rpmforge don't play too well together since they have some duplication 
by package name but not versions.




--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dependency problem with libgaim.so.0 when installing GNOME

2008-06-10 Thread Leonardo Vilela Pinheiro
CentOS 5.1 - I have already executed 'yum clean all' but the error persists.
What could be the problem?

$ yum groupinstall "GNOME Desktop Environment"
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
Setting up repositories
Reading repository metadata in from local files
Package gnome-panel - 2.16.1-6.el5.i386 already installed and latest version
Package metacity - 2.16.0-8.el5.i386 already installed and latest version
Package at-spi - 1.7.11-2.fc6.i386 already installed and latest version
Package gtk2-engines - 2.8.0-3.el5.i386 already installed and latest version
Package gnome-screensaver - 2.16.1-5.el5_1.1.i386 already installed and
latest version
Resolving Dependencies



--> Processing Dependency: foomatic for package: system-config-printer-libs
--> Processing Dependency: lockdev for package: gphoto2
--> Processing Dependency: libgaim.so.0 for package: nautilus-sendto
--> Processing Dependency: libpq.so.4 for package: apr-util
--> Processing Dependency: PyXML for package: system-config-printer-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package foomatic.i386 0:3.0.2-38.1.el5 set to be updated
---> Package PyXML.i386 0:0.8.4-4 set to be updated
---> Package lockdev.i386 0:1.0.1-10 set to be updated
---> Package postgresql-libs.i386 0:8.1.11-1.el5_1.1 set to be updated
--> Running transaction check
--> Processing Dependency: libgaim.so.0 for package: nautilus-sendto
--> Finished Dependency Resolution
Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail not sending after reboot

2008-06-10 Thread Ray Leventhal


He already knows that sendmail accepts connections. Maillog is of no help 
(maybe with a higher log level, I know that you can get even more info with 
14). He has to identify the cause of the timeout and the first step is to 
identify the phase where it happens.




Kai

Hi folks,

Name resolution is, absolutely, the issue.  I'll post the resolution 
once I've figured it out, but something on the LAN must have changed to 
coincide with this behavioral change in sendmail.


My thanks to all who replied.

Regards,
-Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dependency problem with libgaim.so.0 when installing GNOME

2008-06-10 Thread Ralph Angenendt
Leonardo Vilela Pinheiro wrote:
> CentOS 5.1 - I have already executed 'yum clean all' but the error persists.
> What could be the problem?

Upstream.

https://bugzilla.redhat.com/show_bug.cgi?id=250403

Ralph


pgpmT5T1vajR3.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: raid1 disk format?

2008-06-10 Thread Les Mikesell

Scott Silva wrote:


If you have a disk with several partitions set up as members of a 
raid1 md devices, can you make a dd image of that disk to replace its 
matching drive with identical partitions or are there differences 
between the mirrored partitions?


you can 'dd' the MBR and then re-add the partitions to the raid for
resyncing with 'mdadm'.

# dd if=/dev/sda of=/dev/sdb bs=512 count=1
# mdadm /dev/md0 --add /dev/sdb1
# mdadm /dev/md1 --add /dev/sdb2

If you want to really make sure you got everything you could dd the
whole first track with:

# dd if=/dev/sda of=/dev/sdb bs=512 count=63

-Ross


Or sfdisk -d /dev/sdX | sfdisk /dev/sdY
where x is source and y is the target.
This will work across drives that have slight geometry differences.


What I was hoping to do was to take the grub setup, the partitioning 
info and the contents in one shot and have the disks pair automatically 
when booted.  They didn't - but I think the other parts worked.


Now, is there a way to change the uuid on a running raid1 set?  I'd 
prefer that if the split and re-paired disks ever find their way back to 
the same machine that they not sync again.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Excluded files from repos?

2008-06-10 Thread Sam Drinkard
Ok.. I'm way behind the 8-ball on setting things up correctly, but after
going over the protection things in yum, I ran a yum check-update and it
returned with having 318 files excluded because of protection.  Is that
too high a number?  I have the numerical protection set to 1.  Is there
a good tutorial about how to correctly set up the protect base.  Sorry
if this is a noobie question.. I've been away from CentOS for some time
and needing to get back into the swing of things.

Thanks..

Sam

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


Re: [CentOS] Excluded files from repos?

2008-06-10 Thread Ralph Angenendt
Sam Drinkard wrote:
> Ok.. I'm way behind the 8-ball on setting things up correctly, but after
> going over the protection things in yum, I ran a yum check-update and it
> returned with having 318 files excluded because of protection.  Is that
> too high a number?  I have the numerical protection set to 1.  Is there
> a good tutorial about how to correctly set up the protect base. 

I'd go with the priorities plugin.

Everything about Repositories, Protectbase, Priorities and more at:



Cheers,

Ralph


pgpmcF4TUxaAC.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help!

2008-06-10 Thread Kai Schaetzl
Sam Drinkard wrote on Tue, 10 Jun 2008 12:57:20 -0400:

> How do I make sure all the stuff comes from rpmforge and not 
> somewhere else?

By using the priorities plugin, make kbs a lower priority or just disable 
it.

> or at least from what I see on the screen says it 
> all came from rpmforge.

Your error message clearly showed there were repos mixed.

> As far as I 
> can tell, the files are coming from rpmforge and not dag

Again: dag = rpmforge

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] Excluded files from repos?

2008-06-10 Thread Ned Slider

Sam Drinkard wrote:

Ok.. I'm way behind the 8-ball on setting things up correctly, but after
going over the protection things in yum, I ran a yum check-update and it
returned with having 318 files excluded because of protection.  Is that
too high a number?  I have the numerical protection set to 1.  Is there
a good tutorial about how to correctly set up the protect base.  Sorry
if this is a noobie question.. I've been away from CentOS for some time
and needing to get back into the swing of things.

Thanks..

Sam


I would suggest you look at setting up "priorities" rather than "protect 
base":


http://wiki.centos.org/PackageManagement/Yum/Priorities

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


[CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
I have asked about this before, but I don't have a workable answer yet.

I would like to know if there is a way to install a more recent GNOME
package on CentOS 5.x than 2.16.0.

1) GNOME Bugzilla does not support this version any more - all bugs go
into the bit bucket.

2) Having been exposed to Fedora 8 at work and seeing how much more
flexible GNOME 2.22 is, I would REALLY like to take a shot at using it
on my CentOS systems.

3) I asked about this on the GNOME list and I was told I should build
it, and that jhbuild or garnome would do the job for me.  This has not
been my experience - both of them have major hangups building on my
home desktop (the 64-bit hybrid CentOS 5.1 environment).

4) Johnny suggested I try mock to build in a chroot, pure 64-bit
environment.  I was unable to locate a mock that actually installed
and worked on my system.  (Yeah, yeah, I know, I'm the only person for
whom this does not work.  Heard it, can't believe it, must be doing
something most others don't, whatever  ;*)

I have trouble believing that the ONLY ways to get a newer GNOME are
to wait for CentOS 6, run a different distro (not likely) or build it
myself.  This is Linux, after all, isn't it?  (That's a rhetorical
question - no answer required, unless those /really are/ the only
options)

TIA.

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


RE: [CentOS] Re: raid1 disk format?

2008-06-10 Thread Ross S. W. Walker
Les Mikesell wrote:

> Scott Silva wrote:
> >
> >>> If you have a disk with several partitions set up as members of a 
> >>> raid1 md devices, can you make a dd image of that disk to replace its 
> >>> matching drive with identical partitions or are there differences 
> >>> between the mirrored partitions?
> >>
> >> you can 'dd' the MBR and then re-add the partitions to the raid for
> >> resyncing with 'mdadm'.
> >>
> >> # dd if=/dev/sda of=/dev/sdb bs=512 count=1
> >> # mdadm /dev/md0 --add /dev/sdb1
> >> # mdadm /dev/md1 --add /dev/sdb2
> >>
> >> If you want to really make sure you got everything you could dd the
> >> whole first track with:
> >>
> >> # dd if=/dev/sda of=/dev/sdb bs=512 count=63
> >>
> >> -Ross
> >>
> > Or sfdisk -d /dev/sdX | sfdisk /dev/sdY
> > where x is source and y is the target.
> > This will work across drives that have slight geometry differences.
> 
> What I was hoping to do was to take the grub setup, the partitioning 
> info and the contents in one shot and have the disks pair automatically 
> when booted.  They didn't - but I think the other parts worked.
>
> Now, is there a way to change the uuid on a running raid1 set?  I'd 
> prefer that if the split and re-paired disks ever find their way back to 
> the same machine that they not sync again.

'mdadm' writes a listing of the devices in the array to the md
superblock and orders them by number,major,minor. You cannot add
another device to the array with the same tuple.

If you dd the first sector of the drive though you will duplicate
the partition table and grub boot loader to the other drive. Then
md-device-mapper will take care of copying the data over.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


[CentOS] [Off Topic, kind of] eMachine model T5254

2008-06-10 Thread Bob Taylor
Hi list,

Best Buy currently has an eMachine on sale for less than $300.00
without monitor. I didn't see any recent complaints on
www.consumeraffairs.com. I didn't take the time to do a thourgh search
so may have missed some. Red Hat hardware list does not have one
eMachine listed. I went to eMachine's home page and found the following:

AMD Athlon™ BE-2350 dual-core processor
NVIDIA® GeForce® 6100
2048MB DDR2 dual-channel
320GB 7200rpm SATA II
16x DVD±R/RW SuperMulti drive
High-performance 15-in-1 digital media card reader
6-channel (5.1) high-definition audio

They do not list the manufacturer/model of the media card reader and
audio.

Any hardware guru see any problems?

-- 
Bob Taylor

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


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread nate
MHR wrote:

> I have trouble believing that the ONLY ways to get a newer GNOME are
> to wait for CentOS 6, run a different distro (not likely) or build it
> myself.  This is Linux, after all, isn't it?  (That's a rhetorical
> question - no answer required, unless those /really are/ the only
> options)

What would you expect? CentOS is based off of RHEL, which tries to
stick to older more stable/tested software. Your using the wrong
distribution if you want the latest and greatest.

Use Ubuntu, Fedora, or something else.

As a casual user I'm happy with the gnome that comes with my Debian
Etch install which seems to be somewhere around 2.14-2.16, and whatever
version comes with Ubuntu 7.10(haven't turned that laptop on in a couple
of months).

Really, what did you expect? Do you expect folks out there to constantly
build the latest & greatest for a "stable" distribution that consists
primarily of users that don't want the latest & greatest (which is why
they use that distribution in the first place).

nate

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


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread Dan Halbert

MHR wrote:

I have trouble believing that the ONLY ways to get a newer GNOME are
to wait for CentOS 6, run a different distro (not likely) or build it
myself.  This is Linux, after all, isn't it?  (That's a rhetorical
question - no answer required, unless those /really are/ the only
options)


I am not sure you can have your cake and eat it too on a single machine.
At the very least, building a newer Gnome for CentOS 5 sounds like a big
timesink. There are probably all kinds of library issues.

If you'd like the latest desktop apps, then perhaps it would be easier
to choose Fedora or Ubuntu for your desktop, and connect to your more
stable CentOS 5 servers remotely. Or, run Fedora or Ubuntu in a VM.

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


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 12:12 PM, nate <[EMAIL PROTECTED]> wrote:
>
> What would you expect? CentOS is based off of RHEL, which tries to
> stick to older more stable/tested software. Your using the wrong
> distribution if you want the latest and greatest.
>
> Use Ubuntu, Fedora, or something else.
>
> As a casual user I'm happy with the gnome that comes with my Debian
> Etch install which seems to be somewhere around 2.14-2.16, and whatever
> version comes with Ubuntu 7.10(haven't turned that laptop on in a couple
> of months).
>
> Really, what did you expect? Do you expect folks out there to constantly
> build the latest & greatest for a "stable" distribution that consists
> primarily of users that don't want the latest & greatest (which is why
> they use that distribution in the first place).
>

Dunno - a good answer, like yours?

Thanks (seriously).

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


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread Chris Boyd


On Jun 4, 2008, at 8:25 PM, Matt Hyclak wrote:

If it were me, I would download the latest yum+dependencies and  
install them

via rpm before trying to debug an old yum.



Good suggestion.  Upgraded yum, sqlite, and python.  Also added  
enough swap space via a swapfile to let yum do what it wants.  Now it  
just eats memory until it hits a 4GB wall and then dies.


Version info follows.

[EMAIL PROTECTED] ~]# rpm -q yum
yum-2.4.3-4.el4.centos
[EMAIL PROTECTED] ~]# rpm -q sqlite
sqlite-3.3.6-2
[EMAIL PROTECTED] ~]# rpm -q python
python-2.3.4-14.4

--Chris

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


Re: [CentOS] Excluded files from repos?

2008-06-10 Thread Sam Drinkard



Ralph Angenendt wrote:

Sam Drinkard wrote:
  

Ok.. I'm way behind the 8-ball on setting things up correctly, but after
going over the protection things in yum, I ran a yum check-update and it
returned with having 318 files excluded because of protection.  Is that
too high a number?  I have the numerical protection set to 1.  Is there
a good tutorial about how to correctly set up the protect base. 



I'd go with the priorities plugin.

Everything about Repositories, Protectbase, Priorities and more at:



Cheers,

Ralph
  
  
Just to be on the safe side, I installed both plugins and have them 
configured now.  FWIW, I did a yum check-update and for some unknown 
reason, I got no dependency issues and nothing was tagged for update!  
Surely the addition of the protectbase and priorities plugins didn't do 
that???


I appreciate all you all have responded, and apologize for the lame 
questions.  Time for me to do some more list reading I suppose.



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


[CentOS] Re: [Off Topic, kind of] eMachine model T5254

2008-06-10 Thread Scott Silva

on 6-10-2008 12:07 PM Bob Taylor spake the following:

Hi list,

Best Buy currently has an eMachine on sale for less than $300.00
without monitor. I didn't see any recent complaints on
www.consumeraffairs.com. I didn't take the time to do a thourgh search
so may have missed some. Red Hat hardware list does not have one
eMachine listed. I went to eMachine's home page and found the following:

AMD Athlon™ BE-2350 dual-core processor
NVIDIA® GeForce® 6100
2048MB DDR2 dual-channel
320GB 7200rpm SATA II
16x DVD±R/RW SuperMulti drive
High-performance 15-in-1 digital media card reader
6-channel (5.1) high-definition audio

They do not list the manufacturer/model of the media card reader and
audio.

Any hardware guru see any problems?

Looking at my bestbuy ad, that machine is going for about $400 here. Probably 
a good deal at less than $300.
If this is the machine, eMachines T5254 Desktop Computer, this page will give 
you some specs;

http://support.gateway.com/emachines/emac/1015304R/1015304Rcl3.shtml


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Off Topic, kind of] eMachine model T5254

2008-06-10 Thread Lanny Marcus
On 6/10/08, Bob Taylor <[EMAIL PROTECTED]> wrote:
> Best Buy currently has an eMachine on sale for less than $300.00
> without monitor. I didn't see any recent complaints on
> www.consumeraffairs.com. I didn't take the time to do a thourgh search
> so may have missed some. Red Hat hardware list does not have one
> eMachine listed. I went to eMachine's home page and found the following:
>
> AMD Athlon™ BE-2350 dual-core processor
> NVIDIA(R) GeForce(R) 6100
> 2048MB DDR2 dual-channel
> 320GB 7200rpm SATA II
> 16x DVD±R/RW SuperMulti drive
> High-performance 15-in-1 digital media card reader
> 6-channel (5.1) high-definition audio
>
> They do not list the manufacturer/model of the media card reader and
> audio.
>
> Any hardware guru see any problems?

HW guru I am not. Linux guru I am not. I have a suggestion for you,
which I believe is a valid one: Take a Knoppix Live CD (that you've
previously tested on another box and know  is working properly) or a
CentOS Live CD, with you to the store. Boot the box with it and see if
the HW works with Linux, before you buy. Preferably, do this on *the*
box you are going to buy, in case the HW in the floor sample and the
one you are going to buy are not identical. Sounds very cheap and I'd
like to have one too.  Does Best Buy let one bring something back, for
a refund, within a certain number of days, if they are not satisfied
with the product?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Excluded files from repos?

2008-06-10 Thread Scott Silva

on 6-10-2008 12:35 PM Sam Drinkard spake the following:



Ralph Angenendt wrote:

Sam Drinkard wrote:
 

Ok.. I'm way behind the 8-ball on setting things up correctly, but after
going over the protection things in yum, I ran a yum check-update and it
returned with having 318 files excluded because of protection.  Is that
too high a number?  I have the numerical protection set to 1.  Is there
a good tutorial about how to correctly set up the protect base. 


I'd go with the priorities plugin.

Everything about Repositories, Protectbase, Priorities and more at:



Cheers,

Ralph

Just to be on the safe side, I installed both plugins and have them 
configured now.  FWIW, I did a yum check-update and for some unknown 
reason, I got no dependency issues and nothing was tagged for update!  
Surely the addition of the protectbase and priorities plugins didn't do 
that???


It could have, and please don't call me Shirley!  ;-P
(I know, old joke!)




I appreciate all you all have responded, and apologize for the lame 
questions.  Time for me to do some more list reading I suppose.



Sam



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 12:18 PM, Dan Halbert <[EMAIL PROTECTED]> wrote:
>
> I am not sure you can have your cake and eat it too on a single machine.
> At the very least, building a newer Gnome for CentOS 5 sounds like a big
> timesink. There are probably all kinds of library issues.
>
> If you'd like the latest desktop apps, then perhaps it would be easier
> to choose Fedora or Ubuntu for your desktop, and connect to your more
> stable CentOS 5 servers remotely. Or, run Fedora or Ubuntu in a VM.
>

Actually, the question grew out of a much more basic one, which I
asked on the GNOME list and was told, why don't you build it yourself?
 (I now have many answers for that one!)

What I was originally looking for was the location of the gnome config
file where I could manipulate the default colors in my windows (I
really don't like gray).  I poked and googled around some, but there
are SO many gnome files I was unable to locate the one that contains
this config

Thanks.

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


[CentOS] Kernel Panic

2008-06-10 Thread Ryan Nichols
I am very very new to the linux world..  I am having problems with 
CentOS5.1 with kernel panics.  I belive the cause of the kernel panics 
are a software that I am running on the machine, but I cannot find any 
information as to what the system was doing prior to the crash, i have 
looked in the /var/log/messaging to no solution.  I guess what I am 
asking is what do i need to turn on for when this kernel crash comes 
again? It happens with in hours or days of running this software, it is 
random and sudden. 


Thanks,
Ryan Nichols

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


Re: [CentOS] Kernel Panic

2008-06-10 Thread nate
Ryan Nichols wrote:
> I am very very new to the linux world..  I am having problems with
> CentOS5.1 with kernel panics.  I belive the cause of the kernel panics
> are a software that I am running on the machine, but I cannot find any
> information as to what the system was doing prior to the crash, i have
> looked in the /var/log/messaging to no solution.  I guess what I am
> asking is what do i need to turn on for when this kernel crash comes
> again? It happens with in hours or days of running this software, it is
> random and sudden.

Easiest I have found is configure the system to use serial console and
connect a system to the console. When the system panics it will output
the panic to the console which you can then copy/paste to a file and
post to a mailing list or support forum for help.

nate

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


Re: [CentOS] [Off Topic, kind of] eMachine model T5254

2008-06-10 Thread Kai Schaetzl
Bob Taylor wrote on Tue, 10 Jun 2008 12:07:59 -0700:

> Any hardware guru see any problems?

I'm not a hardware guru, but the CPU and chipset work just fine with 
CentOS. lm_sensors may not work, though. If they have a 4850 machine for 
only a few bucks more, I'd go with that.

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] Newer GNOME than base release

2008-06-10 Thread Kai Schaetzl
Mhr wrote on Tue, 10 Jun 2008 11:48:05 -0700:

> I have trouble believing that the ONLY ways to get a newer GNOME are
> to wait for CentOS 6, run a different distro (not likely) or build it
> myself.  This is Linux, after all, isn't it?

If you do not need CentOS for the reasons that most here use it then why 
don't you use Fedora if that gives you what you want? No one will be angry 
about you ;-)

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] Re: Copying files from specific date.

2008-06-10 Thread Johnny Hughes

Scott Silva wrote:



I know this has never been brought up before, certainly not in the
last month or so, but this list has some conventions:

1) Trim your replies
2) Bottom post



I thought I heard that somewhere!  ;-P



oh boy ... I feel another 100 post thread coming :D



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Excluded files from repos?

2008-06-10 Thread Lanny Marcus
On 6/10/08, Sam Drinkard <[EMAIL PROTECTED]> wrote:
>
>
> Ralph Angenendt wrote:
>> Sam Drinkard wrote:
>>
>>> Ok.. I'm way behind the 8-ball on setting things up correctly, but after
>>> going over the protection things in yum, I ran a yum check-update and it
>>> returned with having 318 files excluded because of protection.  Is that
>>> too high a number?  I have the numerical protection set to 1.  Is there
>>> a good tutorial about how to correctly set up the protect base.
>>>
>>
>> I'd go with the priorities plugin.
>>
>> Everything about Repositories, Protectbase, Priorities and more at:
>>
>> 
>>
>> Cheers,
>>
>> Ralph
>>
>>
> Just to be on the safe side, I installed both plugins and have them
> configured now.  FWIW, I did a yum check-update and for some unknown
> reason, I got no dependency issues and nothing was tagged for update!
> Surely the addition of the protectbase and priorities plugins didn't do
> that???
>
> I appreciate all you all have responded, and apologize for the lame
> questions.  Time for me to do some more list reading I suppose.

Sam: Having both plugins installed is probably *not* a good thing to
do. As was previously suggested, probably best to go with Priorities.
Read this page:

I think the number of Packages being excluded (318) is in the ballpark.
73, Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: Contract job assignment in Huntsville AL for Embedded Linux Developer

2008-06-10 Thread Lanny Marcus
I have never seen an hourly rate like the one below, before this. If
anyone on the list is qualified  and interested in applying, email me,
off list, and I will give you the contact information.


Embedded Linux Developer
Description:
12-18 month project for embedded Linux developer. Looking for strong
skills in kernel/driver development and modification. Primarily new
development, but may entail some enhancements to existing systems.
Work centers around communications and data capture systems. More
details upon request

Job Number: HTSV1
Job Location:   Huntsville, AL
Rate:   100-115 HR
Per Diem:   Yes
Overtime:   Yes
Duration:   12-18 months
Input Date: 06/10/2008
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setting up a chroot

2008-06-10 Thread Johnny Hughes

Mark Hull-Richter wrote:

On Thu, 2008-05-29 at 13:52 -0500, Johnny Hughes wrote:


Probably the best thing to do is to use mock to build in.

You provide it with some repos and it automatically creates a chroot to 
build things.



http://fedoraproject.org/wiki/Projects/Mock

That has some instructions, though you should be able to yum install mock.


That doesn't seem to work with the "standard" repositories - is there
one in particular where this lives?

I tried downloading a source tarball, but it has dependencies that
neither I nor yum recognized


yum list mock:

Available Packages
mock.x86_64  0.6.13-1.el5.centos.1  extras



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Copying files from specific date.

2008-06-10 Thread William L. Maltby
On Tue, 2008-06-10 at 15:43 -0500, Johnny Hughes wrote:
> Scott Silva wrote:
> 
> >>
> >> I know this has never been brought up before, certainly not in the
> >> last month or so, but this list has some conventions:
> >>
> >> 1) Trim your replies
> >> 2) Bottom post
> >>
> > 
> > I thought I heard that somewhere!  ;-P
> > 
> 
> oh boy ... I feel another 100 post thread coming :D

<*chuckle*>

The way it goes here, I think it ends up being a 100 thread post. ;->
... Of 100 posts. :-(

> 

-- 
Bill

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


[CentOS] Re: OT: Contract job assignment in Huntsville AL for Embedded Linux Developer

2008-06-10 Thread Scott Silva

on 6-10-2008 2:35 PM Lanny Marcus spake the following:

I have never seen an hourly rate like the one below, before this. If
anyone on the list is qualified  and interested in applying, email me,
off list, and I will give you the contact information.


Embedded Linux Developer
Description:
12-18 month project for embedded Linux developer. Looking for strong
skills in kernel/driver development and modification. Primarily new
development, but may entail some enhancements to existing systems.
Work centers around communications and data capture systems. More
details upon request

Job Number: HTSV1
Job Location:   Huntsville, AL
Rate:   100-115 HR
Per Diem:   Yes
Overtime:   Yes
Duration:   12-18 months
Input Date: 06/10/2008
I'm sure they wouldn't offer it unless that is what they need to pay to get 
the people they want. Driver and kernel devel is a different level than 
software by a fair margin.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Apache jserv monitoring?

2008-06-10 Thread Sean Carolan
In our environment we have many legacy application servers running
apache/jserv.  There is a web server front end, then a couple of
load-balanced java servers on the backside.  One of the problems we
are faced with is hung or stuck jvms.  I have looked at the java
process with the ps command, and there are many times when URL(s) do
not respond, yet the java looks healthy, at least from the OS point of
view.  The usual cure for this situation is to restart the JVM, then
the URLs come right back up.

Are any of you aware of tools for monitoring apache jserv, either from
localhost or by connecting to port 8008 over the network?  I really
want to find out if there is a way to detect a "sick" JVM other than
getting a bunch of down URL alerts on my phone.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache jserv monitoring?

2008-06-10 Thread nate
Sean Carolan wrote:

> Are any of you aware of tools for monitoring apache jserv, either from
> localhost or by connecting to port 8008 over the network?  I really
> want to find out if there is a way to detect a "sick" JVM other than
> getting a bunch of down URL alerts on my phone.

How about setting up a cron to monitor it and auto restart if it's not
responding?

wget -q --timeout=30 http://localhost:8008/ -O /dev/null || (command to
restart jserv)

I'm not familiar with jserv but it looks like it serves a purpose similar
to tomcat, just a much older code base.

I've used similar scripts for tomcat in the past, such as this cron
*/5 * * * * /bin/grep -q \"java.lang.OutOfMemoryError: Java heap space\"
/logs/tomcat/web/1/run.latest.log  1>/dev/null 2>&1 && export
MYHOST=`hostname -s` && echo \"Restarting Tomcat on $MYHOST -
OutOfMemoryError\" | mail -s \"[$MYHOST] Restarting Tomcat due to
OutOfMemoryError\" [EMAIL PROTECTED] &&  /etc/init.d/appname restart
1>/dev/null 2>&1

When the app had a memory leak it helped me sleep better at night, as
the apps were restarting about 10x a day until the developers found the
source of the leak. Fortunately the app restarted reliably 99.9% of the
time. Another place I worked at before that had an app that was so poor
that you had to babysit it all the time, the number of things that could
go wrong was really too much work for us to automate it in a reasonable
amount of time.

Ideally the "load balancer" should be performing "health checks" against
the back end nodes and stop sending traffic to them if they are no
longer healthy. I'm not familiar with the load balancing method your
using, only with bigger load balancers like F5 BigIP.

nate

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


Re: [CentOS] Apache jserv monitoring?

2008-06-10 Thread Vincent Knecht
> In our environment we have many legacy application servers running
apache/jserv.  There is a web server front end, then a couple of
load-balanced java servers on the backside.  One of the problems we are
faced with is hung or stuck jvms.  I have looked at the java process with
the ps command, and there are many times when URL(s) do not respond, yet the
java looks healthy, at least from the OS point of view.  The usual cure for
this situation is to restart the JVM, then the URLs come right back up.
>
> Are any of you aware of tools for monitoring apache jserv, either from
localhost or by connecting to port 8008 over the network?  I really want to
find out if there is a way to detect a "sick" JVM other than getting a bunch
of down URL alerts on my phone.

Hello,

  I don't know jserv or about eventual specific jserv support, but Hyperic
might
be part of the answer. I know it can provide metrics about Tomcat and JVMs,
and application/server specific plugins can be written without too much
effort.
It's by far the most powerful/complete monitoring solution I've seen,
providing support out of the box or with plugins for a bunch of services and
applications.
Check
http://support.hyperic.com/confluence/display/hypcomm/HyperForge/#HyperFORGE-pluginforge
for existing plugins.
Perhaps what you want can be done with a JMX plugin ?

Really worth a try anyway...


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


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 1:31 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
>
> If you do not need CentOS for the reasons that most here use it then why
> don't you use Fedora if that gives you what you want? No one will be angry
> about you ;-)
>

Heh, heh, as in, don't let the door hit you on the way out?  :-}



Yeah, I could jump ship, but I prefer the stability of a proven base,
which is why I use CentOS wherever I can, and we're moving in that
direction, corporately speaking, anyway.  Besides, I just couldn't
leave this community - where would you folks get all the laughs from
then?  :-)

"It was just a whim."

Thanks.

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


Re: [CentOS] Setting up a chroot

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 2:37 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
>
> yum list mock:
>
> Available Packages
> mock.x86_64  0.6.13-1.el5.centos.1  extras
>

Hmm, I'd better check my repos and so forth - that did not show up in
my yum list

Is that CentOS extras or KB's or - never mind.  I'll just look.

Thanks!

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


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread William L. Maltby
On Tue, 2008-06-10 at 14:29 -0500, Chris Boyd wrote:
> On Jun 4, 2008, at 8:25 PM, Matt Hyclak wrote:
> 
> > If it were me, I would download the latest yum+dependencies and  
> > install them
> > via rpm before trying to debug an old yum.
> 
> 
> Good suggestion.  Upgraded yum, sqlite, and python.  Also added  
> enough swap space via a swapfile to let yum do what it wants.  Now it  
> just eats memory until it hits a 4GB wall and then dies.
> 
> Version info follows.
> 
> [EMAIL PROTECTED] ~]# rpm -q yum
> yum-2.4.3-4.el4.centos
> [EMAIL PROTECTED] ~]# rpm -q sqlite
> sqlite-3.3.6-2
> [EMAIL PROTECTED] ~]# rpm -q python
> python-2.3.4-14.4

Is this a continuation of the massive update seen earlier in
this/another thread?

If so, I still think you need to select a *few* of the packages manually
and upgrade them to reduce the massive dependancy processing. At some
point, enough "foundation" pieces will be in place to run the rest en
masse.

It might be instructive to see if swap is actually being used. In
another VT, top, free and other utils will report swap usage. Also,
swapon with no parameters will report swap usage.

Also, /proc/vmstat might have some useful information (if you dig enough
to actually know the meaning of the parameters).

Also, on my cat sys/vm/swappiness has 60 as a value. I know some folks
alter this stuff to beneficial/detrimental effect.

> 
> --Chris
> 

HTH
-- 
Bill

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


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread Karanbir Singh

Matt Hyclak wrote:

If it were me, I would download the latest yum+dependencies and install them
via rpm before trying to debug an old yum.


Absolutely. Make sure you get the newer yum with the yum-metadataparser, 
 That helps a lot with ram usage and also speed of the transactions.



--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread Johnny Hughes

Karanbir Singh wrote:

Matt Hyclak wrote:
If it were me, I would download the latest yum+dependencies and 
install them

via rpm before trying to debug an old yum.


Absolutely. Make sure you get the newer yum with the yum-metadataparser, 
 That helps a lot with ram usage and also speed of the transactions.




yum install yum-metadata-parser





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread Florin Andrei

Chris Boyd wrote:
Got a box running 4.3 x86 and we're trying up get it updated to 4.6, but 
yum is consuming all available memory (1GB) and swap (2GB), and then the 
oom starts killing processes.


I've disabled all the optional repositories, done  yum clean all, and 
still have the same problem even if I try to just update a specific 
package.


Google got me this link, but no obvious resolution:
http://www.centos.org/modules/newbb/viewtopic.php?forum=8&topic_id=5588&viewmode=flat 



Any pointers appreciated.


Backup, format, install, restore. ;-)

--
Florin Andrei

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


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread Kai Schaetzl
Mhr wrote on Tue, 10 Jun 2008 15:24:07 -0700:

> Heh, heh, as in, don't let the door hit you on the way out?  :-}

No, I meant it in a friendly way.

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] Newer GNOME than base release

2008-06-10 Thread Johnny Hughes

MHR wrote:

On Tue, Jun 10, 2008 at 1:31 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:

If you do not need CentOS for the reasons that most here use it then why
don't you use Fedora if that gives you what you want? No one will be angry
about you ;-)



Heh, heh, as in, don't let the door hit you on the way out?  :-}



Yeah, I could jump ship, but I prefer the stability of a proven base,
which is why I use CentOS wherever I can, and we're moving in that
direction, corporately speaking, anyway.  Besides, I just couldn't
leave this community - where would you folks get all the laughs from
then?  :-)



actually ... it is POSSIBLE to use garnome to build a parallel version 
of Gnome for CentOS.


It is not easy, and CERTAINLY not supported, but if you google for:

garnome  centos

you will find some people who have done it :D



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 4:31 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
> Mhr wrote on Tue, 10 Jun 2008 15:24:07 -0700:
>
>> Heh, heh, as in, don't let the door hit you on the way out?  :-}
>
> No, I meant it in a friendly way.
>

I thought so, but I just couldn't resist

;*)

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


[CentOS] Re: yum upgrade 4.3 -> current ?

2008-06-10 Thread Scott Silva

on 6-10-2008 12:29 PM Chris Boyd spake the following:


On Jun 4, 2008, at 8:25 PM, Matt Hyclak wrote:

If it were me, I would download the latest yum+dependencies and 
install them

via rpm before trying to debug an old yum.



Good suggestion.  Upgraded yum, sqlite, and python.  Also added enough 
swap space via a swapfile to let yum do what it wants.  Now it just eats 
memory until it hits a 4GB wall and then dies.


Version info follows.

[EMAIL PROTECTED] ~]# rpm -q yum
yum-2.4.3-4.el4.centos
[EMAIL PROTECTED] ~]# rpm -q sqlite
sqlite-3.3.6-2
[EMAIL PROTECTED] ~]# rpm -q python
python-2.3.4-14.4

--Chris

There is also a python-sqlite package that might have been updated.

rpm -q yum sqlite python python-sqlite

yum-2.4.3-4.el4.centos.noarch
sqlite-3.3.6-2.x86_64
python-2.3.4-14.4.el4_6.1.x86_64
python-sqlite-1.1.7-1.2.1.x86_64


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum upgrade 4.3 -> current ?

2008-06-10 Thread Karanbir Singh

Johnny Hughes wrote:

Karanbir Singh wrote:

Matt Hyclak wrote:
If it were me, I would download the latest yum+dependencies and 
install them

via rpm before trying to debug an old yum.


Absolutely. Make sure you get the newer yum with the 
yum-metadataparser,  That helps a lot with ram usage and also speed of 
the transactions.




yum install yum-metadata-parser


$] rpm -qpR yum-2.4.3-4.el4.centos.noarch.rpm  | grep meta
yum-metadata-parser

should not need to install it manually, :D the latest released yum in c4 
has a direct dep on metadata-parser


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread Johnny Hughes

Johnny Hughes wrote:

MHR wrote:
On Tue, Jun 10, 2008 at 1:31 PM, Kai Schaetzl 
<[EMAIL PROTECTED]> wrote:

If you do not need CentOS for the reasons that most here use it then why
don't you use Fedora if that gives you what you want? No one will be 
angry

about you ;-)



Heh, heh, as in, don't let the door hit you on the way out?  :-}



Yeah, I could jump ship, but I prefer the stability of a proven base,
which is why I use CentOS wherever I can, and we're moving in that
direction, corporately speaking, anyway.  Besides, I just couldn't
leave this community - where would you folks get all the laughs from
then?  :-)



actually ... it is POSSIBLE to use garnome to build a parallel version 
of Gnome for CentOS.


It is not easy, and CERTAINLY not supported, but if you google for:

garnome  centos

you will find some people who have done it :D


also, there is these guys:

http://www.alcance-empresarial.com/al/el/5/RPMS.al/




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer GNOME than base release

2008-06-10 Thread MHR
On Tue, Jun 10, 2008 at 4:44 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
>
> also, there is these guys:
>
> http://www.alcance-empresarial.com/al/el/5/RPMS.al/
>

All i386 rpms, but it was worth the look - thanks.

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


[CentOS] top in xen

2008-06-10 Thread Robert - elists
I haven't setup a xen box yet

Will try tonight.

Was wondering, what does top look like on a dual processor xen box in a
virtual ?

Do you see more than one processor or is it configurable from the xen master
or?

 - rh

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


[CentOS] Network FS w/o user setup

2008-06-10 Thread Ted Miller
Is there a file system + configuration that will let me share a directory, 
and anyone who has access to something in that directory on the server will 
also have access (and lack of access) to the same files from the client? 
Clients will be Centos5, Win2K, WinXP.  Server is Centos5.


To put it another way, all users have accounts on the server.  I don't want 
to have to set up ANY user information on the server, other than what I set 
up to control local access.  I just want to say "Share /vmware" and have it 
available, to the same users who can access it locally.


With Samba I have to maintain duplicate user lists, password lists, and 
share access lists.  I have not been able to find a clear instructions on 
how NFS4 handles this, but what I found didn't seem any better than Samba.


I don't mind implementing ACLs on the server if it will do what I need, but 
I can't find anything that says it will save me any work either.


Looking for a better way,
Ted Miller
Indiana, USA
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >