Re: [CentOS-virt] DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down

2016-01-21 Thread Keith Roberts
Hi Francis.

Personally I would gracefully shutdown all the VM’s first, before attempting to 
shutdown the xen hypervisor.

Are you getting any fsck errors when restarting those VM’s?

Kind Regards,

Keith

On 21 Jan 2016, at 08:48, Francis Greaves  wrote:

> I am using Xen 4.6.0-8.el7 on CentOS 7 with 3 Linux DomUs. I did have Xen 4.? 
> on CentOS 6.5 on my previous system. I installed using  yum install 
> centos-release-xen.
> On shutting down the Hypervisor it used to wait for the DomUs to shut down 
> gracefully (one can take a minute or more), then on starting up again it 
> would restart the DomUs, all nice and controlled.
> For some reason the DomUs (CentOS or Ubuntu servers) are not shutting down 
> nicely when the Hypervisor is shutdown, and not restarting. I have the cfg 
> files in /etc/xen/auto so they should start up.
> If I forget to shut down the DomU guests then the shutdown hangs.
> I am running this on a Dell Poweredge T430 by the way.
> Any ideas why, and how to cure this?
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Fwd: xen-4.4.3-1 packages released

2015-09-24 Thread Keith Roberts
Forwarding this to the list as I had a problem with our domain being 
blacklisted:

<centos-virt@centos.org>: host mail.centos.org[72.26.200.203] said: 554 5.7.1
   Service unavailable; Client host [62.208.144.128] blocked using
   ix.dnsbl.manitu.net; Your e-mail service was detected by mx-ha.web.de (NiX
   Spam) as spamming at Thu, 24 Sep 2015 05:14:02 +0200.

Begin forwarded message:

> From: Keith Roberts <keith.robe...@ecric.nhs.uk>
> Subject: Re: [CentOS-virt] xen-4.4.3-1 packages released
> Date: 24 September 2015 09:45:32 BST
> To: Discussion about the virtualization on CentOS <centos-virt@centos.org>
> 
> On 23 Sep 2015, at 21:54, Johnny Hughes <joh...@centos.org> wrote:
> 
>> I have signed and released the xen4centos CentOS-6 packages to our main
>> mirrors, the following are released:
>> 
>> x86_64:
>> xen-4.4.3-1.el6.x86_64.rpm
>> xen-devel-4.4.3-1.el6.x86_64.rpm
>> xen-doc-4.4.3-1.el6.x86_64.rpm
>> xen-hypervisor-4.4.3-1.el6.x86_64.rpm
>> xen-libs-4.4.3-1.el6.x86_64.rpm
>> xen-licenses-4.4.3-1.el6.x86_64.rpm
>> xen-ocaml-4.4.3-1.el6.x86_64.rpm
>> xen-ocaml-devel-4.4.3-1.el6.x86_64.rpm
>> xen-runtime-4.4.3-1.el6.x86_64.rpm
>> 
>> src:
>> xen-4.4.3-1.el6.src.rpm
> 
> Hi Johnny.
> 
> That’s great news and thanks for all the effort with this.
> 
> I currently have issues with upgrading a xen VM host server from openSUSE 
> 12.3 to 13.1 and one of the options I’d like to consider
> is installing Centos 6 or 7 using xen on the VM host.
> 
> I only want to replace the xen VM host server OS with another Linux distro 
> with LTS that also uses the xen hypervisor.
> 
> So not having a 64 bit base installation of xen on Centos 6 or 7 has been a 
> blocker for me doing this.
> 
> I’m watching the mailing list like a hawk now, (and have been for some time) 
> for when xen is available for production use on Centos 6 or 7.
> 
> Thanks again Johnny for all your effort with this.
> 
> Kind Regards,
> 
> Keith Roberts

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] xen-4.4.3-1 packages released

2015-09-24 Thread Keith Roberts
On 24 Sep 2015, at 14:38, Johnny Hughes <joh...@centos.org> wrote:

> On 09/24/2015 04:11 AM, Keith Roberts wrote:
>> Forwarding this to the list as I had a problem with our domain being
>> blacklisted:
>> 
>> <centos-virt@centos.org <mailto:centos-virt@centos.org>>:
>> host mail.centos.org <http://mail.centos.org>[72.26.200.203] said: 554 5.7.1
>>   Service unavailable; Client host [62.208.144.128] blocked using
>>   ix.dnsbl.manitu.net <http://ix.dnsbl.manitu.net>; Your e-mail service
>> was detected by mx-ha.web.de <http://mx-ha.web.de> (NiX
>>   Spam) as spamming at Thu, 24 Sep 2015 05:14:02 +0200.
>> 
>> Begin forwarded message:
>> 
>>> *From: *Keith Roberts <keith.robe...@ecric.nhs.uk
>>> <mailto:keith.robe...@ecric.nhs.uk>>
>>> *Subject: **Re: [CentOS-virt] xen-4.4.3-1 packages released*
>>> *Date: *24 September 2015 09:45:32 BST
>>> *To: *Discussion about the virtualization on CentOS
>>> <centos-virt@centos.org <mailto:centos-virt@centos.org>>
>>> 
>>> On 23 Sep 2015, at 21:54, Johnny Hughes <joh...@centos.org
>>> <mailto:joh...@centos.org>> wrote:
>>> 
>>>> I have signed and released the xen4centos CentOS-6 packages to our main
>>>> mirrors, the following are released:
>>>> 
>>>> x86_64:
>>>> xen-4.4.3-1.el6.x86_64.rpm
>>>> xen-devel-4.4.3-1.el6.x86_64.rpm
>>>> xen-doc-4.4.3-1.el6.x86_64.rpm
>>>> xen-hypervisor-4.4.3-1.el6.x86_64.rpm
>>>> xen-libs-4.4.3-1.el6.x86_64.rpm
>>>> xen-licenses-4.4.3-1.el6.x86_64.rpm
>>>> xen-ocaml-4.4.3-1.el6.x86_64.rpm
>>>> xen-ocaml-devel-4.4.3-1.el6.x86_64.rpm
>>>> xen-runtime-4.4.3-1.el6.x86_64.rpm
>>>> 
>>>> src:
>>>> xen-4.4.3-1.el6.src.rpm
>>> 
>>> Hi Johnny.
>>> 
>>> That’s great news and thanks for all the effort with this.
>>> 
>>> I currently have issues with upgrading a xen VM host server from
>>> openSUSE 12.3 to 13.1 and one of the options I’d like to consider
>>> is installing Centos 6 or 7 using xen on the VM host.
>>> 
>>> I only want to replace the xen VM host server OS with another Linux
>>> distro with LTS that also uses the xen hypervisor.
>>> 
>>> So not having a 64 bit base installation of xen on Centos 6 or 7 has
>>> been a blocker for me doing this.
>>> 
>>> I’m watching the mailing list like a hawk now, (and have been for some
>>> time) for when xen is available for production use on Centos 6 or 7.
>>> 
>>> Thanks again Johnny for all your effort with this.
>>> 
>>> Kind Regards,
>>> 
>>> Keith Roberts
> 
> We have released xen (4.4.x) for CentOS-6 in production and we maintain
> it via the Virtualization SIG, which uses this list.  The released
> version lives on mirror.centos.org and the RPMs are here:
> 
> http://mirror.centos.org/centos/6/xen4/x86_64/
> 
> We also have a TESTING branch of xen 4.4 and 4.6rc for CentOS-7 in our
> Community Build System (CBS) here:
> 
> 4.4:
> http://cbs.centos.org/repos/virt7-xen-44-testing/x86_64/os/
> 
> 4.6rc:
> http://cbs.centos.org/repos/virt7-xen-46-testing/x86_64/os/
> 
> Those are not really production ready .. but do currently work.


Hi Johnny.

It’s nice to know Centos 6 is production ready now.

I might give it a spin on another OS partition, and see what results I get on a 
test server.

Kind Regards,

Keith










___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] poor performance with dom0 on centos7

2015-09-17 Thread Keith Roberts

On 2 Sep 2015, at 09:22, Pasi Kärkkäinen <pa...@iki.fi> wrote:

> On Tue, Sep 01, 2015 at 06:47:18AM +0200, Christoph wrote:
>> Hi All
>> 
> 
> Hello,
> 
>> it is possible to tune dom0/domU for better IO/network performance?
>> Since I have changed to Cenots7 dom0, I have a really poor IO
>> performance inside a PV VM.
>> 
>> I have already done what is described on
>> http://wiki.xenproject.org/wiki/Tuning_Xen_for_Performance
>> It is better now but still significantly worse than with centos6 dom0
>> 
>> my settings:
>> 
>> xen parameter: dom0_mem=1024M cpufreq=xen dom0_max_vcpus=2
>> dom0_vcpus_pin
>> 
>> xl sched-credit
>> Cpupool Pool-0: tslice=30ms ratelimit=1000us
>> NameID Weight  Cap
>> Domain-0 0   10240
>> samael   12560
>> satan25120
>> amon 32560
>> leviathan45120
>> 
>> echo 1048576 > /proc/sys/net/ipv4/tcp_limit_output_bytes on dom0
>> 
>> the both domU's satan and leviathan are very IO performance oriented
>> (NFS server and downloading vm)
>> 
>> Is there something more what I can do or try?
>> 
>> could it be a selinux issue? I have it in permissive mode there, not
>> disabled. But permissive means only to collect the info not enforcing
>> the rules...
>> 
>> (I use the xen45 pkgs)
>> 
> 
> You forgot to mention the most important thing.. what kind of performance 
> numbers are you seeing? What are you expecting? 
> 
> 
> Thanks,
> 
> —
> Pasi


Here’s a useful disk i/o stress test program that I got good results with on 
openSUSE 13.1, by running it on several VM’s overnight:

Using Bonnie++ for filesystem performance benchmarking
http://archive09.linux.com/feature/139742

HTH

Keith Roberts
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-27 Thread Keith Roberts
Thanks for all the replies.

Looking at the specs for the processor it does not seem to have the vmx 
features in /proc/cpuinfo:

http://www.notebookcheck.net/Intel-Core-2-Duo-T6400-Notebook-Processor.35100.0.html

and the output from grep -E ‘vmx|svm’ /proc/cpuinfo is empty.

/lib/modules/3.10.0-229.7.2.el7.x86_64/kernel/arch/x86/kvm
[keith.roberts@acer-centos kvm]$ ls
kvm-amd.ko  kvm-intel.ko  kvm.ko
[keith.roberts@acer-centos kvm]$
[keith.roberts@acer-centos kvm]$ modprobe kvm-intel
modprobe: ERROR: could not insert 'kvm_intel': Operation not permitted

[keith.roberts@acer-centos kvm]$ lsmod | sort
...
iwlwifi   112501  1 iwldvm
jbd2  102940  1 ext4
kvm   461126  0
libahci32009  1 ahci

[keith.roberts@acer-centos kvm]$ modprobe kvm-amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not permitted
[keith.roberts@acer-centos kvm]$ modprobe kvm-intel
modprobe: ERROR: could not insert 'kvm_intel': Operation not permitted

Is it still possible to create some KVM type virtual machines with this laptop, 
to be ported to the VM host server machine later, or
do I need another laptop with the required CPU flags?

Kind Regards,

Keith 

On 24 Jul 2015, at 16:46, Marcos Amorim marcosmamo...@gmail.com wrote:

 Keith, 
 
 What error?
 
 What's your processor? if it's AMD, you need modprobe kvm_amd instead of 
 kvm_intel.
 
 
 Marcos Amorim 
 
 
 
 2015-07-24 12:27 GMT-03:00 Keith Roberts keith.robe...@ecric.nhs.uk:
 
 On 24 Jul 2015, at 15:51, Marcos Amorim marcosmamo...@gmail.com wrote:
 
 
 Warning: This message contains unverified links which may not be safe.  You 
 should only click links if you are sure they are from a trusted source.
 Keith, 
 
 Try modprobe 
 modprobe kvm 
 modprobe kvm_intel 
 
 
 Regards, 
 
 
 Marcos Amorim
 
 Thanks Marcos.
 
 I tried modprobe kvm and that loaded that kernel module.
 
 I got an error trying to load the kvm_intel module though.
 
 Kind Regards,
 
 Keith
 
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

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


Re: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-27 Thread Keith Roberts
Hi Marcos.

The processor is an intel centrino in an acer aspire 5735 laptop.

I’ll take another look at this problem later, and post the exact error message 
asap.

Kind Regards,

Keith

On 24 Jul 2015, at 16:46, Marcos Amorim marcosmamo...@gmail.com wrote:

 Keith, 
 
 What error?
 
 What's your processor? if it's AMD, you need modprobe kvm_amd instead of 
 kvm_intel.
 
 
 Marcos Amorim 
 
 
 
 2015-07-24 12:27 GMT-03:00 Keith Roberts keith.robe...@ecric.nhs.uk:
 
 On 24 Jul 2015, at 15:51, Marcos Amorim marcosmamo...@gmail.com wrote:
 
 
 Warning: This message contains unverified links which may not be safe.  You 
 should only click links if you are sure they are from a trusted source.
 Keith, 
 
 Try modprobe 
 modprobe kvm 
 modprobe kvm_intel 
 
 
 Regards, 
 
 
 Marcos Amorim
 
 Thanks Marcos.
 
 I tried modprobe kvm and that loaded that kernel module.
 
 I got an error trying to load the kvm_intel module though.
 
 Kind Regards,
 
 Keith
 
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

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


Re: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-24 Thread Keith Roberts

On 24 Jul 2015, at 15:53, Johnny Hughes joh...@centos.org wrote:
 
 
 Try this:
 
 yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python
 python-virtinst libvirt-client
 
 (all one line)

Thanks Johnny.

I tried that and all the packages were installed apart from python-virtinst 
which yum could not locate.

Kind Regards,

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


Re: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-24 Thread Keith Roberts
Thanks Nux for your reply.

I have tried doing the search and all these packages are installed:

=== N/S matched: kvm 
===
libvirt-daemon-kvm.x86_64 : Server side daemon  driver required to run KVM 
guests
qemu-kvm-tools.x86_64 : KVM debugging and diagnostics tools
qemu-kvm.x86_64 : QEMU is a FAST! processor emulator
qemu-kvm-common.x86_64 : QEMU common files needed by all QEMU targets

  Name and summary matches only, use search all for everything.
[root@acer-centos keith.roberts]# 
[root@acer-centos keith.roberts]# yum install *kvm*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.econdc.com
 * extras: centos.serverspace.co.uk
 * updates: repo.bigstepcloud.com
Package 10:qemu-kvm-common-1.5.3-86.el7_1.2.x86_64 already installed and latest 
version
Package 10:qemu-kvm-1.5.3-86.el7_1.2.x86_64 already installed and latest version
Package libvirt-daemon-kvm-1.2.8-16.el7_1.3.x86_64 already installed and latest 
version
Package 10:qemu-kvm-tools-1.5.3-86.el7_1.2.x86_64 already installed and latest 
version
Nothing to do
bash-3.2$ 

Yet when I go to create a new VM with VMM, I get the following error message:

Warning: KVM is not available. This may mean the KVM package is not installed, 
or the KVM kernel modules are not loaded.
Your virtual machines may perform poorly.

So it’s the Kernel modules I’m looking for thankyou.

Kind Regards,

Keith  


On 10 Jul 2015, at 10:43, Nux! n...@li.nux.ro wrote:

 Keith,
 
 What KVM modules?
 
 yum search kvm will return some interesting bits, give it a try.
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Keith Roberts keith.robe...@ecric.nhs.uk
 To: centos-virt@centos.org
 Sent: Friday, 10 July, 2015 10:15:58
 Subject: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?
 
 Hi all.
 
 I have just installed Centos 7.1 from the DVD image:
 
 http://www.mirrorservice.org/sites/mirror.centos.org/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso
 
 and I cannot find the KVM modules.
 
 Are they in a repo that is not in the base distribution please?
 
 Kind Regards,
 
 Keith
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

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


Re: [CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-24 Thread Keith Roberts

On 24 Jul 2015, at 15:51, Marcos Amorim marcosmamo...@gmail.com wrote:

 
 Warning: This message contains unverified links which may not be safe.  You 
 should only click links if you are sure they are from a trusted source.
 Keith, 
 
 Try modprobe 
 modprobe kvm 
 modprobe kvm_intel 
 
 
 Regards, 
 
 
 Marcos Amorim

Thanks Marcos.

I tried modprobe kvm and that loaded that kernel module.

I got an error trying to load the kvm_intel module though.

Kind Regards,

Keith

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


[CentOS-virt] Where are the Centos 7.1 1503 KVM repos please?

2015-07-10 Thread Keith Roberts
Hi all.

I have just installed Centos 7.1 from the DVD image:

http://www.mirrorservice.org/sites/mirror.centos.org/7/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso

and I cannot find the KVM modules.

Are they in a repo that is not in the base distribution please?

Kind Regards,

Keith___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] yumex ?? Where art thou?

2012-12-05 Thread Keith Roberts
On Wed, 5 Dec 2012, Robert Moskowitz wrote:

 To: CentOS mailing list centos@centos.org
 From: Robert Moskowitz r...@htt-consult.com
 Subject: [CentOS] yumex ??  Where art thou?
 
 A little progress on Centos 6(.3), but

 Where is yumex?  I have grown to depend on it...

Have you tried Smart Package Manager?

# yum info smart*

HTH

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XFCE4 group missing on Centos 5.x?

2012-12-03 Thread Keith Roberts
On Sun, 18 Nov 2012, Jake Shipton wrote:

*snip*

 Hi,

 This may or may not be helpful, but I'll put this out there anyway just
 in case :-)

 In the CentOS 6 version of EPEL repository the group is
 called Xfce (Case Sensitive)

 so:

 yum groupinstall Xfce

 Should do the trick.

 If that doesn't work try yum grouplist and find a group related to
 XFCE. :-).

 Hope this helps.

Thanks for that answer Jake.

I think I've installed each seperate package for C5 now from 
EPEL.

I'll bear the above in mind when I upgrade to C6.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Playing mp4's on centos httpd

2012-11-28 Thread Keith Roberts
On 28/11/2012 00:04, James Pifer wrote:
 Sorry for the off topic, but hoping someone here can point me in a
 direction and end my endless googling... I have some mp4 training videos
 that our users need to be able to download or stream directly to their
 browser.

 I have the h.264 module loaded on httpd on centos (using
 http://swimminginthought.com/streaming-mp4-video-webserver-solved/#).

 So I think I have most of the infrastructure in place, but I'm not sure
 how to setup the streaming for all browsers. Do I need to embed some
 type of player? Like a flash player? Do browsers, Firefox and IE,.
 already have a player I can make use of?

 Any help or direction here is appreciated.

 Thanks,

Hi James.

You need SMplayer and the codecs to go with it. I use it on Centos 5.8 
and the Windows version on Vista.

HTH

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


Re: [CentOS] Unable to lauch php-script to truncate database

2012-11-16 Thread Keith Roberts
On Tue, 13 Nov 2012, Johan Vermeulen wrote:

*snip*

 Hello All, Hello Keith,

 thanks a million for the responses, I'm already happy to understand
 where the EM are coming from.

 The config.php are in each database;

 /[root@caw-server2 db]# ls
 reg_begeleidingsteam  reg_jww_archief   reg_personeel reg_straathoekwerk
 reg_bib   reg_jww_dossiers  reg_resident  reg_vrijwilligers
 reg_drughulp  reg_jww_dvd   reg_signaleren
 reg_jac_activiteitreg_onthaal   reg_sollicitatie/

 so for instance reg_bib ( witch has a library ) has config.php :

 /[root@caw-server2 reg_bib]# ls
 background_logo.jpgconfig.php  database.php  index.php
 background_stripe.png  cron.phpfavicon.ico/

 Following your advise, I changed the include enty to :

  include /var/www/html/nubuilder/db/reg_bib/config.php;

 this seems to work without EM, I'm now checking if this indeed truncated
 the files.

That's another way to do it - because that should overide 
the setting in the php.ini file.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-14 Thread Keith Roberts
On Thu, 8 Nov 2012, Tilman Schmidt wrote:

 To: centos@centos.org
 From: Tilman Schmidt t.schm...@phoenixsoftware.de
 Subject: Re: [CentOS] Multiple incremental DVD backup program?
 
 Am 03.11.2012 18:15, schrieb Keith Roberts:
 I don't expect to keep the same DVD backup set for more than
 ~12 months. I just make periodic backups from my dedicated
 backup drive to DVD/CDs, to get the data away from the PC
 and onto something hopefully more permanent than HDD's.

 Usually I can restore straight from the backup drive
 in the PC. I may have used the CD/DVD media when 3 HDD's
 decided to fail at around the same time.

 From personal experience, I wouldn't qualify burnt DVDs as
 more permanent than HDDs. Chances are high that when your
 three HDDs do fail, you'll find the DVD you burnt six months
 ago to be unreadable too. A bag of small inexpensive USB
 sticks to cycle through is probably more reliable and would
 free you from the need to split your backups.

 Jm2c,

Thanks Tilman.

Is it possible your media was to blame?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to lauch php-script to truncate database

2012-11-13 Thread Keith Roberts
On Mon, 12 Nov 2012, Mark LaPierre wrote:

*snip*

 or just try to execute the script from an absolute path:
 [root@caw-server2 jvermeulen]# php
 /var/www/html/nubuilder/db/reg_bib/cron.php
 PHP Warning:  include(./config.php): failed to open stream: No such file
 or directory in /var/www/html/nubuilder/db/reg_bib/cron.php on line 3
 PHP Warning:  include(): Failed opening './config.php' for inclusion
 (include_path='.:/usr/share/pear:/usr/share/php') in

*snip*

 Are you changing your active directory to /var/www/html/nubuilder/db in
 your shell script first?  It looks like your shell script is getting a
 listing of that directory and then trying to execute your PHP script in
 that directory which is failing because the parent process that called
 the PHP script is not currently in the directory where the PHP script is
 trying to find the files it is supposed to be working with.  See where
 it says, failed to open stream: No such file?

the other thing to bear in mind are:

; open_basedir, if set, limits all file operations to the 
defined directory and below.
; This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file.
; This directive is *NOT* affected by whether Safe Mode is turned On or Off.
; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.open-basedir
;open_basedir =

http://www.php.net/manual/en/ini.core.php#ini.include-path

These two directives work together to limit what files you 
allow PHP access to.

BTW - exactly where is the config.php file located you are 
trying to include?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] XFCE4 group missing on Centos 5.x?

2012-11-13 Thread Keith Roberts
I had XFCE group installed and working on C5.8 32 bit.

I have done a fresh installation using the C 5.5 DVD.

I cannot seem to find the XFCE group now. Has this been 
removed from Centos 5.x ?

TIA

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XFCE4 group missing on Centos 5.x?

2012-11-13 Thread Keith Roberts
On Tue, 13 Nov 2012, Johnny Hughes wrote:

 To: centos@centos.org
 From: Johnny Hughes joh...@centos.org
 Subject: Re: [CentOS] XFCE4 group missing on Centos 5.x?
 
 On 11/13/2012 01:55 PM, Keith Roberts wrote:
 I had XFCE group installed and working on C5.8 32 bit.

 I have done a fresh installation using the C 5.5 DVD.

 I cannot seem to find the XFCE group now. Has this been
 removed from Centos 5.x ?


 There is a version in CentOS Extras ... however, it is outdated.

 I was going to upgrade it ... BUT ... I found that it is now being
 maintained in EPEL for EL5.

 I would recommend that you use the EPEL version of XFCE.

Thanks Johnny.

This is what I'm getting now:

[root@karsites ~]# yum groupinfo XFCE
Loaded plugins: fastestmirror, priorities
Setting up Group Process
Loading mirror speeds from cached hostfile
  * base: mirror.for.me.uk
  * epel: mirrors.ukfast.co.uk
  * extras: mirror.for.me.uk
  * rpmforge: nl.mirror.eurid.eu
  * updates: mirror.for.me.uk
Warning: Group XFCE does not exist.

I was installing xfce4 with:

yum -y groupinstall XFCE

Has the name been changed?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XFCE4 group missing on Centos 5.x?

2012-11-13 Thread Keith Roberts
On Tue, 13 Nov 2012, Johnny Hughes wrote:

 To: centos@centos.org
 From: Johnny Hughes joh...@centos.org
 Subject: Re: [CentOS] XFCE4 group missing on Centos 5.x?
 
 On 11/13/2012 02:41 PM, Keith Roberts wrote:
 On Tue, 13 Nov 2012, Johnny Hughes wrote:

 To: centos@centos.org
 From: Johnny Hughes joh...@centos.org
 Subject: Re: [CentOS] XFCE4 group missing on Centos 5.x?

 On 11/13/2012 01:55 PM, Keith Roberts wrote:
 I had XFCE group installed and working on C5.8 32 bit.

 I have done a fresh installation using the C 5.5 DVD.

 I cannot seem to find the XFCE group now. Has this been
 removed from Centos 5.x ?

 There is a version in CentOS Extras ... however, it is outdated.

 I was going to upgrade it ... BUT ... I found that it is now being
 maintained in EPEL for EL5.

 I would recommend that you use the EPEL version of XFCE.
 Thanks Johnny.

 This is what I'm getting now:

 [root@karsites ~]# yum groupinfo XFCE
 Loaded plugins: fastestmirror, priorities
 Setting up Group Process
 Loading mirror speeds from cached hostfile
   * base: mirror.for.me.uk
   * epel: mirrors.ukfast.co.uk
   * extras: mirror.for.me.uk
   * rpmforge: nl.mirror.eurid.eu
   * updates: mirror.for.me.uk
 Warning: Group XFCE does not exist.

 I was installing xfce4 with:

 yum -y groupinstall XFCE

 Has the name been changed?

 The CentOS extras group name is:

 XFCE-4.4

 I don't think the EPEL version has groups.

[root@karsites ~]# yum groupinfo XFCE-4.4
Loaded plugins: fastestmirror, priorities
Setting up Group Process
Loading mirror speeds from cached hostfile
  * base: mirror.for.me.uk
  * epel: mirrors.ukfast.co.uk
  * extras: mirror.for.me.uk
  * rpmforge: nl.mirror.eurid.eu
  * updates: mirror.for.me.uk
Warning: Group XFCE-4.4 does not exist.

Maybe it's been removed now from extras as it's old?

OK - got it now Johnny. So I just install every xfce* 
package from EPEL and that's dealt with it?

Name   : xfce4-session
Arch   : i386
Version: 4.6.2
Release: 1.el5
Size   : 662 k
Repo   : epel
Summary: Xfce session manager
URL: http://www.xfce.org/
License: GPLv2+
Description: xfce4-session is the session manager for the
   : Xfce desktop environment.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to lauch php-script to truncate database

2012-11-12 Thread Keith Roberts
On Mon, 12 Nov 2012, Johan Vermeulen wrote:

 To: CentOS mailing list centos@centos.org
 From: Johan Vermeulen jvermeu...@cawdekempen.be
 Subject: [CentOS] Unable to lauch php-script to truncate database
 
 Dear All,

 we have some Nubuilder databases on a Centos6.3 server:

 [root@caw-server2 db]# ls /var/www/html/nubuilder/db
 reg_begeleidingsteam  reg_jww_archief   reg_personeel reg_straathoekwerk
 reg_bib   reg_jww_dossiers  reg_resident  reg_vrijwilligers
 reg_drughulp  reg_jww_dvd   reg_signaleren
 reg_jac_activiteitreg_onthaal   reg_sollicitatie

 in each database I have placed a executable file cron.php

 ---

 ?php

   include ./config.php; //nuBuilder config file
 $conn = mysql_connect($DBHost, $DBUser, $DBPassword);
 mysql_select_db($DBName,$conn);

 /**
 emptying zzsys_trap and zzsys_variable tables
 **/
   $sql = TRUNCATE TABLE zzsys_trap;
   mysql_query($sql);
   $sql = TRUNCATE TABLE zzsys_variable;
   mysql_query($sql);

 /**
 Deleting temp tables
 **/
 $result=mysql_query(SHOW TABLES FROM $DBName ) or die(mysql_error());
 if(mysql_num_rows($result)0)
 {
   while($row=mysql_fetch_row($result))
   {
 if(substr($row[0], 0, 3) === '___'  strrev(substr($row[0], 0,
 3) === '___'))
 {
 $sql = DROP TABLE $row[0];
 mysql_query($sql);
 }
   }
 }
 ?

 --

 for each file I can easily execute the file cron.php :

 [root@caw-server2 reg_bib]# php cron.php

 with the desired effect.

 *However *when I try to execute the cron.php files from a script :

 

 #!/bin/bash
 for i in `ls /var/www/html/nubuilder/db`
 do
 php /var/www/html/nubuilder/db/$i/cron.php
 done
 exit 0

 --

 or just try to execute the script from an absolute path:
 [root@caw-server2 jvermeulen]# php
 /var/www/html/nubuilder/db/reg_bib/cron.php

 PHP Warning:  include(./config.php): failed to open stream: No such file
 or directory in /var/www/html/nubuilder/db/reg_bib/cron.php on line 3

 PHP Warning:  include(): Failed opening './config.php' for inclusion
 (include_path='.:/usr/share/pear:/usr/share/php') in

Hello Johan.

Looks like you are trying to include files outside of your 
include_path settings as above.

To include a php file, it has to be within the paths set in 
the include_path directive.

Try changing your include path to the following:

include_path='.:/usr/share/pear:/usr/share/php:/var/www/html/nubuilder/db'

see if that does the trick.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreCAD FOSS

2012-11-11 Thread Keith Roberts
On Wed, 7 Nov 2012, Mark LaPierre wrote:

 To: Mail List CentOS Users centos@centos.org
 From: Mark LaPierre marklap...@aol.com
 Subject: [CentOS] LibreCAD FOSS
 
 Hey Y,all

 I seem to remember someone on this list looking for CAD software.  I 
 thought I should send this along just in case I'm right and someone 
 remembers who it was that was looking.

  Original Message 
 Subject: Please add libreCAD to the Fedora repositories.
 Date: Tue, 06 Nov 2012 21:25:03 -0700
 From: Steve linuxguy...@gmail.com
 Reply-To: Community support for Fedora users us...@lists.fedoraproject.org
 To: us...@lists.fedoraproject.org

 I request that libreCAD be added to the Fedora repositories.
 http://librecad.org/cms/home.html

 libreCAD is the take over of what used to be QCAD.QCAD has been
 forked into a closed source application and work on the open source
 application appears to have ceased.

Might have been me asking about this Mark.

If you fork GPL code into closed source, is that against the 
GPL?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing Java 7 on a system with Java 6

2012-11-09 Thread Keith Roberts

On Thu, 8 Nov 2012, John J. Boyer wrote:


To: centos@centos.org
From: John J. Boyer john.bo...@abilitiessoft.com
Subject: [CentOS] Installing Java 7 on a system with Java 6

My system is 5.6, with upgrades. I installed Java 6 from the Centos
repository. It doesn't seem to have Java 7. I need the development
package. How can I install Java 7 development safely? I imagine I will
first have to uninstall Java 6.


Hi John.

I'm running C5.8 and I don't use iced tea or any java 
from the repos.


I have recently installed the Oracle
Java SE Development Kit (JDK) direct from:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

I use the rpm.bin version, as it unpacks and install 
quick, and sets up the symlinks under /usr/java.


Here's the output from installing it:

[root@karsites 6u37]# ./jdk-6u37-linux-i586-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP 
(zip-b...@lists.wku.edu).

  inflating: jdk-6u37-linux-i586.rpm
  inflating: sun-javadb-common-10.6.2-1.1.i386.rpm
  inflating: sun-javadb-core-10.6.2-1.1.i386.rpm
  inflating: sun-javadb-client-10.6.2-1.1.i386.rpm
  inflating: sun-javadb-demo-10.6.2-1.1.i386.rpm
  inflating: sun-javadb-docs-10.6.2-1.1.i386.rpm
  inflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm
Preparing...
### [100%]
1:jdk
### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
...

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Oracle products, services and training
* Access to early releases and documentation

The rpm.bin version installs java under 
/usr/java/jdk1.6.0_37


After the installation I copy /usr/java/jdk1.6.0_37
to /usr/local/java/jdk1.6.0_37

and delete or rename the /usr/java/jdk1.6.0_37
then create the symlinks to the copy at
/usr/local/java/jdk1.6.0_37

[root@karsites java]# tree -A
.
├── default - /usr/java/latest
├── jdk1.6.0_37 - /usr/local/java/jdk1.6.0_37
└── latest - /usr/java/jdk1.6.0_37

I have had issues with java before such as printing from 
Java applications not working. By installing Java this way, 
I can keep different older versions of java on 
/usr/local/java and as /usr/local is a mounted partition, 
the java installation survives a reinstallation of the OS, 
without me having to reinstall java again.


Also some Java applications did not work correctly when 
using the open source version of java, as opposed to the 
Sun - now Oracle version.


[root@karsites CLI]# java -version
java version 1.6.0_37
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, 
sharing)


HTH

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6: Dell GX270 fails to power down (but reboots)

2012-11-08 Thread Keith Roberts

On Thu, 8 Nov 2012, Sorin Srbu wrote:


To: 'CentOS mailing list' centos@centos.org
From: Sorin Srbu sorin.s...@orgfarm.uu.se
Subject: Re: [CentOS] Centos 6: Dell GX270 fails to power down (but reboots)


Have you tried to shutdown from a CL console.

$ pinfo shutdown:

SHUTDOWN(8)   Linux System Administrator’s Manual

NAME
   shutdown - bring the system down

SYNOPSIS
   /sbin/shutdown [-t sec] [-arkhncfFHP] time 
[warning-message]


DESCRIPTION
   shutdown brings the system down in a secure way.  All 
logged-in users are notified that the  system  is  going 
down,  and  login(1)  is blocked.  It is possible to shut the 
system down immediately or after a specified delay.   All 
processes are first  notified  that  the system is going down by 
the signal  SIGTERM.  This gives programs like vi(1) the time to 
save the file being edited, mail and news processing programs 
a chance to exit cleanly, etc.  shutdown does its job  by 
signalling the init process, asking it to change the runlevel.


Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apcupsd

2012-11-06 Thread Keith Roberts
On Tue, 6 Nov 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: [CentOS] apcupsd
 
 Anyone else around using apcupsd? I seem to be seeing a problem, and I'd
 like someone to check me on it: I edit /etc/apcupsd/apccontrol to replace
 the value of SHUTDOWN from /sbin/shutdown to /bin/false (we don't want 3
 or 6 servers shutting down over a 2 second or so blip, which it really
 wants to do).

 What's happened is that a machine shut down the other day, and looking at
 it, I found that the config file was set to the original code... and I
 *KNOW*, for a fact, that I went through every single server that's
 attached to a UPS many months ago, after something important shut down,
 and fixed all of them.

 So, it looks like an upgrade undid my change, rather than creating
 apccontrol.rpmnew.

Hi Mark.

I've been using apcupsd for years.

I'm on Centos 5.8.

Don't you mean apcupsd.conf for your configuration settings?

That's the one I use to configure apcupsd.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Desktop Switcher

2012-11-03 Thread Keith Roberts
On Sat, 3 Nov 2012, Clive Hills wrote:

 To: CentOS mailing list centos@centos.org
 From: Clive Hills discordia...@gmail.com
 Subject: Re: [CentOS] Desktop Switcher
 
 I'm confused as are you. Gnome3 is unavailable for CentOS at present.
 Clive

To choose which desktop GUI system to run, use:

Name   : switchdesk
Arch   : noarch
Version: 4.0.8
Release: 7.el5
Size   : 7.6 k
Repo   : installed
Summary: A desktop environment switcher for GNOME, KDE 
and AnotherLevel.
License: GPL
Description: The Desktop Switcher is a tool which enables
   : users to easily switch between various
   : desktop environments that they have installed.
   :  The tool includes support for KDE, GNOME, XFce4
   : and twm.

In a particular desktop GUI environmet you can set how many 
virtual desktop sessions you want to run, and under XFCE you 
can run the xfce4-panel command, to give you a nice set of 
virtual desktops to switch between.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-03 Thread Keith Roberts
On Thu, 1 Nov 2012, Les Mikesell wrote:

 To: CentOS mailing list centos@centos.org
 From: Les Mikesell lesmikes...@gmail.com
 Subject: Re: [CentOS] Multiple incremental DVD backup program?
 
 On Thu, Nov 1, 2012 at 3:19 PM, Keith Roberts ke...@karsites.net wrote:

 Just a knee-jerk reaction because I like it so well, but whenever
 anyone mentions backups I have to recommend backuppc.   If you have
 any other system that can work over the network (perhaps offsite via
 VPN) and hold copies on-line you might like it.  It is the kind of
 thing that you can set up once and it will take care of itself for
 years.   It can use rsync for the transport so after your initial copy
 you only need bandwidth for the changes.

 That's something I might take a look at. What I want
 to do is make backups that are on removable media, so they
 are not dependant on a machine for their data safety. Once I
 have burnt the backups to DVD they will be stored away then,
 just in case I need them.


 Backuppc has an option to do something like that out of the backup
 copies (extract the equivalent of a tar, compressed and split to files
 that will fit on your backup media) but it is sort of an afterthought.
 The real focus is on keeping a history of backups online stored in a
 very efficient form so you can keep much more than you would expect
 online and available in a given amount of disk space.   It is much
 easier to use its web interface  to pick a file from last month to
 restore than to have to extract it from some huge old tar files on
 dvds.

Thanks for your helpful replies Les and others.

I've dealt with the directory size issues by using

$ du -sch DirName

to give a listing for the size of all the subdirectories and 
files in DirName directory.

To split the files under DirName i created 2 subdirs called

xxx_DVD-1
xxx_DVD-2

and just moved stuff to each subdirectory using F6 key in 
mc. Then ran du -sch on each of the DVD-1 and DVD-2 sub dirs.

I don't really want to compress things anyway. So that's the 
file and directory sizes sorted.

My only problem now is because some files were created on 
different OS's, such as Win 32 and possibly Mac OS(X) K3b 
complains that the character set encoding for the filenames 
is wrong, and will not create the iso image for me.

So I done some Googling and found this posting:

International Chars cause backup problems
http://forums.fedoraforum.org/archive/index.php/t-98363.html

Then I installed convmv and read the docs on that.

I'm still not sure how to identify out of 4.3G what 
character encodings are used for certain files.

Is there any way to grep for a listing of these character 
encodings, so I can tell convmv what sets I want to convert 
into utf8 please?

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-03 Thread Keith Roberts
On Thu, 1 Nov 2012, Leon Fauster wrote:

 To: CentOS mailing list centos@centos.org
 From: Leon Fauster leonfaus...@googlemail.com
 Subject: Re: [CentOS] Multiple incremental DVD backup program?
 
 Am 01.11.2012 um 21:19 schrieb Keith Roberts:
 On Thu, 1 Nov 2012, Les Mikesell wrote:

 Just a knee-jerk reaction because I like it so well, but whenever
 anyone mentions backups I have to recommend backuppc.   If you have
 any other system that can work over the network (perhaps offsite via
 VPN) and hold copies on-line you might like it.  It is the kind of
 thing that you can set up once and it will take care of itself for
 years.   It can use rsync for the transport so after your initial copy
 you only need bandwidth for the changes.

 That's something I might take a look at. What I want
 to do is make backups that are on removable media, so they
 are not dependant on a machine for their data safety. Once I
 have burnt the backups to DVD they will be stored away then,
 just in case I need them.



 i suggest to burn it twice on different media and migrate the
 data to new media after a couple of years :-)

Hi Leon.

I don't expect to keep the same DVD backup set for more than 
~12 months. I just make periodic backups from my dedicated 
backup drive to DVD/CDs, to get the data away from the PC 
and onto something hopefully more permanent than HDD's.

Usually I can restore straight from the backup drive 
in the PC. I may have used the CD/DVD media when 3 HDD's 
decided to fail at around the same time.

Here's the script's I wrote in PHP to be run by cron in the 
early hours of the morning, and posted on the Fedora 
forum.

Generic PHP CL backup script
http://forums.fedoraforum.org/showthread.php?t=248436

Kind Regards,

Keith (CD-RW)

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-03 Thread Keith Roberts
On Fri, 2 Nov 2012, John Doe wrote:

 To: CentOS mailing list centos@centos.org
 From: John Doe jd...@yahoo.com
 Subject: Re: [CentOS] Multiple incremental DVD backup program?
 
 From: Keith Roberts ke...@karsites.net

  Is there any Linux program for Centos to make this backup
 OK I have found dar in EPEL

 I used afio for a simple backup script...
 It can split, it compresses file by file so better recovery after an error...

That sounds OK to me John.

I'll take a look at that sometime soon.

might be able to incorporate afio or dar into my generic 
PHP backup scripts.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Desktop Switcher

2012-11-03 Thread Keith Roberts
On Sat, 3 Nov 2012, Mark LaPierre wrote:

*snip*

 Yes, this is what I'm referencing.  Virtual desktops are common to all 
 Unix/Linux GUI environments that I've seen.  The switchdesk application 
 is available for Fedora but does not seem to be available for CentOS.

I'm not sure about Centos 6.3, but for 5.8 it's in the base 
repo:

Available Packages
Name   : switchdesk-gui
Arch   : noarch
Version: 4.0.8
Release: 7.el5
Size   : 137 k
Repo   : base
Summary: A graphical interface for the Desktop Switcher.
License: GPL
Description: The switchdesk-gui package provides the graphical user
: interface for the Desktop Switcher.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Multiple incremental DVD backup program?

2012-11-01 Thread Keith Roberts
I'm running C5.8 and want to backup a directory that is 6GB 
in size.

Is there any Linux program for Centos to make this backup 
over 2 x 4.4GB DVD+R disks please?

Something with a GUI like K3b would do nicely.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-01 Thread Keith Roberts
On Thu, 1 Nov 2012, Keith Roberts wrote:

 To: CentOS mailing list centos@centos.org
 From: Keith Roberts ke...@karsites.net
 Subject: [CentOS] Multiple incremental DVD backup program?
 
 I'm running C5.8 and want to backup a directory that is 6GB
 in size.

 Is there any Linux program for Centos to make this backup
 over 2 x 4.4GB DVD+R disks please?

 Something with a GUI like K3b would do nicely.

OK I have found dar in EPEL

http://en.wikipedia.org/wiki/DAR_%28Disk_Archiver%29

and a gui for it called dargui

http://dargui.sourceforge.net/

I have downloaded the 0.7.0 linux version, and run the 
./install.sh script, and it has installed itself on 
Centos 5.8 32bit and runs nicely.

What would be handy is to be able to make my overnight 
directory backups into slices, so they are ready to burn to 
DVD's whenever I want to.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS and ActiveX

2012-11-01 Thread Keith Roberts
On Thu, 1 Nov 2012, m.r...@5-cent.us wrote:
snip

 Oy. That's *way* more than I wanted to deal with. Thanks, though.

mark

http://www.tatanka.com.br/ies4linux/page/FAQ

Still needs wine though.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-01 Thread Keith Roberts
On Thu, 1 Nov 2012, Les Mikesell wrote:

 To: CentOS mailing list centos@centos.org
 From: Les Mikesell lesmikes...@gmail.com
 Subject: Re: [CentOS] Multiple incremental DVD backup program?

*snip*

 Assuming you have space to hold the temp copies, why don't you do
 something like:
 tar  -czf - dir  |split --bytes=4G /parth/to/prefix

 Odds are good that a 6GB dir would compress to fit on on DVD anyway.

Thanks Les.

dar supports slices, and the GUI looks good for it as well.

I might not even bother with compressing things, just want 
backups to write to DVD's away from the computer.

Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Multiple incremental DVD backup program?

2012-11-01 Thread Keith Roberts
On Thu, 1 Nov 2012, Les Mikesell wrote:

*snip*

 Just a knee-jerk reaction because I like it so well, but whenever
 anyone mentions backups I have to recommend backuppc.   If you have
 any other system that can work over the network (perhaps offsite via
 VPN) and hold copies on-line you might like it.  It is the kind of
 thing that you can set up once and it will take care of itself for
 years.   It can use rsync for the transport so after your initial copy
 you only need bandwidth for the changes.

That's something I might take a look at. What I want 
to do is make backups that are on removable media, so they 
are not dependant on a machine for their data safety. Once I 
have burnt the backups to DVD they will be stored away then, 
just in case I need them.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 8139 dropping packets

2012-10-28 Thread Keith Roberts
On Sat, 27 Oct 2012, fred smith wrote:

 To: CentOS ML centos@centos.org
 From: fred smith fre...@fcshome.stoneham.ma.us
 Subject: Re: [CentOS] 8139 dropping packets
 
 On Sat, Oct 27, 2012 at 04:40:42PM -0400, Jerry Geis wrote:
 I have a CentOS 5.8 box that is dropping packets (just from ping).
 The network is 8139 RTL-8139/8139C/8139C+ Rev 10

 Adding the parameters pci=noacpi acpi=off 
 has helped but it still happens.

 Is there something else that helps the network not drop packets?

 This probably won't be helpful, but whenever someone inquires about
 trouble with a Realtek network chipset someone ALWAYS responds that
 Realtek network hardware is junk and that you should replace it
 with something good, such as an intel e100 or e1000 or some such.

 Me, I've never had trouble with a realtek card, myself.

Me neither.

I have a RT adapter on my laptop - no problems there either.

HTH

Keith

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


Re: [CentOS] Completely automatic yum updating on Centos 6

2012-10-25 Thread Keith Roberts
On Thu, 25 Oct 2012, Frank Cox wrote:

 To: centos@centos.org
 From: Frank Cox thea...@melvilletheatre.com
 Subject: [CentOS] Completely automatic yum updating on Centos 6
 
 I am about to set up a computer with Centos 6 that I'll probably never see
 again.  I don't want to give out the root password, but I would like to have 
 it
 automatically and transparently update itself.

 What is the best way to do this?  I have been looking at webpages about 
 yum-cron
 and yum-updatesd but nothing directly addresses Centos 6 and it appears that 
 at
 least one of those two methods is now obsolete.

Hello Frank.

What about doing a ssh root login to the box from far away, 
and then running yum check-update, to see what the 
consequences of updating the box could do before 
commiting to the update first?

HTH

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


Re: [CentOS] CENTOS 6 3rd party repos compared to Centos 5?

2012-10-21 Thread Keith Roberts
On Fri, 19 Oct 2012, Johnny Hughes wrote:

 There are things there for el5 ... nothing for el6.

 But that repo came about before EPEL and I would say most things from
 there are now in EPEL ... I would only use it if it contained something
 that was not in EPEL or rpmforge and I really needed that package.

Thanks for the replies about this.

I'll do a minimal installation and use the anaconda created 
kickstart file for another go.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Skype and Sound

2012-10-19 Thread Keith Roberts
On Fri, 19 Oct 2012, Yves Bellefeuille wrote:

 To: CentOS mailing list centos@centos.org
 From: Yves Bellefeuille y...@storm.ca
 Subject: Re: [CentOS] Skype and Sound
 
 James B. Byrne wrote:

 Skype runs and the integrated usb video and microphone both work (I
 infer this from the mic test in Skype options showing movement on the
 intensity bar as I can hear nothing).

 Have you looked at the Wiki page on Skype at
 http://wiki.centos.org/HowTos/Skype ?

 Have you tried running alsamixer in a terminal and checking that all
 the options and volumes are correct? For me, by default, the volume on
 the USB headset was zero.

 Yves Bellefeuille

Good Point there Yves.

On Centos 5.8 when I use my USB WebCam with built-in 
microphone, I have to open a terminal and run alsamixer -c1 
to select the built-in 'soundcard' on the WebCam.

The volume defaults to zero, and I use alsamixer to turn it 
the volume right up to 100% before I run Skype.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Skype and Sound

2012-10-19 Thread Keith Roberts
On Fri, 19 Oct 2012, Nux! wrote:

 To: CentOS mailing list centos@centos.org
 From: Nux! n...@li.nux.ro
 Subject: Re: [CentOS] Skype and Sound
 
 On 19.10.2012 19:30, Ljubomir Ljubojevic wrote:
 On 10/19/2012 08:21 PM, James B. Byrne wrote:

 On Fri, October 19, 2012 11:32, Nux! wrote:

 James,

 It should just work. The only problem I had was switching from the
 laptop's microphone to the one that came with my headphones since
 it's
 more performant. I did this by selecting it in the sound
 preferences
 (gnome-volume-control).
 Also, make sure you have installed the 32 bit pulseaudio libs, if
 you're on 64bit; or you can yum install this repo which will pull
 in
 the required deps:

 http://repo.fedoramd.org/mirrors/russianfedora/nonfree/el/updates/6/x86_64/skype-4.0.0.8-1.el6.R.i586.rpm

 Your package works fine.  Thank you very much.  I checked the
 dependencies against what was installed as x86_64 versions and cold
 find nothing missing.  Do you happen to know, or strongly suspect,
 why
 the 32 bit version works and the 64 bit version does not?


 As I can see, only Ubuntu and debian have 64-bit versions of Skype.
 Have
 you found somewhere 64-bit version for fedora/EL?

 There is no 64bit version of Skype.
 The Ubuntu one is a fake 64bit package btw, all it contains is the same
 lousy i586 binary, that's why we need the 32bit version of the libs.
 The RPM from Russianfedora differs from the official one, it actually
 installs a statically linked binary which seems more stable.

 HTH

I use the static version I downloaded directly from Skpe's 
website - not a Centos repo.

skype_static-2.2.0.35.tar.bz2

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CENTOS 6 3rd party repos compared to Centos 5?

2012-10-18 Thread Keith Roberts
Is there any differences between the repos used by Centos 
5.8 and those used by Centos 6.x please - ie does C6 use the 
same 3rd party repos as C5 does?

Is there a Centos wiki article for C6 repos?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pdf viewer with bookmarking facility?

2012-10-12 Thread Keith Roberts
On Fri, 12 Oct 2012, Twanny Azzopardi wrote:

 To: CentOS mailing list centos@centos.org
 From: Twanny Azzopardi twanny.azzopa...@gmail.com
 Subject: [CentOS] pdf viewer with bookmarking facility?
 
 pdf viewer with bookmarking facility?

KPDF might only support one bookmark at a time. I usually 
keep my own bookmarks in a plain text file for whatever PDF 
documents I'm reading, in /home/user/Bookmarks/ using the 
PDF document's name for the relevant bookmark file. I copy 
and paste the relevant section I want to bookmark, so I can 
find it again easily. That way you are sure to find the 
right place again in the document.

HTH

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] X/Display resolution configuration

2012-10-08 Thread Keith Roberts
On Mon, 8 Oct 2012, Frank Cox wrote:

 To: centos@centos.org
 From: Frank Cox thea...@melvilletheatre.com
 Subject: Re: [CentOS] X/Display resolution configuration
 
 On Mon, 08 Oct 2012 12:52:18 -0500
 Mike Watson wrote:

  My previous box, Fedora 7 used Xorg
 but I can't find the Xorg.conf file for 6.3. All I've found so far is an
 empty directory.

 It's set automatically based on the EDID values provided by your monitor.  You
 can create an xorg.conf file if you really need one, though.

On Centos 5.8 I used system-config-display to generate an 
/etc/X11/xorg.conf file

Is this available on Centos 6.x ?

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] make /home/user without all the maps

2012-09-26 Thread Keith Roberts
On Wed, 26 Sep 2012, John Austin wrote:

 To: centos@centos.org
 From: John Austin j...@jaa.org.uk
 Subject: Re: [CentOS] make /home/user without all the maps
 
 On Wed, 2012-09-26 at 12:13 +0100, Nux! wrote:
 On 26.09.2012 11:30, Johan Vermeulen wrote:
 Dear All,

 I would like to make a whole lot of homedirs without Documents,
 Downloads , 
 like it was in CentOs5.

 I know I have to adapt something in /etc/skel but cannot find out how
 to
 do it.

 Anyone can give me a hand with this?

Take a look at this:

IIRC the answer to your question may be in this guide:

Advanced Bash-Scripting Guide
An in-depth exploration of the art of shell scripting
by Mendel Cooper

http://tldp.org/LDP/abs/html/

But I cannot point you to the particular location in that 
documentation.

HTH (sort of;)

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with widescreen (16:9) under CentOS 5 w/ xorg-x11-drv-i810-1.6.5-9.40.el5

2012-09-23 Thread Keith Roberts
On Sat, 22 Sep 2012, Robert Heller wrote:
*snipped*

 These machine boot off the network and then mount their root (/), /usr,
 and /home file systems via NFS from the server and function otherwise
 as normal workstations.  And they work great with 4:3 monitors.
 Recently, because of new cataloging and circulation software which
 seems to have been designed by (open source) developers who probably
 have new widescreen monitors on their machines, we have put widescreen
 (16:9) monitors on three of the machines (various menus and toolbars
 don't fit on a 4:3 monitor, even at 1280x1024 [19-20 monitor]).  But
 we are having some problems getting the proper aspect ratio (or even a
 display at all) on two of the three.

*snipped*

Hi Rob.

What desktop GUI are these machines using?

Is there some way you get each machine to use it's own 
custom xorg.conf file, that you can tweak for each 
particular machine?

I use this this in my PC running Centos 5.8 32 bit,
and XFCE desktop, to give me a tall virtual screen that I 
can scroll around vertically:

# Xorg configuration created by system-config-display

Section ServerLayout
 Identifier single head configuration
 Screen  0  Screen0 0 0
 InputDeviceKeyboard0 CoreKeyboard
EndSection

Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc105
 Option  XkbLayout gb
EndSection

Section Monitor
 Identifier   Monitor0
 ModelNameMonitor 1024x768
 HorizSync31.5 - 61.0
 VertRefresh  50.0 - 75.0
 Option  dpms
EndSection

Section Device
 Identifier  Videocard0
 Driver  nv
EndSection

Section Screen
 Identifier Screen0
 Device Videocard0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Virtual   800 1800
 Depth 24
 EndSubSection
EndSection

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tutorial or guide to write RPM Spec file

2012-09-23 Thread Keith Roberts
On Sun, 23 Sep 2012, Kaushal Shriyan wrote:

 To: CentOS mailing list centos@centos.org
 From: Kaushal Shriyan kaushalshri...@gmail.com
 Subject: [CentOS] tutorial or guide to write RPM Spec file
 
 Hi,

 Are there tutorials available in official CentOS documentation for
 writing RPM Spec file

Hi Kaushal.

You might also find the RPM documentation usefull.

http://rpm.org/wiki/Docs#UserDocumentation

I found this guide was very helpfull:

http://www.rpm.org/max-rpm-snapshot/

The bit about signing packages is out of date, it was 
written using PGP, but that is now replaced with GPG.

Apart from that it is a pretty good guide to using RPM, and 
how to build packages as well.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] flash plugin

2012-09-16 Thread Keith Roberts
On Sun, 16 Sep 2012, Michael Hennebry wrote:

 To: CentOS mailing list centos@centos.org
 From: Michael Hennebry henne...@web.cs.ndsu.nodak.edu
 Subject: [CentOS] flash plugin
 
 How do I get a flash plugin to work with firefox?
 I thought that I installed it correctly,
 but I have yet to see any flash videos through firefox.

 I keep being told that I need an additional plugin.
 When I folow directions, I'm told I already have it?
 At least once, I was told I needed to upgrade.

I had similar problems on Centos 5.8 32 bit. U had to 
downgrade to:

[root@karsites ~]# rpm -qv flash-plugin
flash-plugin-10.3.183.19-0.1.el5.rf

to get it to work again.

Security patches are being backported for now, IIRC.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to? Set boot up display resolution

2012-09-11 Thread Keith Roberts
On Tue, 11 Sep 2012, James B. Byrne wrote:

 To: centos@centos.org
 From: James B. Byrne byrn...@harte-lyne.ca
 Subject: [CentOS] How to?  Set boot up display resolution
 
 I have been given a replacement monitor for my CentOS-6.3 KVM test
 platform.  It is an LG E2251 22in letterbox format screen whereas the
 unit it replaces was a 17 standard format display.  The console
 messages now look as through they were output on Silly Putty.

 The display itself displays a message to set the resolution to 1920 x
 1080.  I have found references to using the vga option in the
 grub.conf file.  However, I can find no comprehensive list of what
 value to use.  The references I have found actually say see the
 source code in the Linux kernel tree, which does not strike me as
 particularly user friendly shall we say.

 How do I do this or am I condemned to rubber band output.

This might be what you are looking for James:

http://www.kernel.org/doc/Documentation/svga.txt

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CUPS driver for an HP LJ M602?

2012-08-28 Thread Keith Roberts
On Tue, 28 Aug 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: [CentOS] CUPS driver for an HP LJ M602?
 
 We just got two of these HP LJ M602 enterprise printers in, and I'm
 trying to work out what driver/ppd. The model's not listed in the current
 - does anyone know what might work for it? I really don't want to have to
 install hplips on 140 or 150 systems

Hi Mark.

According to this page:

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_600_m602.html

Network printing is supported.

I thought you only needed to install the printer drivers on 
the machine the printer is physically connected to, and all 
the other machines (including Windows boxes) would be able 
to print over the LAN to these CUPS printer?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CUPS driver for an HP LJ M602?

2012-08-28 Thread Keith Roberts
On Tue, 28 Aug 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: Re: [CentOS] CUPS driver for an HP LJ M602?
 
 Rajagopal Swaminathan wrote:
 Greetings,

 On Wed, Aug 29, 2012 at 12:43 AM,  m.r...@5-cent.us wrote:
 Thanks. Just to try to get it running, I've modified CUPS for the
 Laserjet
 Series 6 PCL. I also tried lp -d printer file.ps, and it printed,
 though

 Try cups test page using localhost:631. I used to use it as an inch
 and mm scale sometimes :)

 Oh, right, good thought... well, the thing is, folks print via what, IPP?
 from their workstations or servers, not through a central control, I
 think. I might be able to use the web interface to set it on the printer
 itself.

Here is the CUPS homepage. Loads of usefull information on 
that site ;)

http://www.cups.org/

and

http://www.cups.org/ppd.php

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CUPS driver for an HP LJ M602?

2012-08-28 Thread Keith Roberts
On Tue, 28 Aug 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: Re: [CentOS] CUPS driver for an HP LJ M602?
 
 Hi, Keith,

 Keith Roberts wrote:
 On Tue, 28 Aug 2012, m.r...@5-cent.us wrote:
 From: m.r...@5-cent.us

 We just got two of these HP LJ M602 enterprise printers in, and I'm
 trying to work out what driver/ppd. The model's not listed in the
 current - does anyone know what might work for it? I really don't
 want to have to install hplips on 140 or 150 systems

 Hi Mark.

 According to this page:

 http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_600_m602.html

 Network printing is supported.

 I thought you only needed to install the printer drivers on
 the machine the printer is physically connected to, and all
 the other machines (including Windows boxes) would be able
 to print over the LAN to these CUPS printer?

 What do you mean, the machine it's physically connected to? This is a
 networked printer, with its own IP, plugged into the network, nothing
 between it and the switch.

OK thanks for pointing that out mark.

So does it have it's own linux CUPS server built into it?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: what are all these probes from my firewall log????

2012-08-17 Thread Keith Roberts
On Fri, 17 Aug 2012, fred smith wrote:
*snip*

 hmm... just did traceroute 10.21.72.1 and it comes back as being a
 system at my ISP. that doesn't seem right to me. they shouldn't be
 broadcaasting such stuff, as far as I know, at least.

 Any other thoughts?

Any network problems, I run Wireshark network analyser in 
GUI mode. It helps identify issues on the network with 
meaningfull error and warning messages.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

2012-08-17 Thread Keith Roberts
On Fri, 17 Aug 2012, Tim Nelson wrote:

 To: CentOS mailing list centos@centos.org
 From: Tim Nelson tnel...@rockbochs.com
 Subject: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E
 
 Greetings-

 I'm attempting to get CentOS 5.5 x86 (yes, very specific version required for 
 specific software usage scenario... don't ask) running on an Intel D425KT 
 mini-ITX motherboard. Everything works fine, with the exception of the 
 onboard ethernet, which is a Realtek RTL8105E chip. The stock CentOS 
 installation attempts to use the r8169 driver, which does not work. I've been 
 around the block a few times dealing with Realtek interfaces and their driver 
 hell, but this one is stumping me.

 Things tried so far:

 -Adding pci=assign-busses to the kernel parameters
 -Installing kmod-r8101 from elrepo, old and new versions
 -Compiling driver from scratch direct from Realtek

 In every test, I end up with what *appears* to be a functioning ethernet 
 interface (r8101 driver detects chip as RTL8105E correctly), or as reported 
 by the software (ifconfig, ethtool, etc). But, I just cannot get any traffic 
 to pass. There is a link light for the ethernet interface, but no actual 
 activity when testing.

 Any thoughts?

Hi Tim.

If this NIC is built onto the motherboard, would it not be 
easier just to find an (PCI?) expansion slot NIC that is 
known to work out of the box on Centos 5.5 and use that 
instead?

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

2012-08-17 Thread Keith Roberts
 On Fri, 17 Aug 2012, Tim Nelson wrote:

 To: CentOS mailing list centos@centos.org
 From: Tim Nelson tnel...@rockbochs.com
 Subject: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

 Greetings-

 I'm attempting to get CentOS 5.5 x86 (yes, very specific version required 
 for specific software usage scenario... don't ask) running on an Intel 
 D425KT mini-ITX motherboard. Everything works fine, with the exception of 
 the onboard ethernet, which is a Realtek RTL8105E chip. The stock CentOS 
 installation attempts to use the r8169 driver, which does not work. I've 
 been around the block a few times dealing with Realtek interfaces and their 
 driver hell, but this one is stumping me.

 Things tried so far:

 -Adding pci=assign-busses to the kernel parameters
 -Installing kmod-r8101 from elrepo, old and new versions
 -Compiling driver from scratch direct from Realtek

 In every test, I end up with what *appears* to be a functioning ethernet 
 interface (r8101 driver detects chip as RTL8105E correctly), or as reported 
 by the software (ifconfig, ethtool, etc). But, I just cannot get any traffic 
 to pass. There is a link light for the ethernet interface, but no actual 
 activity when testing.

 Any thoughts?

 Hi Tim.

 If this NIC is built onto the motherboard, would it not be
 easier just to find an (PCI?) expansion slot NIC that is
 known to work out of the box on Centos 5.5 and use that
 instead?

Or the other option could be to use a USB to RJ45 adaptor 
instead of the onboard NIC?

http://www.amazon.co.uk/USB-LAN01-Usb-lan-RJ45/dp/B000CCZP88/ref=sr_1_3?ie=UTF8qid=1345222425sr=8-3

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

2012-08-17 Thread Keith Roberts
On Fri, 17 Aug 2012, Keith Roberts wrote:
*snip*

 Or the other option could be to use a USB to RJ45 adaptor instead of the 
 onboard NIC?

 http://www.amazon.co.uk/USB-LAN01-Usb-lan-RJ45/dp/B000CCZP88/ref=sr_1_3?ie=UTF8qid=1345222425sr=8-3

Here's an interesting article about using Ethernet over USB:

The ability to connect Ethernet devices via USB ports is 
known as Ethernet over USB. There are many low-cost 
commercial adapters available to do this. The links below 
describe the technical details on how the technology works.

http://en.wikipedia.org/wiki/Ethernet_over_USB

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

2012-08-17 Thread Keith Roberts
On Fri, 17 Aug 2012, Tim Nelson wrote:

 To: CentOS mailing list centos@centos.org
 From: Tim Nelson tnel...@rockbochs.com
 Subject: Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E
 
 - Original Message -

 Or the other option could be to use a USB to RJ45 adaptor
 instead of the onboard NIC?


 Gross. Have you used any USB-Ethernet adapters lately? I 
 have, and they are horrible.

Hi Tim.

Nope not had any need to yet.

Why are they gross then?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel D425KT Motherboard / Realtek RTL8105E

2012-08-17 Thread Keith Roberts
On Fri, 17 Aug 2012, Tim Nelson wrote:

*snip*

 Gross, as in:

 -High latency
 -Poor throughput
 -Random link connects/disconnects
 -Random traffic slowdowns

 In general, they fit the bill for 'ease of installation', 
 but miss the mark on everything else a NIC should be.

 Maybe I got a bad batch, but I've tried 4 or 5 different 
 models, all the same results.

As a test case, have you tried booting from a recent 
Live CD version of Linux, like Parted Magic:

http://partedmagic.com/doku.php?id=screenshots

It's also included on the UBCD:

http://www.ultimatebootcd.com/index.html

If you can get this onboard NIC working OK from Parted 
Magic, then at least you know it's not the NIC hardware.

You might find the hardware identification routines in the 
Parted Magic distro can give you some helpful pointers too.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] iptables rule question for Centos 5

2012-08-04 Thread Keith Roberts
On Fri, 3 Aug 2012, SilverTip257 wrote:

 To: CentOS mailing list centos@centos.org
 From: SilverTip257 silvertip...@gmail.com
 Subject: Re: [CentOS] [SOLVED] iptables rule question for Centos 5
 
 Marvin,

 You're leaving SSH open to the world with that.
 If this is a box behind a firewall, then it's not _as much of a
 concern_ ... otherwise you're opening that server up to ssh brute
 force attempts.

 Your existing configuration is probably set up to drop/reject if
 traffic does not match any of your rules, so you've nearly solved the
 blocking all other traffic from server2.  But you really should put
 a specific rule on server1 with source as server2 and dest port 22
 being accepted.

 -s server2 -p tcp --dport 22 -j ACCEPT

Or move the SSH port to a non-standard one?

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


Re: [CentOS] Enabling SELinux on 5.8 32bit

2012-08-01 Thread Keith Roberts
On Wed, 1 Aug 2012, John Stanley wrote:

 To: CentOS mailing list centos@centos.org
 From: John Stanley john.stan...@elslc.com
 Subject: Re: [CentOS] Enabling SELinux on 5.8 32bit
 
 On Wed, 2012-08-01 at 00:33 +0100, Keith Roberts wrote:

 It would be 'awsome' if you lost all those SIGs please.  It gets
 annoying and makes me not want to answer any your questions.

 You can't go wrong with this [1], [2].  Dan Walsh has the most up2date
 info on SELinux (rhel maintainer) [3]

 *Links May Wrap*

 [1].
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/index.html
 [2].
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/Security-Enhanced_Linux/Red_Hat_Enterprise_Linux-6-Security-Enhanced_Linux-en-US.pdf

 [3]. http://danwalsh.livejournal.com/

Hi John.

Thanks for those pointers.

I'm working my way through [2] now, which I downloaded a few 
days ago.

Kind Regards,

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


[CentOS] Enabling SELinux on 5.8 32bit

2012-07-31 Thread Keith Roberts
If I change SELinux from disabled to enabled (or permissive 
first) will it take long to rebuild the SEL labels on about 
250GB file system?

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enabling SELinux on 5.8 32bit

2012-07-31 Thread Keith Roberts
On Tue, 31 Jul 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: Re: [CentOS] Enabling SELinux on 5.8 32bit
 
 Keith Roberts wrote:
 If I change SELinux from disabled to enabled (or permissive
 first) will it take long to rebuild the SEL labels on about
 250GB file system?

 Go to permissive, and relabel parts yourself, like /usr, /home, then touch
 /.autorelabel and reboot.

Thanks Marc.

I'm just learning about SEL at the moment, so I want this to 
be done correctly by the system itself.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] Re: problem with machine freezing for short periods

2012-07-27 Thread Keith Roberts
On Fri, 27 Jul 2012, Vanhorn, Mike wrote:

 To: CentOS mailing list centos@centos.org
 From: Vanhorn, Mike michael.vanh...@wright.edu
 Subject: [CentOS] [SOLVED] Re: problem with machine freezing for short
 periods
 

 It turned out to be something very simple, but which wasn't obvious to
 check to begin with. There was another computer (a Windows machine) that
 was supposed to have been taken out of service a long time ago, but
 someone has recently put it back on the network. Because it was supposed
 to have been no longer used, it's IP address was re-allocated (a year and
 a half ago!) to the machine that I have been agonizing over all week.

 On someone's suggestion, I decided to put the problem PC on a different
 subnet, because we thought it might be something amiss with the new
 networking hardware that was installed a month or so ago, and suddenly the
 problem went away. Some more investigation, and we discovered that the IP
 address was still being used, and, thus, stumbled across the actual
 problem.

 Thank you to all who responded!

 It's always the simplest things, in the last place you look...

Hi Mike.

I'm pleased you got this figured out now OK.

As you mentioned earlier it could be a network problem, I 
was going to suggest using Wireshark, which *could* have 
identified this problem for you pretty quick.

http://en.wikipedia.org/wiki/Wireshark
Wireshark is a free and open-source packet analyzer. It is 
used for network troubleshooting, analysis, software and 
communications protocol development, and education. 
Originally named Ethereal, in May 2006 the project was 
renamed Wireshark due to trademark issues.

Name   : wireshark
Arch   : i386
Version: 1.0.15
Release: 1.el5_6.4
Size   : 40 M
Repo   : installed (in updates repo)
Summary: Network traffic analyzer
URL: http://www.wireshark.org/
License: GPL

Name   : wireshark-gnome
Arch   : i386
Version: 1.0.15
Release: 1.el5_6.4
Size   : 1.6 M
Repo   : installed
Summary: Gnome desktop integration for wireshark and
   : wireshark-usermode
URL: http://www.wireshark.org/
License: GPL
Description: Contains wireshark for Gnome 2 and desktop
   : integration file

Maybe you could recreate this problem (2 machines using the 
same IP address on the same network ) and then start 
Wireshark GUI, and see if it spots this and complains with a 
very informative error message?

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Installing Centos-6 32 bit

2012-07-26 Thread Keith Roberts
Is a guide to installing Centos 6 32 bit that covers such 
things like:

Minimal Kickstart example file
Centos 6 multimedia repos

Plus any other things I need to be aware of when moving from 
5.8 to 6.2 (I know the latest version is 6.3 but I will 
let yum deal with that when I upgrade the installed 
packages.)

TIA

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing Centos-6 32 bit

2012-07-26 Thread Keith Roberts
On Thu, 26 Jul 2012, Leonard den Ottolander wrote:

 To: CentOS mailing list centos@centos.org
 From: Leonard den Ottolander leon...@den.ottolander.nl
 Subject: Re: [CentOS] Installing Centos-6 32 bit
 
 Hello Keith,

 On Thu, 2012-07-26 at 09:25 +0100, Keith Roberts wrote:
 Is a guide to installing Centos 6 32 bit that covers such
 things like:

 Minimal Kickstart example file
 Centos 6 multimedia repos

 A lot of documentation can be found at http://docs.redhat.com, amongst
 which is
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.html
  .

 Plus any other things I need to be aware of when moving from
 5.8 to 6.2

 I'd check the release notes and technical notes that can also be found
 there.

Hi Leonard.

Thanks for those pointers, I will take a look at them first 
before attempting a migration to Centos 6.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing Centos-6 32 bit

2012-07-26 Thread Keith Roberts
On Thu, 26 Jul 2012, James A. Peltier wrote:

 To: CentOS mailing list centos@centos.org
 From: James A. Peltier jpelt...@sfu.ca
 Subject: Re: [CentOS] Installing Centos-6 32 bit

 If you run an interactive installation on a single 
 machine, selecting the components that you want installed, 
 the partition layout and so forth, that machine will 
 generate a kickstart file for you to replicate other 
 machines with located in /root/anaconda-ks.cfg.  You can 
 alter this file as you so choose and use it to then 
 install other machines by passing it the ks= options for 
 protocol, locations and whatnot.

Thank you for reminding me about that option to generate a
basic kickstart file. That's worth doing to get and example 
kickstart file to work on later.

 Adding multimedia repos can be managed as part of the 
 kickstarts post process to add things like RPMFusion, 
 EPEL, ATRPMS and any other third party repo that you want. 
 Once the repositories are available you can then install 
 components from them.

Are the 6 repos still the same as the 5 - apart from 
the version change from 5.x to 6.x ?

 As a side note, have a look at the documentation for 
 kickstart and more specifically the repo options.  You 
 can include updates as part of the OS installation ending 
 up with a host that has all updates applied during 
 installation so that when it boots you have a fully 
 patched system when rolled out.

Are you referring to the RH docs or Centos website  wiki 
docs here James?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Oracle tries to capture CentOS users

2012-07-25 Thread Keith Roberts
On Wed, 25 Jul 2012, Brian Mathis wrote:

 To: CentOS mailing list centos@centos.org
 From: Brian Mathis brian.mathis+cen...@betteradmin.com
 Subject: Re: [CentOS] Oracle tries to capture CentOS users
 
 Is any part of this thread related to CentOS anymore?

Yes - the email address still is ;)

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] problem with machine freezing for short periods

2012-07-25 Thread Keith Roberts
On Wed, 25 Jul 2012, Vanhorn, Mike wrote:

*snip*

 I am stuck, and can't figure out where to even suspect the problem might
 actually be. There are no errors getting logged anywhere that I can find,
 probably because everything just stops temporarily, so there's nothing
 for the system to log.

 Does anyone have any idea where I could look to fix this? I think I am
 next going to go back to 5.2, where the pci=nommconf is necessary, because
 at least back that far it appears to have been working for other people.
 However, I really would like to have this running 5.8.

Hi Mike. Are you on 32 or 64 bits ?

If 32 bit you might like to take a look at this here, which 
I compiled and packaged for Centos 5.5 32 bit - works on 5.8 
OK as well:

Package Signing Key:
www.karsites.net/centos/downloads/5.6/karsites-GPG-public-key-2011-03-18.asc

32 bit binary RPM:
www.karsites.net/centos/downloads/5.6/qps-1.9.18.6-1.i386.rpm

Fedora 6 source code I rebuilt qps from:
www.karsites.net/centos/downloads/5.6/qps-1.9.18.6-1.fc6.src.rpm

If you click on the %MEM or %CPU headings, this will 
toggle the sort order of the running processes by highest to 
lowest and v/v for those headings - same applies to the 
other headings.

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Oracle UEK kernel on CentOS

2012-07-19 Thread Keith Roberts
On Thu, 19 Jul 2012, Johnny Hughes wrote:

 No, java is not open source.  Didn't you know that the APIs are
 patented.  You did see that Oracle sued Google for making a Derivative
 work of java, right?  Open source is open source ... this suing people
 for using open source to create derivative works is buillshit ...
 however it is standard operating procedure for Oracle.

So how does iced-tea fit into this picture?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New /boot/message file?

2012-07-16 Thread Keith Roberts
On Sun, 15 Jul 2012, William Hooper wrote:

 To: CentOS mailing list centos@centos.org
 From: William Hooper whooper...@gmail.com
 Subject: Re: [CentOS] New /boot/message file?
 
 On Sun, Jul 15, 2012 at 4:51 PM, Keith Roberts ke...@karsites.net wrote:
 I've not broken the system, it's just I want to decide when
 the new kernel should be booted.

 The edit the /etc/sysconfig/kernel file and tell the system not to
 update the default kernel to the newly install one.

Thanks for that William, I'll check that out soon.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New /boot/message file?

2012-07-16 Thread Keith Roberts
On Sun, 15 Jul 2012, Reindl Harald wrote:

 To: CentOS mailing list centos@centos.org
 From: Reindl Harald h.rei...@thelounge.net
 Subject: Re: [CentOS] New /boot/message file?
 


 Am 15.07.2012 22:51, schrieb Keith Roberts:
 On Sun, 15 Jul 2012, Reindl Harald wrote:

 *snip*

 but what is the point to break your system to not
 automatically maintain grub.conf in this context? what is
 the advantage have to add the new kernel manually to the
 config?

 Good point again Reindl.

 I've not broken the system, it's just I want to decide when
 the new kernel should be booted.

 why in the world do you install it if you do not want it to get booted?
 if you do not update the kernel simaply yum --exclude=kernel\* upgrade

Hi Reindl.

I install it but delay using it untill I decide to activate 
it myself.

 My reason is I've had the kernel version change and that has
 been buggy and broke my system. So I'd rather take control
 myself over when my box moves to a newer kernel version

 and what do you think what is default=0 in grub.conf
 is for? exactly to specfiy WHAT installed kernel should
 be booted

This is part of my grub.conf file Reindl:

default=1

# comment this out to skip the countdown screen
# and go straight to the GRUB boot menu and stop there.
# timeout=300

splashimage=(hd0,13)/boot/grub/splash.xpm.gz
#hiddenmenu

title Initial CentOS 5.5 DVD kernel (vmlinuz-2.6.18-194.el5)
 root (hd0,1)
 kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=Centos-5-root
 initrd /boot/initrd-2.6.18-194.el5.img

title CentOS 5.8 system (vmlinuz-2.6.18-308.11.1.el5)
 root (hd0,1)
 kernel /boot/vmlinuz-2.6.18-308.11.1.el5 ro root=LABEL=Centos-5-root
 initrd /boot/initrd-2.6.18-308.11.1.el5.img

The timeout is disabled so I can select which kernel to 
boot myself, after updating grub.conf.

I kept the details for the Centos DVD kernel so I can use my 
own grub.conf file if I needed to do a fresh installation of 
Centos.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] New /boot/message file?

2012-07-15 Thread Keith Roberts
I've just updated my 5.8 box and there's a new kernel to be 
installed.

Looking at /boot/ directory I see this file called message:

-rw-r--r--root root   80032 Mar 12  2009 message

Can anyone twll me what this message file is for please?

Is this a new grub or kernel file?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New /boot/message file?

2012-07-15 Thread Keith Roberts
On Sun, 15 Jul 2012, Johnny Hughes wrote:

 To: centos@centos.org
 From: Johnny Hughes joh...@centos.org
 Subject: Re: [CentOS] New /boot/message file?
 
 On 07/15/2012 07:10 AM, Keith Roberts wrote:
 I've just updated my 5.8 box and there's a new kernel to be
 installed.

 Looking at /boot/ directory I see this file called message:

 -rw-r--r--root root   80032 Mar 12  2009 message

 Can anyone twll me what this message file is for please?

 Is this a new grub or kernel file?

 [hughesjr@localhost boot]$ rpm -q --whatprovides /boot/message
 redhat-logos-4.9.99-11.el5.centos.noarch

 [hughesjr@chakra boot]$ file /boot/message
 /boot/message: PCX ver. 3.0 image data bounding box [0, 0] - [319, 199],
 8-bit colour, 300 x 300 dpi, RLE compressed

 This is the graphical image that grub uses when you boot. see this for
 details:

 http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-boot-init-shutdown-booting.html

 NOTE:  This file is not new, it has been in /boot/ since the Red Hat
 Linux 5.x days at least.

Thanks Mogens and Johnny for your replies.

/boot/message is the Centos 5 logo that I see when 
doing a fresh installation from DVD.

I have moved grub to a seperate boot partition, and I have 
not noticed the Centos /boot/message file until now, which 
is why I asked what it was.

When Grub boots from my seperate boot partition, it uses the

[root@karsites grub]# file splash.xpm.gz
splash.xpm.gz: gzip compressed data, was splash.xpm, from 
Unix, last modified: Tue Jan 27 22:38:12 2009

under /mnt/GrubBoot/boot/grub/

I moved Grub boot loader to a seperate partition to stop the 
grub.conf file from being updated when there is a kernel 
update. I like to change grub.conf manually myself, just in 
case there are any issues with a newer kernel.

Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New /boot/message file?

2012-07-15 Thread Keith Roberts
On Sun, 15 Jul 2012, Reindl Harald wrote:

*snip*

 you really think you are better writing grub.conf manually
 than grubby will do? if there are issues with a newer
 kernel then boot with the old one, that is why the previous
 does not get removed on updates

 how will you ever notice problems with a new kernel before
 it was loaded and how should it be loaded before a grub-entry
 is made?

Some good points there Reindl.

I update my box once a week now.

Usually if there are any kernel issues they are made know 
in a reasonable time. If I don't hear of any then I know 
it's safe for me to move to the latest kernel release.

So basically I'm playing safe by letting others find any 
issues, and waiting until that's been addressed with another 
kernel release before I move onto the latest kernel.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New /boot/message file?

2012-07-15 Thread Keith Roberts
On Sun, 15 Jul 2012, Reindl Harald wrote:

*snip*

 but what is the point to break your system to not 
 automatically maintain grub.conf in this context? what is 
 the advantage have to add the new kernel manually to the 
 config?

Good point again Reindl.

I've not broken the system, it's just I want to decide when 
the new kernel should be booted.

My reason is I've had the kernel version change and that has 
been buggy and broke my system. So I'd rather take control 
myself over when my box moves to a newer kernel version.

It's no problem for me to mount the GrubBoot partition and 
edit grub.conf manually, after making a backup of that file 
first, and then reboot the system.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing centos 6 on an old bird

2012-07-11 Thread Keith Roberts
On 07/11/2012 02:53 PM, Tim Dunphy wrote:
 Guys,

 I've been trying to install centos 6.2, then 6.3 onto a 
 supermicro 6013P-8 which does not have a DVD rom drive. 
 Those newer version of CentOS only have DVD (not CD) iso 
 versions so I've been sharing the
 install via NFS.

 With each try the install hangs forever installing 
 'selinux-policy-targeted-3.7.19-154.el6.noarch'. How can I 
 disable that feature and / or SE Linux altogether so that 
 I can get CentOS 6 installed? I would of course install SE 
 Linux once the box was up.

 I'd really appreciate some advice here.

Hi Tim.

In your kickstart file add this line: (this is for 5.x - not 
tested it on 6.x yet)

# Turn off SELinux.
selinux --disabled

http://www.karsites.net/centos/anyuser/kickstart-files.php

You might also find this helpful

http://www.karsites.net/centos/anyuser/kickstart-PDF-manual.php

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitions vs. LVs [was: Re: How to upgrade from 5.8 to 6.2]

2012-06-24 Thread Keith Roberts
On Sun, 24 Jun 2012, ken wrote:

 It helps during their creation, rather than just accepting the defaults,
 to give the LVs meaningful names.  But even if you don't:

 # df -H
 Filesystem Size   Used  Avail Use% Mounted on
 /dev/mapper/VolGroup00-lvroot
 31G12G18G  39% /
 /dev/mapper/VolGroup00-lvtmp
195M55M   131M  30% /tmp
 /dev/mapper/VolGroup00-lvvar
 21G   1.2G19G   6% /var
 /dev/mapper/VolGroup00-lvhome
185G40G   136G  23% /home
 /dev/hda3  518M46M   446M  10% /boot


 Where's the difficulty?

OK. But what about a drive that is already partitioned with 
live data on it. Is it easy to make that work with LVM, or 
does it mean I have to do a fresh installation to use LVM?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitions vs. LVs [was: Re: How to upgrade from 5.8 to 6.2]

2012-06-24 Thread Keith Roberts
On Sun, 24 Jun 2012, ken wrote:
*snip*

 Yeah, the problem is more than likely in your hardware.  I've used it on
 hundreds of machines and since 1999 and never had a problem traceable to
 LVM.  On the other hand, I've seen a lot of disks go bad.

And what happens then in that situation - do you loose any 
more data than you would loose with 'standard' primary and 
extended logical partitions, or does using LVM help in
recovering more data from a bad disk?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitions vs. LVs [was: Re: How to upgrade from 5.8 to 6.2]

2012-06-24 Thread Keith Roberts

On Sun, 24 Jun 2012, Nikolaos Milas wrote:


To: CentOS mailing list centos@centos.org
From: Nikolaos Milas nmi...@noa.gr
Subject: Re: [CentOS] partitions vs. LVs [was: Re: How to upgrade from 5.8 to
6.2]

On 24/6/2012 7:47 μμ, Keith Roberts wrote:


 And what happens then in that situation - do you loose any
 more data than you would loose with 'standard' primary and
 extended logical partitions, or does using LVM help in
 recovering more data from a bad disk?


Read: http://serverfault.com/questions/279571/lvm-dangers-and-caveats

In a few words, if your hardware is high-quality, i.e. reliable enough so you 
don't expect problems, LVM adds important functionality and flexibility on 
servers.


In any case, the need for good backups should not be overlooked. For example, 
mondorescue allows both full and incremental backups, using LVM or not.


Thanks for that link Nick - I have bookmarked that. I'm 
looking for work as a Linux System Administrator so will 
check that out as well.


Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading from 5.7 to 5.8

2012-06-23 Thread Keith Roberts
My box did upgrade itself automatically from the 
initial 5.5 DVD installation to 5.7

How can I tell if my box has been automatically upgraded 
from 5.7 to 5.8 please?

I see the CentOS-CR.repo is still in my /etc/yum.repos.d/ 
directory. Is that repo responsible for doing the automatic 
upgrades for Centos 5.x?

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading from 5.7 to 5.8

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, Sorin Srbu wrote:

 To: 'CentOS mailing list' centos@centos.org
 From: Sorin Srbu sorin.s...@orgfarm.uu.se
 Subject: Re: [CentOS] Upgrading from 5.7 to 5.8
 
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Keith Roberts
 Sent: den 23 juni 2012 14:08
 To: CentOS mailing list
 Subject: [CentOS] Upgrading from 5.7 to 5.8

 My box did upgrade itself automatically from the
 initial 5.5 DVD installation to 5.7

 How can I tell if my box has been automatically upgraded
 from 5.7 to 5.8 please?

 # cat /etc/redhat-release

OK thanks for that. So it looks like I'm on 5.8 already.

[root@karsites ~]# cat /etc/redhat-release
CentOS release 5.8 (Final)

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading from 5.7 to 5.8

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, Sorin Srbu wrote:

 To: 'CentOS mailing list' centos@centos.org
 From: Sorin Srbu sorin.s...@orgfarm.uu.se
 Subject: Re: [CentOS] Upgrading from 5.7 to 5.8
 
 -Original Message-
 How can I tell if my box has been automatically upgraded
 from 5.7 to 5.8 please?

 # cat /etc/redhat-release

 OK thanks for that. So it looks like I'm on 5.8 already.

 [root@karsites ~]# cat /etc/redhat-release
 CentOS release 5.8 (Final)

 Yupp! You're welcome.

 I think you might be able to see it graphically on the main tab of System
 Monitor.

OK. Thanks for that Sorin.

Keith :-)

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading from 5.7 to 5.8

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, Markus Falb wrote:

 $ rpm -qf /etc/redhat-release
 centos-release-5-8.el5.centos

 $ rpm -q centos-release
 centos-release-5-8.el5.centos
 $ rpm -q --qf %{version}\n centos-release
 5
 $ rpm -q --qf %{release}\n centos-release
 8.el5.centos

 I don't know if it is more sane to ask the content of the file or to ask
 rpm, but I tend to the rpm method. I vaguely remember that modification
 of /etc/redhat-release was used to trick some third-party software that
 depends on the content of the file.

Yes it's the same Markus.

[root@karsites ~]# rpm -qf /etc/redhat-release
centos-release-5-8.el5.centos

Thanks,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to upgrade from 5.8 to 6.2

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, ken wrote:
*snip*

 From prior experience I've found major upgrades easier if, in the
 current setup, instead of having just one volume/partition and so
 everything under root (/), there are separate partitions or volumes for
 (at least) /home and /var because redhat (and so too centos) has always
 recognized that those partitions contain data and will ask if I want to
 leave them as they are or, instead, overwrite them.  If you currently
 have just one volume/partition, then you *must* backup any data you want
 to save and then re-install it you have 6.2 running.  If you already
 have separate volumes/partitions on your 5.8 system, you still will want
 to note which are which so that when you install 6.2 you will be able to
 make the correct assignments.

I've been caught out before when installing Linux with 
existing data on several partitions, and had my partitions 
and data trashed. My work around is to only let the 
installer use / tmp and swap. That way it cannot touch my 
partitions with data on them.

Once the initial installation is completed I then install my 
own /etc/fstab from backups. This then allows the new Linux 
OS to mount those partitions with existing data on them.

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to upgrade from 5.8 to 6.2

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, ken wrote:
*snip*

 I've been caught out before when installing Linux with
 existing data on several partitions, and had my partitions
 and data trashed. My work around is to only let the
 installer use / tmp and swap. That way it cannot touch my
 partitions with data on them.

 I've done at least a dozen, maybe three or four dozen installs, with
 (actual) redhat, suse, centos, and probably others too, but have never
 had that happen to me.  Linux has even recognized every Windows
 partition I've had and has left those alone to when I've asked it to.
 This might be because I always select Custom Install at the very
 beginning of the process.  IMS, if you select New Install (or words to
 that effect), you don't have the option to select partitions you want to
 leave untouched during the install.

Hi Ken.

IIRC that happened a some years ago with Ubuntu.
Ever since that happened I've been wary of the various 
different custom options available from different Linux 
distros. I just use the Gparted Live CD to do any partition 
work. I don't use LVM either yet, so that's not a problem 
for me now.

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Media check on Centos 6.2 DVD1 i386

2012-06-23 Thread Keith Roberts
I've downloaded and md5sum checked the Centos 6.2 DVD1 and 
burnt it to a DVD.

Should there be an option to check the DVD media from the 
grub boot menu please?

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Media check on Centos 6.2 DVD1 i386

2012-06-23 Thread Keith Roberts
On Sat, 23 Jun 2012, Mark LaPierre wrote:
*snip*
 Yes there is an option to check the media when you boot it up.  Just
 follow the prompts.

OK, thank you for that Mark - got it now. I had to boot from 
the DVD and check it on another machine. It passes OK.

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting .doc to html

2012-06-22 Thread Keith Roberts
On Fri, 22 Jun 2012, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: [CentOS] converting .doc to html
 
 Anyone got a preferred program or package for this? I'd like a *good* one,
 and Word or OO.o's save as html in no way qualifies as other than amateur
 crap.

 So far, with a little googling, I've found the wv package. wvHtml works,
 but I don't like the output - it insists on div, and on rhquo instead
 of plain, simple .

I think Abiword can read and write those formats.

[root@karsites ~]# rpm -qv abiword
abiword-2.6.6-1.el5.rf

HTH

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] reinventing the wheel? page checker

2012-06-21 Thread Keith Roberts
On Thu, 21 Jun 2012, Bob Hoffman wrote:

 To: CentOS@centos.org
 From: Bob Hoffman b...@bobhoffman.com
 Subject: [CentOS] reinventing the wheel? page checker
 
 Not sure if there is an app like this yet.
 I want to keep tabs on my web applications and thought of using a 'page
 checker'/

*snip*

 Anything out there like that?

http://www.changedetection.com/

HTH,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bug in Latest Adobe Flash Plugin

2012-06-20 Thread Keith Roberts
On Wed, 20 Jun 2012, Ned Slider wrote:
*snip*
 That's a bad idea. Unpatched critical vulnerabilities in Flash (along
 with Java) is one of the most likely routes of infection of your machine
 and not updating it is asking for trouble.


 In general yes, but afaik flash player 10.3 is still actively patched
 and supported by Adobe.

 Rainer

 I think you missed the point. It won't ever get updated if he's excluded
 it in yum.conf irrespective of whether it's actively maintained upstream
 or not.

OK. Thanks for all the input about this. I need to bear the 
security aspect in mind. Possibly checking with Smart 
Package Manager for any further security patches for the 
10.3 version.

Does anybody have the latest flash plugin 11.2. working on 
Centos 5.7 32 bit please?

Also I see that the Adobe flash plugin is no longer being 
developed for Linux, and 11.2 is only available for the next 
5 years with security patches added.

Is there not a free alternative to Adobe's flash plugin 
please?

Kind Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bug in Latest Adobe Flash Plugin

2012-06-20 Thread Keith Roberts
On Wed, 20 Jun 2012, Ned Slider wrote:

 To: centos@centos.org
 From: Ned Slider n...@unixmail.co.uk
 Subject: Re: [CentOS] Bug in Latest Adobe Flash Plugin
 
 On 20/06/12 17:31, Keith Roberts wrote:

 Does anybody have the latest flash plugin 11.2. working on
 Centos 5.7 32 bit please?


 I have the latest 32-bit flash-plugin from the Adobe repo installed and
 running on 64-bit 5.8 (latest) with 32-bit Firefox from the distro (I
 run 32-bit FF and plugins on a 64-bit desktop)

 $ rpm -q flash-plugin firefox
 flash-plugin-11.2.202.236-release.i386
 firefox-10.0.5-1.el5_8.i386

 and it works fine here. In your original post you mentioned SWF files -
 this one plays fine for me:

 http://www.britarch.ac.uk/caf/wikka.php?wakka=TestSWF

 If you have a link to a SWF file that's not working for you I'd be happy
 to test it. I have no idea what format most flash content comes in but I
 have no issue with video content on youtube or the BBC website.

 Perhaps you need to update from 5.7 to 5.8?

OK - thank you for that Ned.

I'm getting my flash-plugin from rpmforge:
[root@karsites ~]# rpm -qv flash-plugin
flash-plugin-10.3.183.19-0.1.el5.rf

That's where the 11.2 one that I had problems with came 
from.

I'm sure I downloaded the Adobe Linux flash-plugin rpm, but 
it still did not work for me.

Also should Centos 5.7 not update itself automatically to 
5.8?

It did update itself from some earlier 5.5 version to 5.7

Maybe being on 5.7 is where the problem is?

Regards,

Keith

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bug in Latest Adobe Flash Plugin

2012-06-19 Thread Keith Roberts
I'm running Centos 5.7 32 bit with Firefox 10.0.5 ESR

Not sure if this has been mentioned on the list yet, but the 
latest version of Adobe flash-plugin 11.2.202 has a bug 
which causes it to hang and not play SWF files.

I've been pulling my hair out trying to identify why I could 
not get any SWF videos to play.

I finally found the answer here:
https://bbs.archlinux.org/viewtopic.php?pid=1080414

I have downgraded the flash-plugin now to version 10.3.183
from rpmforge repo. It works fine now :)

I've also added exclude=flash-plugin to the end 
of /etc/yum.conf file, to make sure this does not get 
upgraded again.

Kind Regards,

Keith Roberts

---
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I can't connect to /dev/ttyS0

2011-09-26 Thread Keith Roberts
On Sun, 25 Sep 2011, Michel Donais wrote:

 To: CentOS mailing list centos@centos.org
 From: Michel Donais don...@telupton.com
 Subject: Re: [CentOS] I can't connect to /dev/ttyS0
 
 You first need to double-check that /dev/ttyS0 is actually
 the correct serial COM port you have the modem connected to.

 Please look under System-Hardware and then click the 16550A-compatible
 COM port in the LH pane.

 Then in the RH pane click on 'Advanced', and find the serial.device string
 or linux.device_file.

 This will be something like:
 linux.device_file  strlist /dev/ttySx where x == 0|1|2|3 serial.device
 strlist /dev/ttySx where x == 0|1|2|3

 Please can you share with us what the reason was for the
 problem, so others with similar problems can be enlighted,
 including myself?

 Well it's a bit ennoying.
 I've done all the given check list and got nearly no answer for a solution.
 So I decided to open the box to see that the serial device connector was
 partly unplug from the mother board; so it was the source of my problem.

 I put it back in palce and it was done.

Ah - Thanks for that Michel - very informative. That's 
probably one of the last tings I would have taken a look at.

So it was actually a hardware problem - not a software one.

I'm Very pleased you were able to identify and fix the 
problem :)

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hacking Issue

2011-09-26 Thread Keith Roberts
On Mon, 26 Sep 2011, Jennifer Botten wrote:

 To: centos@centos.org
 From: Jennifer Botten jenni...@etech.co.za
 Subject: [CentOS] Hacking Issue
 
 Hi,



 I am having an issue with someone accessing our server via a SIP/VOIP
 connection. I have changed my iptables rules to drop all UDP traffic from
 and too this IP address, but this traffic seems to still run through my
 server. These are the iptables rules that I current have on the server.

 -A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP

 -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

You might find it helps to analyse this traffic with a 
network analyser, like Wireshark. That would allow you to 
see in almost real time what is happening on the line.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I can't connect to /dev/ttyS0

2011-09-25 Thread Keith Roberts
On Sat, 24 Sep 2011, Michel Donais wrote:

 To: CentOS mailing list centos@centos.org
 From: Michel Donais don...@telupton.com
 Subject: [CentOS] I can't connect to /dev/ttyS0
 
 The computer is an HP Proliant DC7600S.
 O/S: Centos 5.7

 I try to connect minicom or Hylafax to /dev/ttyS0 and I can't reach the
 modem.

 Can somebody had this problem and find a solution?

Hello Michel.

You first need to double-check that /dev/ttyS0 is actually 
the correct serial COM port you have the modem connected to.

I've know the COM port numbers to mysteriously change 
for some reason. My APC UPS was connected and working on 
/dev/ttyS1 and it stopped working recently. The serial COM 
port has changed for some reason to /dev/ttyS0. So I had to 
edit the config file and stop and restart apcupsd, and it's 
working fine again now.

Please look under System-Hardware and then click the 
16550A-compatible COM port in the LH pane.

Then in the RH pane click on 'Advanced', and find the 
serial.device string or linux.device_file.

This will be something like:

linux.device_file  strlist /dev/ttySx where x == 0|1|2|3
serial.device  strlist /dev/ttySx where x == 0|1|2|3

Make sure this is the same as what you are trying to connect to.

Here's a screenshot of Device Manager showing my COM port 
settings:

http://oi56.tinypic.com/2a7h1sp.jpg

If nothing shows under Device Manager settings, please check 
you have your serial COM ports turned on in your BIOS 
settings at reboot time :)

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I can't connect to /dev/ttyS0

2011-09-25 Thread Keith Roberts
On Sun, 25 Sep 2011, Michel Donais wrote:

 To: CentOS mailing list centos@centos.org
 From: Michel Donais don...@telupton.com
 Subject: Re: [CentOS] I can't connect to /dev/ttyS0
 
 You first need to double-check that /dev/ttyS0 is actually
 the correct serial COM port you have the modem connected to.

 Please look under System-Hardware and then click the
 16550A-compatible COM port in the LH pane.

 Then in the RH pane click on 'Advanced', and find the
 serial.device string or linux.device_file.

 This will be something like:

 linux.device_file  strlist /dev/ttySx where x == 0|1|2|3
 serial.device  strlist /dev/ttySx where x == 0|1|2|3

 Make sure this is the same as what you are trying to connect to.

 Thank's  Keith

 I got it working

Hi Michael.

Please can you share with us what the reason was for the 
problem, so others with similar problems can be enlighted, 
including myself?

Kind Regards,

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data recovery

2011-09-24 Thread Keith Roberts
On Fri, 23 Sep 2011, Michel Donais wrote:

 To: CentOS mailing list centos@centos.org
 From: Michel Donais don...@telupton.com
 Subject: Re: [CentOS] data recovery
 
 Two weeks ago I've been in similar situation on an 80 gig sata drive.

 Found it with 8 partition; boot was there but nothing of the operating
 system to load Linux 5.6

 My recovery solution was to put the disk on a window system as a secondary
 drive. Just connected to read data
 For reading I found a software called ' nucleus kernel linux'  from
 http://www.nucleustechnologies.com/Linux-Data-Recovery-Software.html

 On partition 3 I found nearly all my data files and their directories but
 were missiing  /etc /bin /dev 

There's also Parted Magic on the Ultimate Boot CD which is a 
Live Linux recovery distribution:

New features in UBCD V5.x include:

* New! The Linux-based distro Parted Magic is now 
included with UBCD V5.0. This should be the method of choice 
when you need to resize/rescue partitions, access NTFS 
filesystems or work with USB storage devices.

http://www.ultimatebootcd.com/download.html

Obviously the choice is yours which one suits your needs the 
best.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data recovery

2011-09-23 Thread Keith Roberts
On Thu, 22 Sep 2011, Paras pradhan wrote:

 To: CentOS mailing list centos@centos.org
 From: Paras pradhan pradhanpa...@gmail.com
 Subject: [CentOS] data recovery
 
 Hi,

 Need help on data recovery.

 Suddenly my disk device's geometry has been changed to 
 something that does not make any sense. Its a 1.8TB in 
 size and had only one single  partition. Now I can see 3 
 partitions sde1, sde2 and sde2 of sizes 130M, 140GB and 
 10GB.

 Is there any way to recover data from these newly created 
 disk devices?

Hi Paras.

AFAIK disks don't get partitioned out of the blue.

They need some sort of intervention to make this happen.

What have you done just before this happened?

Did you try to do an installation of Linux, or something 
else?

Also, is it possible for a trojan program to do this to your 
HDD?

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data recovery

2011-09-23 Thread Keith Roberts
On Fri, 23 Sep 2011, Paras pradhan wrote:
*snip*

 No. This is a production server and nobody logs in. Very 
 very restricted.

Have you checked all your logs? What ports are open?
What CLI tools to format a HDD do you have on the server?



 Also, is it possible for a trojan program to do this to your
 HDD?

 Are there any know trojan that can change the disk layout?

I don't know of any. What applications do you have running 
on that server?

You say a production server. What type of server - a web 
hosting provider?

What scripting languages do you have running on the server, 
if any?

If you give me an email directly, I might be able to do a 
remote login for you, and some forensics, as that is one of 
my many interests.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data recovery

2011-09-23 Thread Keith Roberts
On Fri, 23 Sep 2011, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: Re: [CentOS] data recovery
 
 Keith Roberts wrote:
 On Fri, 23 Sep 2011, Paras pradhan wrote:
 *snip*

 No. This is a production server and nobody logs in. Very
 very restricted.

 Have you checked all your logs? What ports are open?
 What CLI tools to format a HDD do you have on the server?
 snip
 And then there's the other question: who has *access*, physically, to the
 server? Staff? Have any staff recently been let go? Cleaning people?

Sounds like somebody may have stuck a Linux installation DVD 
into the drive, and hit Ctrl-Alt-Del ?

Could something like this happen by accident - ie woops I 
hit the wrong machine?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data recovery

2011-09-23 Thread Keith Roberts
On Fri, 23 Sep 2011, m.r...@5-cent.us wrote:

 To: CentOS mailing list centos@centos.org
 From: m.r...@5-cent.us
 Subject: Re: [CentOS] data recovery
 
 Paras pradhan wrote:
 Here is o/p John

 Number  Start   End Size   File system  Name
Flags
  1  17.4kB  134MB   134MB   Microsoft reserved
 partition  msftres
  2  135MB   134GB   134GB  ntfs Basic data partition
  3  134GB   1100GB  965GB   Basic data partition
 snip
 Looks to me as though someone started to install Windows on top of your
 box. This isn't partition data magically changed - best guess is someone
 started, then stopped, realizing it was the wrong box they were working
 on.

If it's a production box in service, and this has 
happened to it, How can it still be running?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ekiga - camera

2011-09-21 Thread Keith Roberts
On Wed, 21 Sep 2011, Johan Vermeulen wrote:

 To: CentOS mailing list centos@centos.org
 From: Johan Vermeulen jvermeu...@cawdekempen.be
 Subject: [CentOS] Ekiga - camera
 


 dear All,

 when first installing CentOs some 6 months ago, I noticed 
 this strange thing called Ekiga.

 Now, some guys at work use Skype and I heard that's owned 
 by Microsoft. So enter James.

 I bought a webcam, actualy 2, to test Ekiga. Logitech 
 Webcam c210. I saw this url 
 :http://www.ideasonboard.org/uvc/ on this url 
 :http://wiki.centos.org/AdditionalResources/HardwareList/Webcams 
 and in short : I think I have the driver i need --V4L2-- 
 on my Centos6 machine.

Hello Johan.

I've done some looking into this before, and if you checkout 
my Linux Compatible Webcams Guide you will see that if you 
use a Logitec c210 which is a UVC camera - and the driver 
for UVC devices is already built into the newer Linux 
kernel.

http://forums.fedoraforum.org/showthread.php?t=240812

However, the current Linux 2.6.26 kernel and newer includes 
the Linux UVC driver natively. So you will not need to 
download and compile any driver module source if you 
purchase a UVC compatible webcam. It should be Plug-n-Play 
like any other USB device

It looks Like RH may have backported the UVC drivers into 
the kernel, as I can use my Logitec webcam OK under Skype :)

[root@karsites ~]# rpm -qv kernel
kernel-2.6.18-238.5.1.el5
kernel-2.6.18-238.9.1.el5
kernel-2.6.18-194.32.1.el5
kernel-2.6.18-238.12.1.el5
kernel-2.6.18-238.19.1.el5

[root@karsites ~]# lsusb
Bus 001 Device 006: ID 046d:0802 Logitech, Inc. Webcam C200
Bus 001 Device 001: ID :
Bus 002 Device 001: ID :
Bus 003 Device 001: ID :

So I doubt whether it's a Linux driver problem!

Kind Regards,

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   4   5   6   >