[CentOS] File-system Corruption

2011-04-06 Thread James Bensley
Hi List, I suppose this isn't strictly CentOS but I'm talking about some 5.5 servers so I thought someone else here may have had the same issues; We power on servers at night via IPMI and shut them down the same way for automation. The problem I'm facing is that the servers are shutdown in about

[CentOS] Basic Bash Script Question

2011-02-21 Thread James Bensley
I'm stuck trying to work this one out and my Google skills are apparently lacking today. This is a test bash script; #!/bin/bash do something | tee a.log if [ $? -ne 0]; then echo broken fi The problem with this script is $? contains the exit value of the tee command, but I want to check the

Re: [CentOS] Basic Bash Script Question

2011-02-21 Thread James Bensley
On 21 February 2011 11:05, Pascal pax...@gmail.com wrote: man bash search for Pipelines, pipefail and PIPESTATUS. Great, thanks for that, pipefail is exactly what I need :) -- James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal,

Re: [CentOS] Authentication Problems

2011-02-18 Thread James Bensley
No --James. (This email was sent from a mobile device) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Authentication Problems

2011-02-16 Thread James Bensley
Hi List, We have a CentOS VPS running a web site in a DC far away. The chap that dev's this site told me he couldn't SFTP in yesterday, his password was being rejected (I went to his desk to confirm and saw it was telling him the password was incorrect but neither him nor me had changed it and we

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
On 16 Feb 2011 12:34, Nico Kadel-Garcia nka...@gmail.com wrote: Uh-oh. Has your developer, or you, been editing the /etc/passwd, /etc/shadow, /etc/group, or /etc/gshadow files manually? Nope. And do you use NIS or LDAP for authentication? Nope. And this is a publicly exposed webserver,

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
Thanks to all for your various replies On 16 February 2011 12:50, Nico Kadel-Garcia nka...@gmail.com wrote: Check the /etc/shadow and /etc/group for consistent numbers of entries, and /etc/group and /etc/gshadow. Do you mean duplicate entries? If so there are none of those. No, I mean

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
On 16 February 2011 13:00, ... wrote: you realize that there are no passwords in /etc/passwd, so if you delete /etc/shadow and rebuild it using pwconv there will be no passwords in the new /etc/shadow... depending on the exact state, you either won't be able to log in, or the machine will be

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
On 16 February 2011 14:17, m.r...@5-cent.us wrote: What does lastlog | grep -v Never show you? Hi Mark, This has shown something (potentially) interesting: [root@server ~]# lastlog | grep -v Never Username Port From Latest root pts/2x.x.x.x Wed Feb 16

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
On 16 February 2011 14:34, ... wrote: yes, that is what doing an su - user as *root* will do, which doesn't tell you much. instead of doing this from a root login, do it from a regular account (you don't routinely log in as root i hope - actually it sounds like you do). if this works, then

Re: [CentOS] Authentication Problems

2011-02-16 Thread James Bensley
Ok, everything is fixed now. I spoke with the VPS providers; The jailed shell was removed from the webdev user (and the webmaster user?) and they reset the password. I logged into ssh as the webdev user to change the password and they told me off for trying and said I must do it through

Re: [CentOS] User Details

2011-02-15 Thread James Bensley
On 3 February 2011 12:45, Nico Kadel-Garcia nka...@gmail.com wrote: But the result for normal users is that command like useradd, chkconfig, and service need to be typed out with their full path, such as /usr/sbin/useradd or /sbin/chkconfig. Thanks Nico, I was aware of this but I couldn't find

[CentOS] User Details

2011-02-03 Thread James Bensley
I have some questions on how I can perform the following actions from the terminal in CentOS 5.5 final. My Google searches aren't helping and I keep seeing references to the command 'useradd' but this isn't present on my box; -How to add a new user? $ useradd -bash: useradd: command not found

Re: [CentOS] Lost root access

2011-02-03 Thread James Bensley
On 2 Feb 2011 15:07, Robert Heller hel...@deepsoft.com wrote: At Wed, 2 Feb 2011 14:44:01 + CentOS mailing list centos@centos.org wrote: So on a virtual server the root password was no longer working (as in I couldn't ssh in anymore). Only I and one other know it and neither of us

Re: [CentOS] Lost root access

2011-02-03 Thread James Bensley
On 2 Feb 2011 16:36, m.r...@5-cent.us wrote: Well, if you could get on the system at all, and had sudo privileges, no problem. mark No sudo priv's, remote VM so ssh only to a stanard user not in sudoers. --James. (This email was sent from a mobile device)

[CentOS] Lost root access

2011-02-02 Thread James Bensley
So on a virtual server the root password was no longer working (as in I couldn't ssh in anymore). Only I and one other know it and neither of us have changed it. No other account had the correct privileges to correct this so I'm wondering, if I had mounted that vdi as a secondary device on another

Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5

2011-01-27 Thread James Bensley
Hello all, I've been reading this thread and have a question. I would like to set up passwordless ssh between two servers for some automated tasks but I don't like the paswordless key's option. How can I supply a passphrase when generating my keys but still have this process automated? --James.

Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5

2011-01-27 Thread James Bensley
On 27 January 2011 08:48, Cameron Kerr came...@humbledown.org wrote: I think 'keychain' is often used for this. It's a bit like ssh-agent, in that you unlock the key manually (eg. just after starting the system), but it can be accessed by other programs later. I've never used it myself. Ah

[CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
Hi List :) So, I have a folder1, its owner is user1 who has r+w on the folder. User2 is the group owner who only has read access (when I say user2, I mean the group called user2, because when you make a new user the OS can make them their own group). You can see these permissions below:

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
On 26 January 2011 10:17, Rafa Griman rafagri...@gmail.com wrote: Directories should have +x permissions. Do a: chmod    0750    /directory And see what happens. Hi Rafa, like a fool I sent that email and then worked this out shortly after :) Still, if I hadn't your response was quick so I

Re: [CentOS] Basic Permissions Questions

2011-01-26 Thread James Bensley
Thanks to all for your replies; the ability to set the group ID (SGID) was the solution I needed, thanks very much guys :D -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...?

Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-30 Thread James Bensley
We have an Intel Pro 1000 MT, quad port Gig NIC in a CentOS 5.5 box, works great. -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list

Re: [CentOS] Replacing disk in RAID array with bigger disk?

2010-12-15 Thread James Bensley
Side Note :Obviously backup what ever is on there! Back on track: Yes, you can replace the first disk with a bigger one, then the second at a later date and expand your LVM to fill out the remaining space. Read up on how to do this, depending on your set up; read about LVM growing/expanding, fs

Re: [CentOS] CENTOS 5 (X86 32 bits) only support 16 Gb RAM???

2010-11-16 Thread James Bensley
Eh? How can you have 16GBs on a 32bit kernel? -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] CENTOS 5 (X86 32 bits) only support 16 Gb RAM???

2010-11-16 Thread James Bensley
Doh! *facepalm*, PAE of course, read about it but not something I have ever used ;p -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list

[CentOS] VNC Question

2010-10-26 Thread James Bensley
Hi Everybody :) I'm sorry if this is unwanted noise but I'm struggling to find the answer to what is probably a ridiculously simply problem. Setup vncserver but it likes to run as a user (reading parameters from ~/.vnc/xstartup of the user the process runs as). When I start vncserver and connect

Re: [CentOS] Adding SAMBA users in Centos 5.5

2010-10-22 Thread James Bensley
Dump you smb.conf here, what would probably be easier to resolve :) -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list

Re: [CentOS] OT: linux desktop market share more than 1%

2010-10-07 Thread James Bensley
On 7 October 2010 13:05, Rudi Ahlers r...@softdux.com wrote: You can register on this site if you use linux on your desktop, to prove that we have at least more than 1% market share today :-) http://www.dudalibre.com/gnulinuxcounter?lang=en I'm not agreeing with this survey, *but*, there are

Re: [CentOS] EXT4 mount issue

2010-10-04 Thread James Bensley
On 4 October 2010 20:07, Steve Brooks ste...@mcs.st-and.ac.uk wrote: both are 11T and so I would prefer as much stability as possible, io performance is not an issue on either device just integrity so I thought the journal would be default and necessary. Any thoughts would be much

Re: [CentOS] ext4?

2010-08-09 Thread James Bensley
Hi Keith, thanks for your detailed reply. I haven't tried this yet.. What I have done is follow this tutorial to build the latest kernel (http://wiki.centos.org/HowTos/Custom_Kernel) which in the end game me an rpm of it for installation however when it came to install the rpm the follow was

Re: [CentOS] ext4?

2010-08-09 Thread James Bensley
On 9 August 2010 12:47, ... wrote:  If you want a production ready, fast, reliable, and robust file system with years and exabytes of proven history behind it, install and use XFS. Considering the problems I have been experiencing I had contemplate this however I have never used XFS before and

Re: [CentOS] ext4?

2010-08-09 Thread James Bensley
On 9 August 2010 12:54, James Hogarth james.hoga...@gmail.com wrote: Unless you have *very* specific circumstances there is no need to roll your own kernel and in terms of easing support it is preferred to use the vendor kernel and kmods for any modules not part of it that are required

Re: [CentOS] ext4?

2010-08-09 Thread James Bensley
On 9 August 2010 13:00, Robert Heller hel...@deepsoft.com wrote: Do the rpm install with --force.  This will forcably re-install the rpms. Yep, this is what I did to fix said issue, now I feel like a fool! However none of these files exist in /boot? Somehow when you installed the kernels

Re: [CentOS] ext4?

2010-08-09 Thread James Bensley
On 9 August 2010 14:03, Lars Hecking lheck...@users.sourceforge.net wrote: Considering the problems I have been experiencing I had contemplate this however I have never used XFS before and thusly would directing on ho to install the required kernel modules to allow for XFS use on this

[CentOS] ext4?

2010-08-07 Thread James Bensley
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

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 16:57, Laurent Wandrebeck l.wandreb...@gmail.com wrote: Use mount -t ext4dev. Sorry, I forgot to mention; I have reformatted the drive as ext4dev and it still wont mount, unknown file system type again! I verified it was OK with fsck and it says it is a clean ext4dev partition?

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 17:27, Bernard Lheureux bernard.lheur...@bbsoft4.org wrote: Did you first modprobe ext4dev before trying to mount it ? [nf5...@eros ~]$ modprobe ext4 FATAL: Module ext4 not found. [nf5...@eros ~]$ modprobe ext4dev FATAL: Module ext4dev not found. -- Regards, James.

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 17:41, Laurent Wandrebeck l.wandreb...@gmail.com wrote: so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. This is probably going ot provide the answer (to you atleast, its not so clear to me); `uname

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
[nf5...@eros boot]$ sudo cat /boot/grub/menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. #

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 19:10, Jerry Franz jfr...@freerun.com wrote: Correction: I forgot that on CentOS you want /boot/grub/grub.conf instead. [nf5...@eros /]$ ls -l /boot/grub/menu.lst lrwxrwxr-- 1 root root 11 Oct 27 2008 /boot/grub/menu.lst - ./grub.conf Same difference :p -- Regards, James.

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 19:33, Akemi Yagi amy...@gmail.com Please show the output of: rpm -qa kernel\* kmod\* | sort [nf5...@eros /]$ rpm -qa kernel\* kmod\* | sort kernel-2.6.18-128.1.6.el5 kernel-2.6.18-164.10.1.el5 kernel-2.6.18-164.15.1.el5 kernel-2.6.18-194.8.1.el5 kernel-2.6.18-92.el5

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 19:23, Robert Heller hel...@deepsoft.com wrote: sauron.deepsoft.com% rpm -qf /lib/modules/2.6.18-194.8.1.el5 kernel-2.6.18-194.8.1.el5 sauron.deepsoft.com% rpm -ql kernel-2.6.18-194.8.1.el5 | grep boot /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac /boot/System.map-2.6.18-194.8.1.el5

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 19:59, Akemi Yagi amy...@gmail.com wrote: They are all installed. Are you using RAID by any chance? Your grub.conf indicates that is from the second drive. /dev/sda1 / (ext3) /dev/sda2 /storage (the ext4 in question, hardware RAID5 3.4TB) /dev/sdb1 /boot (ext3) It seems like

Re: [CentOS] ext4?

2010-08-07 Thread James Bensley
On 7 August 2010 20:10, Keith Roberts ke...@karsites.net FWIW, I have installed GRUB to separate boot partition - not the MBR of the first hard drive. Whenever there is a kernel update, I have to mount and manually edit the /boot/grub/grub.conf file on the boot partition. Yum does not update

Re: [CentOS] OT: SysAdmin Stories

2010-06-06 Thread James Bensley
All nighters are bad news, mistakes are easily made at these times as we have all learnt the hard way ;) *cough* erased the backups and spent the night re-backing up data so nothing actually got done *cough* I do remember spending a few days putting together some systems check for my self and

Re: [CentOS] OT: SysAdmin Stories

2010-06-06 Thread James Bensley
I think Whit you have raised some deeper questions maybe about probability, sod's law, the uncertanty principle, karma, etc etc...Maybe a venn diagram covering luck and preparedness is in order, who knows, we/I am digressing I would like to point out that at home I'm pretty sure I'm jinxed;

Re: [CentOS] [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow

2010-05-27 Thread James Bensley
Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow Maybe you should start by contacting Harvard? This is a list for CentOS users, have you ever seen this fellow on here before? Maybe you should search the archives first? I noticed you also posted this

Re: [CentOS] [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow

2010-05-27 Thread James Bensley
On 27 May 2010 11:35, Mr. Teo En Ming (Zhang Enming) space.time.unive...@gmail.com wrote: Dear James, I apologize but I am really not spamming. I am really sending a genuine medical plea. But this isn't a genuine medical forum, someone has lied to you, the same goes for all the other lists

Re: [CentOS] question on CPU

2010-05-27 Thread James Bensley
How many processors are shown in your process monitor/activity monitor? -- Regards, James. http://www.jamesbensley.co.cc/ - There are only 10 kinds of people in the world, those who understand trinary, those who don't understand trinary and those who don't understand trinary.

Re: [CentOS] Unable to execute a script , Permission denied

2010-05-25 Thread James Bensley
How are you trying to execute the script, ./my script or sh ./my_script? -- Regards, James. http://www.jamesbensley.co.cc/ - There are only 10 kinds of people in the world, those who understand trinary, those who don't understand trinary and those who don't understand trinary.

[CentOS] Generic RAID question

2010-05-19 Thread James Bensley
Does anyone know if using unequal drives in a RAID 0 is possible? I was looking to set up a software stripe but if I have two volumes of unequal size I wish to stripe over, will the OS try and work around this by say only using as much space as is available on the smallest drive or is there

[CentOS] Rsync Directories

2010-05-12 Thread James Bensley
Hey List, I am setting up an rsync daemon (not something I normally do, I normally use rsync over ssh but I'm trying to set up an rsync server and have clients sync their local directories with what is on the server) and I am wondering about the directory entries within the rsyncd.conf. You can

Re: [CentOS] Rsync Directories

2010-05-12 Thread James Bensley
I have found the answer, u...@host::directory Note the double colons! -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] (no subject)

2010-04-10 Thread James Bensley
What is this supposed to be Mike? I can't get to the site, eventually it times out? -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] DHCP server and Windows XP clients : set hostname ?

2010-04-07 Thread James Bensley
To set the machine name of an XP machine, right click on My Computer, select Properties from the context menu, now in the properties dialog select the Computer Name tab and click the Change button. I am pretty sure (like 99% sure) XP machines can't be dynamically set a host name. We are a mostly

Re: [CentOS] [Fwd: Re: DHCP server and Windows XP clients : set hostname ?]

2010-04-07 Thread James Bensley
On 7 April 2010 19:18, Niki Kovacs cont...@kikinovak.net wrote: Well, it works. http://www.microlinux.fr/doc_en_stock/dhcp.html Amazing! So as a malicious employee, all I have to do is run a DHCP server that dishes out host names with the adress leases and then AD will be ruined as DNS records

Re: [CentOS] Sending mail from CLI to another SMTP host

2010-04-01 Thread James Bensley
http://www.rdpslides.com/webresources/FAQ00035.htm -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] internet connection tester script

2010-03-27 Thread James Bensley
On 27 March 2010 12:07, Jozsef Vadkan jozsi.avad...@gmail.com wrote: Why doesn't my internet-connection script work? When I plug the ethcable out, it just waits...and waits...and waits... The script: http://pastebin.com/AE9U1qdL This is a ping script I use to check my boxes are all up an

Re: [CentOS] internet connection tester script

2010-03-27 Thread James Bensley
On 27 March 2010 12:47, James Bensley jwbens...@gmail.com wrote: On 27 March 2010 12:07, Jozsef Vadkan jozsi.avad...@gmail.com wrote: Why doesn't my internet-connection script work? When I plug the ethcable out, it just waits...and waits...and waits... The script: http://pastebin.com

Re: [CentOS] internet connection tester script

2010-03-27 Thread James Bensley
On 27 March 2010 12:56, Alexander Dalloz ad+li...@uni-x.orgad%2bli...@uni-x.org wrote: Am 27.03.2010 13:48, schrieb James Bensley: Would help if I actually put the link in maybe? Doh! http://pastebin.com/raw.php?i=QRYHjDpQ Why `ping -c $PCount $hosts | grep 64 bytes | wc | awk {'print

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread James Bensley
I have one system with an 8-way RAID1 for the OS. For real or is that a typo? Is that incase you go on holiday for a week and a drive-dies-a-day? -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] RAID 5 setup?

2010-03-25 Thread James Bensley
I used this guide for my first RAID on an Ubuntu box, its very straight forward. Its all command line based so everything here I have used in CentOS (apart from the writer sets the RAID flag on his drives via the GParted GUI but this can be done via terminal);

Re: [CentOS] https question

2010-03-14 Thread James Bensley
You can turn this notification feature off somewhere in the Firefox preferences (haven't got it infront of me right now to tell you exactly where :S) -- Regards, James ;) ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] OT: Torrent software choice

2010-02-22 Thread James Bensley
Going Off Top; My condolences to you Laura this is sad to hear. Going On Topic; rTorrent with wTorrent does it for me. -- Regards, James ;) Stephen Leacock - I detest life-insurance agents: they always argue that I shall some day die, which is not so. -

Re: [CentOS] OT: Torrent software choice

2010-02-22 Thread James Bensley
There are various posts from Bob Taylor (bob8...@gmail.com) in the list archives; http://lists.centos.org/pipermail/centos/2009-September/082799.html http://lists.centos.org/pipermail/centos/2009-August/079998.html http://lists.centos.org/pipermail/centos/2009-August/080297.html

Re: [CentOS] OT: Torrent software choice

2010-02-22 Thread James Bensley
On 22 February 2010 20:31, Niki Kovacs cont...@kikinovak.net wrote: Sorry if this is not the place, but there's some quirk in the logic. If your late husband wrote to this list using his email address, then how comes you are using it without knowing his username and password? She said He would

Re: [CentOS] Hardisk cloning for centos-5.3

2010-02-15 Thread James Bensley
Clonezilla do a network version that does this, http://clonezilla.org/clonezilla-server-edition/ -- Regards, James ;) Stephen Leacock - I detest life-insurance agents: they always argue that I shall some day die, which is not so. -

Re: [CentOS] Gmail problem

2010-01-23 Thread James Bensley
I don't know if there is one, but I think the Gmail Drive app for windows simply connects to your mail account and files you store on there are actually attachments to drafts emails (its been a while so I might be wrong). I'm sure from Linux you could script this without to much difficulty? --

Re: [CentOS] error rsyncing large file

2010-01-20 Thread James Bensley
Don't want to sound like a spoil sport but you could scp it over and already be well on your way? -- Regards, James ;) Samuel Goldwyn - I'm willing to admit that I may not always be right, but I am never wrong. - http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html

Re: [CentOS] Lost mdadm.conf

2010-01-01 Thread James Bensley
2010/1/1 Luciano Rocha stra...@nsk.no-ip.org: On Thu, Dec 31, 2009 at 04:40:56PM +, Joseph L. Casale wrote: Not all rescue environments have MAKEDEV or have it in $PATH, so this should always work. ;) Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones with

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
2009/12/31 Luciano Rocha stra...@nsk.no-ip.org: On Thu, Dec 31, 2009 at 11:39:25AM -0400, robert mena wrote: Hi, I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to mount the filesystem again.  So I've booted using rescue but I was wondering if I can do a command like

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
Now you've got your array working give us a fuller picture, how many hard drives have you got, in what configuration, how many arrays, how many partitions, what file systems, output of mount command, fstab details etc etc -- Regards, James ;) Jonathan Swift - May you live every day of your

[CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
-- Forwarded message -- From: robert mena robert.m...@gmail.com Date: 2009/12/31 Subject: Re: [CentOS] Lost mdadm.conf To: CentOS mailing list centos@centos.org each map to a different mdX.   I've been able to mount the /boot but no other. --- So have you got one

[CentOS] mdadm help

2009-12-20 Thread James Bensley
Hey List, So I had a 4 drive software RAID 5 set up consisting of /dev/sdb1, /dev/sdc1, /dev/sdd1 and /dev/sde1. I reinstalled my OS and after the reinstall I made the mistake of re-assembling the array incorrectly by typing sudo mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd /dev/sde in a

[CentOS] Apache + auth_mod_kerb + Active Directory = SSO

2009-12-17 Thread James Bensley
Hey List, I have been setting up SSO on our Intranet Apache server. All seems well, I think I have just about cracked it but it seems a little rough around the edges; I enabled auth_mod_kerb, and created a test directory in my web root (/secure) and added a directory directive under the

Re: [CentOS] [OT] Urgent request

2009-12-17 Thread James Bensley
The server is running c-sytems software on a sco operating system.  They tell us we can't pull the hard drive and move it to another pc - something about a bug causing it to lose data. Pull out the drives, mirror them and then put them back, put the mirroed drives in a spare desktop pc and

Re: [CentOS] Migrating to RAID

2009-12-10 Thread James Bensley
You will have to reinstall because if you add two more 500GB drives to make your set up into a three drive horse, you then need to format each drive and synchronise them together creating the new logical RAID volume so no data can be kept on said disks prior to the creation of the RAID. HTH! --

Re: [CentOS] Unable to share directory via Samba?

2009-12-10 Thread James Bensley
Thanks for all the input everyone, Basically I trashed the smb.conf and the folder I wanted to share, restarted the machine, re-wrote the smb.conf (again) and re-made the directory and set permissions etc, restarted the machine and all is well! Thanks all for your input it has helped me write

Re: [CentOS] .htaccess and ?

2009-12-10 Thread James Bensley
You might have to enable re-writes in you Apache conf? Or did I imagine that??? -- Regards, James ;) Stephen Leacock  - I detest life-insurance agents: they always argue that I shall some day die, which is not so. ___ CentOS mailing list

[CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
So I went to System Administration Server Settings Samba and added a folder to share and initially set it to guest access to get things going. I couldn't access this one and only share on this server with guest access from either my Windows laptop (XP Pro SP3) or a Leopard server (10.5.8) so

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
The server is called Mars with one user, Mars! [m...@mars ~]$ testparm Load smb config files from /etc/samba/smb.conf Processing section [homes] Processing section [printers] Processing section [hestia] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
This is the repeating entry from my smbd.log from every time I try to mount the share via samba; [2009/12/01 09:32:59, 0] lib/util_sock.c:get_peer_addr(1224) getpeername failed. Error was Transport endpoint is not connected I had read online that this can be caused by samba not making its mind

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
Hmm some progress has been made. I removed the smb.conf file and wrote a new one manually but for some reason it only wants to let me connect as Guest and not a real user with some privileges? [global] workgroup = my group server string = Mars netbios name = Mars security = SHARE load printers

Re: [CentOS] Unable to share directory via Samba?

2009-12-01 Thread James Bensley
No I haven't but thanks for having a guess xD -- Regards, James ;) Ogden Nash - The trouble with a kitten is that when it grows up, it's always a cat. - http://www.brainyquote.com/quotes/authors/o/ogden_nash.html ___ CentOS mailing list

[CentOS] GGI or Server Based Proxy Recommendations

2009-11-26 Thread James Bensley
Hey List, Can anyone recommend any software like that at http://proxify.co.uk/ for me to install on a server for use as a http proxy? TIA, -- Regards, James ;) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] GGI or Server Based Proxy Recommendations

2009-11-26 Thread James Bensley
I didn't think you could access squid via a web front end like proxify.co.uk? -- Regards, James ;) Mike Ditka - If God had wanted man to play soccer, he wouldn't have given us arms. - http://www.brainyquote.com/quotes/authors/m/mike_ditka.html ___

Re: [CentOS] GGI or Server Based Proxy Recommendations

2009-11-26 Thread James Bensley
Haven't used webmin in a while, I'll give a go! -- Regards, James ;) Pablo Picasso - Computers are useless. They can only give you answers. - http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] SAMBA vs NFS

2009-11-26 Thread James Bensley
I think the file locking only causes a problem with windows clients because of certain files types such as Access databases (.mdb) wanting to lock the file so that other users don't open the same database and corrupt data, for example. -- Regards, James ;) Charles de Gaulle - The better I get

Re: [CentOS] RAIDs and JBOD?

2009-11-16 Thread James Bensley
Ok, I'm back again... Thanks again to all for more replies and info, all the info of the list members is really appreciated. So I have found this card and wondered if anyone has a second opinion on it (http://www.supermicro.com/products/accessories/addon/AOC-SAT2-MV8.cfm). Seeing as it states on

Re: [CentOS] RAIDs and JBOD?

2009-11-16 Thread James Bensley
Thanks for the speedy replies guys, I had an itch, so I itched it; In the back of my head I couldn't help but think I had miss-read the details about my mobo and that it was PCI-E not PCI-X and I was right, so the previous card is no longer an option although I am not liking the look of it thanks

Re: [CentOS] OMG! Microsoft patents sudo! Linux and MacOS dead!

2009-11-12 Thread James Bensley
Worked for me, see http://downforeveryoneorjustme.com/ -- Regards, James ;) Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. ___ CentOS mailing list

Re: [CentOS] RAIDs and JBOD?

2009-11-10 Thread James Bensley
Thanks all for the promptness of your responses and the details you have provided it is greatly appreciated. Since this is a home media server performance isn't imperative and mirroring and RAID 10/0+1 are too expensive so I am going to use my three existing drives of different manufactures as

[CentOS] CentOS Mirrored On RapidShare [Links Here]

2009-11-01 Thread James Bensley
Hey List, Firstly I am sorry for the length of this email and that you are all having too receive it but the point is that this email will now go into the archive and be indexed by Google (hopefully) and thusly, people will be able to find these links through Google. My goal is to mirror CentOS

Re: [CentOS] To all of the group

2009-10-22 Thread James Bensley
Wait a minute, didn't someone just try and offer their help to the community; Where in their email did they mention cpanel? 2009/10/22 Christopher Chan christopher.c...@bradbury.edu.hk DTS-Corp (Knowledgebase) wrote: I am pretty much a newbie at CentOS, and Linux on client side, Just in

Re: [CentOS] To all of the group

2009-10-22 Thread James Bensley
2009/10/22 Chan Chung Hang Christopher christopher.c...@bradbury.edu.hk Sorry, got mixed up. I thought he was talking about what he was doing for his company. Just kind of wary of people who go: Calling all Hackers but they actually mean Calling all Crackers Now what are you on about, are

Re: [CentOS] To all of the group

2009-10-22 Thread James Bensley
Agreed! http://theweekendhaslanded.org/ 2009/10/22 Chan Chung Hang Christopher christopher.c...@bradbury.edu.hk James Bensley wrote: 2009/10/22 Chan Chung Hang Christopher christopher.c...@bradbury.edu.hk Sorry, got mixed up. I thought he was talking about what he was doing for his

Re: [CentOS] vncserver startup error??

2009-10-07 Thread James Bensley
I have no idea what your issue is but for us vncserver works great. If you are having a lot of difficulties then I would suggest un-installing it and starting again as it works pretty well; i.e. all you have to do is install and configure it like any other program and it works. We didn't have any

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-28 Thread James Bensley
Hi All, Thanks for all your replies. I understand what I have to do now and have read several tutorials to get a good grasp of everything. All your input has been greatly appreciated. Thank you all. Regards, James ;) -- Jonathan Swift - May you live every day of your life. -

[CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread James Bensley
Hey List; I have no experience with software RAIDs; at work we only use hardware RAIDs and I'm looking to implement, probably a RAID 5 set up at home for a media server however I have a few questions; I have three 1TB drives in various places; one is inside a USB caddy, one is inside my PC and

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread James Bensley
2009/9/27 aurfal...@gmail.com: you must format those drive to the desired fs after raiding them Those where my initial thoughts, damn it! Hmm, going to have to bring a sand box server home from work, oh the hassle. Thanks for the confirmation though. ... md (software raid mechanism or watever

  1   2   >