Re: [CentOS] Define an alias with an embeded awk command
On 12/14/2009 11:20 PM, Majian wrote: echo `ifconfig eth0 | grep 'inet addr:' |awk '{print $2}' | cut -c 6- echo `ip addr |grep inet|grep -v 127.0.0.1|awk '{print $2}'|cut -d/ -f1` smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Define an alias with an embeded awk command
Thanks for your advice ~ But After I edit the command "alias checketh0 "echo `ifconfig eth0 | grep 'inet addr:' |awk '{print $2}' | cut -c 6-`" in my .cshrc file The screen displays this : innet addr:192.168.7.24 Bcast:192.168.7.255 Mask :255.255.255.0 I just want to the "192.168.7.24" Maybe is it the awk command error? On Tue, Dec 15, 2009 at 12:54 PM, Andrew Harley wrote: > On 15/12/09 15:40, Majian wrote: > > Hi ,all : > > I'm trying to define an alias with an embeded awk command: > > alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut > -c 6- ` > > After I edit it in the .cshrc file and run "source .cshrc" , I run the > "checketh0" command in the terminal , > the screen displays the "192.168.7.24: Command not found " > > > Why does is it ?Any help will be highly appreciated. > > note: I'm using csh shell. > > Hi Majian, > > It's not an issue with awk but with the way the alias is interpreted. It > tries to run the result of the commands in between the ` ` as a command > itself. To get around it, try: > > # alias checketh0="echo `ifconfig eth0 | grep 'inet addr:' |awk '{print > $2}' | cut -c 6-`" > > Cheers, > > Andrew > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Home LAN server - dnsmasq
A minor update for anyone still watching ;) >> You can do it by adding "send host-name" to the >> dhclient.conf. > > I'll dig around a bit on the clients and see if I can figure it out; if > not I can always ask on the respective lists for specifics on each. > That worked fairly painlessly on the Debian client... but F12 is still a thorn in my side. >> Alternatively, you can just assign the static IP using the client MAC in the >> dnsmasq.conf. You will have the MAC from the dnsmasq logs so you can just >> copy and paste. For now thats what I'm having to do. Apparently everyone on Fedora is busy using Network Manager (gui tool that invades/usurps the traditional networking config files), and no one knows where the dang config file went to. In Ubuntu 9.10 Network Manager worked fine (there is a spot to enter the host name when requesting a dhcp lease), but in F12 its not. But nobody wants to hear *that*... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Announcing Gluster Storage Platform
Greetings! The Gluster Team is happy to announce the release of Gluster Storage Platform 3.0. The Gluster Storage Platform is based on the popular open source clustered file system GlusterFS, integrating the file system, an operating system layer, a web based management interface, and an easy to use installer. Gluster Storage Platform is an open source clustered storage solution. The software is a powerful and flexible solution that simplifies the task of managing unstructured file data whether you have a few terabytes of storage or multiple petabytes. Gluster Storage Platform runs on industry standard hardware from any vendor and delivers multiple times the scalability and performance of conventional storage at a fraction of the cost. To learn more please check us out at www.gluster.org where you can download source and binary, read release notes, and engage with the community. If you are already using Gluster, please help strengthen our community by leaving your mark on Who is using Gluster page: http://www.gluster.com/community/whoisusing.php Happy Hacking -- Gluster Team ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Define an alias with an embeded awk command
On 15/12/09 15:40, Majian wrote: Hi ,all : I'm trying to define an alias with an embeded awk command: alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut -c 6- ` After I edit it in the .cshrc file and run "source .cshrc" , I run the "checketh0" command in the terminal , the screen displays the "192.168.7.24: Command not found " Why does is it ?Any help will be highly appreciated. note: I'm using csh shell. Hi Majian, It's not an issue with awk but with the way the alias is interpreted. It tries to run the result of the commands in between the ` ` as a command itself. To get around it, try: # alias checketh0="echo `ifconfig eth0 | grep 'inet addr:' |awk '{print $2}' | cut -c 6-`" Cheers, Andrew ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Define an alias with an embeded awk command
Hi ,all : I'm trying to define an alias with an embeded awk command: alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut -c 6- ` After I edit it in the .cshrc file and run "source .cshrc" , I run the "checketh0" command in the terminal , the screen displays the "192.168.7.24: Command not found " Why does is it ?Any help will be highly appreciated. note: I'm using csh shell. Thanks for you help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_security
On Mon, Dec 14, 2009 at 9:02 PM, Thomas Dukes wrote: > I installed mod_security yesterday. Unbelievable the amount of crap it will > stop in 24 hrs. > > Picked up the rpm at http://rpm.pbone.net Please be careful when doing this. It's very common (using irc support as a basis for evaluation) to have users grabbing any old rpm they come across from here and installing it. Make sure it's an rpm that's actually built for RHEL/CentOS of the appropriate version. There are a number of support requests for folks who have slapped in a fedora, mandrake, or aging redhat package only to find things are now broken. > This should be made part of the CentOS extra, contribs or whatever!! > mod_security is in the highly public EPEL 3rd party repository, as well as directly from the mod_security website, and several other 3rd party repos, jason litka, etc... While it might be nice to bring it closer to the distro, it's not exactly lacking in distribution. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_security
_ From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Ceg Ryan Sent: Monday, December 14, 2009 9:49 PM To: CentOS mailing list Subject: Re: [CentOS] mod_security It may have a lot of false positives indeed. You need to make a lot of customization. I've had to make two tweaks for my stuff to run, but I'm not running a 'commercial' or 'ecommerce' site from home. I do use it for testing of my ecommerce site which is hosted and also for a video surveillance system. Really don't know why a hacker would be interested in my home system except for attacking other sites which I discovered this weekend. On Tue, Dec 15, 2009 at 10:02 AM, Thomas Dukes wrote: I installed mod_security yesterday. Unbelievable the amount of crap it will stop in 24 hrs. Picked up the rpm at http://rpm.pbone.net This should be made part of the CentOS extra, contribs or whatever!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mod_security
It may have a lot of false positives indeed. You need to make a lot of customization. On Tue, Dec 15, 2009 at 10:02 AM, Thomas Dukes wrote: > I installed mod_security yesterday. Unbelievable the amount of crap it > will > stop in 24 hrs. > > Picked up the rpm at http://rpm.pbone.net > > This should be made part of the CentOS extra, contribs or whatever!! > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum quit working in CentOS 5.4 x86_64
On Mon, Dec 14, 2009 at 7:31 PM, David McGuffey wrote: > Here is what my logs show for the last three updates that ran > successfully: > > Nov 14 10:02:13 Updated: 1:libvorbis-1.1.2-3.el5_4.4.x86_64 > Nov 14 10:02:13 Installed: libmpeg2-0.5.1-2.el5.rf.x86_64 > Nov 14 10:02:14 Installed: libmpeg2-utils-0.5.1-2.el5.rf.x86_64 > Nov 14 10:02:17 Updated: httpd-2.2.3-31.el5.centos.2.x86_64 > Nov 14 10:02:17 Updated: dbus-python-0.70-9.el5_4.x86_64 > Nov 14 10:02:18 Updated: 1:libvorbis-1.1.2-3.el5_4.4.i386 > Nov 14 10:02:19 Updated: 1:libvorbis-devel-1.1.2-3.el5_4.4.i386 > Nov 14 10:02:19 Updated: 1:libvorbis-devel-1.1.2-3.el5_4.4.x86_64 > Nov 14 10:02:19 Erased: mpeg2dec > Nov 17 21:26:08 Installed: aide-0.13.1-4.el5.x86_64 > Nov 24 22:04:43 Updated: 1:cups-libs-1.3.7-11.el5_4.4.x86_64 > Nov 24 22:04:44 Updated: 1:cups-libs-1.3.7-11.el5_4.4.i386 > Nov 24 22:04:52 Updated: 1:cups-1.3.7-11.el5_4.4.x86_64 > Nov 27 08:59:17 Installed: twolame-0.3.12-1.el5.rf.x86_64 > Nov 27 08:59:18 Updated: gstreamer-plugins-ugly-0.10.11-1.el5.rf.x86_64 > Nov 27 08:59:18 Updated: gstreamer-ffmpeg-0.10.6-1.el5.rf.x86_64 > Nov 28 08:35:38 Updated: metacity-2.16.0-12.el5_4.1.x86_64 > Nov 28 08:35:38 Updated: xterm-215-8.el5_4.1.x86_64 > Nov 28 08:35:39 Updated: kexec-tools-1.102pre-77.el5.3.x86_64 > Nov 28 08:35:41 Updated: system-config-lvm-1.1.5-1.0.el5_4.1.noarch > Nov 28 08:35:47 Updated: metacity-2.16.0-12.el5_4.1.i386 > > > So...maybe I'm just an IA guy with a worrying problem. I'm used to my > Windoze boxes updating nearly every time I boot them. I'm also used to > Fedora 10 and 11 which seem to have updates every two or three days. > > DaveM > > I think your just worrying. According to the announce list archives ( http://lists.centos.org/pipermail/centos-announce/), there haven't been any updates released for CentOS 5 since Nov. 27th. Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mod_security
I installed mod_security yesterday. Unbelievable the amount of crap it will stop in 24 hrs. Picked up the rpm at http://rpm.pbone.net This should be made part of the CentOS extra, contribs or whatever!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sox rpm for el5?
Johnny Tan wrote: > I believe I used to pull sox for el5 from dag's site, but it doesn't > appear to be there anymore. Nor on rpmforge, atrpms, epel. > > Does any (trusted/reliable) repo out there have sox built for el5? > > I started a rebuild of fedora-12 version, but it's a pretty major > dependency hell. it's in centos, at least for x86_64. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sox rpm for el5?
I believe I used to pull sox for el5 from dag's site, but it doesn't appear to be there anymore. Nor on rpmforge, atrpms, epel. Does any (trusted/reliable) repo out there have sox built for el5? I started a rebuild of fedora-12 version, but it's a pretty major dependency hell. johnny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum quit working in CentOS 5.4 x86_64
On Mon, 2009-12-14 at 03:45 -0800, John Doe wrote: > From: David McGuffey > > Have been running 5.4 x86_64 for a couple of months now. Every once in > > a while, I would get a notice that updates were available. > > It appears that about 3 weeks ago, yum stopped notifying me of updates. > > Over that time, I've manually done a 'yum update' from a command line, > > with an output that there are no updates. > > I know this cannot be true, because I watch the 'centOS-announce Digest' > > messages come through and see that there are updates for my > > installation. > > Did you check that those digest takled about a Centos 5 version of an > application specificaly installed on your server...? > The latests updates I have in my local repository are from November the > 28th... > kdelibs-devel-3.5.4-25.el5.centos.1.x86_64.rpm > kdelibs-devel-3.5.4-25.el5.centos.1.i386.rpm > kdelibs-3.5.4-25.el5.centos.1.x86_64.rpm > kdelibs-3.5.4-25.el5.centos.1.i386.rpm > kdelibs-apidocs-3.5.4-25.el5.centos.1.x86_64.rpm > kexec-tools-1.102pre-77.el5.3.x86_64.rpm > system-config-lvm-1.1.5-1.0.el5_4.1.noarch.rpm > openswan-doc-2.6.21-5.el5_4.1.x86_64.rpm > openswan-2.6.21-5.el5_4.1.x86_64.rpm > xterm-215-8.el5_4.1.x86_64.rpm > metacity-2.16.0-12.el5_4.1.x86_64.rpm > metacity-2.16.0-12.el5_4.1.i386.rpm > Here is what my logs show for the last three updates that ran successfully: Nov 14 10:02:13 Updated: 1:libvorbis-1.1.2-3.el5_4.4.x86_64 Nov 14 10:02:13 Installed: libmpeg2-0.5.1-2.el5.rf.x86_64 Nov 14 10:02:14 Installed: libmpeg2-utils-0.5.1-2.el5.rf.x86_64 Nov 14 10:02:17 Updated: httpd-2.2.3-31.el5.centos.2.x86_64 Nov 14 10:02:17 Updated: dbus-python-0.70-9.el5_4.x86_64 Nov 14 10:02:18 Updated: 1:libvorbis-1.1.2-3.el5_4.4.i386 Nov 14 10:02:19 Updated: 1:libvorbis-devel-1.1.2-3.el5_4.4.i386 Nov 14 10:02:19 Updated: 1:libvorbis-devel-1.1.2-3.el5_4.4.x86_64 Nov 14 10:02:19 Erased: mpeg2dec Nov 17 21:26:08 Installed: aide-0.13.1-4.el5.x86_64 Nov 24 22:04:43 Updated: 1:cups-libs-1.3.7-11.el5_4.4.x86_64 Nov 24 22:04:44 Updated: 1:cups-libs-1.3.7-11.el5_4.4.i386 Nov 24 22:04:52 Updated: 1:cups-1.3.7-11.el5_4.4.x86_64 Nov 27 08:59:17 Installed: twolame-0.3.12-1.el5.rf.x86_64 Nov 27 08:59:18 Updated: gstreamer-plugins-ugly-0.10.11-1.el5.rf.x86_64 Nov 27 08:59:18 Updated: gstreamer-ffmpeg-0.10.6-1.el5.rf.x86_64 Nov 28 08:35:38 Updated: metacity-2.16.0-12.el5_4.1.x86_64 Nov 28 08:35:38 Updated: xterm-215-8.el5_4.1.x86_64 Nov 28 08:35:39 Updated: kexec-tools-1.102pre-77.el5.3.x86_64 Nov 28 08:35:41 Updated: system-config-lvm-1.1.5-1.0.el5_4.1.noarch Nov 28 08:35:47 Updated: metacity-2.16.0-12.el5_4.1.i386 So...maybe I'm just an IA guy with a worrying problem. I'm used to my Windoze boxes updating nearly every time I boot them. I'm also used to Fedora 10 and 11 which seem to have updates every two or three days. DaveM ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] bnx2 losing connectivity
Hoping someone else has seen this before. I have a few dozen Dell R610 systems with CentOS 5.2 that are using kernels from 5.3 and 5.4 (2.6.18-128.1.10.el5 & 2.6.18-164.6.1.el5), that at random lose layer 2 network connectivity either partially or totally. Running tcpdump on the interface reveals only ARP broadcasts, no responses. Switch reports no packets being received on the interface. Systems can run for days/weeks or even months without an issue then drop off the network. At first I thought it was the Dell switches which we had lots of problems with but it has happened on two other brands of switches as well(Cisco and Extreme), so I no longer believe it's the switch but rather the systems. The workaround is to restart the network on the system. I have even configured the bonding driver to do ARP requests and fail over to the backup link in the event that fails but wasn't successful there either as both links can go down, and/or the system can go into "degraded" state where it can reach some systems but not others. I have ESXi systems running on the same hardware and to-date have not seen any of them drop off the same way. System can be under high traffic load at the time or completely idle, it doesn't seem to make a difference. No log entries indicating what might be going on. I have a case open with Dell but am not expecting a whole lot from them, maybe I'll get lucky though. They asked me to upgrade the NIC firmware which I did on a batch of systems to no avail(the release notes for the firmware said nothing about any fixes that sounded like my issue). Driver versions: ESXi (vSphere): Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.6.9 (December 8, 2007) Most linux systems(5.3 kernel): Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.7.9-1 (July 18, 2008) Some linux systems(5.4 kernel): Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.9.3 (March 17, 2009) Happens across at least a dozen systems spread over 4 data centers. Never seen this sort of behavior before in the hundreds and hundreds of systems I've run. These systems are all new, the R610 hardware was released around May 2009, and we've been having issues since day 1, but only recently have been able to rule the switches out as the cause. The latest driver on Broadcom's site is 1.9.20b which seems odd since CentOS 5.4 seems to come with 1.9.3(the date on the Broadcom site is more recent than the date on the linux kernel driver in 5.4) Most of the fixes in the recent driver versions seem to focus around iSCSI, which I'm not using. lspci says: 02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20) Subsystem: Dell Unknown device 0236 Flags: bus master, fast devsel, latency 0, IRQ 114 Memory at dc00 (64-bit, non-prefetchable) [size=32M] Capabilities: [48] Power Management version 3 Capabilities: [50] Vital Product Data Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/4 Enable- Capabilities: [a0] MSI-X: Enable- Mask- TabSize=9 Capabilities: [ac] Express Endpoint IRQ 0 Capabilities: [100] Device Serial Number c9-dc-93-fe-ff-9b-21-00 Capabilities: [110] Advanced Error Reporting Capabilities: [150] Power Budgeting Capabilities: [160] Virtual Channel I suppose I could go build the latest driver from their site and see how it goes.. thanks nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Dec 14, 2009, at 9:55 AM, wrote: > > Ross Walker wrote: >> On Dec 14, 2009, at 7:14 AM, "Thomas Dukes" wrote: >> >>> >>> -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen Sent: Monday, December 14, 2009 3:27 AM To: CentOS mailing list; Sorin Srbu Cc: 'CentOS mailing list' Subject: Re: [CentOS] Deleting contents of /tmp on shutdown Quoting Sorin Srbu : >> -Original Message- >> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf >> Of Geerd-Dietger Hoffmann >> Sent: Saturday, December 12, 2009 11:22 PM >> To: CentOS mailing list >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown >> >> On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes wrote: >> >> I have the /tmp in memory, which effectively deletes everything >> on >> reboot. Maybe another solution? > > How do you achieve that? > -- > /Sorin > using tmpfs? http://kevin.vanzonneveld.net/techblog/article/create_turbocha rged_storage_using_tmpfs/ >>> >>> One thing that's not clear in the two links that have been posted >>> about >>> doing this is, do you add the line or replace the the line already >>> present >>> in /etc/fstab? >>> >>> /dev/VolGroup00/LogVol00 / ext3 >>> defaults1 1 >>> LABEL=/boot /boot ext3 >>> defaults1 2 >>> none/dev/ptsdevpts >>> gid=5,mode=620 0 0 >>> none/dev/shmtmpfs >>> defaults0 0 >>> <-- >>> none/proc proc >>> defaults0 0 >>> none/syssysfs >>> defaults0 0 >>> /dev/VolGroup00/LogVol01 swapswap >>> defaults0 0 >> >> Here is what I put in my fstab: >> >> tmpfs /tmp tmpfs defaults 0 0 >> >> And your done. By default it will use 1/2 of your memory and under >> pressure it's first to swap and even if you run off swap it gives >> comparable performance to the way it is now. >> >> -Ross > > Thanks, Ross > > Do I leave this line in tact or remove/replace it: > > none/dev/shmtmpfs No, leave the existing /dev/shm, some apps depend on it. You can use the 'none' keyword too for /tmp as in: none /tmp tmpfs defaults 0 0 Either 'tmpfs' or 'none' should work. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Solaris10 forum
On Mon, Dec 14, 2009 at 8:54 AM, Rick Philbrick wrote: > > Hi all- > > Usually i call out on this list for help on the CentOS matters but today I > am fishing around trying to find an active forum for Solaris. > It's hard to match the community here but I'd like to find the Solaris list > where the most people are. > Just having trouble configuring multipathing on QLogic iSCSI HBA's on > Sparc_Solaris10. Also try the OpenSolaris mailing lists http://mail.opensolaris.org there are a number of specialized lists. -- Enjoy global warming while it lasts. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba, ADS & Winbind Separator on CentOS 5.4
> -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Joseph L. Casale > Sent: Monday, December 14, 2009 1:08 PM > To: 'CentOS mailing list' > Subject: Re: [CentOS] Samba, ADS & Winbind Separator on CentOS 5.4 > > >Actually, i know that "#" is sometimes used for comments on the > config file and "\" is sometimes used to escape characters. Now, what > should i do to fix the problem? >Change Winbind config to use another > character? Use some kind of escaped character in smb.conf? I'm a little > lost! > > An often discussed issue, I use a '+' here... > > /etc/samba/smb.conf >winbind separator = + --- Yes I've always used "+" also here on mine. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Device enumeration during kickstart
lheck...@users.sourceforge.net wrote: By default, a kickstart installation will spread the configured partitions over all disks that are found, and the only way around that is to use --ondisk or ignoredisk. But I was wondering how reliable this method is. E.g. if there are four SATA ports on the system board, can I blindly assume that port one will always correspond to sda, port two to sdb, and so on? Can I assume that a second disk added to a one-disk system will always show up as sdb, and sda will remain sda? There are many recorded emails about folk struggling to get reliable hardware to device registration, so far I have not seen a foolproof method. Others may be able to offer actual examples that work, but they seem to only work on specific hardware. YMMV ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos <>___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba, ADS & Winbind Separator on CentOS 5.4
>Actually, i know that "#" is sometimes used for comments on the config > file and "\" is sometimes used to escape characters. Now, what should i do > to fix the problem? >Change Winbind config to use another character? Use > some kind of escaped character in smb.conf? I'm a little lost! An often discussed issue, I use a '+' here... /etc/samba/smb.conf winbind separator = + ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cron job? or something else? help..
On Mon, Dec 14, 2009 at 12:39:50PM -0500, Brian Mathis wrote: > On Mon, Dec 14, 2009 at 2:46 AM, Roland Roland > wrote: > > Hello, > > > > i have a certain issue at hand that i'm trying to solve. > > > > there's a certain command that i need to execute 10 minutes after boot. > > how can i set that? im not very expert with cron jobs but can it be done > > that way? i know that cronjob works on specified time but how can i set > > it to run with '10 min after startup" as a condition ? > > Only you know your specific requirements, but this seems like an odd > thing to need. Do you need to wait 10 minutes to make sure some > service is running before starting something else? What creates the > need for a 10 minute delay? Maybe there's a better way to handle it. You could configure a service that starts automatically in run level 3 (or 5) whose start() argument forks off (backgrounds) the process you want to run, prepended by a "sleep 600" statement. This way the service won't hold up everything else, but your command won't run until 600 seconds have elapsed. You could write the sysv init script to have service stop abort, etc... Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cron job? or something else? help..
On Mon, Dec 14, 2009 at 2:46 AM, Roland Roland wrote: > Hello, > > i have a certain issue at hand that i'm trying to solve. > > there's a certain command that i need to execute 10 minutes after boot. > how can i set that? im not very expert with cron jobs but can it be done > that way? i know that cronjob works on specified time but how can i set > it to run with '10 min after startup" as a condition ? Only you know your specific requirements, but this seems like an odd thing to need. Do you need to wait 10 minutes to make sure some service is running before starting something else? What creates the need for a 10 minute delay? Maybe there's a better way to handle it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Solaris10 forum
> Usually i call out on this list for help on the CentOS matters but today I > am fishing around trying to find an active forum for Solaris. > It's hard to match the community here but I'd like to find the Solaris list > where the most people are. > Just having trouble configuring multipathing on QLogic iSCSI HBA's on > Sparc_Solaris10. http://www.sunmanagers.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Solaris10 forum
On Mon, Dec 14, 2009 at 08:54:52AM -0800, Rick Philbrick wrote: > Hi all- > > Usually i call out on this list for help on the CentOS matters but today I > am fishing around trying to find an active forum for Solaris. > It's hard to match the community here but I'd like to find the Solaris list > where the most people are. > Just having trouble configuring multipathing on QLogic iSCSI HBA's on > Sparc_Solaris10. You want the official Sun Forums[1] or Sun Managers[2]. Sun Managers is probably your best bet, but keep in mind it's a slightly different format than most mailing lists these days. It harkens back to a time when people got their email via expensive dial-up and so replies will all come to you directly and you're expected to post a summary with your solution at the end. Lotsa very knowledgeable subscribers though. (You may receive a few flames for posting questions that can be answered via Sun Support or other channels) Ray [1] http://forums.sun.com/index.jspa?tab=solaris [2] http://www.sunmanagers.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Solaris10 forum
Hi all- Usually i call out on this list for help on the CentOS matters but today I am fishing around trying to find an active forum for Solaris. It's hard to match the community here but I'd like to find the Solaris list where the most people are. Just having trouble configuring multipathing on QLogic iSCSI HBA's on Sparc_Solaris10. Thanks in advance- -rickp ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cron job? or something else? help..
Roland Roland wrote: > Hello, > > i have a certain issue at hand that i'm trying to solve. > > there's a certain command that i need to execute 10 minutes after boot. > how can i set that? im not very expert with cron jobs but can it be done > that way? i know that cronjob works on specified time but how can i set > it to run with '10 min after startup" as a condition ? > > In /etc/rc.d/rc.local add a line like this: /usr/bin/at 'now + 10 min' -f /path/to/command -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Samba, ADS & Winbind Separator on CentOS 5.4
Hi! I have a little problem with Samba. I have an ADS integrated CentOS 5.4 server. I had frequent access problem when M$ users create directories and files. So i thought to force users' persmissions by way of the "force user" parameter in smb.conf. First problem is that the forced users i want to apply are ADS users and named like "MYDOMAIN#Joe" in passwd file. When i use this name in smb.conf, i get this error when i run testparm: "ERROR: the 'winbind separator' parameter must be a single character.", even if i used "winbind separator =#". If i use "winbind separator =\" and name my users like "MYDOMAIN\Joe" in smb.conf, i have no error but users cannot access the share. Actually, i know that "#" is sometimes used for comments on the config file and "\" is sometimes used to escape characters. Now, what should i do to fix the problem? Change Winbind config to use another character? Use some kind of escaped character in smb.conf? I'm a little lost! Thanks! Guy Boisvert, ing. IngTegration inc. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS DHCP Server
Dnsmasq...good lightweight program that works in many instances. This was a very good lesson for me to first do a less on /etc/services before I bother the group with questions (noob mistake). I just configured BIND to handle my DNS requests. This particular box is a hybrid/appliance of sorts that we are working on in a lab. It functions as a firewall between the Internet and a private /24 LAN running iptables. It runs Aterisk for internal/external SIP communications with a hacked up interface of Spencer's code to have a branded look. Internally it runs DHCP for phones and PC's and DNS for internal LAN and Internet resolution of hosts. And Apache an TFTP for booting of SIP-phone-filesystems and logos on the phones. Probably a much better/faster/lighter way to do it all but it serves test purposes for now. Thanks all for the direction. LK -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alan McKay Sent: Tuesday, December 08, 2009 4:45 PM To: CentOS mailing list Subject: Re: [CentOS] CentOS DHCP Server On Tue, Dec 8, 2009 at 4:35 PM, Kemp, Larry wrote: > Yep. Dnsmasq was parked on 67. Gonna have to "yum remove" him. Big thanks > guys. better be sure first that it is not also acting as a DNS server since it does both -- "Don't eat anything you've ever seen advertised on TV" - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization Howto
On 12/10/2009 03:43 PM, Matt wrote: > I see this virtualization howto for Ubuntu > > https://help.ubuntu.com/community/UEC/CDInstall > The eucalyptus stack is quite well supported around CentOS - take a look at : http://open.eucalyptus.com/downloads - there are lots of docs and other material available directly from there, including all the centos specific ones. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
Ross Walker wrote: > On Dec 14, 2009, at 7:14 AM, "Thomas Dukes" wrote: > > > > > > >> -Original Message- > >> From: centos-boun...@centos.org > >> [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen > >> Sent: Monday, December 14, 2009 3:27 AM > >> To: CentOS mailing list; Sorin Srbu > >> Cc: 'CentOS mailing list' > >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > >> > >> Quoting Sorin Srbu : > >> > -Original Message- > From: centos-boun...@centos.org > >> [mailto:centos-boun...@centos.org] On > >>> Behalf > Of Geerd-Dietger Hoffmann > Sent: Saturday, December 12, 2009 11:22 PM > To: CentOS mailing list > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes > >> wrote: > > I have the /tmp in memory, which effectively deletes everything on > reboot. Maybe another solution? > >>> > >>> How do you achieve that? > >>> -- > >>> /Sorin > >>> > >> > >> using tmpfs? > >> > >> http://kevin.vanzonneveld.net/techblog/article/create_turbocha > >> rged_storage_using_tmpfs/ > >> > > > > One thing that's not clear in the two links that have been posted > > about > > doing this is, do you add the line or replace the the line already > > present > > in /etc/fstab? > > > > /dev/VolGroup00/LogVol00 / ext3 > > defaults1 1 > > LABEL=/boot /boot ext3 > > defaults1 2 > > none/dev/ptsdevpts > > gid=5,mode=620 0 0 > > none/dev/shmtmpfs > > defaults0 0 > > <-- > > none/proc proc > > defaults0 0 > > none/syssysfs > > defaults0 0 > > /dev/VolGroup00/LogVol01 swapswap > > defaults0 0 > > Here is what I put in my fstab: > > tmpfs /tmp tmpfs defaults 0 0 > > And your done. By default it will use 1/2 of your memory and under > pressure it's first to swap and even if you run off swap it gives > comparable performance to the way it is now. > > -Ross Thanks, Ross Do I leave this line in tact or remove/replace it: none/dev/shmtmpfs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Dec 14, 2009, at 7:14 AM, "Thomas Dukes" wrote: > > >> -Original Message- >> From: centos-boun...@centos.org >> [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen >> Sent: Monday, December 14, 2009 3:27 AM >> To: CentOS mailing list; Sorin Srbu >> Cc: 'CentOS mailing list' >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown >> >> Quoting Sorin Srbu : >> -Original Message- From: centos-boun...@centos.org >> [mailto:centos-boun...@centos.org] On >>> Behalf Of Geerd-Dietger Hoffmann Sent: Saturday, December 12, 2009 11:22 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes >> wrote: I have the /tmp in memory, which effectively deletes everything on reboot. Maybe another solution? >>> >>> How do you achieve that? >>> -- >>> /Sorin >>> >> >> using tmpfs? >> >> http://kevin.vanzonneveld.net/techblog/article/create_turbocha >> rged_storage_using_tmpfs/ >> > > One thing that's not clear in the two links that have been posted > about > doing this is, do you add the line or replace the the line already > present > in /etc/fstab? > > /dev/VolGroup00/LogVol00 / ext3 > defaults1 1 > LABEL=/boot /boot ext3 > defaults1 2 > none/dev/ptsdevpts > gid=5,mode=620 0 0 > none/dev/shmtmpfs > defaults0 0 > <-- > none/proc proc > defaults0 0 > none/syssysfs > defaults0 0 > /dev/VolGroup00/LogVol01 swapswap > defaults0 0 Here is what I put in my fstab: tmpfs /tmp tmpfs defaults 0 0 And your done. By default it will use 1/2 of your memory and under pressure it's first to swap and even if you run off swap it gives comparable performance to the way it is now. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Future of MySQL
Neil Aggarwal wrote: >> Personally I'd like to see it go down so more people will start >> supporting PostgreSQL - which is a far better database anyway > > Does PostgreSQL have non-transactional tables like MySQL? > I am not trying to start a holy war, just asking since I > do not know. > Postgresql uses MVCC (multi-verson concurrency control) so tables aren't locked for transactions but each operation only sees previously committed updates. http://www.postgresql.org/docs/current/static/mvcc-intro.html -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firewall for virtual machines
John Doe wrote: > From: mark > >> Kai Schaetzl wrote: >> >>> Mhr wrote on Fri, 11 Dec 2009 13:50:27 -0800: >>> >>> would it be a bad idea (or a complete waste) to use a firewall, like ZoneAlarm, on my Windows guest OS? >>> Yes, using ZA is a bad idea. XP has its own firewall which is enabled by >>> default if you are patched up-to-date. Keep that on. >>> >> Huh? I've *NEVER* heard great things about WinDoze firewall, and the std. >> from >> the fairly heavy duty folks I know who support WinDoze is that the std for >> non-commercial is ZoneAlarm. >> > > Personaly, I use ZoneAlarm 'mainly' for the outbound blocking. > I like to know (and allow/disalow) when an application tries to phone home... > > JD > Personally, I have had Zone Alarm mess up it's ACL a few times and block applications in it's allow list. I normally firewall else where & use Windows Firewall for internal stuff, the Windows Firewall in Windows7 supports an ACL for inbound and outbound rules. HTH -- IT Support Bristol & Computer Support Bristol http://www.netzensolutions.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firewall for virtual machines
From: mark > Kai Schaetzl wrote: > > Mhr wrote on Fri, 11 Dec 2009 13:50:27 -0800: > > > >> would it be a bad idea (or a complete waste) > >> to use a firewall, like ZoneAlarm, on my Windows guest OS? > > > > Yes, using ZA is a bad idea. XP has its own firewall which is enabled by > > default if you are patched up-to-date. Keep that on. > > Huh? I've *NEVER* heard great things about WinDoze firewall, and the std. > from > the fairly heavy duty folks I know who support WinDoze is that the std for > non-commercial is ZoneAlarm. Personaly, I use ZoneAlarm 'mainly' for the outbound blocking. I like to know (and allow/disalow) when an application tries to phone home... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Device enumeration during kickstart
By default, a kickstart installation will spread the configured partitions over all disks that are found, and the only way around that is to use --ondisk or ignoredisk. But I was wondering how reliable this method is. E.g. if there are four SATA ports on the system board, can I blindly assume that port one will always correspond to sda, port two to sdb, and so on? Can I assume that a second disk added to a one-disk system will always show up as sdb, and sda will remain sda? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen > Sent: Monday, December 14, 2009 3:27 AM > To: CentOS mailing list; Sorin Srbu > Cc: 'CentOS mailing list' > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > Quoting Sorin Srbu : > > >> -Original Message- > >> From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On > > Behalf > >> Of Geerd-Dietger Hoffmann > >> Sent: Saturday, December 12, 2009 11:22 PM > >> To: CentOS mailing list > >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > >> > >> On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes > wrote: > >> > >> I have the /tmp in memory, which effectively deletes everything on > >> reboot. Maybe another solution? > > > > How do you achieve that? > > -- > > /Sorin > > > > using tmpfs? > > http://kevin.vanzonneveld.net/techblog/article/create_turbocha > rged_storage_using_tmpfs/ > One thing that's not clear in the two links that have been posted about doing this is, do you add the line or replace the the line already present in /etc/fstab? /dev/VolGroup00/LogVol00 / ext3defaults1 1 LABEL=/boot /boot ext3defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 <-- none/proc procdefaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswapdefaults0 0 Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5 updates?
Am 14.12.2009 12:12, schrieb Karanbir Singh: > On 12/14/2009 09:59 AM, Rainer Traut wrote: >> Upstream has released some security and bugfix updates so far... > > yes, and they seem to have - yet again - changed some major packages in > the buildroots for EL5. I now need to figure out ( and am doing ) what > and how that changes things for us here. Thx for the info. I'll keep my fingers crossed for you. ;) Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5 updates?
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Karanbir Singh >Sent: Monday, December 14, 2009 12:46 PM >To: CentOS mailing list >Subject: Re: [CentOS] C5 updates? > >On 12/14/2009 11:42 AM, Sorin Srbu wrote: >> Upstream didn't do this to spite us, and others building off of the >> Upstream >> sources, did they? > >I doubt it :) they are all really nice people ( the ones I know and have >met anyway )! Altights, good enough for me! Thanks for doing such a good job with CentOS for us [the thanks includes any Upstreamers lurking on this list as well. ;-)] -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum quit working in CentOS 5.4 x86_64
From: David McGuffey > Have been running 5.4 x86_64 for a couple of months now. Every once in > a while, I would get a notice that updates were available. > It appears that about 3 weeks ago, yum stopped notifying me of updates. > Over that time, I've manually done a 'yum update' from a command line, > with an output that there are no updates. > I know this cannot be true, because I watch the 'centOS-announce Digest' > messages come through and see that there are updates for my > installation. Did you check that those digest takled about a Centos 5 version of an application specificaly installed on your server...? The latests updates I have in my local repository are from November the 28th... kdelibs-devel-3.5.4-25.el5.centos.1.x86_64.rpm kdelibs-devel-3.5.4-25.el5.centos.1.i386.rpm kdelibs-3.5.4-25.el5.centos.1.x86_64.rpm kdelibs-3.5.4-25.el5.centos.1.i386.rpm kdelibs-apidocs-3.5.4-25.el5.centos.1.x86_64.rpm kexec-tools-1.102pre-77.el5.3.x86_64.rpm system-config-lvm-1.1.5-1.0.el5_4.1.noarch.rpm openswan-doc-2.6.21-5.el5_4.1.x86_64.rpm openswan-2.6.21-5.el5_4.1.x86_64.rpm xterm-215-8.el5_4.1.x86_64.rpm metacity-2.16.0-12.el5_4.1.x86_64.rpm metacity-2.16.0-12.el5_4.1.i386.rpm JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5 updates?
On 12/14/2009 11:42 AM, Sorin Srbu wrote: > Upstream didn't do this to spite us, and others building off of the Upstream > sources, did they? I doubt it :) they are all really nice people ( the ones I know and have met anyway )! -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5 updates?
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Karanbir Singh >Sent: Monday, December 14, 2009 12:12 PM >To: CentOS mailing list >Subject: Re: [CentOS] C5 updates? > >yes, and they seem to have - yet again - changed some major packages in >the buildroots for EL5. I now need to figure out ( and am doing ) what >and how that changes things for us here. Upstream didn't do this to spite us, and others building off of the Upstream sources, did they? -- /Sorin (Paranoics'R'Us) smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C5 updates?
On 12/14/2009 09:59 AM, Rainer Traut wrote: > is there some congestion with C5 updates? yes there is. > Upstream has released some security and bugfix updates so far... yes, and they seem to have - yet again - changed some major packages in the buildroots for EL5. I now need to figure out ( and am doing ) what and how that changes things for us here. > PS: i guess as soon as this mail arrives at the list, the updates start > flowing. :) nope - updates will only start flowing once the issues are resolved - given the way things are looking right now, I'd expect that to be sometime tomorrow evening. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] I/o Read/write BYTes ?
> (not the two 's' in the middle) I meant "notE the two 's' in th emiddle", sorry. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] I/o Read/write BYTes ?
> using iostat from systat package? sudo yum install sysstat (not the two 's' in the middle) For example: iostat -m 5 /dev/md{0,1} /dev/sd{a,b,c,d,e} -m : output in megabytes 5: every 5s /dev/md{0,1} /dev/sd{a,b,c,d,e} : the various drives to filter (no such argument will show them all) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C5 updates?
Hi, is there some congestion with C5 updates? Upstream has released some security and bugfix updates so far... Thx Rainer PS: i guess as soon as this mail arrives at the list, the updates start flowing. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] I/o Read/write BYTes ?
Quoting Roland Roland : > Hello, > > > is there a way to detect the r/w i/o bytes on a hdd under centos? > > i know i can do it through task manager under windows though what > about centos through cli ? > > any advice? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > using iostat from systat package? -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] I/o Read/write BYTes ?
Hello, is there a way to detect the r/w i/o bytes on a hdd under centos? i know i can do it through task manager under windows though what about centos through cli ? any advice? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
>-Original Message- >From: Eero Volotinen [mailto:eero.voloti...@iki.fi] >Sent: Monday, December 14, 2009 9:27 AM >To: CentOS mailing list; Sorin Srbu >Cc: 'CentOS mailing list' >Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > >>> I have the /tmp in memory, which effectively deletes everything on >>> reboot. Maybe another solution? >> >> How do you achieve that? >> -- >> /Sorin >> > >using tmpfs? > >http://kevin.vanzonneveld.net/techblog/article/create_turbocharged_storage_ using_t >mpfs/ Thanks, I'll look up on this. Have a few machines that would most probably benefit from this. Amazing, this temp-cache-in-RAM is a déjà vu from my OS/2-days some ten-ish years back... Never thought I'd use the same techniques now as then. 8-) -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Future of MySQL
On 13/12/09 16:31, Kai Schaetzl wrote: > I thought I post this link > http://monty-says.blogspot.com/2009/12/help-saving-mysql.html > in case anyone isn't aware of this yet and wants to email the EC. > > > Kai > > Sent my email off, I've used MySQL for a long time, and would hate to see MySQL die :-( Thanks :-) -- Jake ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
Quoting Sorin Srbu : >> -Original Message- >> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf >> Of Geerd-Dietger Hoffmann >> Sent: Saturday, December 12, 2009 11:22 PM >> To: CentOS mailing list >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown >> >> On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes wrote: >> >> I have the /tmp in memory, which effectively deletes everything on >> reboot. Maybe another solution? > > How do you achieve that? > -- > /Sorin > using tmpfs? http://kevin.vanzonneveld.net/techblog/article/create_turbocharged_storage_using_tmpfs/ -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Geerd-Dietger Hoffmann >Sent: Saturday, December 12, 2009 11:22 PM >To: CentOS mailing list >Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > >On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes wrote: > >I have the /tmp in memory, which effectively deletes everything on >reboot. Maybe another solution? How do you achieve that? -- /Sorin smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is ext4 safe for a production server?
>> On Fri, Dec 11, 2009 at 9:52 AM, Jussi Hirvi wrote: >> P.S. Do you really have to quote the whole thread when you respond? > On 11.12.2009 20:28, Ross Walker wrote: > No just the relevant parts. :-D My point exactly. What I meant to say was "oh please, don't quote everything all the time". - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cron job? or something else? help..
Hi, On Mon, 2009-12-14 at 08:51 +0100, Michel van Deventer wrote: > Hi, > > On Mon, 2009-12-14 at 09:46 +0200, Roland Roland wrote: > > Hello, > > > > i have a certain issue at hand that i'm trying to solve. > > > > there's a certain command that i need to execute 10 minutes after boot. > > how can i set that? im not very expert with cron jobs but can it be done > > that way? i know that cronjob works on specified time but how can i set > > it to run with '10 min after startup" as a condition ? > There's no such option in cron. But the easiest way to do this is to put > it in /etc/rc.d/rc.local like this : > > sleep 600 && > > this waits 600 seconds and (if succesfully) executes your command And (of course) slows down bootup :) Better put the sleep 600 in your script and start the script detached from /etc/rc.d/rc.local (with an & ) Regards, Michel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos