Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Georghy
Todd Cary a écrit :
> I am spoiled with Yum: never have had a dependency problem until today.  
> Can this be resolved:
>
> ---> Downloading header for compat-openldap to pack into transaction set.
> compat-openldap-2.3.27_2. 100% |=|  30 kB00:00
> ---> Package compat-openldap.i386 0:2.3.27_2.2.29-4.el4.centos set to be 
> updated
> --> Running transaction check
> --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for 
> package: dovecot
> --> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL
> --> Processing Dependency: libmysqlclient.so.14 for package: mod_auth_mysql
> --> Processing Dependency: libmysqlclient_r.so.14 for package: MySQL-python
> --> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14) for 
> package: MySQL-python
> --> Processing Dependency: libmysqlclient.so.14 for package: dovecot
> --> Finished Dependency Resolution
> Error: Missing Dependency: libmysqlclient_r.so.14 is needed by package 
> MySQL-python
> Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is 
> needed by package dovecot
> Error: Missing Dependency: libmysqlclient.so.14 is needed by package dovecot
> Error: Missing Dependency: libmysqlclient.so.14 is needed by package 
> perl-DBD-MySQL
> Error: Missing Dependency: libmysqlclient.so.14 is needed by package 
> mod_auth_mysql
> Error: Missing Dependency: libmysqlclient_r.so.14(libmysqlclient_14) is 
> needed by package MySQL-python
>
> Many thanks from a Linux user that knows just enough to keep it running...
>
> Todd
>
>   
hello,
i've search on the web and it seems that you need mysqlclient14-devel to 
make it working

see there :
http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libmysqlclient.so.14

try installing it thanks to yum ;)

-- 
Cordialement, / Greetings,
Georghy FUSCO

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


Re: [CentOS] About addition of hardware and kernel

2010-03-11 Thread Martin Jungowski
On Wed, 10 Mar 2010 15:30:13 -0500 Jose Luis Marin Perez wrote:
> And with the increase of RAM to 4GB? would not have problems with this
> kernel?

You might not be able to see and access the entire 4GB on a 32-bit system 
because part of your system memory (up to 512MB) will be reserved for 
periperal use. Not sure whether or not CentOS has PAE enabled by default, 
but you'll see that when you first boot the upgraded system.

Either way it'll still work just fine.

Martin

-- 
Rieke Computersysteme GmbH
Hellerholz 5
D-82061 Neuried
Email: mar...@rhm.de

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


Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]

2010-03-11 Thread Martin Jungowski
On Wed, 10 Mar 2010 12:23:46 -0800 Akemi Yagi wrote:
> There is a "CentOS" kernel 2.6.24. If you wish to give it a try, you can
> download from my site at:
> 
> http://centos.toracat.org/kernel/centos5/realtime/
> 
> It is a direct rebuild of the Red Hat MRG realtime kernel[1]. Please
> note that I offer them for testing purposes, not for production use.

Thanks Akemi, suspend and hibernate seem to work with your kernel. 
Funnily enough it's only KDE3 that doesn't accept my self-compiled 
kernels. With Gnome I can suspend and hibernate from the System menu 
while KDE3 doesn't offer me any option to do so. This means there must be 
something compiled into these kernels, or some option ticked or not 
ticked, that makes KDE3 realize it's capable of suspending and 
hibernating.

I'll try the wireless module next. Could you tell me what exactly is 
different about a realtime kernel compared to a non-realtime kernel? Is 
it just the scheduling?

Thanks,
Martin

-- 
Rieke Computersysteme GmbH
Hellerholz 5
D-82061 Neuried
Email: mar...@rhm.de

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Karanbir Singh
On 03/10/2010 10:53 PM, Todd Cary wrote:
> Using the -d8 here is what I get...a lot of info!!

You didnt read my last email completely, did you ? Specially the bit 
about not putting the paste here on the list, and putting *all* the info 
in ? So do one thing, run it with -d9 this time, and put all the output, 
really - all of it onto a pastebin. http://pastebin.centos.org works well.

Secondly, don't top post. Being on a mailing list is not the same as 
sending private emails to people, so think about that. Being nice to 
people who are tying to help you out isn't a bad thing really.


- KB

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


Re: [CentOS] An odd IPMI problem

2010-03-11 Thread mark
Peter Kjellstrom wrote:
> On Wednesday 10 March 2010, m.r...@5-cent.us wrote:
> ...
>> $ insmod
>> /lib/modules/2.6.18-164.11.1.el5/kernel/drivers/char/ipmi/ipmi_si.ko
>> ports=0xca2 slave_addrs=0x10
>> insmod: error inserting
>> '/lib/modules/2.6.18-164.11.1.el5/kernel/drivers/char/ipmi/ipmi_si.ko': -1
>> No such device
>>
>> and in the log
>> Mar 10 11:24:36 south kernel: IPMI System Interface driver.
>> Mar 10 11:24:36 south kernel: ipmi_si: Trying hardcoded-specified kcs
>> state machine at i/o address 0xca2, slave address 0x0, irq 0
>> Mar 10 11:26:28 south kernel: ipmi_si: There appears to be no BMC at this
>> location
>> Mar 10 11:26:28 south kernel: ipmi_si: Trying SMBIOS-specified kcs state
>> machine at i/o address 0xca2, slave address 0x20, irq 0
>> Mar 10 11:28:20 south kernel: ipmi_si: There appears to be no BMC at this
>> location
>> Mar 10 11:30:12 south kernel: ipmi_si: Unable to find any System
>> Interface(s)
> 
> Seems to me that the IPMI driver can't find the IPMI hardware. What kind of 
> server are you trying this on? Is it known to work with the IPMI-driver in 
> vanilla CentOS-5.4?

You seem to have missed the beginning of my original post, where I said that it 
had been running fine for 10 days, then *stopped* working. The server's still 
up, though I haven't been into the data center to see if the idiot red led 
"fault light" is blinking on (and that has no blink code, just "there's a 
problem" is what the docs say).

mark

mark
-- 
The new existentialist cereal: Raisin D'Etre - Prairie Home Companion joke show
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Is one meant to have one or the other?
If so, which is recommended?
I have

[...@helen etc]$ cat anacrontab 
# /etc/anacrontab: configuration file for anacron

# See anacron(8) and anacrontab(5) for details.

SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

1   65  cron.daily  run-parts /etc/cron.daily
7   70  cron.weekly run-parts /etc/cron.weekly
30  75  cron.monthlyrun-parts /etc/cron.monthly

[...@helen etc]$ cat crontab 
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

I didn't write either of these,
they must have been automatically installed.

My impression is that anacrontab was ignored until recently,
but now as far as I can see both are being read and acted on.

Any enlightenment gratefully received.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] unable to get domain status from libvirt & KVM

2010-03-11 Thread JohnS

On Wed, 2010-03-10 at 15:02 -0500, Tom Georgoulias wrote:

> Can someone provide some tips on what else I can check, if this might be 
> a bug, or point out any mistakes that I might've made?  Any help is 
> appreciated.
---
Why don't you have a read of "libvirt.py" in site packages.  ???

John

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Alexander Dalloz
> Is one meant to have one or the other?
> If so, which is recommended?
> I have
> 
> [...@helen etc]$ cat anacrontab

[ ... ]

> [...@helen etc]$ cat crontab

[ ... ]

> I didn't write either of these,
> they must have been automatically installed.
>
> My impression is that anacrontab was ignored until recently,
> but now as far as I can see both are being read and acted on.
>
> Any enlightenment gratefully received.

> Timothy Murphy

It is pretty "normal" to have them both on CentOS.

# rpm -qf /etc/crontab
crontabs-1.10-8
# rpm -qf /etc/anacrontab
anacron-2.3-45.el5

man 8 anacron

"DESCRIPTION
   Anacron  can  be  used  to  execute  commands  periodically, with a
frequency specified in days. Unlike cron(8), it does not assume
that the machine is running continuously.  Hence, it  can  be used 
on machines that aren’t running 24 hours a day, to control daily,
weekly, and monthly jobs that are usually controlled by cron."

This should make obvious why there are both of the crontabs and in which
situations anacron runs through his tab and when cron runs through his.

Regards

Alexander



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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Alexander Dalloz wrote:

> It is pretty "normal" to have them both on CentOS.
> 
> # rpm -qf /etc/crontab
> crontabs-1.10-8
> # rpm -qf /etc/anacrontab
> anacron-2.3-45.el5
> 
> man 8 anacron
> 
> "DESCRIPTION
>Anacron  can  be  used  to  execute  commands  periodically, with a
> frequency specified in days. Unlike cron(8), it does not assume
> that the machine is running continuously.  Hence, it  can  be used
> on machines that aren’t running 24 hours a day, to control daily,
> weekly, and monthly jobs that are usually controlled by cron."
> 
> This should make obvious why there are both of the crontabs and in which
> situations anacron runs through his tab and when cron runs through his.

Sorry, it's not at all clear to me.
The machine in question is running all the time.
Are you saying that anacron should be turned off in this case,
presumably by "chkconfig anacron off"?

1) I didn't turn it on, so presumably anacron runs by default under CentOS.

2) As far as I can tell, the duplication only started recently,
when I noticed that I was getting logwatch messages twice a day.

I have another CentOS-5.4 machine, which is also running all the time,
and as far as I can see there is no duplication on that machine.

To repeat my question, is one meant to turn anacron off
if the machine is running all the time?
Or is anacron meant to determine this in some way?
And if so, how?



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] unable to get domain status from libvirt & KVM

2010-03-11 Thread Tom Georgoulias
On 03/10/2010 07:08 PM, Akemi Yagi wrote:

>> Can someone provide some tips on what else I can check, if this might be
>> a bug, or point out any mistakes that I might've made?  Any help is
>> appreciated.
>
> Well, I am learning / testing kvm myself, so what I write might not be
> precise. But because no one seems to be responding ... :)

I appreciate the feedback.

> Look into /etc/libvirt/libvirtd.conf and check out the section "UNIX
> socket access controls" and make appropriate adjustment.  [ I created
> group 'libvirt' , added myself to the group, and uncommented the line
> "unix_sock_group = "libvirt"".]  Then adjust also the permission bits
> of the directories and files in /var/run/libvirt to allow access to
> the group libvirt.

I read about that on libvirt.org but chose not to make any changes 
since the Xen server already works with the same config I have on the 
KVM server.  I understood libvirt to be a layer that lets one compatible 
tool work with many different hypervisors, so I didn't think I'd need to 
change my libvirt config to work with KVM if it already works with Xen. 
  That might be a bad assumption, though, and I'm not wedded to it.  :)

> Another hint: you will have a better chance of getting replies by
> posting to the centos-virt mailing list.

I did that and will take the discussion there.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Alexander Dalloz


> Sorry, it's not at all clear to me.
> The machine in question is running all the time.
> Are you saying that anacron should be turned off in this case,
> presumably by "chkconfig anacron off"?
>
> 1) I didn't turn it on, so presumably anacron runs by default under
> CentOS.
>
> 2) As far as I can tell, the duplication only started recently,
> when I noticed that I was getting logwatch messages twice a day.
>
> I have another CentOS-5.4 machine, which is also running all the time,
> and as far as I can see there is no duplication on that machine.
>
> To repeat my question, is one meant to turn anacron off
> if the machine is running all the time?
> Or is anacron meant to determine this in some way?
> And if so, how?

> Timothy Murphy

Hi Timothy,

let's take the case that you have a power failure or a scheduled
maintenance with your system for instance in the early morning hours, from
03:00am - 05:00am. cron.daily is set by default to run at 04:02am. So in
this case cron could not perform tasks like logwatch. logwatch will miss
in such a case, *if* there wouldn't be anacron which takes over the task
to run after the machine is up again (i.e. at 05:00am).

There is no need to deactivate or remove anacron. If your system runs all
the time, then anacron will not come into play. If you got actions by
anacron on one of your systems, then it either was off while cronjobs
should have run or it was in single user mode.

How anacron handles jobs is documentend in "man 8 anacron". It uses
timestamp files in /var/spool/anacron/ to control, when a job was last
performed and whether it is pending.

Regards

Alexander


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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 12:50:13 Timothy Murphy wrote:
> Is one meant to have one or the other?
> If so, which is recommended?
> I have
> 
> [...@helen etc]$ cat anacrontab
> # /etc/anacrontab: configuration file for anacron
> 
> # See anacron(8) and anacrontab(5) for details.
> 
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> 
> 1   65  cron.daily  run-parts /etc/cron.daily
> 7   70  cron.weekly run-parts /etc/cron.weekly
> 30  75  cron.monthlyrun-parts /etc/cron.monthly
> 
> [...@helen etc]$ cat crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
> 
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> 
> I didn't write either of these,
> they must have been automatically installed.
> 
> My impression is that anacrontab was ignored until recently,
> but now as far as I can see both are being read and acted on.
> 
> Any enlightenment gratefully received.
> 

Both are typically installed as part of a CentOS install. But you only need 
one or the other. Generally cron on a 24x7 machine and anacron on a laptop.
One or the otrher is mormally disabled.

cron is a fixed time schedular. I wakes up every minute and checks if there are 
any jobs to be run. It checks /etc'/crontab for system crons to run and also 
in /var/spool/cron for individual crons to be run.

e.g  from my /etc/crontab file

22 4 * * 0 root run-parts /etc/cron.weekly

says

At 22 minutes past 4am run /etc/cron.weekly


anacron is for machines that are not up 24x7 so they could miss some of the 
times when "cron jobs" were to be run. So anacron wakes up and checks the 
/etc/anacrontab file. Then it runs any jobs after a certain delay period ( not 
at a fixed time )

e.g from my /etc/anacrontab file

7   20  cron.weekly nice run-parts /etc/cron.weekly

says

20 minutes after waking up every 7 days run /etc/cron.weekly


Hope this helps,

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Todd Cary


On 3/11/2010 4:25 AM, Karanbir Singh wrote:
> On 03/10/2010 10:53 PM, Todd Cary wrote:
>
>> Using the -d8 here is what I get...a lot of info!!
>>  
> You didnt read my last email completely, did you ? Specially the bit
> about not putting the paste here on the list, and putting *all* the info
> in ? So do one thing, run it with -d9 this time, and put all the output,
> really - all of it onto a pastebin. http://pastebin.centos.org works well.
>
> Secondly, don't top post. Being on a mailing list is not the same as
> sending private emails to people, so think about that. Being nice to
> people who are tying to help you out isn't a bad thing really.
>
>
> - KB
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
KB -

Sorry about misunderstanding the use of pastebin and not putting my post 
at the bottom!  I think I have now joined the party :-)!  Here is my 
pastebin:

http://pastebin.centos.org/31916

And, thank you for your generous help...

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Karanbir Singh
On 03/11/2010 02:41 PM, Todd Cary wrote:
> Sorry about misunderstanding the use of pastebin and not putting my post
> at the bottom!  I think I have now joined the party :-)!  Here is my
> pastebin:

Now all you haveto do is trim the reply a bit, and you're off!

> http://pastebin.centos.org/31916
>

So, do this - dont leave the testing repo enabled; disable it in the 
.repo file file, so it does not get considered for all your regular yum 
operations. that would solve you immediate issue.

As and when you need the testing repo, you can do something like this :
yum --enablerepo=c4-testing list ;

etc.

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Todd Cary
On 3/11/2010 7:08 AM, Karanbir Singh wrote:
> So, do this - dont leave the testing repo enabled; disable it in the
> .repo file file, so it does not get considered for all your regular yum
> operations. that would solve you immediate issue.
>

 >>
So, do this - dont leave the testing repo enabled; disable it in the
.repo file file, so it does not get considered for all your regular yum
operations. that would solve you immediate issue.
<<
I have no experience "disabling an entry in the repo"; I do have the 
syntax for enabling.  Could you give me some detail on how to do that?

Thank you...
Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] An odd IPMI problem

2010-03-11 Thread Peter Kjellstrom
On Thursday 11 March 2010, mark wrote:
> Peter Kjellstrom wrote:
...
> > Seems to me that the IPMI driver can't find the IPMI hardware. What kind
> > of server are you trying this on? Is it known to work with the
> > IPMI-driver in vanilla CentOS-5.4?
>
> 
> You seem to have missed the beginning of my original post, where I said
> that it had been running fine for 10 days, then *stopped* working.

Ooops, indeed, sorry for that :-)

That leaves, at least, two possibilities 1) the BMC is flaky (power cycle 
machine or maybe even replace the BMC) 2) kernel driver messed up.

If it's the driver then, assuming you havn't already, try to unload the ipmi 
stuff. Essentially "lsmod | grep ipmi" and the rmmod those. A "service ipmi 
restart" should probably automate this for you.

Since you're focusing on the "in system" approach I assume you lack an 
ethernet connection to the BMC? ...if not try to reach it that way.

/Peter

> The 
> server's still up, though I haven't been into the data center to see if the
> idiot red led "fault light" is blinking on (and that has no blink code,
> just "there's a problem" is what the docs say).
>
>   mark


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] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Tony Molloy wrote:

> anacron is for machines that are not up 24x7 so they could miss some of
> the times when "cron jobs" were to be run. So anacron wakes up and checks
> the /etc/anacrontab file. Then it runs any jobs after a certain delay
> period ( not at a fixed time )
...
> Hope this helps,

Sadly, no.

If "anacron is for machines that are not up 24x7"
then why run it on machines that are up all the time
(which I imagine is most CentOS machines)?


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Karanbir Singh
On 03/11/2010 03:35 PM, Todd Cary wrote:
> I have no experience "disabling an entry in the repo"; I do have the
> syntax for enabling.  Could you give me some detail on how to do that?

how did you enable it in the first place ? looking at your past emails, 
it looks like you added some content into /etc/yum.repos.d/ a file 
called CentOS-Testing.repo ? that file would have a line starting with 
'enabled=' which you set to 1; make that a 0 and the repo is disabled.

You can find this, and *all* other yum config details by looking at 'man 
yum.conf' and you can get all yum commands by looking at 'man yum'.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Alexander Dalloz wrote:

> let's take the case that you have a power failure or a scheduled
> maintenance with your system for instance in the early morning hours, from
> 03:00am - 05:00am. cron.daily is set by default to run at 04:02am. So in
> this case cron could not perform tasks like logwatch. logwatch will miss
> in such a case, *if* there wouldn't be anacron which takes over the task
> to run after the machine is up again (i.e. at 05:00am).

Thanks for your response.

Actually, I wouldn't mind in the slightest if cron.daily failed to run
because the machine was down at the nominated time.
It is not as though my world depends on cron.daily running every day.
I certainly would not run another program in case that happened.

> How anacron handles jobs is documentend in "man 8 anacron". It uses
> timestamp files in /var/spool/anacron/ to control, when a job was last
> performed and whether it is pending.

Actually, "man 8 anacron" does not say that.
It says "Anacron records the date in a special timestamp file",
but it doesn't say where that file is.

I see that there are actually files /var/spool/anacron/cron.daily , etc,
on my machine listing the last day anacron ran (20100311)
But it seems that this information is not used, in my case,
I don't know why.

As I said, this duplication seems to have started recently,
and I have taken no action on this machine for months
apart from running "sudo yum update",
so I assume some update had this effect.

I have a second CentOS machine where this duplication does not occur,
even though everything seems the same as on the first machine.






-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


[CentOS] ooimpress in show only mode

2010-03-11 Thread Jerry Geis
hi all.

Look at ooimpress on centos 5 x86_64.

been trying to find a way to get it to just show a power point and not 
show the editor screen.

tried:

ooimpress -show pp.ppt
ooimpress -invisible -show pp.ppt
ooimpress -headless -show pp.ppt
and others
I always get the editor window.

Did some google searching and didnt find anything...

Was wondering if anyone knows how to start impress and not show the editor.
I just want to see the power point in slide show mode.

Thanks,

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


Re: [CentOS] ooimpress in show only mode

2010-03-11 Thread m . roth
> hi all.
>
> Look at ooimpress on centos 5 x86_64.
>
> been trying to find a way to get it to just show a power point and not
> show the editor screen.

If you find out, let us all know. I open a .pps from an email, and get the
editor screen.

mark

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


[CentOS] VNC viewer blank screen

2010-03-11 Thread Vijay Shanker Dubey
Hi,

I have configured vnc on my centos server machine. But, unable to access the
vnc client. When ever i try to access my client. All I get is a blank screen
with only mouse working.

I am very clue less about the problem, Can I find out this error.

Regards,
Vijay Shanker Dubey
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:00:49 Timothy Murphy wrote:
> Tony Molloy wrote:
> > anacron is for machines that are not up 24x7 so they could miss some of
> > the times when "cron jobs" were to be run. So anacron wakes up and checks
> > the /etc/anacrontab file. Then it runs any jobs after a certain delay
> > period ( not at a fixed time )
> 
> ...
> 
> > Hope this helps,
> 
> Sadly, no.
> 
> If "anacron is for machines that are not up 24x7"
> then why run it on machines that are up all the time
> (which I imagine is most CentOS machines)?
> 

It's only on if you have switched it on..
#  chkconfig --list | grep anacron

will tell you if it is switched on

#  chkconfig --level 35 anacon off

will switch it off. on next rebot

#  service anacron stop

will stop it immediatley.

You don't need it on a machine that's up 24x7. cron should handle all your 
scheduled jobs.

By the way I run centos on several of my laptops and they're not up 24x7

Tony


-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Vijay Shanker Dubey
Hi I found out a log file in my .vnc folder. Here is the details:


-
Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70101000, The X.Org Foundation


Thu Mar 11 08:51:53 2010
 vncext:  VNC extension running!
 vncext:  Listening for VNC connections on port 5902
 vncext:  Listening for HTTP connections on port 5802
 vncext:  created VNC server for screen 0
/bin/sh: (-): No such file or directory

Thu Mar 11 08:52:04 2010
 Connections: accepted: 122.162.132.162::46570
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Thu Mar 11 08:52:10 2010
 VNCSConnST:  Server default pixel format depth 16 (16bpp) little-endian
rgb565
 VNCSConnST:  Client pixel format depth 6 (8bpp) rgb222
--


Regards,
Vijay Shanker Dubey



On Thu, Mar 11, 2010 at 10:13 PM, Vijay Shanker Dubey
wrote:

> Hi,
>
> I have configured vnc on my centos server machine. But, unable to access
> the vnc client. When ever i try to access my client. All I get is a blank
> screen with only mouse working.
>
> I am very clue less about the problem, Can I find out this error.
>
> Regards,
> Vijay Shanker Dubey
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Kwan Lowe
On Thu, Mar 11, 2010 at 11:43 AM, Vijay Shanker Dubey
 wrote:
> Hi,
> I have configured vnc on my centos server machine. But, unable to access the
> vnc client. When ever i try to access my client. All I get is a blank screen
> with only mouse working.
> I am very clue less about the problem, Can I find out this error.

Most likely you do not have a window manager configured in your
~/vnc/xstartup file.  Mine, for example, looks like this:

#!/bin/sh

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
startxfce4 &


The last line starts up my window manager and desktop.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Tony Molloy
On Thursday 11 March 2010 16:17:13 Timothy Murphy wrote:
> Alexander Dalloz wrote:
> > let's take the case that you have a power failure or a scheduled
> > maintenance with your system for instance in the early morning hours,
> > from 03:00am - 05:00am. cron.daily is set by default to run at 04:02am.
> > So in this case cron could not perform tasks like logwatch. logwatch will
> > miss in such a case, *if* there wouldn't be anacron which takes over the
> > task to run after the machine is up again (i.e. at 05:00am).
> 
> Thanks for your response.
> 
> Actually, I wouldn't mind in the slightest if cron.daily failed to run
> because the machine was down at the nominated time.
> It is not as though my world depends on cron.daily running every day.
> I certainly would not run another program in case that happened.
> 

You're world may not depend on it but those of us who run 10's of servers need
a bit more reassurance.  ;-)

> > How anacron handles jobs is documentend in "man 8 anacron". It uses
> > timestamp files in /var/spool/anacron/ to control, when a job was last
> > performed and whether it is pending.
> 
> Actually, "man 8 anacron" does not say that.
> It says "Anacron records the date in a special timestamp file",
> but it doesn't say where that file is.
> 

They're in /var/spool/anacron. Three files cron.daily .weekly .monthly.

> I see that there are actually files /var/spool/anacron/cron.daily , etc,
> on my machine listing the last day anacron ran (20100311)
> But it seems that this information is not used, in my case,
> I don't know why.
> 

That's the date anacron was last run.

> As I said, this duplication seems to have started recently,
> and I have taken no action on this machine for months
> apart from running "sudo yum update",
> so I assume some update had this effect.
> 

Yum probaably updated anacron and set it to running

On my laptop

#  rpm -qa --last | grep anacron
gives
cronie-anacron-1.4.3-4.fc12   Sat Feb 27 11:05:52 2010

So it was updated last on 27th Feb.

> I have a second CentOS machine where this duplication does not occur,
> even though everything seems the same as on the first machine.
> 

Tony

-- 

Chief Technical Officer.   Tel: +353 061-202778
Dept. of Comp. Sci.
University of Limerick.

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


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Vijay Shanker Dubey
Regards,
Vijay Shanker Dubey



On Thu, Mar 11, 2010 at 10:28 PM, Kwan Lowe  wrote:

> On Thu, Mar 11, 2010 at 11:43 AM, Vijay Shanker Dubey
>  wrote:
> > Hi,
> > I have configured vnc on my centos server machine. But, unable to access
> the
> > vnc client. When ever i try to access my client. All I get is a blank
> screen
> > with only mouse working.
> > I am very clue less about the problem, Can I find out this error.
>
> Most likely you do not have a window manager configured in your
> ~/vnc/xstartup file.  Mine, for example, looks like this:
>
> #!/bin/sh
>
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> vncconfig -iconic &
> startxfce4 &
>
>
My version of xtartup file is
---
#!/bin/sh (-)
# Add the following line to ensure you always have an xterm available.
( while true ; do xterm ; done ) &
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
---

I got this script form this tutorial on the cetos site. Do you see any error
in this.



> The last line starts up my window manager and desktop.
> ___
> 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] Dependency problems with Yum update

2010-03-11 Thread Todd Cary
On 3/11/2010 8:09 AM, Karanbir Singh wrote:
> On 03/11/2010 03:35 PM, Todd Cary wrote:
>
>> I have no experience "disabling an entry in the repo"; I do have the
>> syntax for enabling.  Could you give me some detail on how to do that?
>>  
> how did you enable it in the first place ? looking at your past emails,
> it looks like you added some content into /etc/yum.repos.d/ a file
> called CentOS-Testing.repo ? that file would have a line starting with
> 'enabled=' which you set to 1; make that a 0 and the repo is disabled.
>
> You can find this, and *all* other yum config details by looking at 'man
> yum.conf' and you can get all yum commands by looking at 'man yum'.
>
> - KB
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
I am obviously missing something since a cat of the repo file shows it 
disabled and I still get the same errors.

[testing]
name=CentOS-$releasever - Testing
arch=$basearch&repo=testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
gpgcheck=1
enable=0
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] ooimpress in show only mode

2010-03-11 Thread Kwan Lowe
On Thu, Mar 11, 2010 at 11:28 AM, Jerry Geis  wrote:
> hi all.
>
> Look at ooimpress on centos 5 x86_64.
>
> been trying to find a way to get it to just show a power point and not
> show the editor screen.
>
> tried:
>
> ooimpress -show pp.ppt

At least on my version, this works. It shows the editor screen for a
second then drops into presentation (full screen,  to advance,
etc.).

[k...@ice9 Documentation]$ yum list openoffice*impress
Loaded plugins: dellsysidplugin, downloadonly, fastestmirror, priorities
Installed Packages
openoffice.org-impress.i3861:2.3.0-6.11.el5_4.4installed
[k...@ice9 Documentation]$

> ooimpress -invisible -show pp.ppt
> ooimpress -headless -show pp.ppt
> and others
> I always get the editor window.
>
> Did some google searching and didnt find anything...
>
> Was wondering if anyone knows how to start impress and not show the editor.
> I just want to see the power point in slide show mode.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Les Mikesell
On 3/11/2010 10:43 AM, Vijay Shanker Dubey wrote:
> Hi,
>
> I have configured vnc on my centos server machine. But, unable to access
> the vnc client. When ever i try to access my client. All I get is a
> blank screen with only mouse working.
>
> I am very clue less about the problem, Can I find out this error.

Have you tried freenx and either nxclient or the NX clients you can 
download from http://www.nomachine.com for linux/windows/mac?  It is 
really much nicer than vnc for remote access.

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


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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Karanbir Singh
On 03/11/2010 05:04 PM, Todd Cary wrote:
> I am obviously missing something since a cat of the repo file shows it
> disabled and I still get the same errors.
>

Your problem is starting from :

# Adding Package mysql-server - 5.0.82sp1-1.el4_8.i386 in mode u
# ---> Package mysql-server.i386 0:5.0.82sp1-1.el4_8 set to be updated

why dont you drop into the irc channel and see if someone can talk you 
through the issue. Your system is clearly pulling in the package 
manifest from the testing repo ( which is where that mysql is hosted )

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


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Kwan Lowe
On Thu, Mar 11, 2010 at 12:03 PM, Vijay Shanker Dubey
 wrote:
[snip]
> unset SESSION_MANAGER
> exec /etc/X11/xinit/xinitrc
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> vncconfig -iconic &
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> twm &
> ---
> I got this script form this tutorial on the cetos site. Do you see any error
> in this.

Nothing apparent, but check that the twm manager is available. On the
server, what is the result of:

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


[CentOS] drbd-kmdl packages question

2010-03-11 Thread Nicholas L. Soms
Dear collegues!

I've got one question about drbd-kmdl packages.
As I can see at
$ rpm -qp --qf "%{DESCRIPTION}" kmod-drbd-8.0.16-5.el5_3.i686.rpm
This package provides the drbd kernel modules built for the Linux
kernel 2.6.18-128.4.1.el5 for the i686 family of processors.

So, the question is - kmod-drbd is for kernel 128.4.1 (or build for this
kernel version), but current kernel is 164.11.1. Does that means that
kmod-drbd should be rebuild for each kernel or it works vell without
rebuild?

-- 
Best regards, Soms N. L.
___
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Vijay Shanker Dubey
Regards,
Vijay Shanker Dubey



On Thu, Mar 11, 2010 at 10:48 PM, Kwan Lowe  wrote:

> On Thu, Mar 11, 2010 at 12:03 PM, Vijay Shanker Dubey
>  wrote:
> [snip]
> > unset SESSION_MANAGER
> > exec /etc/X11/xinit/xinitrc
> > [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> > [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> > xsetroot -solid grey
> > vncconfig -iconic &
> > xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> > twm &
> > ---
> > I got this script form this tutorial on the cetos site. Do you see any
> error
> > in this.
>
> Nothing apparent, but check that the twm manager is available. On the
> server, what is the result of:
>
>   which twm
>

---
/usr/bin/twm
---

___
> 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] Dependency problems with Yum update

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 9:04 AM, Todd Cary  wrote:

> I am obviously missing something since a cat of the repo file shows it
> disabled and I still get the same errors.
>
> [testing]
> name=CentOS-$releasever - Testing
> arch=$basearch&repo=testing
> baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
> gpgcheck=1
> enable=0
> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

The "authentic" testing repo file for CentOS-4 has these lines:

[c4-testing]
name=CentOS-4 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

Yours is apparently different (even the repo name).  Where did you get it from?

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Karanbir Singh
On 03/11/2010 05:04 PM, Todd Cary wrote:
> gpgcheck=1
> enable=0

also that needs to be 'enabled' - you are missing the 'd'
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] drbd-kmdl packages question

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 9:19 AM, Nicholas L. Soms  wrote:
> Dear collegues!
>
> I've got one question about drbd-kmdl packages.
> As I can see at
> $ rpm -qp --qf "%{DESCRIPTION}" kmod-drbd-8.0.16-5.el5_3.i686.rpm
> This package provides the drbd kernel modules built for the Linux
> kernel 2.6.18-128.4.1.el5 for the i686 family of processors.
>
> So, the question is - kmod-drbd is for kernel 128.4.1 (or build for this
> kernel version), but current kernel is 164.11.1. Does that means that
> kmod-drbd should be rebuild for each kernel or it works vell without
> rebuild?

No, it is a kernel version independent, kABI-tracking kernel module.
So, it should survive each kernel update. No need for rebuilding.  (It
is different from drbd-kmdl)

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


Re: [CentOS] drbd-kmdl packages question

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 9:30 AM, Akemi Yagi  wrote:
> On Thu, Mar 11, 2010 at 9:19 AM, Nicholas L. Soms  wrote:
>> Dear collegues!
>>
>> I've got one question about drbd-kmdl packages.
>> As I can see at
>> $ rpm -qp --qf "%{DESCRIPTION}" kmod-drbd-8.0.16-5.el5_3.i686.rpm
>> This package provides the drbd kernel modules built for the Linux
>> kernel 2.6.18-128.4.1.el5 for the i686 family of processors.
>>
>> So, the question is - kmod-drbd is for kernel 128.4.1 (or build for this
>> kernel version), but current kernel is 164.11.1. Does that means that
>> kmod-drbd should be rebuild for each kernel or it works vell without
>> rebuild?
>
> No, it is a kernel version independent, kABI-tracking kernel module.
> So, it should survive each kernel update. No need for rebuilding.  (It
> is different from drbd-kmdl)

Oh, and yes, that description should be changed to reflect the fact. :-D

Ralph? Are you the dev in charge of the maintenance?

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


Re: [CentOS] drbd-kmdl packages question

2010-03-11 Thread Joseph L. Casale
>No, it is a kernel version independent, kABI-tracking kernel module.
>So, it should survive each kernel update. No need for rebuilding.  (It
>is different from drbd-kmdl)

Akemi,
Funny, there was just a thread on the extra repo's drbd packages today
in the drbd list. Given those packages have bugs and are not really
maintained, along with the fact of how easy it is to make rpm's directly
from source (lacking kmod though) might it be wise to drop them?

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


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Kwan Lowe
There appears to be a typo in your xstartup script:

> #!/bin/sh (-)

That should just be:
  #!/bin/sh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] drbd-kmdl packages question

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 9:35 AM, Joseph L. Casale
 wrote:
>>No, it is a kernel version independent, kABI-tracking kernel module.
>>So, it should survive each kernel update. No need for rebuilding.  (It
>>is different from drbd-kmdl)
>
> Akemi,
> Funny, there was just a thread on the extra repo's drbd packages today
> in the drbd list. Given those packages have bugs and are not really
> maintained, along with the fact of how easy it is to make rpm's directly
> from source (lacking kmod though) might it be wise to drop them?
>
> jlc

I saw a brief discussion on this subject (maintaining drbd etc) on the
centos-devel IRC channel not long ago. Maybe this matter should be
discussed in the -devel mailing list ??  I would like to hear from
core CentOS devs.

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


Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 2:44 AM, Martin Jungowski  wrote:

> I'll try the wireless module next. Could you tell me what exactly is
> different about a realtime kernel compared to a non-realtime kernel? Is
> it just the scheduling?

I think that the best source of information is at the MRG web site:

http://www.redhat.com/mrg/realtime/

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


Re: [CentOS] VNC viewer blank screen

2010-03-11 Thread Vijay Shanker Dubey
On Thu, Mar 11, 2010 at 11:09 PM, Kwan Lowe  wrote:

> There appears to be a typo in your xstartup script:
>
> > #!/bin/sh (-)
>
> That should just be:
>  #!/bin/sh
>

Yes sir you got me. Thank you :)

That was the error.


> ___
> 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] crontab and/or anacrontab ?

2010-03-11 Thread Stephen Harris
On Thu, Mar 11, 2010 at 04:52:56PM +, Tony Molloy wrote:
> It's only on if you have switched it on..
> #  chkconfig --list | grep anacron

> #  chkconfig --level 35 anacon off
> 
> will switch it off. on next rebot
> 
> #  service anacron stop
> 
> will stop it immediatley.

In fact, it's not that simple; anacron isn't a persistent daemon.

The way it works is that the rc script calls anacron to catch up on
missed jobs.  When anacron has finished this then it exits.

Now from regular cron you'll see /etc/cron.{daily,weekly,monthly}/0anacron
which calls "anacron -u".  This simply tells anacron to update the
timestamp and does nothing else.

And that's how the boot version determines if there's work to do; if the
timestamp file is too old at boot time.

During normal operation anacron shouldn't run (except for the timestamp
updates).  If it is then either it's been running since boot time
(lots of work to catchup?  hung?) or else it's been incorrectly started.

So
$ chkconfig --list anacron
anacron 0:off   1:off   2:on3:on4:on5:on6:off

$ service anacron status
anacron is stopped

$ grep anacron /var/log/cron
Mar  7 04:22:02 mercury anacron[3138]: Updated timestamp for job `cron.weekly' 
to 2010-03-07
Mar  8 04:02:02 mercury anacron[20530]: Updated timestamp for job `cron.daily' 
to 2010-03-08
Mar  9 04:02:02 mercury anacron[26657]: Updated timestamp for job `cron.daily' 
to 2010-03-09
Mar 10 04:02:03 mercury anacron[5804]: Updated timestamp for job `cron.daily' 
to 2010-03-10
Mar 11 04:02:01 mercury anacron[10005]: Updated timestamp for job `cron.daily' 
to 2010-03-11


-- 

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Todd Cary
On 3/11/2010 9:25 AM, Akemi Yagi wrote:
> On Thu, Mar 11, 2010 at 9:04 AM, Todd Cary  wrote:
>
>
>> I am obviously missing something since a cat of the repo file shows it
>> disabled and I still get the same errors.
>>
>> [testing]
>> name=CentOS-$releasever - Testing
>> arch=$basearch&repo=testing
>> baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
>> gpgcheck=1
>> enable=0
>> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
>>  
> The "authentic" testing repo file for CentOS-4 has these lines:
>
> [c4-testing]
> name=CentOS-4 Testing
> baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
> enabled=0
> gpgcheck=1
> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
>
> Yours is apparently different (even the repo name).  Where did you get it 
> from?
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
I needed a current version of Ruby and Rails and was advised to do the 
following:

   966  gvim /etc/yum.repos.d/CentOS-Testing.repo
   967  yum --enablerepo=testing install ruby ruby-devel ruby-rdoc
   968  wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
   969  tar xvzf rubygems
   970  find / -name rubygems*
   971  tar xvzf /root/rubygems-1.3.4.tgz
   972  ruby rubygems-1.3.4/setup.rb
   973  gem install rails

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread felipe
not email 

- Mensagem original -
De: "Todd Cary" 
Para: "CentOS mailing list" 
Enviadas: Quinta-feira, 11 de Março de 2010 15:46:54
Assunto: Re: [CentOS] Dependency problems with Yum update

On 3/11/2010 9:25 AM, Akemi Yagi wrote:
> On Thu, Mar 11, 2010 at 9:04 AM, Todd Cary  wrote:
>
>
>> I am obviously missing something since a cat of the repo file shows it
>> disabled and I still get the same errors.
>>
>> [testing]
>> name=CentOS-$releasever - Testing
>> arch=$basearch&repo=testing
>> baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
>> gpgcheck=1
>> enable=0
>> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
>>  
> The "authentic" testing repo file for CentOS-4 has these lines:
>
> [c4-testing]
> name=CentOS-4 Testing
> baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
> enabled=0
> gpgcheck=1
> gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
>
> Yours is apparently different (even the repo name).  Where did you get it 
> from?
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
I needed a current version of Ruby and Rails and was advised to do the 
following:

   966  gvim /etc/yum.repos.d/CentOS-Testing.repo
   967  yum --enablerepo=testing install ruby ruby-devel ruby-rdoc
   968  wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
   969  tar xvzf rubygems
   970  find / -name rubygems*
   971  tar xvzf /root/rubygems-1.3.4.tgz
   972  ruby rubygems-1.3.4/setup.rb
   973  gem install rails

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

___
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] ooimpress in show only mode

2010-03-11 Thread Roger K. Wells
m.r...@5-cent.us wrote:
>> hi all.
>>
>> Look at ooimpress on centos 5 x86_64.
>>
>> been trying to find a way to get it to just show a power point and not
>> show the editor screen.
>> 
>
> If you find out, let us all know. I open a .pps from an email, and get the
> editor screen.
>
> mark
>
>   
on version 3.1.1 this works:
simpress -nologo -show Presentation.odp
roger wells
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   


-- 
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

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


Re: [CentOS] Dependency problems with Yum update

2010-03-11 Thread Todd Cary
On 3/11/2010 9:36 AM, Karanbir Singh wrote:
> On 03/11/2010 05:04 PM, Todd Cary wrote:
>
>> gpgcheck=1
>> enable=0
>>  
>
>
That fixed it!  I am not sure how the typo was made since I never edited 
the file; that is until I fixed it.  WOW!  Please accept my apologies 
for taking so much of your time as well as accepting my gratitude for 
your help.

yum is now in the process of downloading 11 packages (never got this far 
before), so I am assuming that it will complete without errors.

As you can tell, I am not an Admin; just know enough to keep the box 
running and as a result of hardly ever needing to touch it, I forget so 
much.

With appreciation,

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]

2010-03-11 Thread Martin Jungowski
Bad news. Just like my self-compiled 2.6.25 and 2.6.27 kernels my laptop 
froze with your kernel and the wl.ko module, too. It didn't kernel panic 
and it lasted significantly longer than with 2.6.18 but it still froze in 
the end.

I'm back to 2.6.18-164-11-bug4139.4192.4196 now. Instead of Broadcom's 
proprietary wl.ko module I'm now using bcm43xx with an extracted Broadcom 
firmware that I extracted via b43-fwcutter. That one has been running 
perfectly fine for the entire day now without freezing, crashing, or 
anything. And both standby and hibernation seem to work just fine.

Martin

-- 
Rieke Computersysteme GmbH
Hellerholz 5
D-82061 Neuried
Email: mar...@rhm.de

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


Re: [CentOS] NetworkManager trouble with CentOS 5.4 and KDE3

2010-03-11 Thread Martin Jungowski
On Wed, 10 Mar 2010 11:22:13 -0600 Rex Dieter wrote:
> It's a gnome-keyring bug, only even recently fixed in fedora,
> https://bugzilla.redhat.com/453880
> 
> In particular,
> https://bugzilla.redhat.com/show_bug.cgi?id=453880#c38 for a workaround.

Thanks a lot Rex. I had to delete wicd again because it failed to save my 
password too. It actually saved the wrong password - for whatever reason 
it was stored something completely different not even remotely similar to 
my WPA key. I'll try that workaround next.

Martin

-- 
Rieke Computersysteme GmbH
Hellerholz 5
D-82061 Neuried
Email: mar...@rhm.de

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


Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]

2010-03-11 Thread Akemi Yagi
On Thu, Mar 11, 2010 at 12:51 PM, Martin Jungowski  wrote:
> Bad news. Just like my self-compiled 2.6.25 and 2.6.27 kernels my laptop
> froze with your kernel and the wl.ko module, too. It didn't kernel panic
> and it lasted significantly longer than with 2.6.18 but it still froze in
> the end.
>
> I'm back to 2.6.18-164-11-bug4139.4192.4196 now. Instead of Broadcom's
> proprietary wl.ko module I'm now using bcm43xx with an extracted Broadcom
> firmware that I extracted via b43-fwcutter. That one has been running
> perfectly fine for the entire day now without freezing, crashing, or
> anything. And both standby and hibernation seem to work just fine.

I just wanted to let you know (in case you are not aware) that the
kernel 2.6.18-164-11-bug4139.4192.4196 is a test base for the
centosplus kernel. When the next kernel update comes out, it will be
"promoted" to the official cplus kernel. If you would like to continue
using this kernel, please be sure to configure your .repo
appropriately (
http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus ).

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Robert Nichols
On 03/11/2010 10:17 AM, Timothy Murphy wrote:
> Alexander Dalloz wrote:
>
>> let's take the case that you have a power failure or a scheduled
>> maintenance with your system for instance in the early morning hours, from
>> 03:00am - 05:00am. cron.daily is set by default to run at 04:02am. So in
>> this case cron could not perform tasks like logwatch. logwatch will miss
>> in such a case, *if* there wouldn't be anacron which takes over the task
>> to run after the machine is up again (i.e. at 05:00am).
>
> Thanks for your response.
>
> Actually, I wouldn't mind in the slightest if cron.daily failed to run
> because the machine was down at the nominated time.
> It is not as though my world depends on cron.daily running every day.
> I certainly would not run another program in case that happened.

In that case feel free to disable anacron, but it really makes little
difference.  As Stephen has pointed out, in CentOS 5 anacron runs once
when you enter any of the runlevels where it is active, runs any
overdue {daily,weekly,monthly} jobs, and then exits.  If there are no
overdue jobs, anacron exits immediately.

BTW, don't try to apply this knowledge to more recent releases, such
as Fedora 12.  There, the interaction between cron and anacron is
more complex.  The standard setup there is for cron to run only the
hourly jobs and for anacron, started each hour as one of those jobs,
to run any needed {daily,weekly,monthly} jobs.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Tony Molloy wrote:

>> Actually, I wouldn't mind in the slightest if cron.daily failed to run
>> because the machine was down at the nominated time.
>> It is not as though my world depends on cron.daily running every day.
>> I certainly would not run another program in case that happened.
 
> You're world may not depend on it but those of us who run 10's of servers
> need
> a bit more reassurance.  ;-)

The scenario is apparently that there is a power outage
at exactly the time cron.daily is running.
The machine stops and then starts again
(if it doesn't then it doesn't matter whether anacron is running or not).
In my experience the probability of this occurring is close to zero,
and it wouldn't really matter if logrotate or something like that
was put off for one night.
What are you running through cron.daily on your 10's of servers
that is so vital?

>> I see that there are actually files /var/spool/anacron/cron.daily , etc,
>> on my machine listing the last day anacron ran (20100311)
>> But it seems that this information is not used, in my case,
>> I don't know why.
...
>> As I said, this duplication seems to have started recently,
>> and I have taken no action on this machine for months
>> apart from running "sudo yum update",
>> so I assume some update had this effect.

> On my laptop
> 
> #  rpm -qa --last | grep anacron
> gives
> cronie-anacron-1.4.3-4.fc12   Sat Feb 27 11:05:52 2010

In my case,

[...@helen ~]$ rpm -qa --last | grep anacron
anacron-2.3-45.el5.centos Fri 07 Mar 2008 08:36:23 PM 
GMT

Note the year (2008).
It seems anacron has not been updated for ages,
although I run "yum update" every day.

I'll try turning off anacron on the first machine,
and see what happens.
The duplication issue is not really a problem -
I just wondered (and wonder) why it is happening.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] crontab and/or anacrontab ?

2010-03-11 Thread Timothy Murphy
Tony Molloy wrote:

>> If "anacron is for machines that are not up 24x7"
>> then why run it on machines that are up all the time
>> (which I imagine is most CentOS machines)?
>> 
> 
> It's only on if you have switched it on..
> #  chkconfig --list | grep anacron
> 
> will tell you if it is switched on

In my case, it is on (on both my CentOS machines)
but I certainly did not turn it on.
On one machine at least it must have been running
since CentOS was installed.

> By the way I run centos on several of my laptops and they're not up 24x7

Seems a strange distribution to me to run on a laptop.
Don't you find you are missing some things?

In any case, surely CentOS is intended basically for servers,
which are unlikely to be turned off very often?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] compilers a security risk?

2010-03-11 Thread Mike McCarty
Dave Stevens wrote:
> I manage a web hosting server that we've recently upgraded, in part so  
> we could accommodate a domain that will enable community mapping. In a  
> recent exchange of mails one developer said:
> 
> 
> "I could build the package directly on the server machine you have,
> provided that the potential security risk posed by having compilers
> installed is not an issue."

That's how the "Internet Worm" spread.

As a general principle, machines on the "periphery" or what one
might call "firewall machines" should have nothing installed
which they don't need in order to perform their primary intended
function. That means both hardware and software, IMO.

The less which is there, the fewer potentials for compromise exist.

No services should run which aren't necessary for the functioning
of the machine. Don't even install them unless you have to, but
don't enable/start them if you install them.

I would install rkhunter and tripwire, and I would peruse their
logs.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos