Displaying 20 results from an estimated 1000 matches similar to: "Swap priorities with swapon (Is my swap drive working?)"
2009 Jun 03
4
[OT] Simple Shell Script (while loop)
Hey Guys,
I can not find the corrent syntax for what I am trying to acheive with a
while loop. Having said that I'm not exactly sure what you would call it so
I have been googling with no success probably for that reason.
I am just working with some sub directories except there is one I don't want
to use so I have a while loop like the following; if we stubmle into the sub
directory I
2009 May 13
3
Shell Script Pointers?
Hey Listee's
I am trying to write a shell script to sort and compare my blacklist
for squidGuard with the nightly updates that come down in a tar ball.
It should be rather simple but I'm not to grate at this. The script is
to run nightly, it will download the latest blacklist tarball, un tar
it and then add any new entries to the existing black list. The
blacklists work by having a folder
2009 Feb 02
2
Redistributing CentOS
Hey Listees,
Just a quick question. I hope this isn't received incorrectly by
everyone as I do mean the best for the CentOS project;
I am wondering if it would be frowned upon to upload CentOS to my
RapidShare account. I understand I can freely distribute CentOS but to
what extent? In its simplest form I only really want to upload CentOS
5.2 to my RapidShare account for speed.
I had to
2008 Dec 23
2
Bash Script for Beginners! oh dear :'(
Hey guys,
I'm a bit of a beginner (understatement!) with shell scripting and
seek help! I am setting up our new squid proxy. Its working a treat
and squidGuard is the icing on the cake. But, I am trying to write a
shell script to search through our black list category's for
squidGuard and remove the parsed value;
Scenario:
/some/directory/where/blacklist/is/stored contains about 40-50
2009 Jan 06
1
xCache install error ($PHP_AUTOCONF?)
Hey Guys
I'm trying to install xcache on our web server (php optcode cacher)
but I am having the following error. I have download the xcache tar
ball, unzipped and when in the unzipped directory attempting to run
phpize but it fails with the following error:
[root at server1882 xcache-1.2.2]# phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend
2009 Jan 27
2
Upgrade to 5.3?
Hey Listee's!
I'm not that up on CentOS so I'd be curious to know if it is possible
to upgrade CentOS 5.2 to 5.3 without reinstalling? Perhaps via Yum? Or
can you get update RPMs?
I hope this doesn't pose to much of a stupid question.
Thanks for your help everyone.
Regards,
James ;)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++>
2009 Jun 10
3
Crontabs
Hey list,
I have several crontabs set up to run at night and I'm not convinced
they are running but of course, I'm not here to see for sure!
The crontabs are like the following example;
30 20 * * * sh /home/a_user/nightlyscrips/nightly_script_1 >
/home/a_user/nightlyscripts/`date +%d-%m-%Y--%H-%M-%S`.log
However, if this would have successfully ran last night I would surely
expect to
2009 Jun 03
3
System V Init Script
Hey Listees,
I have a question (hopefully quite simple) about the system V init scripts
in /etc/init.d. I have an app installed and for some reason it had no system
V init script. It has been installed a long while now so I can't quite
remember whats going on but basically I remember I wrote the init script my
self and the app is enabled as a service which chkconfig to run at system
levels 3,
2009 Mar 19
4
Being Green, Time to make the servers sleep!
Shadies and Mentlemen;
I am trying to be green and put our backup servers to sleep during the
day and have them wake on LAN and fire back up at night for our
nightly backups as "sleep" is a sort of low power usage mode.
(At this point I would be curious to know the different levels of
sleep, what can I achieve? Does my server just drop into a low power
state, or can I stop the hard
2009 Apr 29
3
Rsync/SSH automation problem?
Hi All,
I have a win2k3 server that its backing up to a CentOS 5.3 server. On
the Win2k3 machine I plan to have rsync back up nightly to the CentOS
server through ssh. The command I am using is as follows:
rsync -vrPtz -e ssh myuser at myserver:/remote/backup/folder/ /local/backup/folder/
This all works great for the inital test except its prompts me for a
password for "myuser" (as
2009 Jun 19
1
Shell Script: Simple array usage = bad substitution?
Hey Guys n Gals;
I have some arrays that I can't seem to expand correctly (if that's
the correct word?), imagine the following example:
#!/bin/bash
myArray=("First" "Second" "Third")
First=("Monday" "Tuesdays" "Wednesday")
Second=("One" "Two" "Three")
Third=("A" "B"
2008 Nov 25
0
Dell PE2970 with ATI RN50
Hey Guys,
I'm having a few troubles trying to get Cent OS 5.2 displaying correctly on
my Dell PowerEdge 2970 (I also have two PowerVault NF500 III's but they are
just getting a little screen lag at the minute, the 2970 is getting white
artifacts when I drag a window!).
Can anyone help me locate and correctly install some drivers. The 2970 has
an onbaord ATI RN50 as its an AMD board/CPU
2009 Jan 14
6
hardware info
Hi
How can I know the hardware info eg: type of memory
No need to turn off the machine
Thank you
2009 Jan 27
1
yum problem
Hi all
Am trying to update my system Cento
root at king Tue Jan 27 ~ $ yum update
Loading "fastestmirror" plugin
Determining fastest mirrors
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo:
2009 May 08
0
Hibernate Timeout
Hi Guys n Gals,
I've been trying to find out how to set the timeout value for how long
my machine will wait before it goes into hibernation via the terminal
but I can't find it anywhere? Does any one know?
Any help would be greatly appreciated.
Regards,
James ;)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$
2009 Jun 11
2
problems accessing: http://apt.sw.be/
Hi
Anyone else having problems to access http://apt.sw.be/
Regards
mg.
2009 Apr 04
4
Wake on LAN
Has anyone experience with WOL under Centos (5.3).?
If so, how exactly do you put the machine to sleep,
and how exactly do you wake it up remotely?
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin
2009 Jul 13
2
raid 1 disks upgrade
Hello all,
I have a machine with 2 SATA 250GB disks which I want to upgrade to 1TB
SATAs
This is the partition structure on both disks:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 fd
2010 Aug 07
6
ext4?
Listee's...
I have a 5.5 box and I have formatted a partition as ext4 however I
can't mount it, the mount command is telling me its an unknown file
system type. fsck tells me the partition is a clean ext4 partition but
I can't mount it.
Some reasearch has lead me to believe the problem is that ext4 isn't
enabled in the kernel by default in 5.5 (this was originally a 5.2 box
that
2009 Jan 27
6
More than 2TB RAID...
Hi,
I just received a new server (HP DL180G5) with 12x 1TB HDs and I bumped into fdisks 2TB limits...
Since this is an entry level server, I can't use the classic HP bootable utilities to create smaller volumes et can only create a big RAID6.
I found out that: using parted, labelling it gpt and creating the partitions would do the trick.
But, what about grub? I read that it does not support