Re: [CentOS] ssh and dd

2010-07-23 Thread Joseph L. Casale
>dd over ssh should be a sure thing.  If you do a lot of image copies remote or 
>otherwise you might want to try clonezilla-live.  It knows enough about most 
>file systems to only copy the used blocks and can access the image store with 
>smb, nfs, or ssh.

Yeah not lots, just an esxi update...
I'll look into cpio now, its backing up as we speak.

Thanks guys!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh and dd

2010-07-23 Thread Les Mikesell
Joseph L. Casale wrote:
> Tonight I have to boot a diskless server with iLO and dd a remote image 
> available by ssh
> onto a usb key. As there is no local place to store the image, whats the most 
> efficient
> cmd to push the image from the remote server using ssh into the local pipe 
> pushing out
> to `dd of=/dev/sdx`?
> 
> Would a remote execution of `dd if=/dev/sdx` be the best over ssh? I suppose 
> I could use
> nc and do away with ssh, is that in the CentOS rescue mode?
> 

dd over ssh should be a sure thing.  If you do a lot of image copies remote or 
otherwise you might want to try clonezilla-live.  It knows enough about most 
file systems to only copy the used blocks and can access the image store with 
smb, nfs, or ssh.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh and dd

2010-07-23 Thread Jim Wildman
YOu can ssh to it and mount an iso from a web server as well.

On Fri, 23 Jul 2010, Ross Walker wrote:

> On Jul 23, 2010, at 6:27 PM, "Joseph L. Casale"  
> wrote:
>
>> Tonight I have to boot a diskless server with iLO and dd a remote image 
>> available by ssh
>> onto a usb key. As there is no local place to store the image, whats the 
>> most efficient
>> cmd to push the image from the remote server using ssh into the local pipe 
>> pushing out
>> to `dd of=/dev/sdx`?
>>
>> Would a remote execution of `dd if=/dev/sdx` be the best over ssh? I suppose 
>> I could use
>> nc and do away with ssh, is that in the CentOS rescue mode?
>
> How about remote cpio?
>
> -Ross
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

--
Jim Wildman, CISSP, RHCE   j...@rossberry.com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] really removing klipper - script wise

2010-07-23 Thread Gary Greene
The easy way is to plain just not start it at login by doing the following:

rm -f /usr/share/autostart/klipper.desktop


On 7/23/10 5:06 PM, "aurfal...@gmail.com"  wrote:

> Hi all,
> 
> Is there a way to automate the removal of Klipper?
> 
> It fouls up one of our major applications.
> 
> Thanks in advance.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] really removing klipper - script wise

2010-07-23 Thread aurfalien
Hi all,

Is there a way to automate the removal of Klipper?

It fouls up one of our major applications.

Thanks in advance.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh and dd

2010-07-23 Thread Ross Walker
On Jul 23, 2010, at 6:27 PM, "Joseph L. Casale"  
wrote:

> Tonight I have to boot a diskless server with iLO and dd a remote image 
> available by ssh
> onto a usb key. As there is no local place to store the image, whats the most 
> efficient
> cmd to push the image from the remote server using ssh into the local pipe 
> pushing out
> to `dd of=/dev/sdx`?
> 
> Would a remote execution of `dd if=/dev/sdx` be the best over ssh? I suppose 
> I could use
> nc and do away with ssh, is that in the CentOS rescue mode?

How about remote cpio?

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ssh and dd

2010-07-23 Thread Joseph L. Casale
Tonight I have to boot a diskless server with iLO and dd a remote image 
available by ssh
onto a usb key. As there is no local place to store the image, whats the most 
efficient
cmd to push the image from the remote server using ssh into the local pipe 
pushing out
to `dd of=/dev/sdx`?

Would a remote execution of `dd if=/dev/sdx` be the best over ssh? I suppose I 
could use
nc and do away with ssh, is that in the CentOS rescue mode?

Thanks,
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem installing WordPress on CentOS

2010-07-23 Thread John Hinton
On 7/23/2010 12:40 PM, John R Pierce wrote:
>On 07/23/10 5:47 AM, Niki Kovacs wrote:
>
>> 3) # chown -R apache:apache /var/www/html/wordpress
>>  
> I have always been told that apache shouldn't own or have write access
> to files or directories unless it absolutely has to, as this is a
> unnecessary security exposure
>
>
Correct. However if you wish to implement the client upload feature, 
there is an uploads directory under wp-content which will need write 
ability. The WordPress created subdirectories within this directory will 
also be set to these permissions. But that is only place where write 
should be considered. This is where items like uploaded photos exist.

John Hinton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] postgresql copy to and selinux

2010-07-23 Thread Marcelo Roccasalva
I need to run a "copy table to '/home/user/dir/copy.txt';" but I get
permission denied. Filesystem dir modes are ok and I get no event
logged in audit.log, but if I setenforce 0, I can do the copy. This
explains auditd silence:

# sesearch --audit |egrep postgres.*home
   dontaudit postgresql_t user_home_dir_t : dir { getattr search };
   dontaudit postgresql_t home_root_t : dir { getattr search };

I changed the "dir" type to tmpfs_t and I could write with "\copy" but
not with "copy".

Anyway, what are the best practices to allow postgresql "copy to" a
subdirectory of a home directory (without disabling selinux)? I'm
running centos 5.5.

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Small Business support for *nix systems in Spain

2010-07-23 Thread John R Pierce
  On 07/23/10 12:05 PM, Kurt Hansen wrote:
> Our company has 30 shops that connect to a central server where the
> point -of-sale software runs, and is currently operating on Unix (it´s
> an old system we acquired when we bought another company). It seems
> obvious we have to replace this Unix architecture with something more
> modern (and better able to manage our growing needs). The computer
> consultants we work with have suggested two options:
>
> - Moving to Windows Terminal server (cheaper)
> - Moving to Citrix with virtualized servers (more expensive but
> apparently much faster and more powerful).

before picking an operating system for the central server, its a good 
idea to pick the Point-of-sale system architecture.

using terminal server/citrix/nx/etc type connectivity for POS from 
remote locations means if the network is down, the cash registers are 
down.  thats not good. most POS systems have a local onsite store 
server at each location, the registers are terminals to this server, but 
usually run the cash register POS software directly, then the store 
server communicates with the corporate mothership as needed, either live 
or batching transaction logs as appropriate.

different sorts of retail businesses have widely varying POS 
requirements, for instance, the POS system for a restaurant chain is 
very different than the one for a auto parts chain.

All these questions should be sorted out long before getting into 
implementation details like operating systems, hardware platforms.





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Small Business support for *nix systems in Spain

2010-07-23 Thread Ross Walker
On Jul 23, 2010, at 3:05 PM, Kurt Hansen  wrote:

> Hello,
> 
> This message just came across on another mailing list I am on. The 
> little dig on Unix as being old and Windows being new got me annoyed so 
> I wanted to reply, but with some real contacts that he asks for at the end.
> 
> I figured there might be some folks who could help him out. Feel free to 
> reply on list or to me, and I will forward on your contact info.
> 
> Message follows:
> 
> "
> Our company has 30 shops that connect to a central server where the 
> point -of-sale software runs, and is currently operating on Unix (it´s 
> an old system we acquired when we bought another company). It seems 
> obvious we have to replace this Unix architecture with something more 
> modern (and better able to manage our growing needs). The computer 
> consultants we work with have suggested two options:

I think you're reading into this too much.

It sounds like their running an old serial or X terminal server based on 
SCO/HPUX or something and they are thinking of going to a Windows based 
terminal server.

For a small company I'd probably suggest MS terminal servers, running under ESX 
on big hardware so they can provision them out over time.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Small Business support for *nix systems in Spain

2010-07-23 Thread m . roth
Kurt Hansen wrote:
> Hello,
>
> This message just came across on another mailing list I am on. The
> little dig on Unix as being old and Windows being new got me annoyed so
> I wanted to reply, but with some real contacts that he asks for at the
> end.
>
> I figured there might be some folks who could help him out. Feel free to
> reply on list or to me, and I will forward on your contact info.

Should I start with "Dear Untrained and unqualified amateur"?

  mark
>
> Message follows:
>
> "
> Our company has 30 shops that connect to a central server where the
> point -of-sale software runs, and is currently operating on Unix (it´s
> an old system we acquired when we bought another company). It seems
> obvious we have to replace this Unix architecture with something more
> modern (and better able to manage our growing needs). The computer
> consultants we work with have suggested two options:
>
> - Moving to Windows Terminal server (cheaper)
> - Moving to Citrix with virtualized servers (more expensive but
> apparently much faster and more powerful).
>
> Does anybody have any experience wotking on Citrix (or Windows Terminal
> Server) and have any views on them?
>
> Are there better options available for small to mid sized companies (we
> currently have 50 or so users logging it but expect to grow to 150-200
> relatively quickly).
>
> Finally does anyone have any contacts in Spain that you coud recommend
> for something like this?
>
> "
>
> End of quoted message.
>
> Take care,
>
> Kurt Hansen
> CharityWeb
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Small Business support for *nix systems in Spain

2010-07-23 Thread Eero Volotinen
2010/7/23 Kurt Hansen :
> Hello,
>
> This message just came across on another mailing list I am on. The
> little dig on Unix as being old and Windows being new got me annoyed so
> I wanted to reply, but with some real contacts that he asks for at the end.
>
> I figured there might be some folks who could help him out. Feel free to
> reply on list or to me, and I will forward on your contact info.
>
> Message follows:
>
> "
> Our company has 30 shops that connect to a central server where the
> point -of-sale software runs, and is currently operating on Unix (it´s
> an old system we acquired when we bought another company). It seems
> obvious we have to replace this Unix architecture with something more
> modern (and better able to manage our growing needs). The computer
> consultants we work with have suggested two options:
>
> - Moving to Windows Terminal server (cheaper)
> - Moving to Citrix with virtualized servers (more expensive but
> apparently much faster and more powerful).
>
> Does anybody have any experience wotking on Citrix (or Windows Terminal
> Server) and have any views on them?
>
> Are there better options available for small to mid sized companies (we
> currently have 50 or so users logging it but expect to grow to 150-200
> relatively quickly).

Replacing old Unix with modern Linux like Centos :)

LTSP or NoMachine (NX) based terminals are cool.

Br,
--
Eero,
RHCE
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Small Business support for *nix systems in Spain

2010-07-23 Thread Kurt Hansen
Hello,

This message just came across on another mailing list I am on. The 
little dig on Unix as being old and Windows being new got me annoyed so 
I wanted to reply, but with some real contacts that he asks for at the end.

I figured there might be some folks who could help him out. Feel free to 
reply on list or to me, and I will forward on your contact info.

Message follows:

"
Our company has 30 shops that connect to a central server where the 
point -of-sale software runs, and is currently operating on Unix (it´s 
an old system we acquired when we bought another company). It seems 
obvious we have to replace this Unix architecture with something more 
modern (and better able to manage our growing needs). The computer 
consultants we work with have suggested two options:

- Moving to Windows Terminal server (cheaper)
- Moving to Citrix with virtualized servers (more expensive but 
apparently much faster and more powerful).

Does anybody have any experience wotking on Citrix (or Windows Terminal 
Server) and have any views on them? 

Are there better options available for small to mid sized companies (we 
currently have 50 or so users logging it but expect to grow to 150-200 
relatively quickly).

Finally does anyone have any contacts in Spain that you coud recommend 
for something like this?

"

End of quoted message.

Take care,

Kurt Hansen
CharityWeb
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread m . roth
John Doe wrote:
> From: David 
>
>> The USB boots, I get the install menu, the USB  drivers, etc. are
>> installed and then I am prompted for the location of the  iso.  Once I
>> select the location and then the actual iso, the install  aborts.
>
> Is there an error message before it "aborts"?
> I use a kickstrat so I am not sure but, I think you should not be prompted
> for
> the iso location...
> Did you add "method=hd:sda2:/centos" in syslinux.cfg?
> It specifies the location of the ISO image(s).
> If you are in a hurry, use the alternative methods (see Alternatives at
> the bottom of th wiki page)...

I'd say the wiki is useless, or far too elaborate. I think I posted my
recipe here when I got it working, a few months ago. If anyone likes, I
can repost it.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread Scott Robbins
On Fri, Jul 23, 2010 at 11:22:58AM -0400, m.r...@5-cent.us wrote:


> Bowie Bailey wrote:
> >  On 7/22/2010 6:09 PM, David wrote:
> >> Has anyone successfully built a USB key for installing centos5.5 either
> >
> > The only problem I found was that the install insisted on installing
> > grub on the USB drive rather than the target hard drive.  I finally had
> > to skip the grub installation and install it by hand afterwards.
> 
> Yeah - that may be either an install thing, or an anaconda one. I hate
> that. I always have to reboot from the USB key, go to linux rescue, then
> chroot to /mnt/sysimage, and grub-install /dev/sda

Seems to me, though memory is hazy, that I was able to get around this
by going in and changing boot order--that is, in the advanced grub menu.

(If not, then I guess it was in Fedora.)

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Joyce: Something's gonna eat those babies? 
Principal Snyder: I think that is so wrong. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cpuspeed: missing drivers ???

2010-07-23 Thread Rob Kampen

ken wrote:

One problem I've discovered in cpuspeed is that there are drivers missing:

# cd /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/cpufreq
# ll
total 72
-rwxr--r-- 1 root root 14408 Jul  1 21:40 cpufreq_conservative.ko
-rwxr--r-- 1 root root 16168 Jul  1 21:40 cpufreq_ondemand.ko
-rwxr--r-- 1 root root  7624 Jul  1 21:40 cpufreq_powersave.ko
-rwxr--r-- 1 root root 12524 Jul  1 21:40 cpufreq_stats.ko

Or is this what everyone has?
  

I also have
freq_table.ko
also sizes of files differ
HTH

# uname -rmops
Linux 2.6.18-194.8.1.el5 i686 i686 GNU/Linux


  
<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem installing WordPress on CentOS

2010-07-23 Thread John R Pierce
  On 07/23/10 5:47 AM, Niki Kovacs wrote:
> 3) # chown -R apache:apache /var/www/html/wordpress

I have always been told that apache shouldn't own or have write access 
to files or directories unless it absolutely has to, as this is a 
unnecessary security exposure


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cpuspeed: missing drivers ???

2010-07-23 Thread Stephen Harris
On Fri, Jul 23, 2010 at 11:54:53AM -0400, ken wrote:
> 
> One problem I've discovered in cpuspeed is that there are drivers missing:
> 
> # cd /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/cpufreq
> # ll
> total 72
> -rwxr--r-- 1 root root 14408 Jul  1 21:40 cpufreq_conservative.ko
> -rwxr--r-- 1 root root 16168 Jul  1 21:40 cpufreq_ondemand.ko
> -rwxr--r-- 1 root root  7624 Jul  1 21:40 cpufreq_powersave.ko
> -rwxr--r-- 1 root root 12524 Jul  1 21:40 cpufreq_stats.ko
> 
> Or is this what everyone has?

Also check /lib/modules/XXX/kernel/arch/YYY/kernel/cpu/cpufreq

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] cpuspeed: missing drivers ???

2010-07-23 Thread ken

One problem I've discovered in cpuspeed is that there are drivers missing:

# cd /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/cpufreq
# ll
total 72
-rwxr--r-- 1 root root 14408 Jul  1 21:40 cpufreq_conservative.ko
-rwxr--r-- 1 root root 16168 Jul  1 21:40 cpufreq_ondemand.ko
-rwxr--r-- 1 root root  7624 Jul  1 21:40 cpufreq_powersave.ko
-rwxr--r-- 1 root root 12524 Jul  1 21:40 cpufreq_stats.ko

Or is this what everyone has?

# uname -rmops
Linux 2.6.18-194.8.1.el5 i686 i686 GNU/Linux


-- 
Find research and analysis on US healthcare, health insurance,
and health policy at: 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Les Mikesell
On 7/23/2010 9:00 AM, Joseph L. Casale wrote:
>> Try something like this:
>>
>> Grub>device (hd0) /dev/sdb
>> Grub>root (hd0,0)
>> Grub>setup (hd0)
>
> His syntax shows the installation from within a grub prompt which is right,
> Yours looks more like what you use with grub-install. Regardless, his approach
> is how my kickstart has been doing it for years with success...

I think there may be differences in controllers and possibly in failure 
modes as to whether the 2nd drive becomes seen as the first when the 
first one fails.  But I'm not sure how to know this ahead of time or the 
right syntax to use for each case.  And while the md devices will still 
build out of the right pieces when they autodetect, you may also need to 
adjust anything that uses the /dev/sd? names to account for them 
shifting (or not) and be aware of it in any manual setup commands like 
using mdadm to force partitions to be added if they didn't come up 
automatically.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Tom H
On Fri, Jul 23, 2010 at 4:12 AM, Wessel | Postoffice
 wrote:
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one
> the 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration option
> during the install.
> after the install is done i boot in linux rescue mode , chroot the
> filesystem and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
> then reboot, but is still get the error : disk boot faillure, insert linux
> install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
> ...

Please post your grub.conf
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread John Doe
From: David 

> The USB boots, I get the install menu, the USB  drivers, etc. are 
> installed and then I am prompted for the location of the  iso.  Once I 
> select the location and then the actual iso, the install  aborts.

Is there an error message before it "aborts"?
I use a kickstrat so I am not sure but, I think you should not be prompted for 
the iso location...
Did you add "method=hd:sda2:/centos" in syslinux.cfg?
It specifies the location of the ISO image(s).
If you are in a hurry, use the alternative methods (see Alternatives at the 
bottom of th wiki page)...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread m . roth
Bowie Bailey wrote:
>  On 7/22/2010 6:09 PM, David wrote:
>> Has anyone successfully built a USB key for installing centos5.5 either
>> manually or using a tool like unetbootin?
>>
>> I am trying to create one using the 64bit install DVD iso and so far the
>> USB either won't boot (unetbootin) or the installation aborts after I
>> select the iso location on the USB key (manual).
>
> I was able to successfully install CentOS 32-bit from an 8GB USB flash
> drive (4GB is not quite big enough, even for i386) created with this
> procedure:
>
> Create a 10M DOS partition on the USB drive and make it active
> Create Linux partition using the rest of the drive
>
> mkfs -t vfat /dev/
> mkfs /dev/
>
> liveCD-iso-to-disk  /dev/
> mount /dev/ /mnt
> rsync --progress  /mnt/
>
> You can get the boot.iso by loop-mounting the CentOS iso and pulling it
> out of the /os/i386/images directory, or grab it from one of the mirrors
> (the mirror links on the CentOS site link directly to the install isos,
> so you'll have to browse up a few directories and then go back down to
> find the images directory).
>
> I used 'rsync' here because I hate having a copy process run for 10
> minutes with no progress indication.  :)
>
> The only problem I found was that the install insisted on installing
> grub on the USB drive rather than the target hard drive.  I finally had
> to skip the grub installation and install it by hand afterwards.

Yeah - that may be either an install thing, or an anaconda one. I hate
that. I always have to reboot from the USB key, go to linux rescue, then
chroot to /mnt/sysimage, and grub-install /dev/sda

Then I have to edit /boot/device.map, and hand-make an
/boot/grub/grub.conf. I keep meaning to have one on the USB key, so I can
just copy it after I do the grub install.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stress Test

2010-07-23 Thread Joseph L. Casale
>Did you try the HP Insight Diagnostics from the SmartStart CD?

It was 3 faulty discs, heat aggravated such that it wasn't easy to diagnose.

Fixed...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] odd automount trip

2010-07-23 Thread James Pearson
aurfal...@gmail.com wrote:
> Hi all,
> 
> Not sure how to start but I have an automount map tripping as soon as  
> automount starts.
> 
> I've no services that use that mount point and am baffeled as to why  
> its mounted.
> 
> When I remove the map entry fro that mount point, I get complaints in / 
> var/log/messages from automount about the missing mount point.
> 
> 
> Any ideas how I can finds what's causing the mount?

What is the map entry?

Does starting automount with --debug help?

James Pearson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread Bowie Bailey
 On 7/22/2010 6:09 PM, David wrote:
> Has anyone successfully built a USB key for installing centos5.5 either 
> manually or using a tool like unetbootin?
>
> I am trying to create one using the 64bit install DVD iso and so far the 
> USB either won't boot (unetbootin) or the installation aborts after I 
> select the iso location on the USB key (manual).

I was able to successfully install CentOS 32-bit from an 8GB USB flash
drive (4GB is not quite big enough, even for i386) created with this
procedure:

Create a 10M DOS partition on the USB drive and make it active
Create Linux partition using the rest of the drive

mkfs -t vfat /dev/
mkfs /dev/

liveCD-iso-to-disk  /dev/
mount /dev/ /mnt
rsync --progress  /mnt/

You can get the boot.iso by loop-mounting the CentOS iso and pulling it
out of the /os/i386/images directory, or grab it from one of the mirrors
(the mirror links on the CentOS site link directly to the install isos,
so you'll have to browse up a few directories and then go back down to
find the images directory).

I used 'rsync' here because I hate having a copy process run for 10
minutes with no progress indication.  :)

The only problem I found was that the install insisted on installing
grub on the USB drive rather than the target hard drive.  I finally had
to skip the grub installation and install it by hand afterwards.

-- 
Bowie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread David
I actually did follow this as the manual attempt at getting it to work; 
unsuccessfully.  I probably should have clarified it better in my 
original email.

The USB boots, I get the install menu, the USB drivers, etc. are 
installed and then I am prompted for the location of the iso.  Once I 
select the location and then the actual iso, the install aborts.

David

On 07/23/2010 04:25 AM, John Doe wrote:
> From: David
>
>
>> Has anyone successfully built a USB key for installing centos5.5 either
>> manually or using a tool like unetbootin?
>> I am trying to create one  using the 64bit install DVD iso and so far the
>> USB either won't boot  (unetbootin) or the installation aborts after I
>> select the iso location on  the USB key  (manual).
>>  
> http://wiki.centos.org/HowTos/InstallFromUSBkey
> Either you can do most of it "manualy" (and learn a few things),
> or you use others scripts/programs (seeAlternatives at the bottom)...
>
> JD
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Jussi Hirvi
I don't have a direct answer to your question, but here is the howto I 
have been using twice, with good results:

http://www.howtoforge.com/software-raid1-grub-boot-fedora-8

After installing grub to the other disk, did you update your grub.conf 
accordingly?

Terv.
Jussi

On 23.7.2010 11.12, Wessel | Postoffice wrote:
> Hi All,
>
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if
> one the 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration
> option during the install.
> after the install is done i boot in linux rescue mode , chroot the
> filesystem and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
>
> then reboot, but is still get the error : disk boot faillure, insert
> linux install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
>
> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sda2 39 675 5116702+ fd Linux raid autodetect
> /dev/sda3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/sdb: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 38 305203+ fd Linux raid autodetect
> /dev/sdb2 39 675 5116702+ fd Linux raid autodetect
> /dev/sdb3 676 30515 239689800 fd Linux raid autodetect
>
> Disk /dev/md1: 5239 MB, 5239406592 bytes
> 2 heads, 4 sectors/track, 1279152 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md0: 312 MB, 312410112 bytes
> 2 heads, 4 sectors/track, 76272 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Disk /dev/md2: 245.4 GB, 245442281472 bytes
> 2 heads, 4 sectors/track, 59922432 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>
> Regards,
>
> Wessel


-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Joseph L. Casale
>Try something like this:
>
>Grub>device (hd0) /dev/sdb
>Grub>root (hd0,0)
>Grub>setup (hd0)

His syntax shows the installation from within a grub prompt which is right,
Yours looks more like what you use with grub-install. Regardless, his approach
is how my kickstart has been doing it for years with success...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem installing WordPress on CentOS

2010-07-23 Thread Barry Brimer


> And here's where things go wrong. When I click on "Begin installation",
> Firefox wants to "open" the file install.php by leaving me one of the
> two following choices :
>
> a) edit "install.php" in GEdit
> b) download "install.php"

It sounds like you might not have your php set up correctly in apache or 
at least in this virtualhost.  Somewhere in your configuration do you have 
lines that say:

AddHandler php5-script .php
AddType text/html .php

This is most likely found in /etc/httpd/conf.d/php.conf

Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem installing WordPress on CentOS

2010-07-23 Thread Niki Kovacs
Basti Schubert a écrit :
> have a look at your webserver error log
> 
> cheers
> basti

That did the trick!

I took a peek in /var/log/httpd/error_log, and found a few lines of 
"script tried to increase memory_limit to  bytes".

I edited /etc/php.ini and increased the memory limit from 16M to 32M, 
restarted Apache, and now everything works.

By the way: I wonder if this could create some problems.

Thanks very much!

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem installing WordPress on CentOS

2010-07-23 Thread Niki Kovacs
Hi,

I have a curious problem installing WordPress on a local LAMP server 
running CentOS 5.5. I have some other (dynamic) websites running on the 
same machine without problems. Here's what I did.

1) Create a 'wordpress' database in MySQL monitor.

2) Download WordPress, unzip it into /var/www/html/

3) # chown -R apache:apache /var/www/html/wordpress

4) Open Firefox on http://localhost/wordpress

5) Follow instructions (fill in database name, database user and 
password, etcetera).

And here's where things go wrong. When I click on "Begin installation", 
Firefox wants to "open" the file install.php by leaving me one of the 
two following choices :

a) edit "install.php" in GEdit
b) download "install.php"

I'm puzzled. Why doesn't install.php simply open as a page?

Any idea what went wrong here?

Cheers,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Dominik Zyla
On Fri, Jul 23, 2010 at 10:12:13AM +0200, Wessel | Postoffice wrote:
> Hi All,
> 
> I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one 
> the
> 2 disks fails the server will still be available.
> i installed grub on /dev/sda using the advanced grub configuration option
> during the install.
> after the install is done i boot in linux rescue mode , chroot the filesystem
> and copy grub to both drives using:
> grub>root (hd0,0)
> grub>setup (hd0)
> grub>root (hd1,0
> grub>setup (hd1)
> grub>quit
> 
> then reboot, but is still get the error : disk boot faillure, insert linux
> install disk.
> does anyone now what i'm doing wrong? here is a copy of my partition scheme.
> 
> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>   Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *   1  38  305203+  fd  Linux raid autodetect
> /dev/sda2  39 675 5116702+  fd  Linux raid autodetect
> /dev/sda3 676   30515   239689800   fd  Linux raid autodetect
> 
> Disk /dev/sdb: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>   Device Boot  Start End  Blocks   Id  System
> /dev/sdb1   *   1  38  305203+  fd  Linux raid autodetect
> /dev/sdb2  39 675 5116702+  fd  Linux raid autodetect
> /dev/sdb3 676   30515   239689800   fd  Linux raid autodetect
> 
> Disk /dev/md1: 5239 MB, 5239406592 bytes
> 2 heads, 4 sectors/track, 1279152 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
> 
> 
> Disk /dev/md0: 312 MB, 312410112 bytes
> 2 heads, 4 sectors/track, 76272 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
> 
> 
> Disk /dev/md2: 245.4 GB, 245442281472 bytes
> 2 heads, 4 sectors/track, 59922432 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes

Try something like this:

Grub>device (hd0) /dev/sdb
Grub>root (hd0,0)
Grub>setup (hd0)


-- 
Dominik Zyla



pgp6NOJEO6jBD.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Olaf Mueller wrote:
> Toralf Lund wrote:
>
>   
>> Olaf Mueller wrote:
>> 
>>> Toralf Lund wrote:
>>>   
>
>   
>> Getting service list...
>> Service not found
>> 
> Is your bluetooth usb-stick(?) working? For example my bluetooth
> usb-stick doesn't work with all USB-HUBs and does only work with USB
> 1.1. It's a little bit tricky.
>   
Well, as I was trying to say, I can transfer in both directions as long 
as I initiate from the computer. I'm assuming this implies everything is 
just fine with the bluetooth unit itself.

It's built-in Bluetooth, by the way.

- Toralf

>
> regards
> Olaf
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Olaf Mueller
Toralf Lund wrote:

> Olaf Mueller wrote:
>> Toralf Lund wrote:

> Getting service list...
> Service not found
Is your bluetooth usb-stick(?) working? For example my bluetooth
usb-stick doesn't work with all USB-HUBs and does only work with USB
1.1. It's a little bit tricky.


regards
Olaf

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install on raid1

2010-07-23 Thread Joseph L. Casale
>I'm currently trying to install centos 5.4 x86-64bit on a raid 1,

/snip

So when you were asked where to install the boot loader, what did you choose?
Everything looks fine...

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Olaf Mueller wrote:
> Toralf Lund wrote:
>
> Hello.
>
>   
>> Has anyone here managed to send files from a mobile phone to a CentOS
>> system via Bluetooth?
>> 
> Yes, send and receive files by bluetooth, under CentOS 5.5 with a SE
> T630 phone and the following setup:
> # rpm -qa | grep blue [ ... ]
>
>   
> It works for me since replacing some of the original CentOS packages
> with packages from Fedora Core 7 (fc7).
>   
You know, now that you mention it, I remember that I had to upgrade to a 
Fedora package even to get the discovery stuff and/or connection *from* 
the computer to work (this is something I set up a year or so ago.) I 
installed only bluez-gnome earlier, though, but now I've upgraded the 
other packages, too, so I have the same versions as you. Unfortunately, 
there is still no luck sending from the phone - the behaviour is still 
the same.

Another clue, though: If do the Bluetooth setup in a slightly different 
way on the phone, I get the following messages:

Getting service list...
Service not found

I suppose this may be the root of the problem, i.e. that the phone 
expects the computer to publish a list of services, and the GNOME 
bluetooth stuff doesn't.

-Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Olaf Mueller
Toralf Lund wrote:

Hello.

> Has anyone here managed to send files from a mobile phone to a CentOS
> system via Bluetooth?
Yes, send and receive files by bluetooth, under CentOS 5.5 with a SE
T630 phone and the following setup:
# rpm -qa | grep blue
bluez-gnome-0.8-2.fc7
python-bluez-0.15-1.el5.rf
bluez-libs-3.9-1.fc7
bluez-utils-3.9-2.fc7
bluez-libs-devel-3.9-1.fc7
gnome-bluetooth-0.7.0-10.2.el5
gnome-bluetooth-devel-0.7.0-10.2.el5
bluez-hcidump-1.32-1
gnome-bluetooth-libs-0.7.0-10.2.el5

The following programs start at user-login:
gnome-obex-server
bluetooth-applet

> I'm trying with a Samsung E1310, using the GNOME 
> tools, but can't get it to work.
It works for me since replacing some of the original CentOS packages
with packages from Fedora Core 7 (fc7).


regards
Olaf

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] To PAE or not to PAE...

2010-07-23 Thread John Doe
From: Hakan Koseoglu 

> > In the past, I heard that these 700MB were normally  reserved for bios or 
>chipset
> It still is, even with with 64  bit. If your motherboard supports 
> remapping this memory with 64 bit you can  use the whole 4GB. Otherwise 
> you're limited to 3.2:
> 
> ha...@photon:~$  free -m
>   totalused   free shared buffers cached
> Mem:   3262   1972   1290   0103 737
> -/+ buffers/cache:   11312131
> Swap: 7812 308   7504
> ha...@photon:~$  arch
> x86_64

Thx for all the answers.
As a matter of fact, while my Dell Vostro 410 was getting 3.3GB without PAE,
a new Vostro 430 was getting only 3GB (but a full 4GB in PAE)...
I went anyway for the non PAE just for peace of mind and because 3GB is still 
plenty.

Thx,
JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Has anyone here managed to send files from a mobile phone to a CentOS 
system via Bluetooth? I'm trying with a Samsung E1310, using the GNOME 
tools, but can't get it to work. I can send files from the Linux box to 
this phone using the Nautilus bluetooth plugin 
(nautilus-sendto-bluetooth), and have also managed to "pull" some data 
I've been trying to send, via "obexftp". If I try to initiate a transfer 
from the phone, however, it will just display a generic "connection 
failed" message. If I run gnome-obex-server from the command line while 
doing this, I get

$ gnome-obex-server
conn_request:   bdaddr 
conn_complete:  status 0x00

But that's pretty much it. Any ideas? I'll also include some hcidump 
output below... Note that based on a simple web search, it does look 
like others have experienced the same thing, but I didn't really get 
much out of the information I found in terms of figuring out how to 
resolve the problem.

I'm using the latest packages from the CentOS 5 repositories. I also 
tried slightly older versions of bluez-utils and blues-libs as report at 
Red Hat Bugzilla suggested this might help, but it  didn't really.

- Toralf


 > HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
 > HCI Event: Read Remote Supported Features (0x0b) plen 11
 > HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Connection Packet Type Changed (0x1d) plen 5
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Command Status (0x0f) plen 4
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
  Connection successful
 > HCI Event: Max Slots Change (0x1b) plen 3
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
  Success
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
 > ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
  Success
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > HCI Event: Remote Name Req Complete (0x07) plen 255
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > HCI Event: Disconn Complete (0x05) plen 4


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not us

Re: [CentOS] Stress Test

2010-07-23 Thread John Doe
From: Joseph L. Casale 

> I have an HP Server w/ a Smart Array controller I need to test. I always
> used  to use Inquisitor for this, but the hd tests are flaking out on the
> cciss  syntax and I don't have time to dig into it, the machine is essential
> and I  need to know whats needing to be replaced asap.
> Anyone know a live cd  based stress test that works on SA  controllers?

Did you try the HP Insight Diagnostics from the SmartStart CD?

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Repository for last packages (firefox, etc.)

2010-07-23 Thread John Doe
From: Yann I. 
>I read an article on the site lwn.net (http://lwn.net/Articles/397034/). My 
>question (a newbie question !) is : where may I find these packages 
>xulrunner-1.9.2.7-2.el5.x86_64.rpm and firefox-3.6.7-2.el5.centos.x86_64.rpm ?

Tried yum update?
The text says "have been uploaded and are currently syncing to the mirrors"
You can check the mirrors status here: http://mirror-status.centos.org/

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an install disk on a USB key manually or using unetbootin

2010-07-23 Thread John Doe
From: David 

> Has anyone successfully built a USB key for installing centos5.5 either 
> manually or using a tool like unetbootin?
> I am trying to create one  using the 64bit install DVD iso and so far the 
> USB either won't boot  (unetbootin) or the installation aborts after I 
> select the iso location on  the USB key  (manual).

http://wiki.centos.org/HowTos/InstallFromUSBkey
Either you can do most of it "manualy" (and learn a few things), 
or you use others scripts/programs (seeAlternatives at the bottom)...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] install on raid1

2010-07-23 Thread Wessel | Postoffice
Hi All,

I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one the 
2 disks fails the server will still be available.
i installed grub on /dev/sda using the advanced grub configuration option 
during the install.
after the install is done i boot in linux rescue mode , chroot the filesystem 
and copy grub to both drives using:
grub>root (hd0,0)
grub>setup (hd0)
grub>root (hd1,0
grub>setup (hd1)
grub>quit

then reboot, but is still get the error : disk boot faillure, insert linux 
install disk.
does anyone now what i'm doing wrong? here is a copy of my partition scheme.

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  38  305203+  fd  Linux raid autodetect
/dev/sda2  39 675 5116702+  fd  Linux raid autodetect
/dev/sda3 676   30515   239689800   fd  Linux raid autodetect

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *   1  38  305203+  fd  Linux raid autodetect
/dev/sdb2  39 675 5116702+  fd  Linux raid autodetect
/dev/sdb3 676   30515   239689800   fd  Linux raid autodetect

Disk /dev/md1: 5239 MB, 5239406592 bytes
2 heads, 4 sectors/track, 1279152 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md0: 312 MB, 312410112 bytes
2 heads, 4 sectors/track, 76272 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md2: 245.4 GB, 245442281472 bytes
2 heads, 4 sectors/track, 59922432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Regards,

Wessel___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Repository for last packages (firefox, etc.)

2010-07-23 Thread Yann I.
Hello,

I read an article on the site lwn.net (http://lwn.net/Articles/397034/). My
question (a newbie question !) is : where may I find these packages
xulrunner-1.9.2.7-2.el5.x86_64.rpm and firefox-3.6.7-2.el5.centos.x86_64.rpm
?

Regards,

Yann
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fsck on mdraid array - SOLVED

2010-07-23 Thread Jussi Hirvi
Hei,

Ok, as many of you pointed out, the raid arrays did not start 
automatically on "linux rescue" boot (when not mounting the arrays).

I followed Mogens' advice: I let linux rescue mount the arrays, then 
checked /etc/mtab and unmounted everything. After that fsck run ok.

(Turned out the filesystems were ok, so my problem must lie elsewhere.)

- Jussi

On 22.7.2010 11.54, Mogens Kjaer wrote:
> You could try to let the rescue dvd mount the partitions.
>
> Then you can umount them and fsck.
>
> I don't think that the rescue disk assembles the RAID partitions
> unless they are going to be mounted.
>
> Mogens
>


-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos