[CentOS] File-system Corruption
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 2 seconds. IPMI provides remote access to the power features as we know so I don't think the OS has a chance to do a 'graceful' shutdown. One server in particular is told to shutdown at say 07:00am, the last scheduled task on there should finish around 06:30 so there is a half hour window for over run. It now has a corrupt XFS file system which I am repairing as we speak. I am wondering if this could be a possible cause of these problems? Perhaps if that last tasks over runs a couple of times and it gets powered off in the middle of the tasks? (These are backup servers rsyncing from other servers) Does anyone here have problems with this? -- 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 http://lists.centos.org/mailman/listinfo/centos
[CentOS] Basic Bash Script Question
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 exit value of whatever command I put in place of 'do something'. How can I achieve this without loosing the tee operation, as 'do something' maybe a long running command with a lot of output like rsync? I don't want to; result=`do something` if [ $? -ne 0... fi echo $result As that won't output anything until the script has finished (the reason for the tee is that this script will be a scheduled cron tab but it may be run interactively sometimes also). Thanks for reading :) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Basic Bash Script Question
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, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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
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 are the only two with access to this VPS). So I logged in as root and reset his password, be he still couldn't log in (same problem, claiming the password was wrong). [root@server ~]# passwd webdevuser Changing password for user webdevuser. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updates successfully. I tried to SSH in as the web dev user and it wouldn't let me in. Returning back to my root console window; [root@server ~]# su - webdevuser [webdevuser@server ~]# passwd Changing password for user webdevuser. Changing password for webdevuser. (current) UNIX password: passwd: Authentication token manipulation error Firstly; I am stracthing my head as to why his password was no longer working in the first place? Secondly; Why I can't reset it? Googling around many people suggest there is a discrepancy between the /etc/passwd and /etc/shadow files and by deleting /etc/shadow and using pwconv to recreate shadow and the same for /etc/groups, deleting gshadow recreating it with grpconv will solve the problem but I still can't login as the web dev user. Any ideas anyone? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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, right? How fast can you rebuild it if it's been rootkitted? How long is a peice of string? As quick as I can reupload the data, but thats another issue for another day. 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. Do you have other users who can still log in or not? There is only the root and web dev user on this box. Thanks for your input Nico :) --James. (This email was sent from a mobile device) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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 the sam enumber of entries. wc /etc/shadow /etc/passwd cut -f1 -d: /etc/shasow /etc/passwd | sort | uniq -c This came back 2 for each user, so no differences. And actually go line by line down these files, checking for matching usernames, correct layout of ':' separated entries, correct numbers of entries, and blank lines. I've seen serous problems where one or ther other of these files were corrupted by something, especially badly written installer scripts that only edited /etc/passwd directly and ignored /etc/shadow, or which mishandled $ entries in newly created encrypted passwords. I'm now going through this although its all looking intact. Do you have other users who can still log in or not? There is only the root and web dev user on this box. Are you *sure*? Can you back this thing up for review and rebuilding? It might be safest to image it for analysis and simply rebuild it. Yes, but I like to fix things. If I can't fix this I will restore the box but for now I'm going to continue troubleshooting. The root user and web dev user are the only two that have hash value in the passwd file so I would expect this to mean they are the only two users than can actually log in? On 16 February 2011 12:59, David Sommerseth d...@users.sourceforge.net wrote: - Could the account have become locked somehow? (passwd -u $user) Or could the account have become expired? [root@server ~]# passwd -u futuread. Unlocking password for user futuread. paswd: Success. But I still get access denied. - Are the permissions strict on the users ~/.ssh? (0700 on the directory, and 0600 on any files inside that directory - like authorized_keys ...) If I remove execute permissions form the web dev home folder a website will stop working, its within that users home folder. I.e. virtual site1 is inside the home folder of user 'virtual1' and virtual site2 is within the home folder of the user 'virtual2'. The web dev chap logins in as say virtual1 and edits all sites with that account. There is no .ssh subfolder in the home folder? Could this be the problem? If he saw it in there and deleted it perhaps (although I imagine it would just be recreated if needed?). - Is SELinux in Enforced mode and are the SELinux file context correct on /home? (restorecon -rv /home) [root@server ~]# getenforce Disabled Also double check /var/log/messages, /var/log/secure and /var/log/audit/audit.log carefully when trying to log in as that user. /var/log/audit is empty. Is this normal, this VPS comes initially configured from the provider? /var/log/messages and /var/log/secure both just show a generic invalid login attemp: /var/log/messages: Feb 16 13:53:58 server1882 sshd(pam_unix)[16225]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=1.2.3.4 user=webdevuser /var/log/secure: Feb 16 13:53:50 server1882 sshd[16225]: Failed password for futuread from :::1.2.3.4 port 1536 ssh2 On 16 February 2011 13:08, Kwan Lowe kwan.l...@gmail.com wrote: A lot of things can cause this, including a full /var filesystem :/ Nope, only %75 full (60GB filesystem), there's some room left in her yet ;) Thanks everyone for your help so far its really appreciated. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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 totally open. Yes sorry I meant that the other way round :) i'd suggest looking at the log files (/var/log/secure and .../messages), for indications of why you're having trouble logging in as the other user. you can also, in a terminal window from a mere mortal (not root) login, try: su - user as that may give you some feedback. something like having an invalid shell will cause what you're seeing. As root, if I 'su - webdevuser' it doesn't prompt me for a password and drops me in as the user, presumably what is intended? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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 13:41:40 + 2011 webmasterpts/2y.y.y.y Sun Dec 14 03:46:07 + 2008 So, I am logged in as root right now, however, the 'webmaster' entry is what is interesting me. The y.y.y.y address is the web dev's address (he hasn't logged in since sunday, he notified my yesterday when he tried to get back on that he couldn't). However he always uses the webdev account which lastlog shows as never logged in, so when accessing the VPS as the webdev user account are we somehow actually accessing the VPS as webmaster? Is it possible the VPS providers performed some crazy voodoo magic here? Perhaps I should change the password for the webmaster account (this doesn't have one according to the passwd file), so I could 'su - webmaster', set a password and then try and login as the webdev user? Or is this possibly going to make matters worse? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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 the issue isn't with the password or shell. No other user is allowed to execute /bin/su :) (This is something the VPS providers have put in place, apart from root, all other users for each virtual site have their shell set to /usr/local/cpanel/bin/jailshell or /usr/local/cpanel/bin/noshell) by the way, it doesn't sound like the accounts on this machine are set up very well. you should *never* log in as root (that capability should be disabled actually). rather you should log in to a regular, unprivileged, account and su (or sudo) to root only when you need to do something privileged and only for that moment. your developer's access sounds rather odd too, with the seeming lack of separation between the login and the site content. Its not my server so those aren't my decisions to make. I don't normally allow root ssh, I would have probably installed fail2ban, set up SELinux blah blah blah and many other things but this isn't my VPS, I've just been tasked with it so this is the way it is! :s -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Authentication Problems
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 WHM/cPanel. I suspect there is some crazy arrangement here I don't know about and there is some link between those two accounts. When I tried (apparently wrongly) to change the webdev users password I still got passwd: Authentication token manipulation error but they said to leave it alone?! I'm just glad its over, thanks everyone for your support :D -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] User Details
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 the useradd command at the time This also means that if you become root by doing a sudo' command, it doesn't get added to your PATH. without some additional options. I see, I didn't know this, this is why I was being thrown because when using sudo I wasn't temporarily inheriting root's $PATH. This makes sense. -How to set/change an existing users home folder path /usr/sbin/useradd -d [new directory] -How to list all users getent passwd -How to list all groups getent group These getent commands will also pull NIS or certain types of LDAP data, and mix it with the contents of /etc/passwd or /etc/group, just for your information. Unsorting them can be awkward. This is all very user, thanks very much :D Despite being told here the answer, I found it myself when logged in as root, 'which' showed me the full path, like 'locate' so logging back in as my normal user I was able to 'sudo /usr/sbin/useradd '. Many thanks all! -- 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 http://lists.centos.org/mailman/listinfo/centos
[CentOS] User Details
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 (This is the same for my normal user and when logged in as root) -How to set/change an existing users home folder path -How to list all users -How to list all groups Sorry if this seems trivial but I am actually stuck on this :) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lost root access
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 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 VM, browsed the file system and delete /etc/shadow would this have wiped all users passwords meaning I could regain access again? No, it would not have. It would have resulted in NOONE having access. What you could have done is chroot to the secondary device on the other VM and then simply reset the root password with the passwd command. Of course! Good idea, thanks. --James. (This email was sent from a mobile device) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lost root access
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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Lost root access
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 VM, browsed the file system and delete /etc/shadow would this have wiped all users passwords meaning I could regain access again? (This is past tense because its sorted now but I'm curious if this would have worked? And if not, what could I have done?). -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5
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. (This email was sent from a mobile device) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5
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 yes, I see thats what Nico also suggested. Thanks you two, this is all up and working just great :D -- 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 http://lists.centos.org/mailman/listinfo/centos
[CentOS] Basic Permissions Questions
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: [user2@host test]$ ls -l drw-r- 3 user1user2 28 Nov 2 16:17 folder1 How ever user2 can not 'cd' into this directory, and gets the following out put form 'ls -l folder1' [user2@host test]$ ls -l folder1/ total 0 ?- ? ? ? ?? sub-folder And the sub-folder name is written in white text flashing on a red background. So, it seems to me that there is some permissions problems here. What permissions are required on the group settings to allow a group user to browser folder1 and its sub folders and read the files in side if it isn't 'r' ? **Note: I have used sudo to replicate permissions through the directy structure: [user2@host test]$ sudo ls -l folder1/ drw-r- 2 user1 user2 4096 Jan 24 06:49 sub-folder -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Basic Permissions Questions
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 wouldn't have been waiting long. This leads me onto a new question though; If user1 writes a file in folder1 will user2 be made the default group owner, is there a way of enforcing this and with the required privileges (r for files, rx for directories?). User1 accesses folder1 over smb so I could set up a create mask but other folders accessed by users1 not via smb (ssh, rsync etc) I still want user2 to have read only access. Can you implement smb style create masks at a file system level? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Basic Permissions Questions
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...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)
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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing disk in RAID array with bigger disk?
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 expanding, also how your hardware RAID card work in this set up (it might not allow the growth of existing volumes?). Its perfectly achievable just need to know how for your specific situation. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CENTOS 5 (X86 32 bits) only support 16 Gb RAM???
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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CENTOS 5 (X86 32 bits) only support 16 Gb RAM???
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@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] VNC Question
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 in I am dropped into a running copy of X of that users desktop, how can I instead have it display the login screen instead? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Adding SAMBA users in Centos 5.5
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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: linux desktop market share more than 1%
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 several times more users already registered here? http://counter.li.org/ -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EXT4 mount issue
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 appreciated. My two pence would be to switch to XFS then, much more stable (not that ext4 is particularly unstable, but XFS is rock, IMO). -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 displayed; package kernel-2.6.18-194.8.1.el5.x86_64 is already installed file /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac from install of kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package kernel-2.6.18-194.8.1.el5.x86_64 file /boot/System.map-2.6.18-194.8.1.el5 from install of kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package kernel-2.6.18-194.8.1.el5.x86_64 file /boot/config-2.6.18-194.8.1.el5 from install of kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package kernel-2.6.18-194.8.1.el5.x86_64 file /boot/symvers-2.6.18-194.8.1.el5.gz from install of kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package kernel-2.6.18-194.8.1.el5.x86_64 file /boot/vmlinuz-2.6.18-194.8.1.el5 from install of kernel-2.6.18-194.8.1.el5.x86_64 conflicts with file from package kernel-2.6.18-194.8.1.el5.x86_64 However none of these files exist in /boot? [nf5...@eros ~]$ ls -la /boot total 5727 drwxr-xr-x 4 root root1024 Aug 9 12:04 . drwxr-xr-x 25 root root4096 Aug 9 11:46 .. -rw-r--r-- 1 root root 62395 Jun 11 2008 config-2.6.18-92.el5 drwxr-xr-x 2 root root1024 Aug 9 11:34 grub -rw--- 1 root root 2544058 Oct 27 2008 initrd-2.6.18-92.el5.img drwx-- 2 root root 12288 Oct 27 2008 lost+found -rw-r--r-- 1 root root 80032 Nov 22 2007 message -rw-r--r-- 1 root root 92749 Jun 11 2008 symvers-2.6.18-92.el5.gz -rw-r--r-- 1 root root 1162656 Jun 11 2008 System.map-2.6.18-92.el5 -rw-r--r-- 1 root root 1859484 Jun 11 2008 vmlinuz-2.6.18-92.el5 This must some how relate to the fact the boot is on a different device, so where does CentOS think /boot is? I mean, the system is booting, has been for a few years so its working? If I unmount /boot I can't ls /boot, its empty? [nf5...@eros ~]$ df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 28G 8.3G 18G 33% / /dev/sdb1 119M 12M 103M 10% /boot /dev/sda2 is a 3.3TB ext4 partition, so /dev/sda uses GPT hence /boot being on a seperate device. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 thusly would directing on ho to install the required kernel modules to allow for XFS use on this particular box (if that is indeed what is required and presumable some XFS formatting and partitioning tools etc?) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 Agreed, I was just trying to rebuild a forcefully install a newer kernel which is why I took this step... Does verifying the kernel RPM show anything missing? rpm -V kernel-2.6.18-194.8.1.el5 Yes it said that /boot/vmlinz. and /boot/initrd. where all missing *So long as* uname does not show the kernel version as the current one try to do: yum reinstall kernel-2.6.18-194.8.1.el5 This *should* reinstall that kernel and with the files in place grubby should pick it up in the grub rebuild... After reinstalling the kernel check grub.cfg and /boot and see if they are pointing to the most recent kernel. I assume this would fix my issue, instead I ran; sudo rpm -ivh --force kernelrpm and that produced the results you predicted, and now after a reboot I ahve ssh'ed back in and... [nf5...@eros ~]$ uname -a Linux eros 2.6.18-194.8.1.el5 #1 SMP Sun Aug 8 13:16:09 BST 2010 x86_64 x86_64 x86_64 GNU/Linux [nf5...@eros ~]$ df -h FilesystemSize Used Avail Use% Mounted on /dev/sda1 28G 8.3G 18G 33% / /dev/sda2 3.4T 198M 3.2T 1% /backup /dev/sdb1 119M 18M 97M 16% /boot tmpfs1004M 0 1004M 0% /dev/shm Bloody cushty mate ;) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 before /boot was not mounted or something. Question: is /boot mounted readonly? No its not, its read and write however maybe as you mentioned the last time the box was update /boot may not have been uninstalled, not that I would ever un-mount it, but I wouldn't of thought to check that is was mounted. Some food for thought for next time! Thank you. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 particular box (if that is indeed what is required and presumable some XFS formatting and partitioning tools etc?) dmapi kmod-xfs xfsdump xfsprogs Nice, now I am on XFS :) Many thanks to everyone on the list who helped me along my (albeit slow and n00b-ish) path :D -- 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 http://lists.centos.org/mailman/listinfo/centos
[CentOS] 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 has been upgraded over time, its now on 2.6.18). I'm struggling to find some idiots steps to either get the kernel rebuilt or use the CentOSPlus repo's to get the ext4 module for the kernel etcCan anyone point me at an idiots guide to make this work? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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. 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 -r` tells me I'm on kernel 2.6.18-92.el5. Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required module but its not active, or something? I'm going to say I need to recompile my kernel and include the module since its present on my box or work out why the newer kernel files are present but not in use? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
[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. # root (hd1,0) # kernel /vmlinuz-version ro root=/dev/sda1 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd1,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.el5) root (hd1,0) kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-92.el5.img I only have one kernel listen which is why I assume I am behind, I think yum has been getting new kernels but not building them and editing the grub meun. vmlinuz-2.6.18-92.el5 and initrd-2.6.18-92.el5.img is the only kernel in /boot? I don't want to be a bother so can point me at a resolution i.e. point me at some documentation on how to make a new kernel image out of the resouces in /lib/modules/2.6.18-194.8.1.el5 and I shall do so. Many thanks to you all so far your help is greatly appreciated. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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. 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 kernel-headers-2.6.18-194.8.1.el5 -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 /boot/config-2.6.18-194.8.1.el5 /boot/initrd-2.6.18-194.8.1.el5.img /boot/symvers-2.6.18-194.8.1.el5.gz /boot/vmlinuz-2.6.18-194.8.1.el5 /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko It looks like somehow your /boot/grub/grub.conf file is not getting updated. Is grubby / mkinitrd installed? (You didn't do something like uninstall mkinitrd? or delete /sbin/grubby?) sauron.deepsoft.com% rpm -qf /sbin/grubby mkinitrd-5.1.19.6-61.el5_5.2 [nf5...@eros /]$ rpm -qf /sbin/grubby mkinitrd-5.1.19.6-61.el5_5.2 mkinitrd-5.1.19.6-61.el5_5.2 [nf5...@eros /]$ rpm -qf /lib/modules/2.6.18-194.8.1.el5 kernel-2.6.18-194.8.1.el5 [nf5...@eros /]$ 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 /boot/config-2.6.18-194.8.1.el5 /boot/initrd-2.6.18-194.8.1.el5.img /boot/symvers-2.6.18-194.8.1.el5.gz /boot/vmlinuz-2.6.18-194.8.1.el5 /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko (/boot/*.2.6.18-194.8.1.el5, none of these files exist?) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 grub and/or yum have gone wrong somewhere over the years and perhaps downloaded new kernels but not installed them? What would be a solution I should seek to achieve, compile them myself? Or is there a way I can tell my CentOS box these are here, look you fool, use them!? -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
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 it, as it doesn't know where it is. I prefer this behaviour, as it means I have total control over which kernel is running, even after a kernel upgrade. I also make backup copies of all kernel files, just in case I need to regress to a previous version, that yum may have removed. This sounds like what might be happening tome although I'm not sure how to resolve this? As I have mentioned before, in /lib/modules there are sub folders for various kernels leading upto the newest release I believe so how can I compile those into a vmlinuz image to go into /boot (if that is indeed what needs doing?) -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: SysAdmin Stories
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 my colleague to use such as daily, weekly and monthly systems checks for all IT aspects (physical, virtual, power, redundancy, connectivity etc...) only to have something fail the next day (so it really paid off!) and then nothing has broken since?...Just goes to show you never know! Also recently upgraded my personal Ubuntu server to a RAID 6 from a RAID 5 (about a week ago) and now it looks like one of the drives is dying, again, just in time! -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and 9 others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: SysAdmin Stories
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; my ubuntu server has decided X ins't going to work any more, nor the sound (may be related) and the raid is dying, all on the same day?!?!?! -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and 9 others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow
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 message to the Ubuntu tech help mailing list; have you ever seen him on there either? Who is the bloke anyway? Is he just some bloke who has nothing to do with either CentOS or Ubuntu because if that is the case what are you doing? Use a phone book, contact Harvard, use Facebook, whatever. What are the odds of someone here knowing him? Btw, does anyone here have some contact details for Batman? Do you also know how I can contact all the justices of the Judicial Committee of the UK Privy Council and all the Lords of the UK House of Lords? According to the UK Parliament website, it says that many Peers do not have public email addresses. Write them a letter, ring them up, I don't know and I don't care, stop sending this email to multiple lists which I also happen to be on and spamming my inbox. This is not a directory service. -- 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [URGENT] Assistance Requested in Looking for Dr Francis T. Seow, Harvard Law School Research Fellow
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 you have been writing to. You are by definition, spamming and thusly violating the list rules and etiquette, may the admins have mercy on YOU! I wouldn't. -- 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] question on CPU
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. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to execute a script , Permission denied
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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Generic RAID question
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 anyway it will use all of both drives? Does it have to be a perfect block/byte balance across drives? (I'm assuming yes?) -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Rsync Directories
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 add entries in the rsyncd.conf file for directories such as; [Example] comment = My example directory path /to/example/dir When using rsync on the client side, how do I specify to only sync the directories in my rsync daemon config file. As I said, I normally use rsync over ssh and just rsync options /local/dir u...@host:/remote/dir how can I say rsync options u...@host /local/folderlist and have it sync all the folders configured in the server's rsync.conf to a folder on a client called /local/folderlist? -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rsync Directories
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)
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 ?
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 Windows environment with some CentOS for file and web severs but our main network management is done by Windows and I have never seen such an option unless you can hack this together yourself some how (which I would be very interested to see if you did). -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Fwd: Re: DHCP server and Windows XP clients : set hostname ?]
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 will be wrong and computers won't match their accounts in AD? -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Sending mail from CLI to another SMTP host
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
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 running each morning, change the IPs for a few hosts i.e. www.google.com, www.yahoo.com, www.youtube.com etc and hopefully that will help you. Also try not to post the same question to two mailing lists at the same time, I am having to cross post so that if my reply helps you, it gets archived on both lists ;) -- 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
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/AE9U1qdL This is a ping script I use to check my boxes are all up an running each morning, change the IPs for a few hosts i.e. www.google.com, www.yahoo.com, www.youtube.com etc and hopefully that will help you. Also try not to post the same question to two mailing lists at the same time, I am having to cross post so that if my reply helps you, it gets archived on both lists ;) Would help if I actually put the link in maybe? Doh! http://pastebin.com/raw.php?i=QRYHjDpQ -- 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
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 $1'}' when `ping -c $PCount $hosts | grep -c 64 bytes' is sufficient? Hah! Didn't think of the -c, a lapse on my part. Thanks for pointing that out ;) -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID 5 setup?
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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID 5 setup?
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); http://bfish.xaedalus.net/2006/11/software-raid-5-in-ubuntu-with-mdadm/ -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] https question
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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
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. - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
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 http://lists.centos.org/pipermail/centos/2009-April/075045.html Again, my condolences Laura. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Torrent software choice
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 boot up the system and then I would do my email, documents, etc.. So she can't get on the computer not his emails. She could of used the forgotten password feature and rest his email password or just known it anyway, but doesn't know the password for their actual computer silly :P -- Regards, James ;) Jonathan Swift - May you live every day of your life. - http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hardisk cloning for centos-5.3
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. - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gmail problem
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? -- Regards, James ;) Joan Crawford - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. - http://www.brainyquote.com/quotes/authors/j/joan_crawford.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] error rsyncing large file
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lost mdadm.conf
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 software raid... Nothing is easier than simply: # mdadm --detail --scan --verbose /etc/mdadm.conf And that actually *does* work in all environments... Does that create the /dev/md* devices? I mean, a *scan* shouldn't change the filesystem, should it? That's the problem that line tries to fix: that there's no mdX device in /dev... I think after adding those details to your mdadm.conf and restarting your /dev/md* devices would be created? -- Regards, James ;) Charles de Gaulle - The better I get to know men, the more I find myself loving dogs. - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lost mdadm.conf
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 this safely (i.e without losing the data previously stored). mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /dev/sda1 /dev/sdb1 Where of course the raid devices and the /dev/x are the correct ones I can't say this with 100% certainty but I would of thought that it would been fine. I've lost my mdadm.conf (reinstalled OS) with a separate 4 disk RAID 5 array and re-assembled the array and carried on as if nothing had happened. Use sudo mdadm -E --scan do get a list of discovered RAID devices like this example: ARRAY /dev/md0 level=raid0 num-devices=2 UUID=fde94900:3f3f3bf6 Pop the results in your mdadm.conf and that should sort you out after a reboot (I think). Also try something like sudo mdadm --assemble /dev/md1 /dev/sdb1 /dev/sdc1 to assemble the RAID manually. -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lost mdadm.conf
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 life. - http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Lost mdadm.conf
-- 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 RAID0 which is partitioned into /boot, /tmp, / .etc etc? If /boot is mounting then try booting the machine normally? -- Regards, James ;) Samuel Goldwyn - I don't think anyone should write their autobiography until after they're dead. - http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mdadm help
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 moment of stupidity. Obviously this didn't work and the array wouldn't mount and after a short period I realised my mistake and re-issuing the same command but specifying each drive partition (sdb1, sdc1 etc) instead of the drives (sdb, sdc etc) meant the raid would assembled and mount just dandy. My problem is that when I issue sudo mdadm -E --scan I get the following results: ARRAY /dev/md0 level=raid5 num-devices=4 UUID=fde94900:3f3f3bf6:e368bf24:bd0fce41 ARRAY /dev/md0 level=raid5 num-devices=4 UUID=3a2f1919:52f73b40:e368bf24:bd0fce41 These entries aren't in mdadm.conf but mdadm keeps picking up my first mistake and tries to make a raid out of my four drives and not the four partitions (the bottom line is the four UUIDs for the partitions on each drive, the top line is the four UUID for the drives). So now every time I restart the machine, the array isn't mounted because mdadm (I guess) doesn't know what to do as it has two sets of devices defined as /dev/md0. I can issues sudo mdadm --stop /dev/md0 and sudo mdadm --remove /dev/md0 and then re-assemble specifying the four partitions and carry on as normal but I can't work out how to tell mdadm to forget about the the top line of those results, if that makes any sence? I have removed the entries from fstab and from mdadm.conf so when I boot up the machine doesn't automatically try and mount the incorrect device but I still can't remove the top line from the results of mdadm -E --scan no matter what I do. I have rebooted and issued the command sudo mdadm --assemble /dev/md1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 and I can mount my array as normal but I was hoping that now there wouldn't be a clash in the results of sudo mdadm -E --scan (which there isn't, the second lines says /dev/md1), meaning that after a reboot the array would mount properly but that isn't the case. It is still trying to assemble the top line. Does anyone have any idea how I can rectify this? Thanks for reading. -- Regards, James ;) Ted Turner - Sports is like a war without the killing. - http://www.brainyquote.com/quotes/authors/t/ted_turner.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Apache + auth_mod_kerb + Active Directory = SSO
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 httpd.conf, I created a user in Active Ditectory, used ktpass.exe to map the user to the service principal and put the key tab on the Apache server and all seems well. I am testing this with FireFox and Internet Explorer (Both on Windows XP Pro SP3 Client). FireFox works only with the FQDN of the Intranet server (and not just http://hostname/secure, this gives an authentication error), and only with our domain name set in network.negotiate-auth.delegation-uris and in network.negotate-auth.trusted-uris. Internet Explorer however only works with http://hostname/secure and not f.q.d.n/secure? (Integrate with Windows Authentication IS enabled). Obviously as this point the reason I am posting here is because I am trying to eliminate the reasons for this. If it is a client side problem I need to seeks some more savvy IE/Windows users maybe but I am posting here to enquire if anyone has any thoughts about it possibly being DNS related or some sort of server misconfiguration? uname -a Linux hades.nr5project.co.uk 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux Apache/2.2.11 (Unix) mod_auth_kerb/5.4 DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.2.9 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Thanks for reading. -- Regards, James ;) Charles de Gaulle - The better I get to know men, the more I find myself loving dogs. - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [OT] Urgent request
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 hay presto? -- Regards, James ;) Stephen Leacock - I detest life-insurance agents: they always argue that I shall some day die, which is not so. - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Migrating to RAID
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! -- Regards, James ;) Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
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 an improved smb.conf on my original attempt! -- Regards, James ;) Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] .htaccess and ?
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@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Unable to share directory via Samba?
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 I changed the settings to use user authentication and added my local user details (this is a stand alone file server with one user and the root user running CentOS 5.4). I made sure I hadn't put the entries in iptables incorrect by stopping iptables (sudo /etc/init.d/iptables stop, which executed just fine). SELinux kept popping up so I disabled that and restarted the server also. So now with no iptables nor SELinux enabled flicking between guest and user access I still can't access the share (I have also tried authenticating as root to no avail), my Windows and Mac test machines are erroring out saying they don't have permissions to access the share (I am an administrator on both machines so its not a local permissions issue). There are no firewall restrictions between my test machines and the CentOS server as I would even get prompted for authentication so that's not a problem and my test machines work fine because I can mount smb shares on other files servers in the same subnet as the CentOS server, what's going on? Ideas are welcome! Thanks for reading... -- 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
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 service definitions [global] workgroup = MY GROUP server string = Mars passdb backend = tdbsam guest account = mars username map = /etc/samba/smbusers guest ok = Yes cups options = raw [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [hestia] path = /backups/hestia read only = No [m...@mars ~]$ -- Regards, James ;) Jonathan Swift - May you live every day of your life. - http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
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 up about weather to use TCP ports 139 or 445 so I set it statically from within the smb config file by using smb ports = 445 and smb ports 139 restart after each change and checking if this had fixed my problem but it has not. -- 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
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 = no encrypt passwords = yes guest ok = no [home] path = /home/mars writeable = yes valid users = mars public = no available = yes printable = no -- Regards, James ;) Joan Crawford - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. - http://www.brainyquote.com/quotes/authors/j/joan_crawford.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unable to share directory via Samba?
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@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] GGI or Server Based Proxy Recommendations
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
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GGI or Server Based Proxy Recommendations
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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SAMBA vs NFS
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 to know men, the more I find myself loving dogs. - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAIDs and JBOD?
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 the website that the CD that comes with the card has RedHat drivers on it, and I will be using CentOS 5.4 i386 on my little home server everything should work just dandy shouldn't it? I am trying find some examples online of people using this card with CentOS in a software RAID but nothing yet so wondered if anyone here has any input here? -- Regards, James ;) Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAIDs and JBOD?
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 to the list members finding various problems for me (thanks guys, saved me some time and hassle there!) so instead I am looking at one of these (http://www.adaptec.com/en-US/support/sata/sataii/AAR-1430SA/). Its based on the Marvell 88SX7042 chipset which seems to work under CentOS 5, Hurray! -- Regards, James ;) Mike Ditka - If God had wanted man to play soccer, he wouldn't have given us arms. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OMG! Microsoft patents sudo! Linux and MacOS dead!
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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAIDs and JBOD?
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 they are all reasonably new (each was purchased at different times this year) and throw in two more giving four drives for data and one for parity. That will suffice in terms of storage size (4TBs) and a ratio of four data drives to one parity is as far as I feel comfortable in terms of hardware redundancy. I have read a few articles about mdadm and I have devised the following strategy in my head and am looking for some confirmation of its theoretical success: Two of my existing three drives are full of data. I will purchase two more drives to go with my existing blank drive and set them up as a RAID 5 copy my existing data on to the new file system one drive at a time and after each drive has been copied I will add said drive and use mdadm --grow to then incorporate that drive into the RAID before adding the next drive. Can anyone point out a flaw in this plan or more preferred method for doing this, or have I, dare I say it, got it right? Also I was initially going to get a PCI-E SATA card to connect up all these drives and use mdadm to make a software RAID, for this particular setup is that ill advised or do people think this will suffice (simple because my budget is low and hardware RAID controller cards are more expansive, in my experience but if you know of a good bargain I'm all ears!). Just quickly, this brings me back to the issue of a hot swappable drive. Up time isn't critical as its a home server so I don't believe a hotspare is needed, in the event of a drive failure I can shutdown the server and fire up single user mode and have the RAID file system dismount and then replace the failed drive and rebuild the array, is this correct? Thank you for you time guys it has been very much appreciated. Regards, James ;) Joan Crawford - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. - http://www.brainyquote.com/quotes/authors/j/joan_crawford.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS Mirrored On RapidShare [Links Here]
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 on RapidShare. Why you fool there are loads of mirrors? you might ask; simply for convenience. For those of you that like me are premium account holders with RapidShare, if you need to acquire a copy of CentOS and you have access to a high speed connection, for premium account holders RapidShare can deliver up 100Mbps download speeds. You don't have to reply to this post, my plan is to simply continue to mirror CentOS and continually post here my mirrors to keep the archive updated. Anyway, enough of my ramblings, lets get down to business ;) CentOS 5.2 i386 CD Install (These are 200MB ZIP parts): http://rapidshare.com/files/255564308/CentOS-5.2-i386-bin-1of6.zip.001 http://rapidshare.com/files/255581907/CentOS-5.2-i386-bin-1of6.zip.002 http://rapidshare.com/files/255596630/CentOS-5.2-i386-bin-1of6.zip.003 http://rapidshare.com/files/255603689/CentOS-5.2-i386-bin-2of6.zip.001 http://rapidshare.com/files/255772602/CentOS-5.2-i386-bin-2of6.zip.002 http://rapidshare.com/files/255802198/CentOS-5.2-i386-bin-2of6.zip.003 http://rapidshare.com/files/255804551/CentOS-5.2-i386-bin-2of6.zip.004 http://rapidshare.com/files/255828188/CentOS-5.2-i386-bin-3of6.zip.001 http://rapidshare.com/files/255878952/CentOS-5.2-i386-bin-3of6.zip.002 http://rapidshare.com/files/255896576/CentOS-5.2-i386-bin-3of6.zip.003 http://rapidshare.com/files/255898266/CentOS-5.2-i386-bin-3of6.zip.004 http://rapidshare.com/files/255914626/CentOS-5.2-i386-bin-4of6.zip.001 http://rapidshare.com/files/255929523/CentOS-5.2-i386-bin-4of6.zip.002 http://rapidshare.com/files/255943334/CentOS-5.2-i386-bin-4of6.zip.003 http://rapidshare.com/files/255945238/CentOS-5.2-i386-bin-4of6.zip.004 http://rapidshare.com/files/256179874/CentOS-5.2-i386-bin-5of6.zip.001 http://rapidshare.com/files/256203647/CentOS-5.2-i386-bin-5of6.zip.002 http://rapidshare.com/files/256226839/CentOS-5.2-i386-bin-5of6.zip.003 http://rapidshare.com/files/256229769/CentOS-5.2-i386-bin-5of6.zip.004 http://rapidshare.com/files/256250972/CentOS-5.2-i386-bin-6of6.zip.001 http://rapidshare.com/files/256270423/CentOS-5.2-i386-bin-6of6.zip.002 http://rapidshare.com/files/256289081/CentOS-5.2-i386-bin-6of6.zip.003 http://rapidshare.com/files/256292372/CentOS-5.2-i386-bin-6of6.zip.004 CentOS 5.2 i386 NetIntsall ISO (This is about 10MB but hey, its sharing!) http://rapidshare.com/files/255469169/CentOS-5.2-i386-netinstall.zip CentOS 5.3 i386 CD Install (These are 200MB ZIP parts) http://rapidshare.com/files/296169543/CentOS-5.3-i386-bin-1of6.zip.001 http://rapidshare.com/files/296275649/CentOS-5.3-i386-bin-1of6.zip.002 http://rapidshare.com/files/296415902/CentOS-5.3-i386-bin-1of6.zip.003 http://rapidshare.com/files/296169014/CentOS-5.3-i386-bin-2of6.zip.001 http://rapidshare.com/files/296276513/CentOS-5.3-i386-bin-2of6.zip.002 http://rapidshare.com/files/296422312/CentOS-5.3-i386-bin-2of6.zip.003 http://rapidshare.com/files/296564426/CentOS-5.3-i386-bin-2of6.zip.004 http://rapidshare.com/files/296203545/CentOS-5.3-i386-bin-3of6.zip.001 http://rapidshare.com/files/296318686/CentOS-5.3-i386-bin-3of6.zip.002 http://rapidshare.com/files/296469730/CentOS-5.3-i386-bin-3of6.zip.003 http://rapidshare.com/files/296563457/CentOS-5.3-i386-bin-3of6.zip.004 http://rapidshare.com/files/296204046/CentOS-5.3-i386-bin-4of6.zip.001 http://rapidshare.com/files/296320087/CentOS-5.3-i386-bin-4of6.zip.002 http://rapidshare.com/files/296475600/CentOS-5.3-i386-bin-4of6.zip.003 http://rapidshare.com/files/296568289/CentOS-5.3-i386-bin-4of6.zip.004 http://rapidshare.com/files/296238388/CentOS-5.3-i386-bin-5of6.zip.001 http://rapidshare.com/files/296366303/CentOS-5.3-i386-bin-5of6.zip.002 http://rapidshare.com/files/296524892/CentOS-5.3-i386-bin-5of6.zip.003 http://rapidshare.com/files/296570853/CentOS-5.3-i386-bin-5of6.zip.004 http://rapidshare.com/files/296238210/CentOS-5.3-i386-bin-6of6.zip.001 http://rapidshare.com/files/296366070/CentOS-5.3-i386-bin-6of6.zip.002 http://rapidshare.com/files/296527702/CentOS-5.3-i386-bin-6of6.zip.003 http://rapidshare.com/files/296572192/CentOS-5.3-i386-bin-6of6.zip.004 CentOS 5.3 i386 NetIntsall ISO (Again this is tiny but its another mirror!) http://rapidshare.com/files/261816982/CentOS-5.3-i386-netinstall.iso CentOS 5.3 x86_64 CD Install (These are 200MB ZIP parts) http://rapidshare.com/files/298357389/CentOS-5.3-x86_64-bin-1of7.zip.001 http://rapidshare.com/files/298357173/CentOS-5.3-x86_64-bin-1of7.zip.002 http://rapidshare.com/files/298394408/CentOS-5.3-x86_64-bin-1of7.zip.003 http://rapidshare.com/files/298400898/CentOS-5.3-x86_64-bin-2of7.zip.001 http://rapidshare.com/files/298430595/CentOS-5.3-x86_64-bin-2of7.zip.002
Re: [CentOS] To all of the group
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 case it is not clear to you. cpanel is NOT Centos. It is a very badly modified version of Centos and we have nothing to do with it. Please take any issues you have with it back to Cpanel. That doesn't say, Hi want some cpanel help, it says, I would like to help out occasionally by helping the web development crew in their endeavors. -- Regards, James ;) Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] To all of the group
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 you posting to the wrong thread per chance? Where in his post did he mention Calling all Hackers? Are you hallucinatingon a Thursday? -- Regards, James ;) Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right, but I am never wrong. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] To all of the group
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 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 you posting to the wrong thread per chance? Where in his post did he mention Calling all Hackers? Are you hallucinatingon a Thursday? The weekend is too far away. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Regards, James ;) Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vncserver startup error??
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 issues on our X86_64 CentOS 5.3 Dell servers. Maybe you are missing a dependency? Did you compile it your self, if so did you incorrectly compile it? I can't remember if we compiled it or installed the package or whatever, but I do remember it just worked so my advise is to start over, it should work fine. -- 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Software Raids Questions (I have only ever used hardware?)
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. - http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Software Raids Questions (I have only ever used hardware?)
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 in is inside my existing media centre. Is it possible to add these three drives to another one to give me 4TBs of space in a RAID setup without having to wipe the drives as in my experience which is only with hardware RAIDs, I have normally formatted all the disks before creating the RAID? The thing is, if that is the case I will need to transfer 3TB of stuff somewhere (I have an idea where, if this were the case), make the RAID then transfer it all back but I really don't want to do that as I'm sure you can imagine. Also, if the above where possible; in the future could I then keep adding more drives and expanding the RAID? Note: Obviously I know for this to be a RAID 5 I would need extra drives but the RAID level is undecided, but provisionally I think it will be RAID 5. On a side note, I cobbled together my new media centre running Ubuntu but I might move it back to CentOS, it was originally CentOS and that is my favoured distro, but I would rather not now it is running Ubuntu happily I'm just wondering, is this all achievable in Ubuntu? Granted people on the CentOS mailing list might not know that, but if anyone knows that it is all achievable in CentOS then I would move back? Thanks for reading. Regards, James ;) -- Ted Turner - Sports is like a war without the killing. - http://www.brainyquote.com/quotes/authors/t/ted_turner.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Software Raids Questions (I have only ever used hardware?)
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 u wanna call it) allows u to grow so if your raid is formatted with an fs that allows u to grow, then u r good to go (lvm will allow u to grow). This was also my current belief, again thanks for confirming that. Regards James ;) -- Stephen Leacock - I detest life-insurance agents: they always argue that I shall some day die, which is not so. - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos