Re: [CentOS] Disable login at boot
Karalyn Capone wrote: Hi folks, Can anyone tell me the file / edit location to disable the login/password prompt at boot? We are configuring some machines to be administered remotely and headless. Curious why login/password needs to be disabled for remote admin.. ? You could have a 'blank' root password by editing the /etc/shadow and removing the password hash in the root entry. ie: change first line from: root:$1$/Pf93ewQ7p$CkblarG3W5hWDZ2hXnBUn/:15530:0:9:7::: to root::15530:0:9:7::: Then, logging in as root and enter for password. Only if security is not a concern though. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: Heart Fixer! Heart Fixer! Annoyed by those: I my poodle or I my pit bull stickers? Look no further! Now you can make it right! Just slap one of these over the ! Then: becomes:... View on microflush.org Preview by Yahoo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sorry
From: Wes James compte...@icloud.com To: centos@centos.org Sent: Friday, May 16, 2014 9:42 AM Subject: [CentOS] Sorry Sorry for the messed up replies. The web based icloud interface forces the writer to reply at the top of the email and if you try to write at the bottom by deleting a few lines of the message or selecting the whole message, deleting it, adding some spaces and then pasting back and go to the end it and adding a reply, it kills the indentation. -wes A lot of the new improved email web interfaces do this, including yahoo. I SO miss the more simple clients.. (Hold on while I manually put in the thread above me, so people know where the reply starts.) __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ssh-askpass in bash script
On Mar 2, 2014, at 9:22 AM, Alexander Dalloz ad+li...@uni-x.org wrote: Am 02.03.2014 14:57, schrieb Tim Dunphy: Hey all, I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to log into the host and not have it ask me to enter in my long / complex passphrase every time I ssh into another host. I've googled for some scripts that you can add to your bash configuration so that you won't have to do Why not just use authorized_keys with an empty pass phrase? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ssh-askpass in bash script
On Mar 2, 2014, at 11:55 AM, Tim Dunphy bluethu...@gmail.com wrote: On Sun, Mar 2, 2014 at 1:26 PM, Alexander Dalloz ad+li...@uni-x.org wrote: Am 02.03.2014 19:16, schrieb Joseph Spenner: Why not just use authorized_keys with an empty pass phrase? Because that is discouraged due to security. Alexander ___ But having a script which automatically connects without the 'big ugly password' isn't a security risk? I don't follow. Also, you could further secure the authorized_keys file by only permitting the key to be used from a certain location, if you don't trust the security of your own private key. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Best way to virtualize Windows XP on Centos
On Wed, Feb 19, 2014 at 12:33 PM, John R Pierce pie...@hogranch.com wrote: On 2/19/2014 12:20 PM, Frank Cox wrote: I was looking at virtualbox. Is this the best approach? I get the impression that there are special kernel modules that are required for virtualbox, but if I install dkms then that will be automatically handled for me whenever there is a kernel upgrade. Install dkms, install the virtualbox repo, install virtualbox rpms, set up image, done. Is that all there is to it? Would something other than virtualbox be better? VBox is darn simple, and works quite well. Another nice feature about VirtualBox is it has the option of Remote Desktop access to the VMs built in, if you chose to select that option in the Admin tool. Comes in real handy for Windows VMs, which don't lend themselves well to being managed. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] zoneminder
On Wed, Feb 5, 2014 at 2:57 PM, John R Pierce pie...@hogranch.com wrote: On 2/5/2014 11:45 AM, Joseph Spenner wrote: Have you seen Zoneminder run? It's a complete solution, with a web interface and historical information for everything it saw. It connects to the cameras, grabs their images (presented as JPG files), stores a time range of them, and determines if there was a 'change'. If so, it goes back a few images, and begins a 'movie' of the images leading up to the event, and through the event itself. When viewing these events, you have the option to save them as AVI, MPG, MOV, WMV, SFW. Those video files are them available to download. The footprint isn't that big. My installation (VM) is currently using about 2G of space. the security camera I'm using for fun at home streams everything as TS (mpeg4 transport stream) at a configurable 10-30fps. it only saves segments with motion in them, including user configurable seconds before/after any motion event. doing that with JPG's would be brutal. The management software for the Ubiquiti AirCams save(s|d) to JPG files on the controller/management host. Last I tinkered with them (it's been months) that's the case. I only have experience with my simple Foscam (generic) cameras. They have fast streaming video, but the ZoneMinder hits the camera at an interval defined in its configuration. You can set it to do many FPS, or just a few-- depending on what you think you need. SO even if your camera does a hundred FPS, ZoneMinder has the ability to deal with it-- if you adjust the configurable ZoneMinder FPS accordingly. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] zoneminder
From: m.r...@5-cent.us m.r...@5-cent.us Well, I'm trying it out on one of our very few FC19 boxes. It installed... now, what's this, I *have* to install and run mssql? And apache? This is a significantly larger footprint than motion. And now, while googling, because I was to tell it where I want it to store video, I see a thread noting that it stores it all as *jpegs*, not mpx, or avi, or Is this the case? Mark: Have you seen Zoneminder run? It's a complete solution, with a web interface and historical information for everything it saw. It connects to the cameras, grabs their images (presented as JPG files), stores a time range of them, and determines if there was a 'change'. If so, it goes back a few images, and begins a 'movie' of the images leading up to the event, and through the event itself. When viewing these events, you have the option to save them as AVI, MPG, MOV, WMV, SFW. Those video files are them available to download. The footprint isn't that big. My installation (VM) is currently using about 2G of space. === ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] idea: hybrid iso images?
From: Rob Townley rob.town...@gmail.com To: CentOS mailing list centos@centos.org Sent: Thursday, January 30, 2014 8:54 AM Subject: Re: [CentOS] idea: hybrid iso images? i definitely had the same experience back then. Anybody had luck with simply dd a current CentOS iso. I wonder if RedHat supports ISOHybrid? On Mon, Apr 15, 2013 at 3:32 PM, Joseph Spenner joseph85...@yahoo.com wrote: I just tried again, using an 8G thumb drive, with the CentOS-6.4-x86_64-minimal.iso image on my 64bit Dell laptop, and got a quick error: no boot sector found on USB device It then proceeded to boot the next device in the boot order list. I also tried it on 2 other Dell servers, and neither would boot the thumb drive. I then dd'd the latest Linux Mint iso to the same thumb drive, and it worked fine on my laptop. So, perhaps the CentOS images can not (yet) be used this way. I have yet to EVER get that to work. The closest I get is have it start the boot/install process, then ask where the media/itself is. It forgets, and can't find the install media-- even though IT IS the install media. I've never figured that out. But, it is what it is. It does work nicely with the debian distros, such as Linux Mint though. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Forward http traffic
- Nikolaos Milas nmi...@noa.gr escreveu: De: Nikolaos Milas nmi...@noa.gr Para: CentOS mailing list centos@centos.org Enviadas: Quarta-feira, 8 de Janeiro de 2014 11:02:48 (GMT-0300) Auto-Detected Assunto: Re: [CentOS] Forward http traffic On 8/1/2014 11:54 πμ, Antonio da Silva Martins Junior wrote: Well, I had only used with a range. Maybe you can take a look on a software load-balancer, like haproxy, or use something like nginx. Then forward to the load-balancer instead to the servers. Thanks, Actually, I don't want load balancing; I want incoming http traffic (to port 8080) to be forwarded to *ALL* defined target IP addresses. What is the goal (other than forward 1 request to 2 servers)? It would kinda be a mess, since each server would reply to the request(s). Are you trying to have a pair of web servers sync'd up identically for disaster / redundancy purposes? == If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Have a great Holiday season
From: Karanbir Singh mail-li...@karan.org May 2014 bring friendlier + larger communities, stabler distros and a general reduction in systems frustrations for the users! May 2014 be the year of the bootable CentOS thumb drive installatin ISO! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] TCP port to TTY/Serial Port?
Hello, I'm trying to configure my system such that I have a TCP port listening which will send all data it receives to a serial port. ie: tcp/2112 -- /dev/ttyS0 My goal would be to be able to: Use netcat to create the listen and redirect to a serial port: $ nc -l 2112 /dev/ttyS0 Then in another window, run minicom at /dev/ttyS0 Then in a 3rd window, $ telnet localhost 2112 Type things, hello world But, I can never get the text to show up in the minicom window. I read different variations on the netcat command, including: $ nc -l 2112 /dev/ttyS0 or $ nc -l 2112 /dev/ttyS0 /dev/ttyS0 But none seem to do the trick. Anyone have any ideas on what I'm missing here? Any help would be great. Thanks! If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] TCP port to TTY/Serial Port?
Mogens: Thanks for reply! Here's the actual scenario: I have a system running an application which wants to get its data from a physical serial port. My goal is to provide this data from a network connection, and ~trick~ the application into thinking it's still getting it from the serial port. Technically it is still on the serial port, but the data is arriving via TCP. So, it's all on the same machine. The idea would be for the machine to run an application, pointed at the serial port. My netcat would receive the data being pushed to it on a TCP port, and redirect it to the serial port. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html On Friday, December 20, 2013 8:58 AM, Mogens Kjaer m...@lemo.dk wrote: On 12/20/2013 04:13 PM, Joseph Spenner wrote: Use netcat to create the listen and redirect to a serial port: $ nc -l 2112 /dev/ttyS0 Then in another window, run minicom at /dev/ttyS0 Is this on the same machine? I.e. you have only one machine and one serial port? Do you have some sort of loopback cable connected to the serial port? If it is on two different machines I would check handshaking settings on the serial ports. Mogens -- Mogens Kjaer, m...@lemo.dk http://www.lemo.dk ___ 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] TCP port to TTY/Serial Port?
On Friday, December 20, 2013 10:17 AM, Les Mikesell lesmikes...@gmail.com wrote: On Fri, Dec 20, 2013 at 10:29 AM, Joseph Spenner joseph85...@yahoo.com wrote: Mogens: Thanks for reply! Here's the actual scenario: I have a system running an application which wants to get its data from a physical serial port. My goal is to provide this data from a network connection, and ~trick~ the application into thinking it's still getting it from the serial port. Technically it is still on the serial port, but the data is arriving via TCP. So, it's all on the same machine. The idea would be for the machine to run an application, pointed at the serial port. My netcat would receive the data being pushed to it on a TCP port, and redirect it to the serial port. Do you need a real serial port involved at all? It sounds like what you really want is a linux device that looks like a tty in terms of accepting ioctl's from a program that thinks it is a serial port, but actually accepts a tcp connection. I suppose you could rig a loopback cable and actually have a separate program writing to the serial port with the loopback returning it to your listening application. -- Les: Actually, no-- I do not really need a physical port. It could all be virtual. (sorry about previous 'top post'. Yahoo email has improved their interface making it hard to know what's going on with the thread) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What gui to use for syslog-ng logs?
Check LogAnalyzer: http://loganalyzer.adiscon.com/ If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html On Monday, November 18, 2013 3:11 PM, Eero Volotinen eero.voloti...@iki.fi wrote: 2013/11/18 Rafał Radecki radecki.ra...@gmail.com Hi All. I have an environment in which I would like to implement a GUI for parsing syslog-ng logs from operating system, application servers and databases. I've heard that Splunk is a good tool but its quite hard to learn. Are there any valuable alternatives? What are you using and why? fluentd! http://docs.fluentd.org/articles/free-alternative-to-splunk-by-fluentd -- Eero ___ 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] Installing CentOS via USB thumbdrive
I've been poking at this for quite a while, and have never been able to get it to work. I've found a couple links with some partial truths: http://syslint.com/syslint/how-to-make-a-usb-boot-disk-for-centosrhel-from-iso-file/ http://brakkee.org/site/2013/05/09/creating-a-usb-install-for-centos-6-4/ The first one talks about converting a standard iso to a 'hybrid' image, using: 'isohybrid'. But it then instructs the reader to make a vfat partition on the thumbdrive, and DD the image to that partition. This seemed odd to me, since the image itself should have all that info. I've used hybrid images before, such as Linux Mint, and was simply able to dd directly to the device itself, ie: dd if=/path/to/hybrid.iso of=/dev/sdb (where sdb is the thumbdrive). But, I went along with it, and it failed-- unable to find 'isolinux.bin'. I've read this error is due to old/incompatible firmware, but I've booted other thumbdrive hybrid-built images many times, and have never seen this except in CentOS installations. So, I tried doing a dd directly to the thumbdrive device, rather than the partition. This actually looked like it was going to work. I got to the initial installer page, and proceeded through the Language and Keyboard questions. It then forgot where itself was, and asked me where the media for installation was. I selected Hard Drive, and /dev/sda1 showed up as default. I hit enter, and it continued further. But then it again forgot where the media was, and couldn't find the installation media. The second URL/instruction wouldn't boot at all. Has anyone successfully installed via USB? I remember reading some multi part instructions where the USB drive is formatted with some special tools, often involving Windows, and various files need to be copied to the USB drive. But I was hoping we were passed that by now. But then again, Dell firmware updates still want me to make a DOS bootable floppy. So, I'm usually not surprised when I hear something like this. :) Thanks! Regards, Joseph Spenner If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing CentOS via USB thumbdrive
On Nov 8, 2013, at 5:22 PM, Yves Bellefeuille y...@storm.ca wrote: On Friday 08 November 2013, Joseph Spenner joseph85...@yahoo.com wrote: I've been poking at this for quite a while, and have never been able to get it to work. Have a look at this thread: http://www.centos.org/forums/viewtopic.php?t=4478 Just checked it out. Looks like a lot of frustrated people, with no real resolution. I'll find a USB DVD drive and use that, until a hybrid ISO becomes available. Thanks! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] - monitoring software
On Fri, 10/18/13, Paolo De Michele pa...@paolodemichele.it wrote: Subject: [CentOS] - monitoring software To: CentOS mailing list centos@centos.org Date: Friday, October 18, 2013, 5:49 AM hi, I have a dedicated server with several services running: ssh, ftp, httpd (with several sites andactive domains), the mail server (dovecot, postfix), dns. You could grab this Icinga VM (nagios, basically): https://www.icinga.org/about/virtual-appliance/ If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] large SCSI RAID, replacing server
From: John R Pierce pie...@hogranch.com To: centos@centos.org Sent: Tuesday, September 10, 2013 10:11 AM Subject: Re: [CentOS] large SCSI RAID, replacing server On 9/10/2013 9:52 AM, Joseph Spenner wrote: How can I build up a new system to be ready for this existing RAID? Or will the latest/greatest CentOS just know what to do, and allow me to simply copy the /etc/fstab over and respect it? what that error said, use parted. parted -l /dev/sda to list the partitions on device /dev/sda. fdisk is deprecated Thanks for the reply! But is there a way to stage the new system so all I need to do is move the RAID from the old system to the new system? Or do I need to do anything at all? I'm not sure if the existing system has some special packages which make it able to use those large partitions. It doesn't appear to have 'parted' installed. That's why I was curious if the latest/greatest CentOS would know what to do. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] large SCSI RAID, replacing server
I have a system running CentOS 6.3, with a SCSI attached RAID: http://www.raidweb.com/index.php/2012-10-24-12-40-09/janus-ii-scsi/2012-10-24-12-40-59.html For disaster recovery purposes, I want to build up a spare system which could take the place of the server hosting the RAID above. But here's what I see: # fdisk -l /dev/sdc WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc: 44004.7 GB, 44004691814400 bytes 255 heads, 63 sectors/track, 5349932 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 524288 bytes / 524288 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sdc1 1 267350 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. # But here's the partitions I have: # df -k |grep sdc /dev/sdc1 15379809852 8627488256 6596071608 57% /space01 /dev/sdc2 6248052728 905001184 5279574984 15% /space02 /dev/sdc5 8175038780 2418326064 5673659088 30% /space03 /dev/sdc4 6248052728 1444121916 4740454252 24% /space04 /dev/sdc3 6248052728 1886640284 4297935884 31% /space05 # How can I build up a new system to be ready for this existing RAID? Or will the latest/greatest CentOS just know what to do, and allow me to simply copy the /etc/fstab over and respect it? Thanks! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RHEL Subscriptions
On 08/18/2013 09:30 PM, Anthony K wrote: Hello List Members. I was recently approached by Dell stating that I HAVE TO renew my Red Hat Subscriptions. I challenged this statement and was informed that this has always been the case and that all servers I have bought off of Dell over the years need to have current subscription! I've been searching the Red Hat website to find where this is stated but can't seem to locate this info. So, is Dell having me on? Does seem kinda harsh. Maybe it's the only way Dell can support you? Without subscriptions/license, I don't think yum updates will work unless you modify the repos manually. The only time anyone at my company ever contacted Red Hat for support was to figure out how to use the license they bought! It didn't take long before we dropped that nonsense and started using CentOS. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.htm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] minimal X applications needed to export to remote server?
I'm running a piece of network backup software called 'bacula', on a minimal CentOS 6.4 install. I got everything working pretty well, but there's one piece giving me some problem-- a component which gives status info via a GUI. In the past, on previous installations, I could ssh to the bacula server with the -X option, and run the application (called 'bat'), and it would display back. I'd have to make sure the sshd_config permits Xforwarding, but that was all. On my new CentOS 6.4 minimal, I always get: bat: cannot connect to X server I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot. Still no go. I figured something was missing, since it is a minimal install, with no X. So I installed 'xlogo', thinking maybe all the X stuff needed to display that would be installed. By installing xlogo, I got a bunch of X stuff, including: xorg-x11-apps-7.6-6.el6.x86_64 I also have: libXau-1.0.6-4.el6.x86_64 libX11-1.5.0-4.el6.x86_64 libXrender-0.9.7-2.el6.x86_64 libXcursor-1.1.13-2.el6.x86_64 libXft-2.3.1-2.el6.x86_64 libXxf86vm-1.1.2-2.el6.x86_64 libXi-1.6.1-3.el6.x86_64 libXmu-1.1.1-2.el6.x86_64 libXaw-1.0.11-2.el6.x86_64 libX11-common-1.5.0-4.el6.noarch libXext-1.3.1-2.el6.x86_64 libXfixes-5.0-3.el6.x86_64 libXdamage-1.1.3-4.el6.x86_64 libXrandr-1.4.0-1.el6.x86_64 libXinerama-1.1.2-2.el6.x86_64 libXv-1.0.7-2.el6.x86_64 libXt-1.1.3-1.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 But I still get the error. Anyone know which package/rpm/lib I am missing? Thanks! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] minimal X applications needed to export to remote server?
From: Joseph Spenner joseph85...@yahoo.com To: CentOS mailing list centos@centos.org Sent: Friday, August 16, 2013 9:07 AM Subject: Re: [CentOS] minimal X applications needed to export to remote server? Les: Thanks for the tip! xorg-x11-xauth got me closer! The xlogo does show up! However, when I run 'bat', I get the gui with a bunch of little squares instead of fonts/text: http://img835.imageshack.us/img835/7935/62gh.png So, looks like I need some font stuff! Is there a package/RPM to get all those? Thanks for the help. This is great! I got the fonts. All I did was: # yum install xorg-x11-fonts-* And all is good. Thanks for all the help everyone! __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] minimal X applications needed to export to remote server?
From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Friday, August 16, 2013 8:30 AM Subject: Re: [CentOS] minimal X applications needed to export to remote server? On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner joseph85...@yahoo.com wrote: bat: cannot connect to X server I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot. Still no go. You probably need the xorg-x11-xauth package if you don't have it. Les: Thanks for the tip! xorg-x11-xauth got me closer! The xlogo does show up! However, when I run 'bat', I get the gui with a bunch of little squares instead of fonts/text: http://img835.imageshack.us/img835/7935/62gh.png So, looks like I need some font stuff! Is there a package/RPM to get all those? Thanks for the help. This is great! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Restoring deleted files.
From: Ahmed ahmed.daud...@gmail.com To: CentOS mailing list centos@centos.org Sent: Friday, August 16, 2013 9:44 AM Subject: [CentOS] Restoring deleted files. Hi, is it possible to Restore files deleted with rm rf from ext4 or ext3 filesystem by mistake. There is something called lazarus: http://www.fish2.com/tct/help-recovering-file Make backups! I recommend bacula. :) __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] convert webpage to image
From: Carl T. Miller c...@carltm.com To: CentOS centos@centos.org Sent: Wednesday, August 14, 2013 5:47 AM Subject: [CentOS] convert webpage to image What is the easiest way to convert a webpage into a jpg or png file? I've seen several programs that can do various conversions, but nothing open source that can do it in a single conversion. I wrote a few lines to do this, but it involves using firefox, and 'import' from ImageMagick. The first script starts firefox in a virtual frame: === Xvfb :2 -screen 0 1280x1024x24 /dev/null 21 export DISPLAY=localhost:2.0 firefox http://ip.of.your.page/page.html === Then the second script captures/crops what I want: === export DISPLAY=localhost:2.0 import -crop '1024x512+54+235' -window root /path/to/result.png == You'll have to adjust the crop values to what you want. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] convert webpage to image
On Wed, Aug 14, 2013 at 8:47 AM, Carl T. Miller c...@carltm.com wrote: This will do exactly what you want without resorting to hackery or using external services. It has a component to convert to both pdf or an image and uses webkit. http://code.google.com/p/wkhtmltopdf/ Carl: That's pretty cool! Adding to my list of cool stuff. Thanks for the link! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] convert webpage to image
From: Brian Mathis brian.mathis+cen...@betteradmin.com To: CentOS mailing list centos@centos.org Sent: Wednesday, August 14, 2013 7:59 AM Subject: Re: [CentOS] convert webpage to image This will do exactly what you want without resorting to hackery or using external services. It has a component to convert to both pdf or an image and uses webkit. http://code.google.com/p/wkhtmltopdf/ Brian: That's pretty cool! Adding to my list of cool stuff. Thanks for the link! (gave wrong guy credit in previous post. sorry. :) --If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Dell R515 with PERC H700 - JBOD?
Hello, I'm curiuos if anyone knows if it's possible to set up a Dell R515 (which has PERC H700) to be JBOD. It seems the only options are RAID0 or RAID1. I read posts, where people say it can by done by making each disk its own RAID0. This works, but it wigs out when that disk is removed, and forgets a disk was ever there (unless I go back in the PERC and fix it). My plan is to have a system where I can remove and replace the drives regularly, while the system is on/running. I do this on a SuperMicro, but wanted to migrate this server to a Dell. I tried disabling the RAID in the BIOS, but then the installer never sees the disks. Any ideas would be great. Thanks! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell R515 with PERC H700 - JBOD?
From: m.r...@5-cent.us m.r...@5-cent.us To: CentOS mailing list centos@centos.org Sent: Monday, August 12, 2013 12:59 PM Subject: Re: [CentOS] Dell R515 with PERC H700 - JBOD? My plan is to have a system where I can remove and replace the drives regularly, while the system is on/running. I do this on a SuperMicro, but wanted to migrate this server to a Dell. I tried disabling the RAID in the BIOS, but then the installer never sees the disks. No, that wouldn't work - the PERC mediates between the drives and the BIOS. Until they're set up in the PERC firmware, the BIOS can't find the drives. One more question: why do you want to regularly replace the drives? I mean, are you including /? mark I'm running a backup server (bacula), and the media I use are 7 SATA disks. Every week, I remove 7 disks and replace with 7 new disks. I have a 3 week rotation. Works great. But I wanted to migrate to a new Dell system. Thanks for the reply! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] howto avoid Samba
From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Friday, August 2, 2013 9:13 AM Subject: Re: [CentOS] howto avoid Samba On Mon, Jul 29, 2013 at 5:37 AM, John R. Dennison j...@gerdesas.com wrote: On Mon, Jul 29, 2013 at 11:34:06AM +0100, Nux! wrote: FTP? AFAIK one can add an FTP account as a drive in Windows. Or he could just fix his configs so it actually works right. There is no issue with file sharing from a CentOS server to win7 desktops. There exists a nifty tool called SFTP-Drive. It will map a drive letter in Windows to an SSH connection: Free version: https://www.eldos.com/sftp-net-drive/ Supported version: http://www.download3k.com/Internet/Ftp/Download-SftpDrive.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] surveillance DVR
James Pifer wrote: mark wrote: Ok, I *must* not have made clear what I was asking for. Let me try one more time We want an appliance, such as http://www.zmodo.com/4ch-h-264-full-d1-dvr-500gb-hdd-with-4-cmos-480tvl-ir-outdoor-security-cameras-with-11-leds.html, that we can put on our network, and manage, and d/l videos for long-term storage, onto a server. We have exactly, um, two? boxes running Windows, and we normally do *nothing* with them. We've over 100 servers running Linux, and that's where we live. snip NOTHING RUNNING WINDOWS Not knowing if / how much you're willing to spend, take a look at a Synology NAS, which has Surveillance Station. You get one camera license with each one and then you have to buy additional camera licenses for about $55 each. Of course you'd be getting a lot more than just a surveillance DVR, so may or may not fit your needs. They are great devices. You mentioned ZoneMaster, and how it wouldn't work for you. What does it lack? I've recently been using it, and it seems to work quite well. ... just curious.. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] surveillance DVR
James Pifer wrote: mark wrote: Ok, I *must* not have made clear what I was asking for. Let me try one more time We want an appliance, such as http://www.zmodo.com/4ch-h-264-full-d1-dvr-500gb-hdd-with-4-cmos-480tvl-ir-outdoor-security-cameras-with-11-leds.html, that we can put on our network, and manage, and d/l videos for long-term storage, onto a server. We have exactly, um, two? boxes running Windows, and we normally do *nothing* with them. We've over 100 servers running Linux, and that's where we live. snip NOTHING RUNNING WINDOWS Not knowing if / how much you're willing to spend, take a look at a Synology NAS, which has Surveillance Station. You get one camera license with each one and then you have to buy additional camera licenses for about $55 each. Of course you'd be getting a lot more than just a surveillance DVR, so may or may not fit your needs. They are great devices. You mentioned ZoneMinder, and how it wouldn't work for you. What does it lack? I've recently been using it, and it seems to work quite well. ... just curious.. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ 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] Interesting admin info: ipmitool
From: m.r...@5-cent.us m.r...@5-cent.us To: CentOS mailing list centos@centos.org Sent: Tuesday, July 30, 2013 11:47 AM Subject: [CentOS] Interesting admin info: ipmitool I've used ipmitool any number of times, but never for more than getting info, or setting the server name on a Dell LCD screen. However, I had a server screaming about intruder alert, intruder alert, er, Chassis intrusion detected, and I thought there might be a way to shut it up (this after pulling the server and reseating the lid). A quick google found, on the first page, an 8 page document by Dell called Managing Dell PowerEdge Servers Using IPMItool. It's clear, comprehensible, has links to the ipmitool project, and to the IPMI standard, which has documentation on calls and parameters. It also has some examples... including How to turn off intrusion detected events Other than the device ID being different on my Penguin than on a Dell PE, it was completely accurate... and it worked. The intruder must not escape!!! Right. :) Is this what Dell OpenManage wraps around? It sounds similar.. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] run script on cron job only run on first Saturdat every month???
From: mcclnx mcc mcc...@yahoo.com.tw we have CENTOS 5.5 on DELL server. One of our script need run on first Saturday every month. We have following setup on cron job but it run every Saturday. 15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh Any one know how to fix it? That's pretty clever, and it looks like it should work. Maybe something is taking priority? I'd try some experimentation. Try: 15 04 1-7 today.day.number 6 touch /tmp/foo.test 15 04 1-7 today.day.number * touch /tmp/foo.test 15 04 1-7 * * touch /tmp/foo.test 15 04 * * 6 touch /tmp/foo.test etc. It might take a while, but you'll find it eventually! I had a similar problem with Debian, but it turned out to be a weird timezone issue confusing me. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] When no MTA is installed, How to send an email with a cronjob?
On Jul 21, 2013, at 1:42 AM, Indunil Jayasooriya induni...@gmail.com wrote: Hi, When no MTA is installed, How to send an email with a cronjob? I have below entrty in my cronjob? my /etc/cron.d/backup file looks like this. MAILTO=myem...@example.com 15 11 * * * root /root/scripts/backup.sh Can I send this email via SMTP server? Hope to hear from you. There is a nifty perl script which does this, and can even do attachments: http://caspian.dotconf.net/menu/Software/SendEmail/ __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] unprivileged users rebooting at console
I'm curious why any user logged in at the console can issue the 'reboot' command and reboot the system. I've tested/verified this to work, and read some older posts about this. If it were a bug, I suspect it would be fixed by now. Also, if a user is logged into the console, and then logs in via ssh from another system, that user can also reboot the system from that ssh connection. It would seem that once a user authenticates on the console, and remains on the console, they can reboot from any other/new tty. Once they drop off the console, the ssh connections can no longer reboot. If this is by design, why? Thanks! Regards, Joseph Spenner --- If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] idea: hybrid iso images?
In order to create a bootable CentOS installation USB thumb drive, there are several steps one must follow. The process often involves using a Windows box, which can be kinda annoying. The Linux Mint distro has what they call a Hybrid iso image. (see: http://community.linuxmint.com/tutorial/view/744 ) This image can be written to a thumb drive and used for installation simply by performing: # dd /path/to/image.iso of=/dev/sdb (where /dev/sdb is the thumb drive device). This thumb drive can now be booted and used for installation. The same image.iso file can be written to CD/DVD to create the installation media as well. Is this a complicated ISO build process? I'm frequently installing to systems without CD/DVD drives, so this would come in handy. Thanks! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] idea: hybrid iso images?
From: Nux! n...@li.nux.ro To: CentOS mailing list centos@centos.org Sent: Monday, April 15, 2013 11:26 AM Subject: Re: [CentOS] idea: hybrid iso images? On 15.04.2013 19:07, Joseph Spenner wrote: In order to create a bootable CentOS installation USB thumb drive, there are several steps one must follow. The process often involves using a Windows box, which can be kinda annoying. The Linux Mint distro has what they call a Hybrid iso image. (see: http://community.linuxmint.com/tutorial/view/744 ) This image can be written to a thumb drive and used for installation simply by performing: # dd /path/to/image.iso of=/dev/sdb (where /dev/sdb is the thumb drive device). This thumb drive can now be booted and used for installation. The same image.iso file can be written to CD/DVD to create the installation media as well. Is this a complicated ISO build process? I'm frequently installing to systems without CD/DVD drives, so this would come in handy. Centos ISOs have been hybrid for a while now AFAIK. Have you tried them and did not work? = Nux: I just tried again, using an 8G thumb drive, with the CentOS-6.4-x86_64-minimal.iso image on my 64bit Dell laptop, and got a quick error: no boot sector found on USB device It then proceeded to boot the next device in the boot order list. I also tried it on 2 other Dell servers, and neither would boot the thumb drive. I then dd'd the latest Linux Mint iso to the same thumb drive, and it worked fine on my laptop. So, perhaps the CentOS images can not (yet) be used this way. Have you tried? Thanks for the reply! Regards, Joseph Spenner __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID 6 - opinions
From: m.r...@5-cent.us m.r...@5-cent.us To: CentOS mailing list centos@centos.org Sent: Thursday, April 11, 2013 8:36 AM Subject: [CentOS] RAID 6 - opinions I'm setting up this huge RAID 6 box. I've always thought of hot spares, but I'm reading things that are comparing RAID 5 with a hot spare to RAID 6, implying that the latter doesn't need one. I *certainly* have enough drives to spare in this RAID box: 42 of 'em, so two questions: should I assign one or more hot spares, and, if so, how many? A RAID5 with a hot spare isn't really the same as a RAID6. For those not familiar with this, a RAID5 in degraded mode (after it lost a disk) will suffer a performance hit, as well as while it rebuilds from a hot spare. A RAID6 after losing a disk will not suffer. So, depending on your need for performance, you'll need to decide. As far as having a spare disk on a RAID6, I'd say it's not necessary. As long as you have some mechanism in place to inform you if/when a disk fails, you'll not suffer any performance hit. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID 6 - opinions
From: John R Pierce pie...@hogranch.com To: centos@centos.org Sent: Thursday, April 11, 2013 1:24 PM Subject: Re: [CentOS] RAID 6 - opinions On 4/11/2013 12:30 PM, m.r...@5-cent.us wrote: Ok, listening to all of this, I've also been in touch with a tech from the vendor*, who had a couple of suggestions: first, two RAID sets with two global hot spares. I would test how long a drive rebuild takes on a 20 disk RAID6. I suspect, very long, like over 24 hours, assuming a fast controller and sufficient channel bandwidth. But isn't that one of the benefits of RAID6? (not much degraded/latency effect during a rebuild, less impact on performance during rebuild, so longer times are acceptable?) __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to determine 64 vs 32 bit processor
On 4/10/2013 9:58 PM, Robert Moskowitz wrote: I have been tied up with other work and Holidays. Now back to some server work that is long overdue. I lost an old server yesterday so it is crunch time. I believe my new platform is suppose to be an x86_64. The order form says 64 bit. If you check /proc/cpuinfo, the 'flags' section, look for lm. If that is present, it is 64bit. http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/ __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problems with 'iptables'
From: Andrey B. Kiselev mr.slono...@gmail.com To: centos@centos.org Sent: Friday, March 22, 2013 11:16 AM Subject: [CentOS] Problems with 'iptables' Hello! Sorry if this question is already asked, but I not finding answer for it... I have server with CentOS 6.4, later it will be router for home network. When I tried tune iptables I have error: [root@gateway sysconfig]# iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE iptables v1.4.7: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables 1.4.7 (latest version), custom kernel 3.8.3. from kernel.org (too latest version) How to fix this error, it's desirable without rebuild kernel? ___ === Try lowercase 'nat' (instead of uppercase 'NAT'). If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] preventing apache from being a mail relay
On 03/03/2013 05:06 PM, Alexander Dalloz wrote: Am 03.03.2013 22:49, schrieb Robert Moskowitz: There was an attack, and if you search you will find references to it, where the spammers post to your web server in such a way that they relay out port 25. They send to your port 80, but you send out port 25. For example: http://forums.fedoraforum.org/archive/index.php/t-173601.html My old server has been running smoothly for over two years, but it is time to bring the software current. I did all the work on this back then, or maybe before and copied from my earlier server. This time I am trying to build everything clean and document every change I make. Such a misbehaviour would be caused by a misconfigured apache proxy setup. It is coming back now through a pair of dark glasses. Just haven't built a public web server is so long, as the old one just ran for as little as I needed it, that I lost the notes on the problem. Looks like current defaults do not allow this. Wouldn't this attack be similar to using someone's web server as a proxy to get to other sites? By default, apache doesn't permit itself to proxy this way. A simple test would be to do something like this to your own web server, or one in question: $ telnet ip.of.webserver 80 GET http://www.google.com HTTP/1.0 returnreturn If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] VNC server not reponding to external requests
On 02/25/2013 01:15 PM, Neil Aggarwal wrote: Is there some default setting in the vncserver that I need to change to allow outside connections? And what about iptables? I have iptables and selinux turned off currently. It still will not connect. Any other ideas? Check to make sure you have connectivity. ie: telnet ip.of.vnc.server 5900 (5901, 5902, etc) You should get 'connected' and/or some text indicating you connected to something. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] VNC server not reponding to external requests
On 02/25/2013 11:33 AM, Neil Aggarwal wrote: Hello everyone: I tried following the instructions on this page to set up a VNC server: http://wiki.centos.org/HowTos/VNC-Server I can telnet to port 5901 from the machine itself: # telnet 127.0.0.1 5901 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. RFB 003.008 But, when I try to connect to it from the outside world, I get a connection timeout. My /etc/sysconfig/vncservers file does not have the -nolisten tcp nor the -localhost options so it should be configured to accept outside connections. Is there some default setting in the vncserver that I need to change to allow outside connections? Try: # netstat -an |grep 5901 What do you get back? Also, is this box reachable from the outside world on any other ports? Just curious about network connectivity. SSH maybe? telnet ip.of.box 22 If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.htm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 5 with xfs root?
From: John R Pierce pie...@hogranch.com To: centos@centos.org Sent: Saturday, February 23, 2013 1:23 PM Subject: Re: [CentOS] centos 5 with xfs root? On 2/23/2013 7:40 AM, Eero Volotinen wrote: Hi List, Is it possible to install centos 5 with xfs root and how to do it? afaik, its not. I'm pretty sure grub doesn't know how to read XFS What if you create a /boot partition as EXT2 or EXT3, and the rest of the partitions as XFS? I suspect grub would be happy then. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is CentOS-6.3-x86_64-netinstall.iso broken?
Not sure if this would matter, but try burning to a CD instead. I think it will fit. This is what I have been doing. -- Get your heart sticker fixer! http://microflush.org/stuff/stickers/heartFix.html Sent from my iPad On Feb 9, 2013, at 4:07 AM, George R Goffe grgo...@yahoo.com wrote: Hi, I'm probably doing something wrong or misunderstanding how this is supposed to work. I have written this .iso image to a DVD and booted from it. I then selected the first install option from the menu. I get some prompts and then I'm asked to specify where the media is. I assumed (there's that word) that I should just hit enter, thereby selecting the from DVD option. I got a message about not being able to find the install materials? Is this what the install process is looking for? Shouldn't it be looking in the network? Can anyone see what I'm doing wrong? Thanks, George... ___ 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] the at command
From: Jerry Geis ge...@pagestation.com To: CentOS ML centos@centos.org Sent: Monday, January 21, 2013 1:21 PM Subject: [CentOS] the at command I was trying to use the 'at' command. Does it not have resolution to the second? When I run it with 'at -f /tmp/tt.sh 01/21/2013 15:20:45 syntax error. Last token seen: 15:20 Garbled time How do I run a command in the future including seconds. Thanks, Jerry I think you're limited to 1 minute granularity. But if you want to run something at a specific second (ie: 13 seconds after the minute), you could modify the script to sleep for 13 seconds before running and run it on the minute, or prepend a sleep in the cron entry itself: * * * * * sleep 13; touch /tmp/foo __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] load balancer recommendations
Am 19.01.2013 um 21:35 schrieb Boris Epstein borepst...@gmail.com: Hello all, The question is not necessarily CentOS-specific - but there are lots of bright people on here, and - quite possibly - the final implementation will be on CentOS hence I figured I'd ask it here. Here is the situation. I need to configure a Linux-based network load balancer (NLB) solution. The idea is this. Let us say I have a public facing load balancer machine with an public IP of, say, 50.50.50.50. It is to receive the traffic (let's say, HTTP traffic) and then route it to two private HTTP servers, let's say, 192.168.10.10 and 192.168.10.11. It has to have persistence - i.e., be state- and session-aware. If for whatever reason one of the servers goes down the remaining pool shares all the traffic in some fashion (be it eound robin, saturation based, whatever). We have tried Vyatta ( http://vyatta.org/ ) and ZeroShell ( http://www.zeroshell.org/ ) and both are very good but their NLB seems to be externally facing (i.e., you have several internet connections and are trying to divide your traffic between them). What we need is an internally facing one, if I may say so. Any advice on what may help us would be greatly appreciated. I've had pretty good luck with Barracuda load balancers.. You can configure them to keep a user session on a single server, which is often desired, and spread new connections to other servers as they arrive. The only problem I had with them, ironically, was they would crash if I purchased their Live Updates feature. It's some sort of auto updating black-list service you can buy which helps protect the device and your resources. But after I disabled that, the device has been rock solid. Been working great since about 2006. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] load balancer recommendations
From: Boris Epstein borepst...@gmail.com To: CentOS mailing list centos@centos.org Sent: Saturday, January 19, 2013 5:10 PM Subject: Re: [CentOS] load balancer recommendations Joseph, Thanks! Did you mean this: https://www.barracudanetworks.com/products/loadbalancer But this looks like an integrated solution, hardware and software. I am just looking for the software part. Boris. On Sat, Jan 19, 2013 at 7:06 PM, Joseph Spenner joseph85...@yahoo.comwrote: I've had pretty good luck with Barracuda load balancers.. You can configure them to keep a user session on a single server, which is often desired, and spread new connections to other servers as they arrive. The only problem I had with them, ironically, was they would crash if I purchased their Live Updates feature. It's some sort of auto updating black-list service you can buy which helps protect the device and your resources. But after I disabled that, the device has been rock solid. Been working great since about 2006. Yes. It might be worth just getting the whole canned solution, though. It is Linux based. At the time, the thing was about $1800, which isn't really that bad, and it just works. There's a web interface to configure it, and it's relatively intuitive. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hi
From: Derek Stewart de...@q40.de To: centos@centos.org Sent: Monday, December 31, 2012 8:14 AM Subject: [CentOS] Hi Hi, Just joinedthe mailing list. I am new to Centos, anybody got any tips. Derek Welcome! Joining the list is a great start. Also, reading some of the FAQ would be a good idea. In case you're not familiar with what CentOS really is, maybe check this: http://en.wikipedia.org/wiki/CentOS As others have mentioned, a VM would be good. I personally prefer VirtualBox since it seems to perform very well without taxing the host too much. Good luck! If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables port forwarding
From: Earl A Ramirez earlarami...@gmail.com To: CentOS mailing list centos@centos.org Sent: Tuesday, December 4, 2012 3:25 PM Subject: Re: [CentOS] iptables port forwarding On 5 December 2012 03:38, Joseph Spenner joseph85...@yahoo.com wrote: I have a simple requirement/test I'm trying to perform, but having difficulty. When I try to connect from my other system, boxB, 192.101.77.76, it never connects to the target port: boxB# telnet 192.101.77.62 12321 Trying 192.101.77.62... ^C boxB# telnet 192.101.77.62 22 Trying 192.101.77.62... Connected to 192.101.77.62. Escape character is '^]'. SSH-2.0-OpenSSH_5.5p1 Protocol mismatch. Hi Joseph, What port is the sshd daemon listening on, did you edit the sshd_config file to reflect port 12321? -- Earl: Thanks for the reply, but I figure it out. The sshd ports are default-- 22. The target system needed a route back to the original system through the linux router. I ran tcpdump and saw it and knew then I needed a route. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] iptables port forwarding
I have a simple requirement/test I'm trying to perform, but having difficulty. I have a system with 2 interfaces, BoxA: eth0 172.26.50.102 eth1 192.101.77.62 My goal is to have a tcp port built on BoxA such that hosts on the 192.101.77.0/24 network can reach a port on a different box on the 172.26.0.0/16 network. The target system is 172.26.10.120 tcp/22 The port I wish to build is 12321. The iptables rules I'm using: iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 12321 -j DNAT --to 172.26.10.120:22 It shows up when I query the rules: boxA# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination # boxA# iptables -L -t nat Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT tcp -- anywhere anywhere tcp dpt:12321 to:172.26.10.120:22 Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination boxA# Forwarding is enabled: boxA# cat /proc/sys/net/ipv4/ip_forward 1 boxA# boxA can get to the target system: boxA# telnet 172.26.10.120 22 Trying 172.26.10.120... Connected to 172.26.10.120. Escape character is '^]'. SSH-2.0-OpenSSH_4.6 Protocol mismatch. Connection closed by foreign host. boxA# When I try to connect from my other system, boxB, 192.101.77.76, it never connects to the target port: boxB# telnet 192.101.77.62 12321 Trying 192.101.77.62... ^C boxB# However, I can connect to boxA from boxB on it's tcp/22 port, so I know I have connectivity: boxB# telnet 192.101.77.62 22 Trying 192.101.77.62... Connected to 192.101.77.62. Escape character is '^]'. SSH-2.0-OpenSSH_5.5p1 Protocol mismatch. Connection closed by foreign host. boxB# Nothing shows up in the logs. Anyone have any ideas what I may be doing wrong? Any help would be great. Thanks! __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/2/2012 3:52 PM, Harold Pritchett wrote: you are a sendmail expert. I too have been using sendmail for umpteen years (since the early 90s with UUCP, anyways), and feel comfortable in it, and haven't to date been willing to put in the effort to switch.. The OP, on the other hand, appears to be a novice (To date I have not had to configure sendmail since I use a class in PHP that is straight, however I am learning how to use Concrete5 for my local Rotary club and it apparently needs sendmail). I'd suggest postfix because its configuration interface is cleaner and simpler (the whole .mc - .cf thing in sendmail is truly arcane). I agree. When first trying to configure sendmail years ago, I remember how painful it was. Giving birth to a flaming porcupine, comes to mind. Postfix is about as easy as I was always thinking sendmail should be. Now if only they'd do something like that for BIND... __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sending Email Via Telnet
From: John Reddy linuxpen...@hotmail.com To: centos@centos.org Sent: Tuesday, October 16, 2012 7:30 AM Subject: Re: [CentOS] Sending Email Via Telnet So I go to this page and get an example of how to do this: http://www.freebsdwiki.net/index.php/SMTP,_testing_via_Telnet and follow the example: [root@mydomain john]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. HELO justtesting MAIL FROM: test...@gmail.com RCPT TO: test...@gmail.com DATA To: test...@gmail.com From: test...@gmail.com Subject: testing Date: Tu, Oct 2012 10:21:11 -0500 Testing . QUIT Something isn't quite right with your setup. When you do the HELO command, the server should reply with something. For example: == $ telnet smtp.comcast.net 25 Trying 76.96.40.155... Connected to smtp.comcast.net. Escape character is '^]'. 220 omta12.emeryville.ca.mail.comcast.net comcast ESMTP server ready HELO comcast.net 250 omta12.emeryville.ca.mail.comcast.net hello [69.24.1.7], pleased to meet you == Does the mail server ever return anything back to you? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] setting up postfix
From: m.r...@5-cent.us m.r...@5-cent.us To: CentOS mailing list centos@centos.org Sent: Tuesday, October 16, 2012 7:49 AM Subject: Re: [CentOS] setting up postfix Larry Martell wrote: This should be an easy one. I'm trying to get postfix going. I've never done this before. I followed the directions at http://wiki.centos.org/HowTos/postfix. I opened port 25: iptables -I INPUT -p tcp -m tcp --dport 25 -j ACCEPT But I don't receive the mail. In a file in /var/spool/postfix/defer I see: alt2.gmail-smtp-in.l.google.com[2607:f8b0:400d:c00::1a]:25: Network is unreachable Have I missed a step or done something wrong? Have you tested to see if tcp/25 is really open? From another system: $ telnet ip.of.postfix.box 25 Do you get a sendmail/postfix message of some sort? __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sending Email Via Telnet
On Wed, Oct 17, 2012 at 8:40 AM, Blake Hudson bl...@ispn.net wrote: Alexander Dalloz wrote the following on 10/16/2012 1:41 PM: Am 16.10.2012 20:13, schrieb Les Mikesell: ]# netstat -pant|grep :25|grep LISTEN tcp 0 0 209.216.9.56:25 0.0.0.0:* LISTEN 14058/master tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 14058/master Something is clearly going wrong. Try 'strace -p 14058' (the process currently listening) in one window while you telnet in another. Before tracing anything (processes or network traffic) the OP should check the maillog. It for sure will the the truth about what is going on. Alexander Could SELinux be responsible? __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ 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] Log viewing and analysis tools
From: David McGuffey davidmcguf...@verizon.net To: centos@centos.org Sent: Tuesday, August 28, 2012 2:51 AM Subject: [CentOS] Log viewing and analysis tools I have a requirement to allow our security officer to regularly view and analyze the logging and auditing results of one of the machines in our lab. He comes from the Microsoft Windows world and is not a *nix trained person. I know I can configure logwatch. I can also create a script containing various 'aureport' runs into a cron job. Any recommendations for a GUI-based tool that would be easy for him to learn? Dave M === Dave: I've been using a free solution called LogAnalyzer, and am pretty happy with it: http://loganalyzer.adiscon.com/ It has a web interface, and uses a database to store all the log info. It can be easily accessed, given specific filtered queries, etc. Check out the Online Demo page to see how it looks. __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vi defaults in 6.x
From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Thursday, August 16, 2012 11:23 AM Subject: [CentOS] vi defaults in 6.x When I use copy/paste text into a window running vi, if there is a single line starting with '#', in the pasted content, it adds a # to all subsequent lines and indents each an additional level. Is there some way to eliminate this bizarre behavior, preferably globally and permanently so I don't have to repeat some change for every machine/user where I might log in? -- Les Mikesell === To make vi less annoying, I always create a .vimrc in the homedir of the account in question. It contains: syntax off set nohlsearch set noincsearch :let loaded_matchparen = 1 set noai set paste set mouse= set noautoindent Hope this helps! __ If life gives you lemons, keep them-- because hey.. free lemons. ♥ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux in CentOS 6
From: Beartooth bearto...@comcast.net To: centos@centos.org Sent: Thursday, July 26, 2012 12:25 PM Subject: [CentOS] SELinux in CentOS 6 It keeps butting in when I try to install map software from Garmin under Wine. I'm not nearly competent not willing to apply the remedy it suggests. How do I get to someplace where I can disable it, or at least set it to permissive? ___ You can edit the /etc/selinux/config ..but I anticipate this thread will spawn yet another instance of SELinux Wars.. If life gives you lemons, keep them-- because hey.. free lemons. ~heart~ Sticker fixer: http://microflush.org/stuff/stickers/heartFix.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ssh port forwarding
From: Ski Dawg cen...@skidawg.org To: CentOS mailing list centos@centos.org Sent: Thursday, July 12, 2012 10:20 AM Subject: [CentOS] ssh port forwarding We are wanting to make mysql connections over an ssh tunnel. In this case, lets say that hostA is our local machine, and hostB is the Amazon EC2 instance. I have tried several different variations (that I have found from google searching), including: from hostA: ssh -L 2:hostB:3306 user@hostB from hostA: ssh -L 2:localhost:3306 user@hostB from hostA: ssh -L 2:hostB:3306 user@localhost -- Doug == Doug: Depending on how the mysql is bound on hostB, either variation 1 or 2 should work. Variation 3 doesn't look very useful, since it implies hostA can already access tcp/3306 on hostB. After you build the port forwards, and open another terminal on HostA, and do: $ telnet localhost 2 What does it do? Also, just to verify, if you're on hostB and do: $ telnet localhost 3306 Does it 'connect' to a tcp port? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Best way to duplicate a live Centos 5 server?
On Jul 8, 2012, at 6:57 PM, Phil Savoie psavoie1...@rogers.com wrote: On 07/08/2012 06:48 PM, Micky wrote: The best and traditional way that has been there for decades is an rsync and then reinstallation of boot-loader. It works always if you know how it's done. If you need detailed instructions, I can send you that! Yes, please! Could you either post here to the list, or to me personally? Thank you, Phil -- What is running on the server? You might be able to get away with a dd, to build a duplicate disk. This disk can be directly attached or on another server tunneled through ssh. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] leap second
From: bob b...@bobhoffman.com To: CentOS mailing list centos@centos.org Sent: Sunday, July 1, 2012 9:55 AM Subject: Re: [CentOS] leap second On 7/1/2012 10:07 AM, Mogens Kjaer wrote: On 07/01/2012 03:05 PM, Bob Hoffman wrote: - Kernel Begin 1 Time(s): Clock: inserting leap second 23:59:60 UTC -- Kernel End - hee hee. gotta love it My oracle database running on CentOS 6 didn't love it :-( Some java processes were100% CPU after the leap second was added. Rebooting... Mogens I had a VM crash, but it was on an old 2.4 kernel. I remember this happening last time with some older 2.4 systems. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Can only login as root
From: Timothy Murphy gayle...@eircom.net To: centos@centos.org Sent: Thursday, May 3, 2012 5:47 AM Subject: [CentOS] Can only login as root I have a strange problem on a CentOS-5.8 machine. I can only login as root. If I try to login with one of the user's names, it hangs for a long time. I thought it hung forever, but I just found that I do login after su tim after 5 minutes. It seems that the problem lies in repeated messages in /var/log/messages --- May 3 12:14:13 helen su: nss_ldap: failed to bind to LDAP server ldap://www.gayleard.com/: Can't contact LDAP server May 3 12:14:13 helen su: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... --- = How does your /etc/nsswitch.conf look? Particularly the 'passwd:' line? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Server Backup Options
From: Brian Mathis brian.mathis+cen...@betteradmin.com To: CentOS mailing list centos@centos.org Sent: Sunday, March 11, 2012 5:38 PM Subject: Re: [CentOS] CentOS Server Backup Options On Sun, Mar 11, 2012 at 8:12 PM, Scott Walker scott_wal...@ramsystemscorp.com wrote: What do you guys recommend for backing up a small CentOS server in a business environment. It will have (3) 300gb drives in a raid 5 array but I don't anticipate more than about 25gb of data that needs to be backed up each night. I want a lot of backups with a rotation scheme that included daily, weekly, and monthly copies. I want the daily copies of the data kept until the next week, and the weekly copy being kept for four weeks, and the monthly copies being kept for a year. The vendor is recommending a RD1000 Removable Disk device. This looks like it has great specs. Each cartridge holds 160gb (non-compressed) and the drive costs about $420 but seems that with each removable cartridge costing $128, we may be limited to how many cartridges we could have, thus perhaps not retaining backup instances as long as I like. I asked about a HP DAT160 tape drive. Each tape holds 160gb (non-compressed) and the drive costs about $730, and each tape only costs about $24, so it would be economical to have lots of backup instances saved for a long period of time. I have been using tape and the backup rotation scheme mentioned above for over 20 years. The vendor is telling me they don't recommend tape drives anymore and all of their customers are using removable hard drive for local backups. Am I missing something? My instincts tell me the tape drive is the right solution for a system with a small amount of data, where the system is used only from 8am - 5pm (so backup speed is not critical) and where we want to save backup instances for a long time before overwriting them. Any input would be welcomed. A relatively inexpensive solution is to use a system with removable SATA disks (for the backup media) and use an open source backup application called Bacula ( http://bacula.org ) I have a SuperMicro with 8x1TB SATA disks. I keep one for the OS and application, and swap out the other 7 every week. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cron job not running
From: Tim Dunphy bluethu...@gmail.com To: CentOS mailing list centos@centos.org Sent: Sunday, March 4, 2012 8:25 PM Subject: [CentOS] cron job not running hello list, I am attempting to backup a centos 5.4 (x86_64) server running mysql with a cron job. Here's how the cron job looks: [root@cloud:/home/bluethundr/backupdb] #crontab -l * 3 * * * /usr/bin/mysqldump jfwiki /home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql However if I run the command from the command line it seems to work fine. === Something is probably different in your environment vs cron environment. Make a cronjob such as: * * * * * env /tmp/environment.txt Let it run for a minute to get the values, then remove the cronjob. Compare it to the results of 'env' on the command line. Probably a path or some other variable is missing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dd disk will not boot - can't find /dev/root
Am 12.12.2011 17:01, schrieb Joseph Spenner: From: Joseph Spenner joseph85...@yahoo.com To: centos@centos.org centos@centos.org Sent: Monday, December 12, 2011 8:51 AM Subject: [CentOS] dd disk will not boot - can't find /dev/root OS= CentOS 5.4, 64bit. I've always had great luck using dd to copy entire disks, and booting on other systems. However, I'm having difficulty with a couple systems. I boot using an install DVD so the OS disk is quiet, and dd to my target disk: # dd if=/dev/sda of=/dev/sdb bs=1024k /dev/sdb is the blank disk. The disks are 2T. After a few hours the operation is complete. But when I try to boot the new disk on my other system, I get the following errors after the CentOS boot menu (it counts down to boot the default disk fine, then this error): (screen shot at http://img214.imageshack.us/img214/645/centosbooterror.jpg ) I've read posts regarding the /dev/root error, and they talk about rebuilding initrd. I've tried some of the fixes mentioned, but have had no success. All I can think of is slightly different hardware on the new system where I'm trying to boot, but I'm not sure what the difference could be. They're both 64bit SuperMicro systems. If anyone has any ideas, I'd love to hear. boot from the rescue-cd and reinstall the kernel of the cloned system or make a new initramdisk per hand - i guess the kernel is missing some needed hardware-driver of the new computer in the initrd = Thanks for the replies! I booted the rescue-cd and reinstalled initrd from RPM. That seemed to fix it. It amazes me how complex the whole boot process needs to be. Or why there doesn't exist a simple bootable CD to fix an incorrect or destroyed MBR /boot partition, based on what it can analyze and figure out. ___ 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] dd disk will not boot - can't find /dev/root
OS= CentOS 5.4, 64bit. I've always had great luck using dd to copy entire disks, and booting on other systems. However, I'm having difficulty with a couple systems. I boot using an install DVD so the OS disk is quiet, and dd to my target disk: # dd if=/dev/sda of=/dev/sdb bs=1024k /dev/sdb is the blank disk. The disks are 2T. After a few hours the operation is complete. But when I try to boot the new disk on my other system, I get the following errors after the CentOS boot menu (it counts down to boot the default disk fine, then this error): (screen shot at http://img214.imageshack.us/img214/645/centosbooterror.jpg ) I've read posts regarding the /dev/root error, and they talk about rebuilding initrd. I've tried some of the fixes mentioned, but have had no success. All I can think of is slightly different hardware on the new system where I'm trying to boot, but I'm not sure what the difference could be. They're both 64bit SuperMicro systems. If anyone has any ideas, I'd love to hear. Thanks! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dd disk will not boot - can't find /dev/root
From: Joseph Spenner joseph85...@yahoo.com To: centos@centos.org centos@centos.org Sent: Monday, December 12, 2011 8:51 AM Subject: [CentOS] dd disk will not boot - can't find /dev/root OS= CentOS 5.4, 64bit. I've always had great luck using dd to copy entire disks, and booting on other systems. However, I'm having difficulty with a couple systems. I boot using an install DVD so the OS disk is quiet, and dd to my target disk: # dd if=/dev/sda of=/dev/sdb bs=1024k /dev/sdb is the blank disk. The disks are 2T. After a few hours the operation is complete. But when I try to boot the new disk on my other system, I get the following errors after the CentOS boot menu (it counts down to boot the default disk fine, then this error): (screen shot at http://img214.imageshack.us/img214/645/centosbooterror.jpg ) I've read posts regarding the /dev/root error, and they talk about rebuilding initrd. I've tried some of the fixes mentioned, but have had no success. All I can think of is slightly different hardware on the new system where I'm trying to boot, but I'm not sure what the difference could be. They're both 64bit SuperMicro systems. If anyone has any ideas, I'd love to hear. Thanks! ___ I just noticed the link didn't like my ( ). The clickable link is: http://img214.imageshack.us/img214/645/centosbooterror.jpg ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos