Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Kenneth Porter
--On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia wrote: > This tends to break symlinks and hard-coded script locations. In > particular, Samba and Apache make some assumptions about where home > directories live that you might want to resolve if you enable homedir > access for or p

Re: [CentOS] Groups

2011-01-31 Thread Kenneth Porter
--On Sunday, January 30, 2011 8:14 PM -0800 Jason S-M wrote: > Secondarily /var/www/html/ is owned by root:root, can I > change this to something else so my sftp'ing is easier? apache:apache as > owner? I would avoid giving the apache user write access to anything under /var/www/html unless it

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread John R Pierce
On 01/31/11 12:34 AM, Kenneth Porter wrote: > --On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia > wrote: > >> This tends to break symlinks and hard-coded script locations. In >> particular, Samba and Apache make some assumptions about where home >> directories live that you might wan

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Rudi Ahlers
On Mon, Jan 31, 2011 at 8:22 AM, Tom H wrote: > On Mon, Jan 31, 2011 at 12:18 AM, Rudi Ahlers wrote: >> On Sun, Jan 30, 2011 at 11:07 PM, Soo-Hyun Choi >> wrote: >>> >>> As you know, $HOME is generally located at "/home/$username" by default. >>> >>> I would like to re-locate all users' $HOME d

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Kenni Lund
2011/1/30 Michael Klinosky : > Robert wrote: >> You are generally *better off* to *disable* the motherboard RAID >> controller and use native Linux software RAID. > > After my research, I'm realizing that linux doesn't quite support it. > So, I'll probably do as you suggested. I don't know if "lin

Re: [CentOS] OT: Recommendations for a virtual storage server

2011-01-31 Thread carlopmart
On 01/31/2011 04:05 AM, James A. Peltier wrote: > - Original Message -> |>> > |> > |> Correct. > | > | But I don't see how any of those things apply here. If the host fails > | your vm's > | are going to fail in any case, and there's not much magic involved in > | exporting > | an NFS shar

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Les Bell
Kenni Lund wrote: >> Fakeraid is a proprietary software RAID solution, so if your motherboard suddently decides to die, how will you then get access to your data? << Obviously, you restore it from a backup. RAID is not a substitute for backups. Best, --- Les Bell [http://www.lesbell.com.au] T

[CentOS] sshd problem

2011-01-31 Thread Yang Yang
my server is on centos 5.5,it is just a new reinstall system i build a php depend on server and used nginx,php,mysql ssh is default 22 port The system perfomance good a few time.but it is always happen a problem only need hardware reboot to solve.the server is on idc.so i can not see the local s

[CentOS] redirecting traffic using iptables

2011-01-31 Thread Jobst Schmalenbach
Hi. I have two internet connections, the ADSL2+ is very very cheap (but fast 10mb) and I want to use the SHDSL (2mb) only for mail,ssh,http OUT and the ADSL2+ only for surfing. I all works fine if people specify the proxy in the browser, but in case like flash it of no use. Further if I can m

Re: [CentOS] redirecting traffic using iptables

2011-01-31 Thread Giles Coochey
On 31/01/2011 13:46, Jobst Schmalenbach wrote: Hi. I have two internet connections, the ADSL2+ is very very cheap (but fast 10mb) and I want to use the SHDSL (2mb) only for mail,ssh,http OUT and the ADSL2+ only for surfing. I all works fine if people specify the proxy in the browser, but in cas

Re: [CentOS] sshd problem

2011-01-31 Thread Kai Schaetzl
Yang Yang wrote on Mon, 31 Jan 2011 19:52:59 +0800: > i do not know what happen,please give me a good answer Did you already check http://www.google.de/search?as_q=SSH2_MSG_KEXINIT ? Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Steve Brooks
On Mon, 31 Jan 2011, Les Bell wrote: > > Kenni Lund wrote: > >>> > Fakeraid is a proprietary software RAID > solution, so if your motherboard suddently decides to die, how will > you then get access to your data? > << > > Obviously, you restore it from a backup. RAID is not a substitute for > bac

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Kenni Lund
2011/1/31 Steve Brooks : > On Mon, 31 Jan 2011, Les Bell wrote: > >> >> Kenni Lund wrote: >> >> Fakeraid is a proprietary software RAID >> solution, so if your motherboard suddently decides to die, how will >> you then get access to your data? >> << >> >> Obviously, you restore it from a back

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Les Mikesell
On 1/31/11 3:24 AM, Les Bell wrote: > > Kenni Lund wrote: > >>> > Fakeraid is a proprietary software RAID > solution, so if your motherboard suddently decides to die, how will > you then get access to your data? > << > > Obviously, you restore it from a backup. RAID is not a substitute for > backu

Re: [CentOS] CentOS and Dell MD3200i / MD3220i iSCSI w/ multipath -- slightly OT

2011-01-31 Thread Peter Gillich
I forget to describe a non-general solution for I/O errors at boot time. Its the Multi-Path Proxy driver (linuxrdac), which acts as one device. Here is a description: http://linux.dell.com/wiki/index.php/Products/HA/DellRedHatHALinuxCluster/Storage/PowerVault_MD3000/Software BR, Peter On Fri, Ja

Re: [CentOS] OT: Recommendations for a virtual storage server

2011-01-31 Thread Les Mikesell
On 1/31/11 3:20 AM, carlopmart wrote: > On 01/31/2011 04:05 AM, James A. Peltier wrote: >> - Original Message -> |>> >> |> >> |> Correct. >> | >> | But I don't see how any of those things apply here. If the host fails >> | your vm's >> | are going to fail in any case, and there's not muc

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Les Mikesell
On 1/31/11 2:34 AM, Kenneth Porter wrote: > --On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia > wrote: > >> This tends to break symlinks and hard-coded script locations. In >> particular, Samba and Apache make some assumptions about where home >> directories live that you might want

Re: [CentOS] sshd problem

2011-01-31 Thread Yang Yang
i visit some webpage like http://stackoverflow.com/questions/2419412/ssh-connection-stop-at-debug1-ssh2-msg-kexinit-sent it is very like my problem but unfornatuly,i do not find the reson and solve it thanks,i am new guy on linux,please give me futher advice On Mon, Jan 31, 2011 at 9:11 PM, K

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Jerry McAllister
On Mon, Jan 31, 2011 at 06:07:27AM +0900, Soo-Hyun Choi wrote: > Hi there, > > As you know, $HOME is generally located at "/home/$username" by default. > > I would like to re-locate all users' $HOME directories to something like > "/export/home/$username" without having a hassle/trouble. > > In

Re: [CentOS] OT: Recommendations for a virtual storage server

2011-01-31 Thread Ross Walker
On Jan 31, 2011, at 8:58 AM, Les Mikesell wrote: > On 1/31/11 3:20 AM, carlopmart wrote: >> On 01/31/2011 04:05 AM, James A. Peltier wrote: >>> - Original Message -> |>> >>> |> >>> |> Correct. >>> | >>> | But I don't see how any of those things apply here. If the host fails >>> | your

Re: [CentOS] redirecting traffic using iptables

2011-01-31 Thread Robert Spangler
On Monday 31 January 2011 07:46, Jobst Schmalenbach wrote: >iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to > $PROXY:3128 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 443 -j > DNAT --to $PROXY:3128 > > browser tell me "invalid request". >From the man pages:

[CentOS] zfs experience

2011-01-31 Thread ann kok
Hi Anyone is trying zfs in linux. Any experience can be shared Thank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] zfs experience

2011-01-31 Thread compdoc
> Anyone is trying zfs in linux. Any experience can be shared It's got some great features, but don't install the fuse-zfs version... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Squid and SELinux

2011-01-31 Thread Marcos Lois Bermúdez
Hi. I'm trying to setup squid with SELinux, the problem i encounter is taht i want to add another directory for cache, in this system we have a home partition with huge space, i create a squid dir and add the path with semanage: semanage fcontext -a -t squid_cache_t '/home/squid(/.*)?' i ch

[CentOS] Building RPMs for CentOS

2011-01-31 Thread Marcos Lois Bermúdez
Hi. Some times i need to build packages for CentOS, the major requeriment is build some missing module or package newer version required to run some sotware. I setup a mock build enviroment to compile packages, all is working as expected, but i enconter problem to share this work in a source

Re: [CentOS] zfs experience

2011-01-31 Thread Karanbir Singh
On 01/31/2011 03:13 PM, ann kok wrote: > Hi > > Anyone is trying zfs in linux. > > Any experience can be shared take this to a more relevant list. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] sshd problem

2011-01-31 Thread Kai Schaetzl
>From the search results this is likely a network/routing/network settings problem on your side and not specific to CentOS at all. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Groups

2011-01-31 Thread Todd
> > > On one of my servers I have a personal account and root. I disable root > for ssh logins and run ssh on an alternative port. When 'scp'ing files I > usually scp them up, then ssh in 'su' root and move them to /var/www/html. > > > > I can sftp I realize, but what group can I add my personal ac

Re: [CentOS] zfs experience

2011-01-31 Thread Rudi Ahlers
On Mon, Jan 31, 2011 at 5:52 PM, Karanbir Singh wrote: > On 01/31/2011 03:13 PM, ann kok wrote: >> Hi >> >> Anyone is trying zfs in linux. >> >> Any experience can be shared > > take this to a more relevant list. > ___ This is a "more relevant list", i

Re: [CentOS] Groups

2011-01-31 Thread Nicolas Thierry-Mieg
Todd wrote: > > On one of my servers I have a personal account and root. I > disable root for ssh logins and run ssh on an alternative port. When > 'scp'ing files I usually scp them up, then ssh in 'su' root and move > them to /var/www/html. > > > > I can sftp I realize,

Re: [CentOS] Groups

2011-01-31 Thread Todd
> > On one of my servers I have a personal account and root. I > > disable root for ssh logins and run ssh on an alternative port. When > > 'scp'ing files I usually scp them up, then ssh in 'su' root and move > > them to /var/www/html. > > > > > > I can sftp I realize, b

Re: [CentOS] sshd problem

2011-01-31 Thread Yang Yang
i set mtu to 576 depende on google search result hope it can help me to resolve the rproblem thanks for all answer 2011/1/31 Kai Schaetzl > >From the search results this is likely a network/routing/network settings > problem on your side and not specific to CentOS at all. > > Kai > > > __

Re: [CentOS] zfs experience

2011-01-31 Thread Brunner, Brian T.
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Rudi Ahlers > Sent: Monday, January 31, 2011 11:42 AM > To: CentOS mailing list > Subject: Re: [CentOS] zfs experience > > On Mon, Jan 31, 2011 at 5:52 PM, Karanbir Singh > wrote: >

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Nicolas Thierry-Mieg wrote: > Todd wrote: >> > On one of my servers I have a personal account and root. I >> disable root for ssh logins and run ssh on an alternative port. When >> 'scp'ing files I usually scp them up, then ssh in 'su' root and move >> them to /var/www/html. Or su

Re: [CentOS] zfs experience

2011-01-31 Thread Karanbir Singh
Hi Rudi, On 01/31/2011 04:41 PM, Rudi Ahlers wrote: >> take this to a more relevant list. > This is a "more relevant list", it's Linux. > erm, no - this is the CentOS list. Not a generic linux list. And I'm guessing most of the zfs interest isnt even Linux centric. - KB

Re: [CentOS] Groups

2011-01-31 Thread Todd
Hi Mark, > >> With /var/www/html owned by root:root and me loggin in as 'jason' I > >> cannot accomplish this. I don't allow root logins over ssh... > > >> Would I change /var/www/html/ owner to myid:mygroup? I am not > >> sure the famifications of this and how Apache would behave, etc. > > > >

Re: [CentOS] Groups

2011-01-31 Thread Nicolas Thierry-Mieg
m.r...@5-cent.us wrote: > Nicolas Thierry-Mieg wrote: >> Todd wrote: >>> With /var/www/html owned by root:root and me loggin in as 'jason' I >>> cannot accomplish this. I don't allow root logins over ssh... > >>> Would I change /var/www/html/ owner to myid:mygroup? I am not >>> sure the famificat

Re: [CentOS] zfs experience

2011-01-31 Thread Rudi Ahlers
On Mon, Jan 31, 2011 at 6:54 PM, Karanbir Singh wrote: > Hi Rudi, > > On 01/31/2011 04:41 PM, Rudi Ahlers wrote: >>> take this to a more relevant list. >> This is a "more relevant list", it's Linux. >> > > erm, no - this is the CentOS list. Not a generic linux list. And I'm > guessing most of the

Re: [CentOS] zfs experience

2011-01-31 Thread Karanbir Singh
On 01/31/2011 05:08 PM, Rudi Ahlers wrote: > He actually asked who has experience with ZFS on Linux. How more > centric do you want? Reread the last email from me and from Brian. This is the CentOS list, questions and comments on or about CentOS is whats considered ontop here. Not generic Linux

Re: [CentOS] zfs experience

2011-01-31 Thread Nicolas Thierry-Mieg
Rudi Ahlers wrote: > On Mon, Jan 31, 2011 at 6:54 PM, Karanbir Singh wrote: >> Hi Rudi, >> >> On 01/31/2011 04:41 PM, Rudi Ahlers wrote: take this to a more relevant list. >>> This is a "more relevant list", it's Linux. >>> >> >> erm, no - this is the CentOS list. Not a generic linux list. An

Re: [CentOS] OT: Recommendations for a virtual storage server

2011-01-31 Thread carlopmart
On 01/31/2011 03:57 PM, Ross Walker wrote:>>> virtual machines running on HP ML115 server. >>> >>> Where is the problem?? Problem is the storage. All storage resides on the >>> HP ML150 >>> server. For that reason I need to install a server as a virtual storage to >>> run most >>> of the virtua

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Hey, Todd, Todd wrote: > >> >> With /var/www/html owned by root:root and me loggin in as 'jason' I >> >> cannot accomplish this. I don't allow root logins over ssh... >> >> > Would I change /var/www/html/ owner to myid:mygroup? I am >> > not sure the famifications of this and how Apache would beh

Re: [CentOS] Groups

2011-01-31 Thread Nicolas Thierry-Mieg
m.r...@5-cent.us wrote: > Todd wrote: >> > With /var/www/html owned by root:root and me loggin in as 'jason' I > cannot accomplish this. I don't allow root logins over ssh... >>> Would I change /var/www/html/ owner to myid:mygroup? I am not sure the famifications of this and how

Re: [CentOS] Groups

2011-01-31 Thread Always Learning
On Mon, 2011-01-31 at 18:05 +0100, Nicolas Thierry-Mieg wrote: > so you prefer giving the apache user write access to /var/www ? > Is this really a good thing...? > I agree with the group advice though, if you have several users > modifying the website content of course. Apache is wonderfully f

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Nicolas Thierry-Mieg wrote: > m.r...@5-cent.us wrote: >> Todd wrote: >>> >> With /var/www/html owned by root:root and me loggin in as 'jason' I >> cannot accomplish this. I don't allow root logins over ssh... > Would I change /var/www/html/ owner to myid:mygroup? I am > not s

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Always Learning wrote: > On Mon, 2011-01-31 at 18:05 +0100, Nicolas Thierry-Mieg wrote: > Also avoid having phpMyAdmin off the main web directory. Ordinary users > don't need access and should never have access to it. Hide it away > somewhere and create a virtual Apache host to use it with a non-s

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Paul Heinlein
On Mon, 31 Jan 2011, Soo-Hyun Choi wrote: > Hi there, > > As you know, $HOME is generally located at "/home/$username" by default. > > I would like to re-locate all users' $HOME directories to something > like "/export/home/$username" without having a hassle/trouble. > > Initially, I've thought o

Re: [CentOS] Groups

2011-01-31 Thread Todd
> Also avoid having phpMyAdmin off the main web directory. Ordinary users > > don't need access and should never have access to it. Hide it away > > somewhere and create a virtual Apache host to use it with a non-standard > > port number. Make it hard for the hackers and spoilers to find it. > > Um

Re: [CentOS] Groups

2011-01-31 Thread Todd
> > I can sftp I realize, but what group can I add my personal account to, but > not root, so I can sftp in and put the files in /var/www/html? > Adding to this: My son (who is 12) has his own domain now and is using iWeb to publish his website to an old server that I have. Well he is getting a f

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Cameron Kerr
On 1/02/2011, at 7:19 AM, Paul Heinlein wrote: Lots of good advice snipped > 12. Tell your users emphatically that they should use $HOME anywhere > they're tempted to hardwire their home directory path into a > script. :-) Although this is still painful for any users who might have com

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Drew
> By the way, I'd suggest not using the name /export.  It gets used > in too many places to mean specific things and it could get confusing > some time later.  Pick some other name. My personal preference is to use a subdirectory under /srv, say /srv/nfs/home. Keeps it out of the rest of the tree

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Todd wrote: >> Also avoid having phpMyAdmin off the main web directory. Ordinary users >> > don't need access and should never have access to it. Hide it away >> > somewhere and create a virtual Apache host to use it with a >> non-standard >> > port number. Make it hard for the hackers and spoilers

Re: [CentOS] Groups

2011-01-31 Thread m . roth
Todd wrote: >> >> I can sftp I realize, but what group can I add my personal account to, >> but not root, so I can sftp in and put the files in /var/www/html? > > Adding to this: > > My son (who is 12) has his own domain now and is using iWeb to publish his > website to an old server that I have. W

Re: [CentOS] Groups

2011-01-31 Thread Todd
It redirects them back to them self, actually and they get whatever they might be running for a web-server on the local machine if anything. It nothing they get a not found http://en.wikipedia.org/wiki/HTTP_301 On Mon, Jan 31, 2011 at 11:50 AM, wrote: > Todd wrote: > >> Also avoid having phpMyA

Re: [CentOS] RAID support in kernel?

2011-01-31 Thread Raymond Lillard
On 01/31/2011 05:36 AM, Kenni Lund wrote: > 2011/1/31 Steve Brooks: >> On Mon, 31 Jan 2011, Les Bell wrote: >>> Kenni Lund wrote: >>> >> >>> Fakeraid is a proprietary software RAID >>> solution, so if your motherboard suddenly decides to die, how will >>> you then get access to your data? >>> << >

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Robert Nichols
On 01/31/2011 01:32 PM, Cameron Kerr wrote: > On 1/02/2011, at 7:19 AM, Paul Heinlein wrote: > > Lots of good advice snipped > >> 12. Tell your users emphatically that they should use $HOME anywhere >> they're tempted to hardwire their home directory path into a >> script. :-) > > Althou

[CentOS] python-dbus

2011-01-31 Thread David McGuffey
What is this all about? Seems to be related to my attempt to load hplip-3.10.9 to support an HP Photosmart 3210 all-in-one for scanning through saned. from /var/log/messages: Jan 31 20:07:26 desk python: [2851]: error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting... Jan 31 20:0

Re: [CentOS] Squid and SELinux

2011-01-31 Thread Tsuyoshi Nagata
Hi Mrcos (2011/02/01 0:31), Marcos Lois Bermúdez wrote: > semanage fcontext -a -t squid_cache_t '/home/squid(/.*)?' > > i check the files and are in the good context: > > drwxr-xr-x squid squid user_u:object_r:squid_cache_t. **> drwxr-xr-x squid squid system_u:object_r:home_root_t .. > drwxr

Re: [CentOS] Groups

2011-01-31 Thread Jay Leafey
We've got a CentOS/Apache server with a ton of "content providers" that only have write access to specific directories. In our case, we use ACLs to grant access to the specific parts of the /var/www/html tree. If there's only one or two users, we usually add individual ACL entries for each, if

Re: [CentOS] OT: Recommendations for a virtual storage server

2011-01-31 Thread Ross Walker
On Jan 31, 2011, at 12:20 PM, carlopmart wrote: > On 01/31/2011 03:57 PM, Ross Walker wrote:>>> virtual machines running on HP > ML115 > server. Where is the problem?? Problem is the storage. All storage resides on the HP ML150 server. For that reason I need to install a s

Re: [CentOS] python-dbus

2011-01-31 Thread Don Krause
It's dbus-python [dkrause@cen015-246 ~]$ yum search dbus-python Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos-distro.cavecreek.net * extras: mirror.web-ster.com * rpmforge: fr2.rpmfind.net = Matched: dbus-python ===

Re: [CentOS] sshd problem

2011-01-31 Thread Cameron Kerr
The TCP connection is being built successfully. We can know this by the fact that it has progressed to sending an application-layer PDU. If it were a routing issue, it would have failed to build a TCP connection (the SYN-ACK would have failed to return). However, it is closed very soon after, d