RE: keep files up-to-date (mirror?)

2003-09-03 Thread Anand Raman
Rsync..
http://rsync.samba.org/ 

anand

-Original Message-
From: francois mounier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 7:48 PM
To: [EMAIL PROTECTED]
Subject: keep files up-to-date (mirror?)

Hi, 


I am using Debian woody 3.0r1 with the standard kernel (2.4.17-32)
I have setup an LVS load balancing httpd (apache) with php...this LVS
can connect to a Db (mysql) for the use of the intranet web site...

My problem is that, when I update the static content of the web site
on one of the webserver, I need it to be replicated on all the other
web server...i mean replication of the /var/www/...(only the modified
files).

I was thinking of a mirror site..
Do you knw which package I should use...
I ve checked a bit and I have found only mirror

But cant find any howto or any thread about itDoes anybody know
about this package and have some info for me..

Thanks
Francois


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: syntax highlighting in vim

2003-09-02 Thread Anand Raman
Refreshing the screen Ctrl - L should help.. I have seen it on one or
more occasions and hitting Ctrl L has always helped

anand

-Original Message-
From: Emma Jane Hogbin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 2:29 AM
To: debian-user
Subject: syntax highlighting in vim

Sometimes when I'm searching for strings in Vim the syntax highlighting
gets turned off. I'm unable to reset it unless I (1) quit the program;
(2)
scroll to the top of the page and then scroll back down.

Has anyone else experienced this problem? I'm using 6.1.474. It tends to
only happen with longer files. My current file is 1250Lines and is
technically [dos] format (although it's just a PHP file).

Any solutions would be much appreciated. The switch to Emacs type of
solution will be silently ignored. ;)

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



newbie questions rsh and open sockets

2003-09-02 Thread Anand Raman
Hi guys

I am using rsh to execute a command on a remote machine. The command execution happens 
fine and the method returns perfectly.

However when I use netstat to view the socket connections on the remote machine I see 
multiple connections opened from the source machine. 

Why does this happen. Shouldnt the socket connections be closed the moment rsh 
completes the command execution

[EMAIL PROTECTED] root]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 10.210.5.45:shell   10.210.5.71:1017TIME_WAIT
tcp0  0 10.210.5.45:102310.210.5.71:1016TIME_WAIT

Thanks for your time.
anand


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]