Re: mount: you must specify the filesystem type
[EMAIL PROTECTED] wrote: I have an empty HD 20G format with ext3 but i cant mount it in a filesystem. Did you actually run /sbin/mkfs.ext3 on it after you ran fdisk? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: How to set up a SMART auto-responder?
Edward Dekkers wrote: Didn't know about the icar test virus. Where can I find it? http://www.eicar.org/anti_virus_test_file.htm -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: troubleshooting cpu performance
Edward Dekkers wrote: It's a safety feature not a lot of people know about. It's called throttling, which has been around for a while now. The CPU will effectively cut its power down to 50% first, and will continue to do so till it reaches a point where it can stay cool enough, while still being operational (albeit very very slow.) This also happens with my brain at work. Whenever I feel my workload is too high, my brain goes into 0.05 nanosecond of work, followed by 5 seconds of Slashdot reading, 0.05 nanosecond of work, 5 seconds of Slashdot, etc., etc., till it cools down enough. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Apache Q
Here's your stoopid question of the day: how do I make apache run CGIs in one user's account as that user, so they can have write permissions within their own directory? I don't want to have to give the apache user access to user directories, and some of them need to run CGIs that will write stuff in their account. Am I asking for that beast called suexec? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Suspiciously Weird Apache Log -- HELP
Reuben D. Budiardja wrote: 61.170.193.85 - - [30/Aug/2003:00:58:35 -0400] GET http://www.sina.com.cn/ HTTP/1.1 200 5809 Do you have an open proxy? Close it. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: File sizes incorrectly reported (and huge!)
Rodolfo J. Paiz wrote: And as a third follow-up (just keeping y'all up to date), I have attempted to cp --sparse=always x.wav y.wav as well as rsync --sparse x.wav y.wav and both of the resulting destination files exhibit the same behavior. This is getting very frustrating. Just out of curiosity, have you tried actually -playing- those files? Are they even still valid and not corrupted? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
SSH Auth Failure?
While doing updates on my servers, I came across this one and I'm baffled. I always ssh into my primary server and then ssh to the others. I have them all setup to use keys, and normally it just logs in and records this in syslog. However, after rpm updated openssh/openssh-clients/openssh-server to 3.1p1-8 tonight, I'm noticing something odd. When I log in, I see this in the log file: PAM-warn[1306]: service: sshd [on terminal: NODEVssh] PAM-warn[1306]: user: (uid=0) - root [remote: [EMAIL PROTECTED] sshd(pam_unix)[1306]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=intra.pcraft.com user=root sshd(pam_unix)[1306]: session opened for user root by (uid=0) Notice how pam now says it failed authentication, yet it logged me in. Um, what's going on? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
OT: Apache blocking
How can I block direct access to images displayed on a web page? In other words, I won't want someone be able to hit the image by typing in its URL, but I do want it displayed when they load the page containing said image. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] Re: OT: Apache blocking
Sean Estabrooks wrote: However, i was trying to make the point strongly that the poster should not believe anything he posts on the web can be protected with some silly scheme. I'm well aware of what can, and can't be protected on the web. My quest is to avoid hot linking, and to avoid someone from directly hitting an image. I'm not after preventing someone from stealing my images - for that, I just don't put them online. Furthermore, you assume everyone on the net is some l33t h4x0r like you, to know how to bypass whatever they encounter that's preventing them from looking at something. You assume no one has a life like you to go round and about with what your suggesting. Again, I'm not out to stop someone from doing it. I'm merely trying to slow them down. I'm perfectly happy if they load up the actual page containing the image. I don't like however, if they just go straight to the image and look at it, or worse link it somewhere for their pleasure. Get off your high horse. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re:: GRUB failure
Ashley M. Kirchner wrote: This was posted in a precious email. Yes. *previous* -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Jack Bowling wrote: Hi, Ashley. Sorry to butt my head in so late. When you yanked the 2nd drive, did you go into the BIOS and tell it that it no longer exists? This was posted in a precious email. Yes. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
brian davison wrote: with the additional info from Mr. Kirchner, that the board has scsi interface on board, I wonder if it also has a self modifying portion in its cmos... (I've seen a couple of these) where it keeps track of the scsi devices and bootability. Good theory, except I have the SCSI bus disabled in BIOS, so it's not scanning it. At least, it *shouldn't* be. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Kenneth Goodwin wrote: 1 - this system had two IDE drives in it at Linux installation time. A (the MASTER) and B (The Slave), There is no SCSI, NO RAID, no LVM. just a simple plain vanilla LINUX setup. Nope. The machine had ONE drive upon installation. hdb wasn't added till months later and was used only for storage of backup files (it doesn't even stay mounted all the time.) This was explained in a previous email. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Kenneth Goodwin wrote: what I am saying is that the MBR may be crafted or rebuild by anaconda for the two drive setup disk info. Anaconda may not be able to go backwards here, may not be able to undo in a return to single drive configuration - most people add hardware, not remove it, it may have not been a tested situation. Something changed on the linux system in response to the addition of the hard drive that is not being undone when he reboots with only one drive installed. This never occurred to me till now, but...the only time anaconda ran and did anything, was when the system was first installed. Both anaconda and kudzu get removed after installation. I run a tight ship, and don't like having packages installed that aren't needed for daily operations, so they go. When I added the second drive months later, what would cause any kind of configuration being redone, or whatever config file rewritten (other than me manually running fdisk and mkfs.ext3)? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Otto Haliburton wrote: I have a dual boot system with HDA containing XP PRO and RH9 on HDB GRUB is the boot loader and it is written to the MBR or HDA along with the XP boot loader. I just removed HDB and guess what I got a black screen with GRUB in the left hand corner. Welcome to my world. At that point in the game, I doubt it even knows about hdb, to even go find the config file. It read the MBR, and ... fell off the planet. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Otto Haliburton wrote: You've never said (that I can remember ) what version of RH you are running. 7.3 Also I want to note that it is not a foregone conclusion that it calls stage1_5. So we don't know how far it gets into the process, it seems it would print an error message if it discovered something which makes me think it just branches off to never, never land. I prefer Lalaland. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Schwendt wrote: If it doesn't print an error message, it has loaded and jumped into stage2 either with LBA or CHS geometry. I'm curious, where does stage1_5 come into play, if what you're suggesting is that it jumps from stage1 to stage2? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] RE: GRUB failure
Kenneth Goodwin wrote: yOU DONT GET A BOOT time MESSAGE ABOUTING CHECKING FOR new hardware? That's kudzu's job, and it's been long removed. (So the answer to your question is no, I don't.) -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Kenneth Goodwin wrote: I thought Kudzu was replaced by Anaconda I dont recall seeing it on my RH 8/9 systems but I may have been asleep at the console at the time... You skipped a post somewhere...the machine has 7.3 on it. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Kenneth Goodwin wrote: Oh, BTW I skipped from 7.1 to 8.0 and rapidly from there to 9.0 I went 5.2 - 6.2 - 7.3 - and currently I have only one machine that has 8 on it. None has 9... -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Schwendt wrote: - is BIOS set to LBA? Last I checked, it was. - does grub-install with --force-lba work? No errors. - does LILO work? Ain't trying that. The server is up and running as it should be, and I can't take it down in the name of science right now. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
brian davison wrote: Ashley... try not changing the drive to single... leave it as the Master. ( as in don't change the jumper when removing the second drive) No can do. hda has three settings on it: Master, Master w/ Slave, and Slave. Since hdb was installed, it's been set to Master w/ Slave (leaving it as Master resulted in hdb not being detected by the BIOS.) Consequently, removing hdb without changing the jumper on hda resulted in the machine not booting because the BIOS expected a slave since hda's jumper was set as such. Mind you, I've played with this a whole lot already, and it just doesn't work with just leaving the jumper alone and not changing it. If I leave it set to Master, the BIOS won't see hdb. If I leave it on Master w/ Slave, the BIOS complains about not seeing a slave (when hdb gets removed.) So I had to change that anyway. PS: Ashley's a guy. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Otto Haliburton wrote: Ashley while I believe you when you say that there is nothing on drive B would you post a fdisk listing of partitions on drive b. You really don't believe me when I say there's -NOTHING- on the drive, do you? How about this? I've actually killed everything, including partitions on said drive. GRUB comes up just fine as long as that device is connected. As soon as it's disconnected, it fails. But, you want to see, so here, there is nothing on it: /root fdisk -l /dev/hdb Disk /dev/hdb: 255 heads, 63 sectors, 7476 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /root It boots up fine when it's connected, but not when removed from the chain. In the meantime, you can remove drive b and boot from floppy and then reinstall GRUB with B removed from the system and note any error messages that install prints when this occurs because either it will install successfully or it will fail with error messages. I've been over this time and time again: I HAVE DONE THAT. - removed hdb - set hda's jumper back to master otherwise BIOS complains and won't boot - shoved floppy in, booted up just fine - ran grub-install /dev/hda, no errors - removed floppy, reboot - BIOS finds hda, knows there's no hdb, goes on to boot - black screen, with 'GRUB' in the corner: system dead I ran the same cycle again, this time issuing: grub-install --root-directory=/boot '(hd0)' as the info page suggests. Same result, won't boot, dead system. As soon as I plug hdb back in, whether the drive has partitions on it or not, it boots just fine. I even tried a completely different drive, one that has an NTFS partition on it, and the system boots just fine with it. I doubt GRUB is actually trying to READ anything of the drive. So I ask you again, how can GRUB possibly be reading ANYTHING from hdb when there's -NOTHING- on it (or when there is something, but totally different, such as the NTFS drive I tried)? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Otto Haliburton wrote: What kind of disk contoller do you have and what kind of computer system(manufacturer) is this computer. I can tell you Monday when I get to the office and pull the specs on the board. It's a (custom built) white box containing an Intel board. One IDE bus, and 2 aic7899 Ultra160 SCSI ports on it (which aren't being used). I don't remember which specific board model it is, so you'll have to wait till Monday. IDE info from dmesg: SvrWks OSB4: IDE controller at PCI slot 00:0f.1 SvrWks OSB4: chipset revision 0 SvrWks OSB4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x54d0-0x54d7, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x54d8-0x54df, BIOS settings: hdc:DMA, hdd:DMA Yes, it lists both ide0 and ide1, however there is no physical ide1 connector on the board. Only ide0, and the two scsi connectors. I'd also like to point out that this has now become a moot point since I already have hdb in and the system works. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Bret Hughes wrote: Just curious what is in the device.map file? This is where grub assigns device numbers used in grub.conf. I don't know if this is used in the installation of grub on the mbr or after but since I don't remember anything about this I thought I would ask. If it was posted already I appologize. This was posted already, but here it is again: # this device map was generated by anaconda (fd0) /dev/fd0 (hd0) /dev/hda -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
GRUB failure
Recently I had to remove /dev/hdb from a server to get it replaced. The OS is installed entirely on /dev/hda (including swap), and hdb was a mere backup drive (it was actually added AFTER the server was initially installed, up and running.) Nothing on the OS depended on this drive being there, or being accessible. However, to my surprise, after removing the drive and attempting to start the server back up, I was presented with a black screen with the word GRUB in the upper left hand corner. Nothing else, it wouldn't boot, it just sat there. The only way I was able to get the server running again was to either put hdb back into the system, or boot off of the boot floppy I always keep around. That boots the system up and runs just fine, but it won't boot any other way. So, why is that? Why is Grub refusing to boot after I removed that drive? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Gargiullo wrote: Can you post the output of df with hdb, and a copy of grub.conf? This has never changed. It's been the same since the machine was first installed (or last upgraded): --- # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,0) # kernel /boot/vmlinuz-version ro root=/dev/hda1 # initrd /boot/initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Red Hat Linux (2.4.20-18.7smp) root (hd0,0) kernel /boot/vmlinuz-2.4.20-18.7smp ro root=/dev/hda1 vga=4 initrd /boot/initrd-2.4.20-18.7smp.img title Red Hat Linux (2.4.20-18.7) root (hd0,0) kernel /boot/vmlinuz-2.4.20-18.7 ro root=/dev/hda1 vga=4 initrd /boot/initrd-2.4.20-18.7.img --- As for df (note that the swap partition is on hda7): --- FilesystemSize Used Avail Use% Mounted on /dev/hda1 3.9G 1.2G 2.5G 31% / /dev/hda2 6.5G 393M 5.7G 7% /home /dev/hdb1 56G 32M 56G 0% /home2 /dev/hde1 37G 20G 15G 56% /home3 none 503M 0 503M 0% /dev/shm /dev/hda6 2.0G 33M 1.8G 2% /tmp /dev/hda5 2.0G 194M 1.6G 11% /var/log /dev/hda3 3.9G 3.4G 427M 89% /var/www /dev/hdg1 56G 19G 34G 35% /var/backup/weekly logs:/mnt/logs/stigmata 12G 3.7G 8.1G 32% /var/log/httpd --- As you can see, there is nothing on /dev/hdb1 that Grub should be concerned about to even be there. I even removed it from fstab, not that doing so would have any effect what so ever on how Grub boots. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Schwendt wrote: Give us a look at your /boot/grub/device.map and /boot/grub/grub.conf, please. cat /boot/grub/device.map # this device map was generated by anaconda (fd0) /dev/fd0 (hd0) /dev/hda grub.conf was posted a moment ago. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
Barry Johnson wrote: Just do a grub-install /dev/hda to reinitialize grub on the correct partition and everything should be fine, KISS. You'd think it'd be that easy. It wasn't. I did try that, and got the same result. For some reason now, it absolutely must have an /dev/hdb otherwise it just won't boot. I know this isn't a BIOS issue because that's working just fine, with or without the drive. This is a Grub booting problem and I can't figure out -what- exactly. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
Otto Haliburton wrote: Let's analyze it. Grub needs the grub.conf file. You deleted hdb and now Grub can't find the .conf file. So you need to do something that points GRUB to grub.conf. So maybe you had a link or something else that pointed GRUB to the .conf file. You're not reading everything I'm telling you guys: THERE IS NOTHING ON hdb! Everything is on hda. hdb is completely devoid of information but for the lost+found folder, nothing else. In fact, when the system was originally installed, it ONLY had hda, and it worked fine and booted fine. Months later I added hdb as a backup drive, and used it to manually copy stuff from one drive to the other. Nothing was moved, no partitions changed, all the system files and OS in general stayed on hda. As time went by, we started shuffling things around on the OTHER drives you see in the df output, hdb was never made an active partition, except for when it was needed for backup. Now that I removed it, grub's not booting. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Schwendt wrote: Interesting. I had hoped to find hd0 and hd1 being swapped and GRUB trying to access hda with the drive id of hdb. Provided that it is not a hardware problem (master/slave configuration on hda), boot with boot disk or rescue mode and run grub-install /dev/hda as root. That should fix it. Hardware wise, everything checks out. BIOS wise, everything checks out. And I did try re-installing grub again, but that didn't help either. As it is, this is fast becoming a moot point since the replacement drive is in and the machine boots as it should again. Once again, let me make it clear: there is absolutely NOTHING on hdb1. I created the partition and formatted it, nothing else. Now Grub boots again. As soon as I disconnect the drive (and update the BIOS,) grub fails. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
Otto Haliburton wrote: What I'm saying is that we know what the problem is and that is GRUB can't find the .conf file period. Your solution lies in getting GRUB to find the .conf file. And my question since the very beginning was: WHY? There is nothing on hdb that should affect how grub boots. There is nothing in any of grub's files that tells it to go find hdb. As far is I'm concerned, grub shouldn't even care whether hdb is there or not, leave it to the mounting process later in the game. And reinstalling grub on hda (where it has been all along) didn't make any difference either, it still wouldn't boot. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] RE: GRUB failure
Kenneth Goodwin wrote: Did ya change the master/slave jumper on the HDa drive to single drive when you removed the hdb drive by any chance? Is this a compaq by any chance that would now prefer you switched to cable select? Does the drive show up in the bios? does it actually try to boot? Hardware wise, everything checks out. Without the second drive, hda gets set to master (jumper gets removed), and with it gets set to master with slave, and hdb set as slave. (I don't believe in cable select because it caused me more problems that it's worth.) And no, it's not an inferior Compaq. BIOS wise, everything checks out again. It sees what it has and moves on. And yes, it does try to boot up which is how I get the GRUB line on the screen, but nothing else. Dropping the boot floppy in the system, it boots fine. And now that I've reinstalled hdb, it all works again, however as soon as I disconnect it (and revert all jumper and bios settings back to single drive), grub fails. [ answering your second message here as well ] Maybe grub knows about the second drive through Kudzu finding it or something, Kudzu's not installed on the machine. it is listed in grubs config file and grubs barfs when it cant find it Do you see it listed in grubs config (which I posted earlier)? I certainly don't. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
Michael Schwendt wrote: Unless we hear once more from Ashley (who is confronted with this weird problem), we can only speculate that is hardware-related most likely. Setting the disk geometry scheme to LBA and re-installing GRUB should _theoretically_ fix it. This has certainly sparked an interesting conversation, and aside from me trying everything everyone has suggested here, I don't know what else to do than to just say 'fuck it'. It works with hdb in place. There is, to me, no logical explanation as to why grub would just decide to not boot after removing a drive it never depended on in the first place. Another mystery of life. Thanks to all who tried to help. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: what is .bz2 extension??
Sambit Nanda wrote: This is the new extension i am not aware of this, What is .bz2 mean? bzip2 i tried tar zxvf did not work, how can i extract this files. Try -xvfj (alternatively, read man tar.) -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Suspending running job
Okay, assume a user started a task on the server, and let it run. Assume I have root access to the server. Is there some way that I can pause the task, and resume it later without screwing up permissions? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
REPOST: LogRotate: MySQL
I'm having a problem with logrotate rotating MySQL files and flushing the server properly. My current file looks like this: /var/lib/mysql/mysql.log { notifempty daily rotate 14 olddir /var/lib/mysql/old_logs missingok compress postrotate if test -n `ps acx|grep mysqld`; then /usr/bin/mysqladmin flush-logs fi endscript } As per MySQL's instructions, I also have a /roof/.my.cnf file that contains the user and password to connect to the server (readable only by root.) However, when logrotate runs through cron, either it doesn't see this file, or it's not running with proper environment, I don't know. Point is, logrotate bombs with an error during the postrotate routine because it can't connect to the MySQL server (no password given). However, if I run logrotate manually from the command line, it runs just fine and rotates the log file without any problem (it doesn't ask for the password because it can see the .my.cnf file in /root. Anyone got any ideas? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: running mail command on very large mailbox causes segmentation fault, rh73
Lazor, Ed wrote: Are you sure this is on the RedHat CD? Which one? I checked the ftp and didn't see it. A quick scan from my CD archives shows: ./7.3/RedHat/RPMS/nmh-1.0.4-9.i386.rpm ./8.0/RedHat/RPMS/nmh-1.0.4-15.i386.rpm ./9.0/RedHat/RPMS/nmh-1.0.4-18.i386.rpm So yes, they do exist on the CDs. Which one specifically I don't know, but they're there on all three distributions. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
LogRotate: MySQL
I'm having a problem with logrotate rotating MySQL files and flushing the server properly. My current file looks like this: /var/lib/mysql/mysql.log { notifempty daily rotate 14 olddir /var/lib/mysql/old_logs missingok compress postrotate if test -n `ps acx|grep mysqld`; then /usr/bin/mysqladmin flush-logs fi endscript } As per MySQL's instructions, I also have a /roof/.my.cnf file that contains the user and password to connect to the server (readable only by root.) However, when logrotate runs through cron, either it doesn't see this file, or it's not running with proper environment, I don't know. Point is, logrotate bombs with an error during the postrotate routine because it can't connect to the MySQL server (no password given). However, if I run logrotate manually from the command line, it runs just fine and rotates the log file without any problem. Anyone got any ideas? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Accurate 'du' count
I'm using rsync with hard links to keep backups of my servers. This process creates a daily structure that looks like this: backup/daily.01 /daily.02 /daily.03 etc., etc. Now I know that only the first one contains actual files, while the rest are all hard links to that first one. When I run 'du' against that directory structure, it tells me all of them have the same size. Is there some way of getting the actual size of those other daily's? Since most of their content is hard linked, with the exception of changed files, I thought the sizes would be different. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Accurate 'du' count
Cameron Simpson wrote: How sure are you? Rsync on its own doesn't do that - you need to have a separate pass that makes a link tree and then rsync that. Is that your setup? Oh yeah, daily.01 gets linked to daily.02 by running a 'cp -al' on them. Then Rsync runs on daily.01. A df -k . on your backup directory after each backup run will tell you if you're copying everything fresh or making linked trees with few differences. Surely you meant du, not df. :) Hmm okay, maybe I'm not patient enough to sit and watch the very lengthy output of -k... I realize what I really wanted was 'du -k --max-depth=1 .' This will list all those daily's without their contents scrolling off my screen. My suspiscion is that unless you've neglected to mention some part of your backup arrangements you're getting complete copies, not incremental trees. I just did a dry run on one of the smaller backups and it appears to be doing what you said it should be. So I think all is well. I think I also found the problem that lead me to believe it wasn't doing what it should've been doing. The backup I was checking had a large (2.7 GB) file in it that was being backed up every single day because it's a log file. Consequently, the daily differences were rather small. Now that I've removed it, it appears to be working properly. Thanks Cameron! -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Accurate 'du' count
Cameron Simpson wrote: No, I meant df. Because that will tell you how much space is really being used up _without_ having to run a du over the tree (which can lie unless it sees every link). Eh, df only shows me the total size on the partition/drive table. Not the size of each individual directory. Like on the current server: df -k . Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda1 2063504 1042948915736 54% / Well, du -ks if you want to be portable (and succinct). No, this only shows me the contents of that parent directory, not individual ones below it. See, this is what I wanted (spanned across to save on message length): du -h -max-depth=1 . 2.1G ./daily.01 928M ./daily.08 334M ./daily.15 402M ./daily.22 1.6G ./daily.02 820M ./daily.09 962M ./daily.16 318M ./daily.23 1.5G ./daily.03 804M ./daily.10 823M ./daily.17 245M ./daily.24 1.4G ./daily.04 616M ./daily.11 732M ./daily.18 190M ./daily.25 1.3G ./daily.05 512M ./daily.12 642M ./daily.19 166M ./daily.26 1.2G ./daily.06 406M ./daily.13 551M ./daily.20 151M ./daily.27 1.1G ./daily.07 296M ./daily.14 2.8G ./daily.21 120M ./daily.28 23G . ...sizes for each individual directory, as well as a total for all (23G). A 'du -ks' (or -hs) only tells me that 23G, and nothing else. I presume you removed it with --exclude, yes? Otherwise you'll be copying it and _then_ removing it - wasteful. Eh no, not that kind of remove. I removed the current log file, compressed it and restarted the process. So, as far as Rsync is concerned, it's still there, and will still be backed up, but it's much smaller now. And eventually that size will trickle down through the other daily and reclaim the space used up. I'm not worried about it (anymore.) Yes, I'm aware it will now have to remove the current ones in the backup tree, but I don't care about that part. The end result is, I will eventually reclaim that space, so it's all good. Considering how fast the backup runs, I'm not worried about t he time it takes. It takes a directory like yours with lots of backups and removes the oldest until a certain amount of free space is present. See, normally I wouldn't have this problem. The 11 servers I've been backing up since last year are fitting nicely on a single 120G drive (with a 28 day loop like you've seen above). It's just that this particular server started getting heavy use for one of it's applications and I totally forgot that I needed to rotate its log file. Lesson learned. Thanks again! -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Accurate 'du' count
Cameron Simpson wrote: Yes, but it's easier to watch it go down after each backup. Assuming nothing else is consuming space on this partition. There are more backups on there. :) And I just needed one of them. du -ks * not du -ks . Eh? du -hs * 23M daily.0123M daily.0822M daily.1522M daily.22 23M daily.0223M daily.0922M daily.1622M daily.23 23M daily.0323M daily.1022M daily.1722M daily.24 23M daily.0422M daily.1122M daily.1822M daily.25 23M daily.0522M daily.1222M daily.1922M daily.26 23M daily.0622M daily.1322M daily.2022M daily.27 23M daily.0722M daily.1422M daily.2122M daily.28 That doesn't tell me anything other than it's counting all links. However this: du -h --max-depth=1 16M ./daily.01 572k ./daily.08 524k ./daily.15 716k ./daily.22 544k ./daily.02 524k ./daily.09 616k ./daily.16 524k ./daily.23 524k ./daily.03 600k ./daily.10 632k ./daily.17 524k ./daily.24 616k ./daily.04 628k ./daily.11 524k ./daily.18 548k ./daily.25 616k ./daily.05 544k ./daily.12 544k ./daily.19 524k ./daily.26 616k ./daily.06 524k ./daily.13 616k ./daily.20 524k ./daily.27 524k ./daily.07 524k ./daily.14 22M ./daily.21 524k ./daily.28 That tells me what I need to know. Specifically, 21 days ago something generated some large files, which then continued on during the backup process. Either way, I got what I needed, so it doesn't really matter. :) Thanks! -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Root can't delete some files in /bin
Reuben D. Budiardja wrote: I understand that. But it's not that simple in this case as we can't afford anymore down time. It's a production server, and no, we don't have a backup server yet. Someone else had managed the server before. So the boss said get it back online ASAP and that what I was trying to do. I still recommend that at some point in the near future we do re-install the whole thing, and really suggesting that we use RHEL ES when we do that. Tell that boss to go play golf or some shit like that, let you do your work. chkroot kits aren't always 100% in finding everything because hackers always do something different every time. So, even if you do manage to delete those files (for which you'll have to fix their attributes first, with chattr - use lsattr to view them), yeah, even if you manage to fix those files, there is no guarantee there isn't something else. There is never any guarantee. So, while your boss might want this machine back up ASAP, you should ask him if he would rather put up with a few hours downtime right now for you to rebuild the server, or the knowledge that it might go down again, and again, and again, till he finally lets you rebuild it. These are the types of bosses I call penny wise, pound foolish. They don't understand the nature of security, and really, they shouldn't be fucking with it either. Tell him to go away and you'll do your job and he'll be much happier. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Root can't delete some files in /bin
Reuben D. Budiardja wrote: the amount of time I spent is about 3-4 hours. Which is about 2 hours too long. It takes me less than an hour to setup, install, configure and put a system online, including all patches and whatever other services needed to be done. I'll just repeat what others have already told you. You're wasting your time. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Apache problem on 7.3
I have the stock apache 1.3.27-2 RPM installed, and I'm trying to get suEXEC to work without success. In the virtual host file I have the DocumentRoot set to /home/rash/www and I have User and Group set. The configtest passes without a problem. However whenever I try to execute anything under that path, it fails with a server error. Looking at the suexec log, it says: info: (target/actual) uid: (rash/rash) gid: (rash/rash) cmd: load.cgi error: command not in docroot (/home/rash/www/load.cgi) Why does it tell me it's not in docroot (assuming that translates to DocumentRoot)? It is within the DocumentRoot I specified, so why does it fail? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Apache problem on 7.3
Michael Schwendt wrote: Run suexec -V to find out. Okay, so that says: -D DOC_ROOT=/var/www -D GID_MID=100 -D HTTPD_USER=apache -D LOG_EXEC=/var/log/httpd/suexec_log -D SAFE_PATH=/usr/local/bin:/usr/bin:/bin -D UID_MID=100 -D USERDIR_SUFFIX=public_html How do I overwrite that? I thought setting the virtual host's DocumentRoot would overwrite that. Also, my httpd.conf has the UserDir set to 'www', not 'public_html' - does it completely ignore all config settings? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Apache problem on 7.3
Ashley M. Kirchner wrote: -D DOC_ROOT=/var/www -D GID_MID=100 -D HTTPD_USER=apache -D LOG_EXEC=/var/log/httpd/suexec_log -D SAFE_PATH=/usr/local/bin:/usr/bin:/bin -D UID_MID=100 -D USERDIR_SUFFIX=public_html Ok, so I changed everything to match what that output says. I changed my UserDir prefix in httpd.conf to use public_html instead. According to the Apache Docs, suEXEC will pick both the --suexec-docroot as well as UserDir as it's hierarchy of allowed locations to execute something. I changed the user's layout to reflect the change (/home/rash/public_html), and I've adjusted the vhost file to point to thet public_html instead. I'm still getting the 'not in docroot' error whenever it tries to execute a CGI. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Autoupdate iptables on DHCP
I have an RH9 server on a cable modem and I'm trying to figure out how to auto-update /etc/sysconfig/iptables whenever my IP changes. Right now, I have to manually edit that file to put the new IP in it. Right now I'm looking at 4 separate lines, across different sections of the file. Is there some way to automatically do that? Is there some way to avoid having the IP hardcoded in the first place? Under *nat -A POSTROUTING -o eth0 -j SNAT --to-source DHCP IP ADDRESS Under *filter: -A INPUT -s DHCP IP ADDRESS -i lo -j ACCEPT -A INPUT -d DHCP IP ADDRESS -m state --state RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -s DHCP IP ADDRESS -j ACCEPT -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] Zonet KVM Switch
CM Miller wrote: Also, what KVM are people using and not having any problems with? I have two Belkin 8-port KVM switches, daisy chained. I can flip through banks, channels, OS', without a problem. (Win2K, WinNT, WinXP, RH 7.3, 8.0, 9...) -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Finding hardware address
How can I scan my private network (sitting behind an RH 7.3 firewall) and find hardware addresses to specific devices (network printers, other hosts)? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] known_hosts file
jeff allen wrote: Add correct host key in /.ssh/known_hosts to get rid of this message. Offending key in /.ssh/known_hosts:20 How does one go about updating the host key? Delete that key (line 20). It'll ask you to re-add it next time you try to connect. If all the machines do the same thing, you may as well just delete that file, and have it recreated. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
DHCPClient: Help
I need a sample dhcpd.conf file for a dual homed RH9 machine. I've tried the sample one that comes with the rpm, but I could never make it work. The system is hooked to a cable modem to eth0. Then, I have eth1 configured for static IP, 192.168.100.1, and I would like to have that interface to listen for DHCP requests from internal machines and be able to hand out private ip addresses (192.168.100.2, .3, .4, etc.). If anyone would be willing to share their config file for this scenario, I would greatly appreciate it. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] Re: All my RPM's are not working?!?!?!
Edward Dekkers wrote: I was going to refer you to the Q A site Aly is putting up, as this is a FAQ, but I notice the submission I made is not on there yet. Here's the solution: kill all instances of rpm rm -f /var/lib/rpm/__db* rpm --rebuilddb My question is, why hasn't Red Hat fixed this problem yet? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Rh 9 - anyone testing yet?
Stephen Kuhn wrote: Uh, I thought it was posted 19 minutes ago...two minutes is a big leap... 2 minutes can also be the difference between her being satisfied, or disappointed. Take your pick. Some people receive email faster than others because they're higher up in the membership list order. Does it really matter? (well, to her it does.) -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: how to format hda1
lito lampitoc wrote: These are the steps I did: 1. unmount /dev/hda1 2. delete /dev/hda1 3. create a new partition for /dev/hda1 4. while writing it shows the above error You're not supposed to *delete* the block device /dev/hda1 - those are block devices. Run '/dev/MAKEDEV hda1' (this will recreate hda1[0-9]). -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Hardware IRQs above 15 - new/unsupported Intel motherboard?
Jeffrey Lawton wrote: I just bought a new 2.4 gig P4 system with a nice Intel D845PESV SoundMax Integrated Digital Audio- IRQ 17 Intel 536EP v.92 Modem - IRQ 19 Intel Pro/100 VE Network Controller - IRQ 20 Kind of interesting (to me at least), typically PC-compatible meant hardware interrupts went up to 15 AND STOPPED. And this list corresponds very well to the devices I'm having trouble installing! Has anyone else seen this before? You wouldn't happen to have two processors, would you? This is exactly what it'll do. Each CPU will provide up to 15 IRQs. If you look in /var/log/dmesg, you should see something similar to this: [NOTE: this is based on my dual PIII-733] -- CPU0: Intel Pentium III (Coppermine) stepping 03 [ ... snip ... ] CPU1: Intel Pentium III (Coppermine) stepping 03 Total of 2 processors activated (2920.57 BogoMIPS). ENABLING IO-APIC IRQs [ ... snip ... ] IRQ to pin mappings: IRQ0 - 0:0 IRQ1 - 0:1 IRQ3 - 0:3 IRQ4 - 0:4 IRQ6 - 0:6 IRQ7 - 0:7 IRQ8 - 0:8 IRQ9 - 0:9 IRQ12 - 0:12 IRQ13 - 0:13 IRQ14 - 0:14 IRQ15 - 0:15 IRQ16 - 1:0 IRQ17 - 1:1 IRQ18 - 1:2 IRQ19 - 1:3 IRQ20 - 1:4 IRQ23 - 1:7 IRQ26 - 1:10 -- If you look at the IRQ mappings, you can tell which CPU is providing which IRQ, 0:* is CPU0 and 1:* is CPU1. Further down, while probing the PCI bus, I get this: -- PCI: Probing PCI hardware PCI: Discovered peer bus 01 PCI-APIC IRQ transform: (B0,I2,P0) - 19 PCI-APIC IRQ transform: (B0,I3,P0) - 18 PCI-APIC IRQ transform: (B0,I6,P0) - 26 PCI-APIC IRQ transform: (B0,I7,P0) - 23 PCI-APIC IRQ transform: (B1,I4,P0) - 16 PCI-APIC IRQ transform: (B1,I4,P1) - 17 PCI-APIC IRQ transform: (B1,I10,P0) - 20 -- And finally, when looking at /proc/interrupts, I get this: -- CPU0 CPU1 0: 83150590 82989093IO-APIC-edge timer 1: 62 61IO-APIC-edge keyboard 2: 0 0 XT-PIC cascade 8: 1 0IO-APIC-edge rtc 9:485520 IO-APIC-level usb-ohci 14:29171772941262IO-APIC-edge ide0 16: 7 9 IO-APIC-level aic7xxx 17: 8 8 IO-APIC-level aic7xxx 18: 662905 669133 IO-APIC-level eth0 20: 7 9 IO-APIC-level aic7xxx 23:74505187300518 IO-APIC-level eth1 26: 106346 107223 IO-APIC-level ide2 NMI: 0 0 LOC: 166157602 166157712 ERR: 0 MIS: 1 -- ( yes, the machine has two onboard Adaptec aic7899 Ultra160 SCSI adapters and an add on Adaptec 29160 Ultra160 SCSI adapter, which accounts for aic7xxx taking up 3 different IRQs ) -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Multiple identical NFS mounts under RH8
Michael Mansour wrote: But isn't it strange how this can happen, since the mount point is already mounted. ...just imagient he mess you get yourself in when you try to unmount early mounted filesystems when others are already mounted on top of them. I don't like to imagine things. Gets me in trouble. Although, I can unmount the same mount point several times, (in case it did get mounted multiple times), with no problems. [30] [EMAIL PROTECTED]:~ df -k | grep usr/local/src [31] [EMAIL PROTECTED]:~ mount -t nfs src:/mnt/src /usr/local/src [32] [EMAIL PROTECTED]:~ df -k | grep usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src [33] [EMAIL PROTECTED]:~ mount -t nfs src:/mnt/src /usr/local/src [34] [EMAIL PROTECTED]:~ df -k | grep usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src [35] [EMAIL PROTECTED]:~ mount -t nfs src:/mnt/src /usr/local/src [36] [EMAIL PROTECTED]:~ df -k | grep usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src src:/mnt/src 13156032 7670992 4816752 62% /usr/local/src [37] [EMAIL PROTECTED]:~ umount /usr/local/src [38] [EMAIL PROTECTED]:~ umount /usr/local/src [39] [EMAIL PROTECTED]:~ umount /usr/local/src [40] [EMAIL PROTECTED]:~ umount /usr/local/src umount: /usr/local/src: not mounted [41] [EMAIL PROTECTED]:~ -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Terminal looses characters at end of line
Robert Vaughn wrote: Forgive me if this is a duplicate posting... I run ps -ef and some of the lines of data have their last few characters truncated. How can I get ps -ef (or any other command) to wrap text rather than truncating the line? Try 'ps -efww' -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Multiple identical NFS mounts under RH8
Michael Mansour wrote: I think I've found a bug in RH8's NFS. On the RH8 client, I can mount the filesystem many times as shown (df -k output): The same thing happens under RH7.3 - all of my machines are 7.3 and I can replicate the same thing you just did. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
NFS and mail again
Someone explain to me again why mounting /var/spool/mail over NFS isn't a good idea? Something about locking issues and/or monitoring the NFS mount? Is there some sort of work around to the problem? -- H | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SSH quirk...
One thing I've noticed since day one and never really bothered with it, although now I wonder If I ssh to any of my servers, execute an init script restart (or stop, start), then exit, the remote ssh process never quits. I have to kill the actual process from where I ssh-ed from (or presumably the remote process would produce the same effect): [ server-1 ] -- ssh into -- [ server-2 ] In this scenario, say I execute any restart command, rndc, sendmail, nfs, anything, then type exit, it just hangs. server-2 never issues a connection close or anything. I have a log in from a second terminal to server-1 and kill the ssh process that goes to server-2 (or log onto server-2 from a different terminal and kill the process.) It doesn't matter what server I'm ssh FROM nor TO (I have about 10 of them,) it happens consistently on all of them. All machines are running RH7.3, with the following openssh packages installed: # rpm -qa | grep openssh openssh-3.1p1-6 openssh-clients-3.1p1-6 openssh-server-3.1p1-6 Has anyone noticed this? -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] Re: SSH quirk...
nate wrote: yes I have noticed this from time to time. It's quite rare for me, but does happen. Haven't investigated much yet myself. quite odd, Okay, I'm not going crazy then. For me it only happens whenever I execute some restart (or stop/start) init script. Any other time I can log in and out just fine. It almost seems as if ssh expects whatever process you started to quit or something. Like it won't exit if there's something tied to it. Bizarre. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: SSH quirk...
Cameron Simpson wrote: If you're dicking with an ethernet interface or firewall rules it can cut your connection off from the RST packet, so your ssh connection never sees the drop of the connection, just silence. Well DUH. Obviously. smirk If you go back to my original message, you'll see that I said this happens with *any* script. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Temp /tmp space...
I'm running into a problem with my /tmp during a large ImageMagick mpeg 'convert' - it's running out of space. /tmp has 2 Gb allocated to it and the process quits after hitting 2 Gb. Is there some way I can have the process use some other location for temp space, instead of /tmp ? (the command line is simply 'convert -delay 10 *.jpg file.mpg' which creates a temp file for each frame) -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Temp /tmp space...
Ashley M. Kirchner wrote: Is there some way I can have the process use some other location for temp space, instead of /tmp ? Never mind, figured it out...setting $ENV{TMPDIR} works. -- H| I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
User quota w/ sendmail
I have my mail spool separate from the user's home drive. How can I get user quotas to take their mail spool ( /var/spool/mail/user ) into account? Right now, it's only counting stuff in their home directory ( /home/user ) but I'd like to include their mail spool as well. Is there some way of doing this? System: RH 7.3 with sendmail 8.12.8. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
More quota questions
I just looked in /etc/rc.d/init.d and didn't see a call to turning on quota...at what point does that get done? In the halt script there's a call to 'quotaoff', but no where do I see it getting turned on. Does the system automatically knows to turn quotas on from the fstab setting? -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Kernel messages...
I can't make heads or tails of this and I'm hoping someone else can. Machine specs: Dual Intel PIII-733 with 768 Mb of RAM. Linux stigmata 2.4.18-26.7.xsmp #1 SMP Mon Feb 24 09:37:16 EST 2003 i686 unknown -- kernel: Trying to vfree() nonexistent vm area (f0ac3000) kernel: d2d05e9c dadcc880 e3cba180 08151d26 c012e2a4 e3cba180 d2d04000 kernel: d2d04000 d2d04000 c011be28 e3cba180 e3cba180 c0120cdc e3cba180 dd969c00 kernel: d2d0466c d1d47124 d2d05f50 c0126d33 c2fab914 d1d47100 d2d04000 000b kernel: Call Trace: [c012e2a4] handle_mm_fault [kernel] 0xe4 (0xd2d05eb0)) kernel: [c011be28] mmput [kernel] 0x38 (0xd2d05ec4)) kernel: [c0120cdc] do_exit [kernel] 0xdc (0xd2d05ed0)) kernel: [c0126d33] collect_signal [kernel] 0x93 (0xd2d05ee8)) kernel: [c0108ad8] do_signal [kernel] 0x228 (0xd2d05f18)) kernel: [c0127190] deliver_signal [kernel] 0x20 (0xd2d05f5c)) kernel: [c011cddb] do_fork [kernel] 0x83b (0xd2d05f74)) kernel: [c0126fce] ignored_signal [kernel] 0x2e (0xd2d05f78)) kernel: [c0127272] send_sig_info [kernel] 0x82 (0xd2d05f88)) kernel: [c0109900] do_general_protection [kernel] 0x0 (0xd2d05fa0)) kernel: [c01275e1] force_sig [kernel] 0x11 (0xd2d05fa8)) kernel: [c0109900] do_general_protection [kernel] 0x0 (0xd2d05fb8)) kernel: [c0108cdc] signal_return [kernel] 0x14 (0xd2d05fc0)) kernel: -- The system is still up and running - it seems - so I'm not sure if it recovered from that error or not, but I'm inclined to restart it right now. I'm also inclined to install the latest kernel update and see what happens. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Is anyone seeing my post to mailing list?
Dominic Iadicicco wrote: I just testing to see if anyone can see my post. No we can't...really. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Sendmail problem
This may not be specific to Red Hat only, but I figured I'd post here before I dive into sendmail's news group. Normally, we don't have any problems at all with our mail, however today we were faced with an unpredictable scenario which caught my attention immediately. Our internal (private) network relays outgoing mail through one of our servers that is connected directly to our T1 line (with a public IP). That mail server does not run any DNS, it relies on servers next to it which are in the same subnet. Today one of the city's main fiber backbones was cut for about 3 hours time and I was faced with problems I couldn't solve: internal computers trying to send mail could no longer do so. The mail client just sat there trying to send the message and in some cases would eventually time out (mail not send), and in others it would just sit there forever (Netscape 7.02 being one of those). So I wonder if there isn't a way where mail would just spool up on the outgoing server, so that these internal clients would still be able to (seemingly) send mail. And when the T1 link comes back up, sendmail would just spool everything out. What specifically do I need to check and/or enable in my sendmail cf to allow this behavior? Mail relays fine otherwise. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Service Command
[EMAIL PROTECTED] wrote: Until recently I had ssh'd to my Redhat 7.3 machine with the root username. I have removed the login rights now and access the machine with a local user account, then su to root. Now there are a lot of commands I can no longer run from anywhere like I have in the past. The main one being the service command used to start, stop, and restart services. Anyone have a clue how to get those features back? /sbin is no longer in your path as a regular user (even when you su to root). I can offer these suggestions: a) get used to typing /sbin/service b) add /sbin/ to your PATH (I wouldn't) Also instead of su-ing to root, adjust your /etc/sudoers file to allow your regular user account to run certain commands under sudo. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Service Command
Bret Hughes wrote: All of the above but keep in mind that su - (dash included) will setup root's environment including path. True, I forgot about that too, but that's because I don't su to root. I use sudo. :) -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
hosts.deny
In hosts.* files, can I put something like 192.168.0.0/16 or do I have to write it out in dotted quad formation? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Mikkel L. Ellertson wrote: Just had a strange thought - you said you updated from 6.2. How much swap are you running? I forgot about the 2.4.x kernels liking more swap then the 2.2.x kernels required. I didn't have any problems, but it is something to check. I couldn't find the docs on it right now. 512 Mb in swap. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Bret Hughes wrote: have you tried any of the performance monitoring tools like sar that will log stuff periodically to get a feel for if it is a resource issue? Yeap - it's idle whenever it crashes. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Mikkel L. Ellertson wrote: Try disabling apmd, and see if that helps. service apmd stop chkconfig apmd stop I don't run apmd on any of my servers... I don't allow BIOS interventions for power savings either. They're servers, they're supposed to be running at all times. Great suggestion though...if that was the case. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: constant reboots
[EMAIL PROTECTED] wrote: it's not a power problem, another computer on the same circuit never has this problem. Not necessarily true. The power supply itself may be causing problems. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
High ports seen
I'm seeing the following ports on my system and am uncertain as to why they're there: ./strobe -b 65557 -e 66488 localhost strobe (c) 1994 *Proff* All Rights Reserved. localhost unknown 65557/tcp unassigned localhost unknown 65558/tcp unassigned localhost unknown 65589/tcp unassigned localhost unknown 65616/tcp unassigned localhost unknown 65647/tcp unassigned localhost unknown 66346/tcp unassigned When I try to telnet to those ports, I get: 65557 - FTP response 65558 - SSH-1.99-OpenSSH_3.1p1 response 65589 - unknown 65616 - HTTPd response 65647 - unknown 66346 - unknown nmap reports the following ports open: Port State Service 21/tcp openftp 22/tcp openssh 53/tcp opendomain 80/tcp openhttp 111/tcpopensunrpc 810/tcpopenunknown (nfs related port) 953/tcpopenrndc 2401/tcp opencvspserver 3306/tcp openmysql So what are those 6 high ports? And why are they listening? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: [RH List] Re: High ports seen
Jonathan Bartlett wrote: That's because you've gone over the maximum port number - 65536. 65557 - 65535 = 21 - standard FTP 66346 - unknown Port 810 - I have no idea what this is. Okay, this puts me at ease then. Port 810 is related to nfs...when it starts its daemons, they start listening on various ports which happen to change every time you restart the service. Thanks. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Weird Crash (revisited - again)
After not receiving any response from my last post, I continued on digging on my problem server and I'm lost... The problem: After upgrading the server from 6.2 to 7.3 (fresh install), it started to freeze up for no apparent reason. Nothing in the logs, no high load, no specific process causing any kind of error that I can find. The freezeups have been happening regularly...pretty much every night now. What I've done so far: - Ran memtest86 for hours on end - no errors (with only one specific configuration option causing the system to freeze again - whenever I told it to do a BIOS All test, as opposed to a BIOS Standard. As soon as I picked 'All', it would rescan the system cache and memory and freeze. I'm not sure what that means.) - Removed ram sticks, even replaced them - no difference - Removed attached SCSI chain, even pulled out the Adaptec controller card - no difference - Removed one of the CPUs and let it run with only 1 (and booting the correct kernel) - no difference - Swapped CPUs - no difference - Removed hard drives that aren't needed - no difference So I'm faced with two things now that I can think of: a) the power supply, or b) the motherboard. One thing I've noticed is that out of the 10 servers I have running, this is the only one that every few hours has to re-adjust its clock. All the other machines can run for days without needing an adjustment. This one seems to do it a few times a day. So maybe that's something to look at. Tonight will be another test - I've dropped a different 128 Mb stick in yet again (the other 4 GB is sitting on the table). If by morning it's dead again, I honestly don't know what else to look for. I'll probably swap the board. Someone please give me some idea of what may be causing this. The system is two years old (give or take 6 months, and was running for months at a time under 6.2...now I can't even get one week uptime. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Todd A. Jacobs wrote: Sometimes hardware is just crappy--even when it's brand new. If you have lots of unexplainable errors, it's sometimes cheaper just to buy a new system than to troubleshoot the components. The bad thing is, it's been running fine...till now. The other bad thing is, it's going to cost upwards of $430 for a new board for this box. Blah! Not counting having to rebuild the system because of a different brand board with different chipsets Or do I? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Mikkel L. Ellertson wrote: I am new to this thread - did you try updating to the latest kernel? Some people had problems with the 2.4.18-17 and others with the 2.4.18-18 kernels. I am not sure about the 2.4.18-24 kernels... No I have not, however the system hasn't been able run for any extended period of time with any kernel so far. It's been running with 2.4.18-24.7.x since it got released, but even before that it would run for long. In any case, you will not have to rebuild the system because of changes in the motherboard chipset. If you change CPUs, you have to make sure the new CPU will run the installed kernel. Changing Video means reconfiguring X, but minor stuff. Only motherboard will be changed. Everything else will stay the same. And since I don't run X anyway, video shouldn't matter (I believe the new board has video build onboard, versus the PCI-X video I'm using now.) CPU's will also stay the same. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Todd A. Jacobs wrote: That's what I'm talking about: why try to fix it, when you can buy a brand new box from walmart.com or similar for $299-399? Heck, you could get one of their Lindows boxes and install Red Hat on it instead for $199 plus shipping. Because it's a dual system with specific tasks. Replacing it for a wimpy, and/or crappy $300 machine from walmart is not an option. For one I won't have the expansion I need for it, it won't have a SCSI chain, it won't have dual processors, it won't hold 4 GB of ram, it won't have the room needed for the 4 drives, tape disk and cd...the laundry list continues. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird Crash (revisited - again)
Bret Hughes wrote: Have you installed the latest kernel? Yes, I have been updating the kernel every time there was a new one... Today's being the last one and I haven't test driven that one yet. For now it's running 2.4.18-24.7.x/smp -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
screen blanking
How can I make my console not go blank? Setterm -blank only applies to virtual consoles... I don't want the console itself to go blank. Any way of preventing that? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Weird Crash (revisited)
A couple of weeks ago I posted a peculiar problem I'm having with a machine that's been upgraded from 6.2 to 7.3, where under 6.2 the thing would run for months without a problem, and now under 7.3 I have yet to even see one week of uptime. It randomly freezes up, no error messages, nothing in the logs, no system load, nothing. I would find the console frozen solid, I can't reach the machine remotely, it's just dead. At the time several of you suggested I run memtest86 on it. All fine and dandy...however, I have done that and the test came back empty. As in no errors. I have Cache, ECC both turned on for testing, and I've selected All tests, Extended (which took a lovely 3+ hours on the 768M). It came back clean. I already have my vendor looking into a replacement motherboard for this box since that's the next thing I can think off to tackle. Can anyone else give me any other reasons and or suggestions as to why this machine keeps locking up the way it is? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Weird crash
Stefan Neufeind wrote: On what system? Did you only change the opperating-system or anything else (hardware) aswell? Everything on the box is identical to what it was a year ago. The migration from 6.2 to 7.3 only happened beginning of this year and nothing was added to or removed from the system, just the OS got replaced (clean install). It doesn't seem to have any rhyme or reason why it crashes. It's not under high load when it does, there's nothing in the logs that indicate a problem, it justquits. The time of the crashes aren't in sync with anything that's periodically running either (like a crontab). -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Weird crash
Gene Yoo wrote: does it just shutoff and starts rebooting? i had a similar instance where i had a power failure (bad power supply) and another instance where i had to change the mother board. just my .02 No, it just freezes up. Console's dead (blank/black), system's unreachable, nothing works. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Weird crash
I have a server that mysteriously crashes. It's not a consistent thing, and appears to be completely random. When I had 6.2 on it, it ran for months without a problem. Now I have 7.3 on it, and it's crashing at least once every other week or so. I have yet to see a full month's uptime on it. I don't get anything at all in the log files, no console indications, nothing, it just freezes up and that's it. The only way to get it back is a cold/warm boot. I need to get to the bottom of this...any suggestions? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: What to backup
Gene Yoo wrote: Minux the /home directory, what does the community feels is the most peritnent information that must be backed up on linux box. Assuming that DNS, Apache, DHCP, Samba, SMTP, POP, firewall, etc... meaning if the system was a full service machine or even across multiple machine, what do you backup? On any of my production machines, I have the following tagged for nightly backup: All servers back up: /root, /etc, /var/spool/cron, /usr/local/share/snmp YP/User server adds: /var/yp, /usr/local/apache, /home Dedicated Webservers add: /var/www, /usr/lib/apache, /usr/lib/php4 MySQL server adds:YP clients add: /var/lib/mysql/usr/lib/yp Mail spool adds: List servers add: /var/mail /home/mailman Central (apache) logging webalizer server adds: /var/www Take your pick. What backup tools (freeware) do you use often or recommend in SOHO environment? I've used netcat and dd ing info to another box, but haven't really done too much to write to other medias since most of my boxes are network related boxes... Considering how cheap hard drives are, I use RSYNC to dump all the data to central servers every night onto 80/120 Gb drives. I maintain one month of nightly backups (120 Gb), 52 Sundays (80 Gb), and 12 last day of the month (80 Gb) across three separate drives. Those drives are also mirrored (not RAID), just in case. And to be even more anal, I also keep the same monthly backups on a 66Gb tape... Call it overkill if you will, but my users feel safe. And before you ask, I don't create physical files every night. I make use of hard links in my backups, keeps things nice and tight. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: filename with space
Jacky Li wrote: I am trying to rename a bunch of files to another name. For example, picture 1 to picture1 picture 2 to picture2 ... May I know how you can take out the space in old filename? Thank you. Since you said you have a bunch of them, I suggest this: # for file in * ; do mv $file `echo $file | sed 's/\ //g '` ; done For example: # ls -l total 8 -rw-r--r--1 root root0 Feb 21 17:56 file 2 -rw-r--r--1 root root0 Feb 21 17:56 picture 1 -rw-r--r--1 root root0 Feb 21 17:56 this is long # for file in * ; do mv $file `echo $file | sed 's/\ //g '` ; done # ls -a -rw-r--r--1 root root0 Feb 21 17:56 file2 -rw-r--r--1 root root0 Feb 21 17:56 picture1 -rw-r--r--1 root root0 Feb 21 17:56 thisislong Hope this helps. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: filename with space
Ashley M. Kirchner wrote: # ls -a That's supposed to be an -l like the first one. I goofed in my paste... -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: central log server Problems
Prashant Desai wrote: is it possible to keep logs on logserver in different directory on the log server based on the log clients Not different directory that I know of, however you can create individual log files for each machine, all on one central server. On each machine, configure syslog.conf to write to file.host (where host is the machine's name), ej: /var/log/messages.server1 Have them all forward to the central logging server. On that machine you will now have a separate file for each machine. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: central log server Problems
Peter Kiem wrote: One thing I did want to know before starting, if you are using the standard Red Hat syslog like you are, and send the logs to a central log server, do the logs ONLY appear on the central log server or are they stored locally on each server and a COPY of them is sent to the central log server? That depends on how you have syslog configured. For example, on my servers I do something like this: *.info;mail.none;authpriv.none;cron.none/var/log/messages *.info;mail.none;authpriv.none;cron.none;local7.notice @logsrv (where @logsrv is the central logging server) This allows me to still store everything on one machine, but also individually on each machine. This way, should the logging server go down, I won't lose anything. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: What the?
Edward Dekkers wrote: Jan 29 15:16:31 server kernel: printer.c: usblp0: out of paper Jan 29 15:16:51 server kernel: printer.c: usblp0: on fire Jan 29 15:17:11 server kernel: printer.c: usblp0: ok Jeez Linux is great. Besides it being great This error messages has existed for decades, even before Linux. I first saw it on an old VAX system well over a decade ago. -- M | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. smime.p7s Description: S/MIME Cryptographic Signature
Re: Sendmail Problem
Leo Huang wrote: Hello, I updated the sendmail rpm, and I received this error when I tried to submit the form from Apache. Please tell me what has gone wrong. Sendmail works well with imap, smtp and pop3. Error from maillog: Jan 27 22:47:54 localhost sendmail[3092]: NOQUEUE: SYSERR(apache): can not chdir(/var/spool/clientmqueue/): Permission denied Thank you, Leo Sendmail needs to write to that directory for local mail injection. You need to have an smrsh user and group, which owns that directory. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail Problem
Leo Huang wrote: The sendmail has two things, sendmail and sm-client. sm-client is the submision program, not the daemon. It runs as user smmsp. However, it's not a good idea to run apache as smmsp or chown apache /var/spool/clientmqueue. BTW, the apache could do the job with the same permission before I updated the sendmail rpm. Sorry, I meant smmsp, not smrsh. However, smmsp need to own that directory to be able to write to it, and your error indicates it can not. Check your permissions. # ls -l /var/spool total 32 drwxr-xr-x 8 root root 4096 Nov 6 23:54 ./ drwxr-xr-x 24 root root 4096 Dec 27 13:05 ../ drwxr-xr-x 2 root root 4096 Oct 28 16:36 anacron/ drwxrwx--- 2 smmsp smmsp 4096 Jan 27 04:03 clientmqueue/ drwx-- 2 root root 4096 Dec 20 22:37 cron/ drws--sr-x 3 root mail 4096 Jan 27 08:42 mail/ drwxr-xr-x 2 root mail 4096 Jan 27 08:43 mqueue/ This doesn't have to do with the fact that Apache can't send mail. It can, otherwise you wouldn't be getting that error. Apache already handed the message off to sendmail. It's sendmail that's having the problem at the moment. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: [RH List] RE: ot - ram
greg wrote: Thanks Jonathan and Mike. I will get the non ecc ram then, much cheaper. As Jonathan pointed out, make sure your motherboard supports non-ECC. I have boards that can support both, and two that only take ECC registered. If your board doesn't support non-ECC, you may be stuck getting the expensive one. -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Trust SMART?
I have a drive that is consistently giving me file system errors. This drive holds a very large number of files, very active files. It's a backup, and cache drive for a web application, so several GB of data gets transferred to and from it every night. Now, the drive's SMART capability has not reported any errors what so ever with the physical drive, yet I keep getting FS errors. Cross links, duplicate blocks, bad i_nodes, bad i_blocks, illegal blocks, wrong dtime, just to mention a few. Should I trust the drive's SMART system and assume the drive itself it fine and may just need the FS recreated (deleting the partition and then recreating it and rebuilding the FS), or should I consider pitching the drive and just get a new one? -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list