Re: [CentOS] rsync question

2008-08-05 Thread MJT
On Monday 04 August 2008 11:35:18 pm Mag Gam wrote:
 Hi All,

 I am trying to understand the purpose of rsyncd. Why does it exist?
 Why not just use rsync ad-hoc or via script?

This is explained in the rsync documentation, read the man page for more info. 
You either need to use rsync with a remote shell such as rsh (boo, hiss) or 
ssh (yeah), or you need to use rsyncd and rsyncd.conf. Ultimately you will 
need something to connect to, be it sshd, rsyncd or what ever. 


 Also, to a more serious note. I need to keep a filesystem on 1 server
 and another server synced by.
 What is the best way to do this? I want to have /source and /target to
 be exactly the same. I don't want any extra files in /target. I want
 the timestamps to be the exact same in /target. Does anyone have a
 good rsync arguments I can use? I have been using -avzl but I was
 wondering if there was anything better.


Do you want everything mirrored exactly all the time (real time)? If so, your 
best bet may be to rely on whatever your application can provide. Using 
rsync, the target will almost certainly lag behind the source, 

Could you be more specific with what you are trying to do? 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-02 Thread MJT
On Saturday 02 August 2008 6:25:07 pm Ryan Dunn wrote:
 One thing that I've been somewhat confused on is how to tell the NFS server
 to only use v4 or v3?  Right now I've only got tcp 2049 open in the centos
 firewall, so I'm assuming that it is NFSv4, but other than that, I don't
 know how to tell the difference.  I've look around for this and haven't
 found anything.

/etc/sysconfig/nfs 

is where you say which versions are mounted. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 5 as server; best way to setup NFSv4?

2008-08-01 Thread MJT
On Friday 01 August 2008 5:27:50 pm Ryan Dunn wrote:

If you are running your lan as a lab to learn, I would suggest one thing. From 
what I have read, it seems you just want to have everything work together in 
a simple manor. 

Since you have windows involved, you might consider having everything run with 
samba. With samba, every system would be able to share and use shares on 
every other computer.  

You could set up a samba server as a domain controller and use something like 
pam_smb, pam_ntdom or libpam-smbpass (i've used libpam-smbpass on other 
systems, but do know if centos makes it available anywhere, it is the only 
one that I know of that allows for update of the password from Linux) to 
allow the Linux boxes to authenticate against the samba server.

http://www.freebooks.by.ru/view/SambaIn24h/ch16-03.htm

In this case, you would not need to set up LDAP which I think is a bit much 
for what it sounds like you are trying to do. Because you would be mounting 
Linux to Linux using Samba, you would not need to worry about NFS at all. 

If it were just a Linux home network, I would do NFS3 with (probably a bad 
word here) NIS. Yes, NIS is insecure, but so is NFS3. If you use a firewall 
that would block outgoing NIS packets, it should do good enough for a home 
network. 

How this simplifies everything:

1: Only one network file system for both windows and Linux, not NFS for Linux, 
samba for windows. 

2: Allows Linux access to windows shares and printers. 

3: If you are using libpam-smbpass you do not need to use a something like 
LDAP, but rather passdb backend = tdbsam . 

Your needs may be more complex than what I assumed, but I wanted to put 
forward one way to consider... 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Widescreen monitor won't configure to a wide screen

2008-07-29 Thread MJT
On Tuesday 29 July 2008 9:55:50 pm MHR wrote:
 I just put a 1680x1050 LCD monitor on my home system, and I went into
 system-config-display to configure it as such, and it just won't take.

SNIP
 Any suggestions?  It's really annoying to have a wide screen and not
 be able to use it


What version centOS,  Kernel and nvidia drivers are you using? Also, what 
brand and model monitor? 

I don't have my Samsung wide screen hooked up to my centos, but when I first 
connected it to my Mandriva system, I could not get the full wide screen. I 
was planning on upgrading, so I did not fiddle with it much, I figured I 
would wait to see if the updates in the new Mandriva worked any better. It 
did, as soon as I upgraded, the Mandriva auto-detected my monitor and all has 
been fine since. 

It may bee you need to upgrade your Nvidia drivers. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Firewall in CentOS 5.1

2008-07-24 Thread MJT
On Thursday 24 July 2008 1:34:01 am Gopinath Achari wrote:
 hi all,

   Please suggest me a good firewall package for Cent OS 5.1 
 Server. This
 server is going to face to internet and will be accessed by the branch
 offices.

The firewall is the same, IPtables. The front end interface can be different. 
I like FWbuilder because it give the most flexible of any front ends I have 
seen. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS V4?

2008-07-23 Thread MJT
On Wednesday 23 July 2008 9:55:57 am David Dyer-Bennet wrote:
  change which versions of NFS get mounted. I haven't had to change
  anything else in that file.

 I don't believe SECURE_NFS does anything; at least, it's not mentioned in
 /etc/init.d/nfs anywhere, and it's not in the nfsd man page.

It is in the /etc/sysconfig/nfs file, so it does not necessarily need to be in 
the /etc/init.d/nfs.  It is supposed to handle authentication and you are 
having authentication problems, right?.

I do not have your version of centos running but SECURE_NFS is not listed 
in  /etc/init.d/nfs, it IS in /etc/rpcgssd and /etc/init.d/rpcvsgssd  in 
centos 5.2, I'm betting that it is somewhat the same on your system.


From Redhat documentation:

 
https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/Reference_Guide/s2-nfs-how-daemons.html

pc.svcgssd — This process is used by the NFS server to perform user 
authentication and is started only when SECURE_NFS=yes is set in 
the /etc/sysconfig/nfs file.

rpc.gssd — This process is used by the NFS server to perform user 
authentication and is started only when SECURE_NFS=yes is set in 
the /etc/sysconfig/nfs file.

Notice that both of these talk about authentication, which is the problem you 
are having, right? 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] configuration request

2008-07-18 Thread MJT
On Friday 18 July 2008 12:56:30 pm Sam Drinkard wrote:
 I've apparently gotten myself into somewhat of a bind.  I've been trying
 to exclude various packages from the different repos, and while I
 *think* I've gotten a working configuration again, it it still pulling
 stuff in that I have excluded I think in the right repos, but things I
 have no use for whatsoever.  Items like kernel-hugemem-devel,
 kernel-hugemem, and anything involving kernel development.  I run a
 stock kernel and am not doing any building of any kind at this point.
 The machine is an i-686 machine, and a single processor.  

OK, I'm still new to centos, so I could have a misunderstanding of this so 
others may feel free to correct me if I am wrong.

First, which version of centos are you using? Also, how much memory are you 
using? hugemem means huge memory and, to my understanding was introduced 
to allow for memory in excess of 4 GB. If your system has over 4 GB, it could 
be loading that kernel because that is what you need. 

The kernel headers or kernel development may well be need at the time of 
install. In another distribution I used, to install and use nvidia video card 
drivers, the install script requires the kernel headers to build the 
appropriate module or some such thing. It has been a while since I installed 
the OS, so I don't recall the specifics. 

As I have said, I'm new to centos and not sure how things are done in this 
part of the Linux world, so don't take my word as gospel and I' won't get 
offended if someone corrects me. 


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