[CentOS-es] Imagenes en Caliente
Hola, soy Manolo Tengo un servidor con: CentOS release 5.2 (Final) 2.6.18-92.1.10 En una LAN, y me interesaría poder hacer Imágenes en caliente. Para las copias de datos posiblemente use un disco externo USB con algún script usando un tar con un mv. Para las copias de BD MySQL, posiblemente usaré un Dump ha ese mismo disco. Pero para realizar la imagen, y sus incrementales (si es posible). Me interesaría poder hacerlas sin apagar el Server. ¿Alguna idea, de cómo poder hacer imágenes en caliente y almacenarlas en el USB? Gracias y saludos a todos. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Imagenes en Caliente
Manolo wrote: En una LAN, y me interesaría poder hacer Imágenes en caliente. Hola alguien me mencionó una vez: http://code.google.com/p/rsync-backup/ pero personalmente no le he usado -- Saludos! epe Ing. Ernesto Pérez Estévez http://www.NuestroServer.com/ USA: +1 305 359 4495 / España: +34 91 761 7884 Ecuador: +593 2 341 2402 / + 593 9 9246504 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Imagenes en Caliente
Manolo, Hay un Soft que lo e probado y funciona muy bien es, MONDO RESCUE http://www.mondorescue.org/ Te permite tomar un Backup en caliente del servidor, y te genera una imagen boteable del mismo, para restaurarlo a ese momento, tambien podes restaurar cualquier parte a eleccion del mismo. Yo lo uso para hacer backups de toda mi Notebook y algunos servidores. La instalacion tiene unos pasitos rebuscados, no por dificiles sino porque estan un poco mescladas las dependencias, si necesitas ayuda no dudes en escribir con gusto te armo un tutorial. Espero comentes si lo probas como te resulto. Saludos, Alejandro www.linuxiso.com.ar El día 28 de septiembre de 2008 10:35, Ing. Ernesto Pérez Estévez [EMAIL PROTECTED] escribió: Manolo wrote: En una LAN, y me interesaría poder hacer Imágenes en caliente. Hola alguien me mencionó una vez: http://code.google.com/p/rsync-backup/ pero personalmente no le he usado -- Saludos! epe Ing. Ernesto Pérez Estévez http://www.NuestroServer.com/ USA: +1 305 359 4495 / España: +34 91 761 7884 Ecuador: +593 2 341 2402 / + 593 9 9246504 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Re: Why i can't configure network and hostname with this kickstart file?
John wrote: One more place: sorry for the error... File: /etc/sysconfig/network HOSTNAME=mail.iredmail.org Thanks John. :) I know this, but i want to configure these two option during installation, not after installation completed. :( -- Best regards. - Open Source Mail Server Solution for RHEL/CentOS 5.x: http://code.google.com/p/iredmail/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Why i can't configure network and hostname with this kickstart file?
Zhang Huangbin wrote on Sun, 28 Sep 2008 10:03:51 +0800: I can't configure network and hostname even there is only '%post' left. What' wrong with it? It might help in the future if you would try to phrase your questions in a way that they are not ambiguous and easy to understand. I figure you mean to be able to do a manual installation in the graphical frontend with this kickstart file and just the package selection should be skipped? I remember that when I skip the network command in the kickstart file I'm getting asked for network settings. I don't know why you are not getting asked. It might help to explicitely state the static bootproto without giving IP and hostname in the file. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Graphical net install
I have tried the NFS option as well, but the installer hangs at Selinux loading policy ... It isn't all that transparant ;-) I'll keep on trying. -- Test [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Graphical net install
Got it! It was a problem with the amount of memory i had in the VM... It should be more than 256mb for a graphical install... pxeconfig: label co52_g kernel co52/vmlinuz rhgb append initrd=co52/initrd.img ramdisk_size=8192 ip=dhcp method=http://192.168.0.11/mrepo/centos5-i386/disc1 lang=en_US keymap=us mrepo exports the full centos stuff and also the separate isos. If you point the method to the folder holding the contents of disc1 it works... ... -- Test [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem in Wireless Card Setup in Dell Precision M90
Hello Akemi, Thanks for your reply. I have seen the details in the thread and after reading that thread I have few questions :- 1) Can I install the Centos Plus kernel with the existing one that is distributed with Centos 5.2? I have read the information from the link http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus It looks like that I have to include / exclude the package. I had changed the settings inside /etc/yum.repos.d/CentOS-Base.repo. #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 includepkgs=iwl* 2) Now if I am running yum search iwl then it is not giving any result. The main problem at my end is that it is showing two wireless devices but I am not able to join those devices. Can you please tell me how can I troubleshoot wireless settings (like which are the important files that plays important role in wireless setup)? Any document shared on internet that tells us step by step wireless setup would be of great help. Thanks in advance for any help. -- Ashish Vijaywargiya Indore (M.P), India http://en.wikipedia.org/wiki/Indore On Sat, Sep 27, 2008 at 10:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Sat, Sep 27, 2008 at 9:49 AM, Ashish Vijaywargiya [EMAIL PROTECTED] wrote: Hello Friends, This is my first post on CentOS mailing list. I am using CentOS since last 3 years and using Linux since 2003. I am Java Based ERP(http://ofbiz.apache.org/) developer and I truly appreciate the stability of CentOS as the Desktop machine for the developers. My Wireless card details is Intel(R) PRO/Wireless 3945ABG. I have installed the package dkms-ipw3945.noarch and it has installed all the dependent package for wireless card to work properly. When I put command modprobe ipw3945 then it didn't give any error. My LED is glowing properly. I have spent more then 10 hours on this and now I am looking to have some community help on my problem. Any help or pointer on this would be greatly appreciated . The ipw3945 is deprecated and replaced by the iwl3945 driver. So you might to want to give the current one a try. iwl3945 is enabled in the centosplus kernel (but not in the distro kernel). You would need to install the firmware file into /lib/firmare. For more details, see this earlier post: http://lists.centos.org/pipermail/centos/2008-September/064116.html Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Adding patch to Centos Kernel - early build failure
On Thu, Sep 4, 2008 at 7:16 AM, Akemi Yagi [EMAIL PROTECTED] wrote: On Thu, Sep 4, 2008 at 1:52 AM, Duncan [EMAIL PROTECTED] wrote: Tru Huynh wrote Here it goes (testing key signed and not gone through the regular built system): http://people.centos.org/tru/kernel+bz453094/ Tru Thank you, thats great. From what i can tell looking at the .spec it is almost identical to the one I have built (although I only built base). I've been running my kernel over night and hammering the nfs with no errors, so looks like this has solved the issue. According to the upstream bugzilla, the fix will be in kernel-2.6.18-92.1.13.el5. We don't know how soon it will come out but ... A bit late followup but... the 2.6.18-92.1.13.el5 kernel is out. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem in Wireless Card Setup in Dell Precision M90
On Sun, Sep 28, 2008 at 4:00 AM, Ashish Vijaywargiya [EMAIL PROTECTED] wrote: Hello Akemi, Thanks for your reply. I have seen the details in the thread and after reading that thread I have few questions :- 1) Can I install the Centos Plus kernel with the existing one that is distributed with Centos 5.2? I have read the information from the link http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus It looks like that I have to include / exclude the package. I had changed the settings inside /etc/yum.repos.d/CentOS-Base.repo. #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 includepkgs=iwl* Remove this line ( includepkgs=iwl*). You do not need it. Instead, see Example #2 of the CentOSPlus wiki article. You need to add: exclude=kernel kernel-devel kernel-PAE-* in the [base] and [update] sections. This way, yum will get the kernel from the centosplus repo instead of the distro kernel. After installing the centosplus kernel, reboot the system and try your wireless again. The iwl3945 is *part* of the centosplus kernel. More precisely, it is also part of the distro kernel except that it is disabled there. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Moving folder just vanished??
Hi all, Can anyone explain or give an clues as to what just happened? I'm running CentOS 5.2 as a desktop with Gnome. Fully up to date, etc. I was dragging a folder of image (.jpg) files to another folder on the same filesystem (LVM ext3) with the mouse and as I dropped the folder into the new folder - poof! - it disappeared like a puff of smoke. I've searched everywhere for the files/and or folder and they are totally gone. I must also point out that the filesystem was an encrypted one using fuse-encfs. In all my years of using Linux, I've never seen this happen before. Sadly I have no backup as I'd just copied them from an SD card to the HDD then formated the card - maybe I was too quick doing that step. Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving folder just vanished??
Stewart Williams wrote: I've searched everywhere for the files/and or folder and they are totally gone. You could try rebuilding your mlocate database and run locate on a filename of one of the missing files. /etc/cron.daily/mlocate.cron Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving folder just vanished??
On Sun, 2008-09-28 at 12:20 +0100, Stewart Williams wrote: Hi all, Can anyone explain or give an clues as to what just happened? I'm running CentOS 5.2 as a desktop with Gnome. Fully up to date, etc. I was dragging a folder of image (.jpg) files to another folder on the same filesystem (LVM ext3) with the mouse and as I dropped the folder into the new folder - poof! - it disappeared like a puff of smoke. I've searched everywhere for the files/and or folder and they are totally gone. I must also point out that the filesystem was an encrypted one using fuse-encfs. In all my years of using Linux, I've never seen this happen before. Sadly I have no backup as I'd just copied them from an SD card to the HDD then formated the card - maybe I was too quick doing that step. As with your experience, I doubt that it's really gone. More likely you just can't find it. I suggest using find (man find) to look for one of the files that is contained only in that folder. E.g. find /home/user/ -iname abc.jpg If you don't know a precise file name, surround it with single quotes and use a meta-character, e.g. find /home/user/ -iname 'a*.jpg' Good luck. HTH -- Bill Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 43, Issue 14
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CESA-2008:0879 Critical CentOS 4 s390(x) firefox - security update (Pasi Pirhonen) -- Message: 1 Date: Sun, 28 Sep 2008 03:42:21 +0300 From: Pasi Pirhonen [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0879 Critical CentOS 4 s390(x) firefox - security update To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2008:0879 https://rhn.redhat.com/errata/RHSA-2008-0879.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/firefox-3.0.2-3.el4.centos.s390.rpm s390x: updates/s390x/RPMS/firefox-3.0.2-3.el4.centos.s390x.rpm -- Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/ Top-postings silently ignored -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20080928/15f780c3/attachment-0001.bin -- ___ CentOS-announce mailing list [EMAIL PROTECTED] http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 43, Issue 14 *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Graphical net install
Test wrote on Sun, 28 Sep 2008 12:41:34 +0200: It should be more than 256mb for a graphical install... Of course, this has been said in the first reply! Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem in Wireless Card Setup in Dell Precision M90
Hello Akemi, Here is the details from my command line :- [EMAIL PROTECTED] yum.repos.d]# yum install kernel Loading fastestmirror plugin Loading mirror speeds from cached hostfile * rpmforge: apt.sw.be * base: ftp.oss.eznetsols.org * updates: ftp.oss.eznetsols.org * centosplus: ftp.oss.eznetsols.org * addons: ftp.oss.eznetsols.org * extras: ftp.oss.eznetsols.org Excluding Packages from CentOS-5 - Base Finished Excluding Packages from CentOS-5 - Updates Finished Setting up Install Process Parsing package install arguments Resolving Dependencies -- Running transaction check --- Package kernel.i686 0:2.6.18-92.1.10.el5.centos.plus set to be installed -- Finished Dependency Resolution -- Running transaction check --- Package kernel.i686 0:2.6.18-92.el5 set to be erased --- Package kernel.i686 0:2.6.18-92.1.10.el5.centos.plus set to be installed -- Finished Dependency Resolution Dependencies Resolved = Package Arch Version RepositorySize = Installing: kernel i686 2.6.18-92.1.10.el5.centos.plus centosplus 16 M Removing: kernel i686 2.6.18-92.el5installed 37 M Transaction Summary = Install 1 Package(s) Update 0 Package(s) Remove 1 Package(s) Total download size: 16 M Is this ok [y/N]: y Downloading Packages: (1/1): kernel-2.6.18-92.1 100% |=| 16 MB 05:49 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Check Error: package kernel-2.6.18-92.1.13.el5 (which is newer than kernel-2.6.18-92.1.10.el5.centos.plus) is already installed Error Summary So should I remove the kernel-2.6.18-92.1.13.el5 package from my installation first ? -- Ashish Vijaywargiya Indore (M.P), India http://en.wikipedia.org/wiki/Indore On Sun, Sep 28, 2008 at 4:45 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2008 at 4:00 AM, Ashish Vijaywargiya [EMAIL PROTECTED] wrote: Hello Akemi, Thanks for your reply. I have seen the details in the thread and after reading that thread I have few questions :- 1) Can I install the Centos Plus kernel with the existing one that is distributed with Centos 5.2? I have read the information from the link http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus It looks like that I have to include / exclude the package. I had changed the settings inside /etc/yum.repos.d/CentOS-Base.repo. #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist= http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus #baseurl= http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 includepkgs=iwl* Remove this line ( includepkgs=iwl*). You do not need it. Instead, see Example #2 of the CentOSPlus wiki article. You need to add: exclude=kernel kernel-devel kernel-PAE-* in the [base] and [update] sections. This way, yum will get the kernel from the centosplus repo instead of the distro kernel. After installing the centosplus kernel, reboot the system and try your wireless again. The iwl3945 is *part* of the centosplus kernel. More precisely, it is also part of the distro kernel except that it is disabled there. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: Moving folder just vanished??
Thanks for both of your responses. Sorry for the non-threaded post, but I'm e-mailing from somewhere else. @ Mogens Kjaer I have tried this already @ William L. Maltby I have looked everywhere on the drive using programs such as 'find'. I have ran: $ find / -iname *.jpg -or *.JPG and the missing files are now listed. I know enough to be able to find files. This is whats got me because I've never know an ext3 fs to do this; unless it's a bug with fuse-encfs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem in Wireless Card Setup in Dell Precision M90
On 9/28/08, Ashish Vijaywargiya [EMAIL PROTECTED] wrote: Hello Akemi, Here is the details from my command line :- = Package Arch Version RepositorySize = Installing: kernel i686 2.6.18-92.1.10.el5.centos.plus centosplus 16 M Removing: kernel i686 2.6.18-92.el5installed 37 M Transaction Summary = Transaction Check Error: package kernel-2.6.18-92.1.13.el5 (which is newer than kernel-2.6.18-92.1.10.el5.centos.plus) is already installed Error Summary So should I remove the kernel-2.6.18-92.1.13.el5 package from my installation first ? The reason you are getting that error is because 2.6.18-92.1.13.el5.centos.plus is *not* available yet and you already have 2.6.18-92.1.13.el5 installed. I would suggest you wait for Johnny Hughes to build the current centosplus kernel. If you would rather not wait, you could remove kernel-2.6.18-92.1.13.el5 for now. In that case, first boot into the previous kernel 2.6.18-92.1.10. After that yum will install 2.6.18-92.1.10.el5.centos.plus normally. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] USB external HDD error messages
Hi - relatively inexperienced user here. I installed CentOS 5.2 yesterday (http install via a mirror, worked brilliantly), as well as a new Seagate 1Tb USB external HDD (from the new Xtreme line), for backup/media storage. Using fdisk I put two primary partitions on the Seagate, /dev/sde1 and /dev/sde2 (roughly half the drive each). Then I used mkfs.ext3 on both to create ext3 filesystems on those partitions. My fstab entries look like so: /dev/sde1/mnt/seagate1ext3rw,user,noexec0 0 /dev/sde2/mnt/seagate2ext3rw,user,noexec0 0 I copied some data onto /dev/sde1 and went to bed. This morning, I found a clump of kernel messages on the console (lightly edited from /var/log/messages): kernel: end_request: I/O error, dev sde, sector 492896319 kernel: Buffer I/O error on device sde1, logical block 61612032 kernel: EXT3-fs error (device sde1): ext3_readdir: directory #30801921 contains a hole at offset 0 kernel: Aborting journal on device sde1. kernel: end_request: I/O error, dev sde, sector 12655 kernel: Buffer I/O error on device sde1, logical block 1574 kernel: lost page write due to I/O error on sde1 kernel: sd 3:0:0:0: Device not ready: 6: Current: sense key: Not Ready kernel: Add. Sense: Logical unit not ready, initializing command required kernel: end_request: I/O error, dev sde, sector 63 kernel: Buffer I/O error on device sde1, logical block 0 kernel: lost page write due to I/O error on sde1 kernel: ext3_abort called. kernel: EXT3-fs error (device sde1): ext3_journal_start_sb: Detected aborted journal kernel: Remounting filesystem read-only I can guess that I/O means Input/Output, but other than that I'm flummoxed. My fear is that the Seagate is defective. Can someone point me in a good direction? Any input would be greatly appreciated. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Graphical net install
Test wrote: Is it at all possible to do a graphical netinstall ? I am using centos 5.2, and i have been doing net installs (pxe) for a while in console mode... The pxeboot initrd and vmlinuz are in the boot directory on CD 1. Copy those to the tftpboot directory, along with your pxelinux.0, and put the syslinux config in the pxelinux.cfg/default file, mine looks like so: default server prompt 1 timeout 100 display pxeboot.msg label server kernel vmlinuz append initrd=initrd.img ramdisk_size=8192 root=/dev/ram0 ip=dhcp lang=us expert ksdevice=eth0 ks=http://10.1.1.60/CentOS/5/server.cfg method=http://10.1.1.60/CentOS/5/os/i386 noipv6 quiet label desktop kernel vmlinuz append initrd=initrd.img ramdisk_size=8192 root=/dev/ram0 ip=dhcp lang=us ksdevice=eth0 ks=http://10.1.1.60/CentOS/5/desktop.cfg method=http://10.1.1.60/CentOS/5/os/i386 noipv6 quiet I setup the packages on a web server along with my kickstart that looks like so for desktops: install reboot lang en_US.UTF-8 keyboard us firewall --disabled selinux --disabled firstboot --disabled timezone --utc America/New_York network --device=eth0 --bootproto=dhcp authconfig --enableshadow --enablemd5 --enablecache rootpw --iscrypted passwd hash monitor --noprobe --monitor=LCD Panel 1280x1024 xconfig --driver vesa --resolution=1280x1024 --depth=24 --startxonboot --defaultdesktop=kde bootloader --location=mbr zerombr clearpart --linux --initlabel --drives=sda part /boot --fstype ext3 --size=128 --ondisk=sda --asprimary part pv.0 --size=0 --grow --ondisk=sda volgroup vg0 --pesize=32768 pv.0 logvol / --fstype ext3 --name=root --vgname=vg0 --size=4096 --grow --maxsize=16384 logvol swap --fstype swap --name=swap --vgname=vg0 --size=1024 --grow --maxsize=2048 %packages @base @core @base-x @kde-desktop -NetworkManager -desktop-printing -firstboot -gdm -im-chooser -kdeaccessibility -kdeaddons -kdepim -pirut -pup -system-config-date -system-config-display -system-config-keyboard -system-config-language ImageMagick compat-libstdc++-33 cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-ntlm firefox hplip k3b ntp openldap-clients openmotif openoffice.org-base openoffice.org-calc openoffice.org-draw openoffice.org-emailmerge openoffice.org-graphicfilter openoffice.org-math openoffice.org-impress openoffice.org-writer openoffice.org-xsltfilter openoffice.org-javafilter openoffice.org-pyuno rdesktop samba-client sendmail-cf telnet-server usermode-gtk vnc %post export ARCH=`uname -i` # Install EPEL Repository rpm -ivh http://software.mfg.prv/Software/Redhat/EPEL/5/epel-release-5-2.noarch.rpm # Set yum repos to baseurl from mirrorlist and set their priorities for repo in `ls /etc/yum.repos.d/*.repo`; do sed -i -e 's/^#baseurl=/baseurl=/' $repo sed -i -e 's/^mirrorlist=/#mirrorlist=/' $repo sed -i -e 's/^baseurl=\(.*\)\(\/os\/\$basearch\/\)$/#baseurl=\1\2\nbaseurl=http:\/\/centos.mfg.prv\/centos\/\$releasever\2/' $repo sed -i -e 's/^baseurl=\(.*\)\(\/updates\/\$basearch\/\)$/#baseurl=\1\2\nbaseurl=http:\/\/centos.mfg.prv\/centos\/\$releasever\2/' $repo sed -i -e 's/\(^name=CentOS.*Media$\)/\1\npriority=1/' $repo sed -i -e 's/\(^name=CentOS.*Base$\)/\1\npriority=1/' $repo sed -i -e 's/\(^name=CentOS.*Updates$\)/\1\npriority=1/' $repo sed -i -e 's/\(^name=CentOS.*Addons$\)/\1\npriority=2/' $repo sed -i -e 's/\(^name=CentOS.*Extras$\)/\1\npriority=2/' $repo sed -i -e 's/\(^name=CentOS.*Plus$\)/\1\npriority=2/' $repo sed -i -e 's/\(^name=CentOS.*Contrib$\)/\1\npriority=2/' $repo done # Load default package signing keys rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-beta rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL # Install Yum Priorities yum -y install yum-priorities # Config Priority Obsoletes echo check_obsoletes = 1 /etc/yum/pluginconf.d/priorities.conf # Update distribution yum -y update # Microsoft core TT fonts rpm -ivh http://software.mfg.prv/Software/Linux/msttcorefonts/msttcorefonts-2.0-1.noarch.rpm # Adobe Reader rpm -ivh http://software.mfg.prv/Software/Adobe/Reader/Linux/AdobeReader_enu-8.1.2-1.i486.rpm # Adobe Flash Plugin rpm -ivh http://software.mfg.prv/Software/Adobe/Flash/Linux/flash-plugin-9.0.124.0-release.i386.rpm # Sun Java Runtime Environment rpm -ivh http://software.mfg.prv/Software/Sun/Java/JRE/Linux/jre-6u2-linux-i586.rpm # Set Sun Java as default rm -f /usr/bin/javaws rm -f /usr/bin/jcontrol alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry alternatives --set java /usr/java/default/bin/java # Add local admin user account (failsafe) useradd -p 'passwd hash' admin # Configure
Re: [CentOS] Re: Moving folder just vanished??
On Sun, 2008-09-28 at 15:54 +0100, Stewart Williams wrote: Thanks for both of your responses. Sorry for the non-threaded post, but I'm e-mailing from somewhere else. snip @ William L. Maltby I have looked everywhere on the drive using programs such as 'find'. I have ran: $ find / -iname *.jpg -or *.JPG Minor points that probably have no effect unless there's a *.jpg file in the current directory: use single, not double quotes, to avoid shell expansion. You want the asterisk to get passed into the find command as a parameter. Also, the iname says ignore case, so only one iteration is needed. and the missing files are now listed. Now or not? I know enough to be able to find files. This is whats got me because I've never know an ext3 fs to do this; unless it's a bug with fuse-encfs. This makes me think they are still *not* listed? Last stab in the dark: any undelete capability on that file system? If the files are not found, I am guessing they have been deleted. Barring that facility, I hope you have a recent backup. Good luck. snip sig stuff -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] HAL adds printer twice
Hi, When I want to configure a printer, say an HP Deskjet 940, I install hplip, configure cupsd.conf, open up http://localhost:631 and configure the printer in the CUPS interface. Now whenever I want to print, I see that the selfsame printer is added again, and CUPS mentions it as added by HAL. Is there a way to stop this sort of behaviour? Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Network installation from CD
Hi, In a corporate environment we are not allowed to use DHCP/PXE for doing network installations. This means we have to look for other solutions. Our solution is to use an ISO image (mounted via a KVM solution) to kick off the network installation. A big problem currently is that the order of the network interfaces is arbitrary (depends on the order of the drivers loaded) and is not influence by the order of the PCI slots. So in our case we have a bunch of e1000, bnx2 and tg3 in systems we have to install. The first onboard interface (usually tg3 or bnx2) almost never is eth0, but instead can be eth2, eth3 or higher. (Depending on the number of other NICs) This is problematic because Anaconda never gives a very good analysis of why the download of the kickstart fails. Very unpleasant if you want system deployements done by Service Operations. So our solution was to provide ksdevice=MAC-ADDRESS , which works fine in the first phase for downloading the kickstart file, but then the kickstart file again has a network-directive with a --device= parameter to configure the network again in the second phase. Here is where the trouble starts. The --device= cannot handle MAC addresses, in other words if we ommit the --device= parameter we get a list of interfaces, which we do not want because the list does not indicate which one is the right interface. Using ksdevice=bootif and providing BOOTIF=MAC-ADDRESS on the commandline does not help either because the second phase always wants to reconfigure the network. In fact we don't want the second phase to reconfigure the network, we want it to keep the working network configuration from the first phase which worked fine for downloading the kickstart file. So here's my question: Is there a way to have the second phase network configuration NOT take place, or have it use the interface that was correctly downloading the kickstart file ? I could not find it anywhere and none of my tests seem to indicate that this is at all possible. This is on RHEL/CentOS 4.6. -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ Anaconda-devel-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/anaconda-devel-list ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Strange message at boot time
Hi, I'm usually booting all machines here with 'vga=788 quiet' options in menu.lst, so I see what services start, but it's not too verbose at the same time. One message that puzzles me is the very first one after GRUB starts init: Memory for crash kernel (0x0 to 0x0) notwithin permissible range. Anyone knows what that means? Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange message at boot time
On Sun, Sep 28, 2008 at 2:00 PM, Niki Kovacs [EMAIL PROTECTED] wrote: Hi, I'm usually booting all machines here with 'vga=788 quiet' options in menu.lst, so I see what services start, but it's not too verbose at the same time. One message that puzzles me is the very first one after GRUB starts init: Memory for crash kernel (0x0 to 0x0) notwithin permissible range. Anyone knows what that means? From the CentOS 5.1 Release Notes: During the boot process you may see the message Memory for crash kernel (0x0 to 0x0) notwithin permissible range appear. This message comes from the new kdump infrastructure. It is a harmless message and can be safely ignored. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange message at boot time
Akemi Yagi a écrit : From the CentOS 5.1 Release Notes: During the boot process you may see the message Memory for crash kernel (0x0 to 0x0) notwithin permissible range appear. This message comes from the new kdump infrastructure. It is a harmless message and can be safely ignored. Phew. Thanks! :o) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange message at boot time
Niki Kovacs wrote on Sun, 28 Sep 2008 23:00:11 +0200: Anyone knows what that means? it's an FAQ. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Yumex-Error in loading repository data
On a CentOS 4 desktop Yumex gives the error message Error in loading repository data but yum works fine from the cli. Could something have been broken in yumex? Putting yumex in debug mode does not give me clues as to the error message. Thanks, Josh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network installation from CD
Dag Wieers wrote: In a corporate environment we are not allowed to use DHCP/PXE for doing network installations. This means we have to look for other solutions. Our solution is to use an ISO image (mounted via a KVM solution) to kick off the network installation. A big problem currently is that the order of the network interfaces is arbitrary (depends on the order of the drivers loaded) and is not influence by the order of the PCI slots. So in our case we have a bunch of e1000, bnx2 and tg3 in systems we have to install. Dag, I ASSuME that different interfaces are plugged into different switch ports on a switch supporting VLANs? Perhaps the same switch for all ports. Can you set up those ports, so that for install, they are all on the same VLAN? So it would not matter which interface is used for the install, the IP address you assign it will work on it? My home lab has a number of HP ProCurves, and I will get into the management interface, and set which vlan a port is on if I need to do some installs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB external HDD error messages
Guest3731 wrote: Hi - relatively inexperienced user here. I installed CentOS 5.2 yesterday (http install via a mirror, worked brilliantly), as well as a new Seagate 1Tb USB external HDD (from the new Xtreme line), for backup/media storage. Using fdisk I put two primary partitions on the Seagate, /dev/sde1 and /dev/sde2 (roughly half the drive each). Then I used mkfs.ext3 on both to create ext3 filesystems on those partitions. My fstab entries look like so: /dev/sde1/mnt/seagate1ext3rw,user,noexec0 0 /dev/sde2/mnt/seagate2ext3rw,user,noexec0 0 I copied some data onto /dev/sde1 and went to bed. This morning, I found a clump of kernel messages on the console (lightly edited from /var/log/messages): kernel: end_request: I/O error, dev sde, sector 492896319 kernel: Buffer I/O error on device sde1, logical block 61612032 kernel: EXT3-fs error (device sde1): ext3_readdir: directory #30801921 contains a hole at offset 0 kernel: Aborting journal on device sde1. kernel: end_request: I/O error, dev sde, sector 12655 kernel: Buffer I/O error on device sde1, logical block 1574 kernel: lost page write due to I/O error on sde1 kernel: sd 3:0:0:0: Device not ready: 6: Current: sense key: Not Ready kernel: Add. Sense: Logical unit not ready, initializing command required kernel: end_request: I/O error, dev sde, sector 63 kernel: Buffer I/O error on device sde1, logical block 0 kernel: lost page write due to I/O error on sde1 kernel: ext3_abort called. kernel: EXT3-fs error (device sde1): ext3_journal_start_sb: Detected aborted journal kernel: Remounting filesystem read-only I can guess that I/O means Input/Output, but other than that I'm flummoxed. My fear is that the Seagate is defective. Can someone point me in a good direction? Any input would be greatly appreciated. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos if you take it out and put it back again is it automatically mounted and can kernel see it when you do fdisk -l ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Moving folder just vanished??
On Sun, Sep 28, 2008 at 1:50 PM, William L. Maltby [EMAIL PROTECTED] wrote: On Sun, 2008-09-28 at 15:54 +0100, Stewart Williams wrote: $ find / -iname *.jpg -or *.JPG Minor points that probably have no effect unless there's a *.jpg file in the current directory: use single, not double quotes, to avoid shell expansion. Not directly relevant to the subject of the thread, but double quotes are fine here. The only difference between single and double quotes is that shell variable references are expanded in the double quotes but not the single quotes. Glob patterns, whitespace, command separators, etc. are quoted in both cases. On the original topic ... have you checked in /var/log for log file entries that might provide a clue to what happened? It might be possible to recover the lost files from the ext3 journal: http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB external HDD error messages
partha chowdhury wrote: Guest3731 wrote: Hi - relatively inexperienced user here. I installed CentOS 5.2 yesterday (http install via a mirror, worked brilliantly), as well as a new Seagate 1Tb USB external HDD (from the new Xtreme line), for backup/media storage. [snip] if you take it out and put it back again is it automatically mounted and can kernel see it when you do fdisk -l ? Strange. I took it out and put it back again, and the kernel noticed that it was installed: SCSI device sdf: 1963525168 512-byte hdwr sectors (100205 MB) etc. And it showed up as sdf when I did fdisk -l. However, when I ran mount, this is what appeared: /dev/sde1 on /mnt/seagate1 type ext3 (rw,noexec,nosuid,nodev) /dev/sde2 on /mnt/seagate2 type ext3 (rw,noexec,nosuid,nodev) So apparently it's still mounted as /dev/sde1[2], but incorrectly? Very strange. Next, I umounted both /dev/sde1 and /dev/sde2, receiving error messages on the console about lost page write due to I/O error on sde1 [and 2] I've re-plugged it, and it's been recognized as /dev/sde. I ran a mount -a and it's been picked up by the system. No clue where to go from here. Thanks for your help - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB external HDD error messages
On Sun, Sep 28, 2008 at 5:00 PM, partha chowdhury [EMAIL PROTECTED]wrote: Guest3731 wrote: if you take it out and put it back again is it automatically mounted and can kernel see it when you do fdisk -l ? Sorry to double up on your answer like this, but is there any chance that the i/o errors are due to a bad usb cable, or usb card in the main computer? I didn't mention before that the external hdd that the seagate is replacing also reported a lot of i/o errors and kept disconnecting itself, which is why I replaced it Thanks for any clues... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving folder just vanished??
Stewart Williams wrote: Sadly I have no backup as I'd just copied them from an SD card to the HDD then formated the card - maybe I was too quick doing that step. not and answer to the disappeared folder but you could possibly try photorec. links below. the original site is not loading. might help you get back the deleted files. I had come across this software but never used it. http://en.wikipedia.org/wiki/PhotoRec http://www.download.com/TestDisk-PhotoRec/3000-2248_4-10511775.html hth Raghavendra Moktali ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Probably a bad set-up but which one?
I am having a problem that I assume is a set-up problem but I don't know which area to look at to fix it. Hopefully someone here can point me in the right direction. I can't get the simple Perl Hello World script to work. Oh, it does print Hello World OK but it also prints the Content line as text rather than using it as a directive. Two different servers (both CentOs 5) and both IE and Firefox are doing the same thing. I first tried a JavaScript program (free online shopping cart) and it wouldn't work properly. So, I changed to CGI and can't get it working OK either. What does work: CGI/Perl visitor count program. Count.log and main.log exist and get updated and display the updated count in the browser OK. What doesn't work: content line is seen as text. I can't create a file using CGI. I can append to one but I can't create one. I have tried a CGI shopping cart (Commerce) which has an install script. It displays the first page OK but when I click on Continue I get the same page again. The script says clicking on Continue should submit a form (Post) with a name of step2. An IF statement should see that name and go to the step2 subroutine. It doesn't. It falls through to the ELSE and displays the same page. A Print command shows the name is blank after the click. The browser knows about the form because a refresh tells me about the stale form data. I have the AddHandler lines and the ExCGI option in my http config. I have checked that all spelling and cases are OK. Carp Fatal to Browser is not showing any errors. Server error log doesn't seem unhappy either. I have done some searching in news groups and Deja, ooops sorry, Google and didn't find anything that helped. Where do I look next? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Graphical net install
JohnStanley Writes: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Test Sent: Sunday, September 28, 2008 6:42 AM To: CentOS mailing list Subject: Re: [CentOS] Graphical net install Got it! It was a problem with the amount of memory i had in the VM... It should be more than 256mb for a graphical install... --- That I told previously!!! Also you never Stated you were creatting a Virtual Machine... --- pxeconfig: label co52_g kernel co52/vmlinuz rhgb append initrd=co52/initrd.img ramdisk_size=8192 ip=dhcp method=http://192.168.0.11/mrepo/centos5-i386/disc1 lang=en_US keymap=us mrepo exports the full centos stuff and also the separate isos. If you point the method to the folder holding the contents of disc1 it works... ... -- Test [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reformatting a USB drive
On Thu, Sep 25, 2008 at 05:05:54PM -0400, Robert Moskowitz wrote: Found this old message about formatting a USB drive and it leaves a few questions for me: I am going to format it as ext3 to keep permissions. I don't need to use this drive on any M$ system. Do I unmount the drive after inserting it before I issue: mkfs.ext3 /dev/sda1 BTW, when I do a 'man mkfs.ext3' it takes me to the man pages for mke2fs. After the format is done, do I have to do anything to make sure everything is 'written' to the drive before pulling it from the system? After the format is finished give it time to push all the bits to the device. Run fsck on it at least once as a test... Since mkfs operates on the raw device there is 'little' risk if you count to 15 after fsck exits and remove... In use, always sync, umount it. The graphical tools to unmount the volume do this for you. Also consider asking if ext2 or another FS is a better choice than ext3. The journal is a busy place and might be a hot spot on the USB flash memory. The journal may also use more blocks than you expect. Ext3 on spinning disks is more reliable because of the way spinning disks work but a flash disk might go goofy with half a flash block write in progress. There are some flash memory specific filesystems out there... web search for stuff like: JFFS2 · Journaling Flash File System 'LogFS, a scalable flash filesystem' etc... Some of the issues do not matter on a $9.00 USB key but the big USB keys are more expensive than I like. -- T o m M i t c h e l l Found me a new hat, now what? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Graphical net install-OT
JohnStanley Writes: Ross, Not to sound stupid or anything but where did you find all the options for building your kickstarts at? As in the after reboot cleanup options. snip Ks config /snip ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos