RSYNC / Windows 2003 & Vista / Open Files
Jun 28, 2007Does anybody know how I can force RSYNC to backup open files on Windows 2003 Standard and Vista Ultimate?
View 4 RepliesDoes anybody know how I can force RSYNC to backup open files on Windows 2003 Standard and Vista Ultimate?
View 4 RepliesWell, my company got a Windows 2003 Small Business Server and most of our workstations were running Windows Vista. Now I ran into some issues I thought I'd document for the benefit of those attempting connections of Vista Business and up workstations to a Windows 2003 Small Business Server:
Windows 2003 Small Business Server Vista and Outlook 2007 Compatibility Upgrade
Before you throwing your Vista clients at your Windows 2003 Small Business Server, you're going to need to make sure you have the Windows Vista and Outlook 2007 compatibility update as outlined by KB926505, the knowledge base entry on Vista and Windows 2003 SBS. This will require a restart of the server to fully apply the effects of the patch.
Updating workstations with existing users
Now, you add your users through the Server Management tool, and it tells you to run [url]on the client workstation to setup the process. Before you do this, you need to separate out your systems with existing users (and thus profiles) and your systems with no established users. For the ones that have existing users, you'll need to install a Win32_UserProfile WMI patch. If you don't apply this patch, then you can't migrate your local PC user settings to the Windows 2003 SBS associated user when you run the setup (Unless you install the patch, then re-run the wizard).
Running the connection wizard
Okay, so let's say your server is named SBS2003, now you point your client workstation to [url]and you'll be asked for the username and password of an existing user on the Windows 2003 SBS. Enter it in and 2 things can happen:
Runs without a hitch
You get an error about copying Client Setup files
Now here's the painful one. There's a number of ways to approach this issue, so be sure to go through them all:
Point your DNS servers to the Windows 2003 SBS and ONLY the Windows 2003 SBS. This solved my particular issue.
You may have an issue with required encryption in IIS. See this post for a possible solution.
You may have an issue with TCP offload. Check this post for more information. Basically you need to disable it.
IIS is bound to a specific IP. Try changing it to "All Unassigned" instead.
Now then, the wizard should run, and your workstation should now be latched onto the domain Not quite done yet though.
Network Discovery
I found my workstations couldn't see network machines after I attached them to the network. Trying to turn on Network Discovery in the Network Sharing Center seemed to fail. To rectify this, I took 2 steps:
Enabled Link Layer Topology Discovery (LLTD) for the domain to get my network map. You'll also need to make sure LLTD is enabled on your NIC properties as well (in the form of a checked box).
I had to turn on Network Discovery and File and Printer Sharing in the Windows Firewall settings. To do this I did: Control Panel
Windows Firewall
Bring up the exceptions tab
Make sure Network Discovery and File and Printer Sharing were enabled
Then viola, network thar she blows. Also, I found that when I shared directories on the Windows 2003 SBS and the client had permissions to access the share, it wouldn't showup until I went to the Publish tab in the share's properties on the server and made it published on active directory. After doing that and refreshing my Windows 2003 SBS showed up in the Network.
At work, we have a windows 2003 server.
We have a set of files that get modified from day to day.
Since they know I own a dedicated server (Linux) they ask me if it would be possible to have an offsite backup on my server of the set of files on the windows 2003 server.
Also, I dont want to have the whole files set to be uploaded everyday.
I am aware of rsync on *nix system, but do you have any suggestions on how to proceed with a windows 2003 server to a unix server?
I have a customer that relies heavily on her email (sends/receives about 200 emails each day). Last Friday we traded her Windows XP computer for a new Windows Vista system.
Now since that time one of her main contacts is unable to receive any emails. She is able to receive messages from that contact but the replies are not received by the customer. I talked with the technical support group on the receiving end and they tracked it back and said that the emails are sitting in their spam filter.
What change(s) were made that changed this trusted email account to a spam account just by upgrading to Vista? I ran the DNS Tools Spam tool and the domain and IP address is not listed in any database. The only thing that showed was something about the PTR not found in the domain record. Is this something that is required?
My roommate ran into this problem a few weeks ago. He could not connect to a webserver. Turns out it is the way that some of the ports are being handled when passive FTP is used.
I was wondering if a lot of web hosting companies are seeing some complaints of (passive) FTP not working properly? And who are you blaming?
He had to install some firmware updates to the Linksys router as well but then that started to crash the Internet connection (something we cannot have). So the router update was uninstalled.
He had to do quite a bit and finally started to use the control panel to upload. He has not tried FileZilla yet but I tried it on my system to connect to his server and it failed.
I'd like to ask for opinion what is the best way to backup a client PC in Windows XP/Vista platform.
For example, each PC has a folder inside c:Server
Every 17:00 hours, the PC will FTP all data inside c:Server to backup server.
When it is done, the manager is able to access to his files & do his work remotely online via the server at night in his home. Another reason to have this backup is because they want to secure all the files from any viruses or any accidents in the office during non office hours as the files is important to them. The next morning, he is able to continue his work as normal when files are being merged.
Any kind of such solution available?
i have a client machine which requires backing up, and the server. For some reason, rsync doesn't want to transfer files...
i've already set up keys, it logs in fine without asking for password.
server config:
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[backup]
comment = Rsync backups
path = /secondary/client
read only = no
list = yes
uid = nobody
gid = nobody
auth users = root
client command:
rsync -vz --recursive --progress --stats -e "ssh -i /root/.ssh/rsynckey" root@server.com:/backup/ /home/usertobackup
it keeps saying cannot find the backup folder, even thouhg it does exist on the server and is what is specified in the path above?
I have move all my vBulletin images to a separate server .. to decrease the load in the main server.. but i am still having a problem .. I have a 3 directors updated daily with new images they are
/home/mark/public_html/vb/customavatars
/home/mark/public_html/vb/customprofilepics
/home/mark/public_html/vb/signaturepics/
I am searching for a way to move only the new files uploaded to this there directory's to the other server in this way
/home/mark/public_html/vb/customavatars (new files) ===> /home/mark/public_html/images/customavatars
/home/mark/public_html/vb/customprofilepics (new files) ===> /home/mark/public_html/images/customprofilepics
/home/mark/public_html/vb/signaturepics/(new files) ===> /home/mark/public_html/images/signaturepics
I have tried to use Rsync in this way as i have a internal connection between my server but it's not work
rsync -a rsync://192.168.0.2/vb/customprofilepics/ /home/mark/public_html/images/customprofilepics
rsync -a rsync://192.168.0.2/vb/customavatars/ /home/mark/public_html/images/customavatars
rsync -a rsync://192.168.0.2/vb/signaturepics/ /home/mark/public_html/images/signaturepics
with daily corn ..
Basically mysql is behaving very very intermittently. Crashes were every 4 hours, I've brought them down to once every 8 or so hours but mysql keeps dying.
the error log will show the same routine each time.
on mysql start:
Quote:
091101 21:58:03 [Warning] option 'open_files_limit': unsigned value 120000 adjusted to 65535
091101 21:58:03 [Warning] Could not increase number of max_open_files to more than 65535 (request: 200110)
091101 21:58:03 [Note] /usr/sbin/mysqld: ready for connections.
Then we'll see errors due to crashed databases:
Quote:
091102 0:33:07 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './<nameofdatabase.frm>'
following this a heap of:
Quote:
091102 0:36:35 [ERROR] /usr/sbin/mysqld: Can't open file: '>another database here.frm>
091102 0:36:36 [ERROR] /usr/sbin/mysqld: Sort aborted
091102 0:36:52 [ERROR] /usr/sbin/mysqld: Sort aborted
091102 0:43:00 [ERROR] Error in accept: Too many open files
i just wana know is it safe to do remote daily backup for about 70,000 files?
file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?
i have 2 option now:
1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.
I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)
I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?
Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?
I been having a heck of a time just with this one cpanel server and open files limit. At first using open_files_limit did not work so I changed it to open-files-limit that seemed to work but now it rejects the value and sets its down to 65535.
Then system open files limit is 500000. I try to set it to any value about 65535 in my.cnf and here is usual error:
090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535
090630 9:32:07 [Warning] option 'open_files_limit': unsigned value 120510 adjusted to 65535
When I run something like the tuning-primer it shows:
Current open_files_limit = 120510 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
But Im not sure if it is just reading my.cnf or something. I am still getting complaints from users about lost connections and I see the errors in error log. Ive looked everywhere and cant seem to find a solution to this.
I was actually curious about this since Windows 2008 version came out.
What is the difference between Windows media services on Windows 2003 and Windows 2008?
We have three virtual hosts on our Apache 2.2 installation on Windows Server 2003. For some reason, I'm unable to open log files (error.log and each virtual hosts-specific log), even though I have full administrator rights. (The log folder is full access to admins.) Every time I try to open the file or even copy it to another location, it just says "Access Denied." I temporarily solved the issue for one of the logs by adding BufferedLogs On
View 1 Replies View RelatedHow to increase the Open Files limits descriptor in Apache. In the earlier version of Cpanel, we had an option of Raise FD Size Limit to 16384, but the option no longer appear while rebuilding Apache. What is the way to do it and make the change permanent?
View 2 Replies View Related"Too many open files: couldn't spawn child process"
"Too many open files: couldn't spawn child process". This is what I see in the logs.
I have a CGI application which I can't run anymore because it is giving me a 500 Internal Server Error.
Would disabling the logging on all domains solve this issue? (thinking that too many log files are opened)
I did: cat /proc/sys/fs/file-max and in return I got: 372235.
Then I did echo 350000 > /proc/sys/fs/file-max*, because I thought I have file system limitation or something like that.
The problem starts even right after I reboot the server.
If I hit lsof a lot of files are shown.
The server load is tiny so nothing actually happens.
Would editing the httpd.conf or my.cnf files help ? Should I post the prefork and MPM settings here?
What else should I do to have my CGI application running again?
I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?
View 3 Replies View Relatedi have Made a VPs on my Own dedicated Server Which i use to run TorrentFlux for Personal Use.
I am facing a few problems and dont know where to askf or help.
when i start more than about 12, i get errors in SSh (if i llogin) or th4e Apache Restarts killing all the Transfers.
I ahve 2 Gb Ram, Dual Core CPU.
the Error Via SSh is:
sh: pipe error: Too many open files in system
and i ahve attached a Errors Log From Apache.
i am a Noob in Servers so i ahve Lxadmin Contorl Panel Installed and the Log is generated by it.
Any company rent Windows Server 2003 Web Edition ?
SPLA and External licenses ?
With Micfrosoft need pay 2,000$
I wait your answerds.
With Windows 2003 server, there are comprehensive lists of what you need to do to secure the server before use. For Windows 2008, I wonder is there such a list? Or is it true as what I heard from Microsoft that it is already secured out of the box?
Anyone has any resources on the hardening or preparation of 2008 for server hosting uses?
TLDR version:
when populating and attempting to write keys to authorized_keys I'm receiving the following error:
Quote:
Could not create directory '/home/Administrator/.ssh'
Long version:
I've been grinding my wheels with this for a long time now. Basically I'm attempting to get rsync set up to backup some data directories on my Windows 2k3 Server through a batch file with task scheduler to bqbackup. I've been back and forth with both Scott and Rsync.net's tech support about this issue - both of which have been great... but essentially keep hitting the same impasse with Scott appearing to have hung his hat stating he's not familiar enough with windows and rysnc.net telling me to wait for their GUI client that should be launching "soon." In the meantime I'm just running the backup manually until I can get this key issue figured out.
Here's what's going on:
I've been mainly using BQ's Guide and Rsync's Guide to try and accomplish this.
After executing ssh-keygen -t rsa -N ''
I receive the following message:
Quote:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/Administrator/.ssh/id_rsa):
If I accept the default value it gives me I receive this error:
Quote:
Could not create directory '/home/Administrator/.ssh'.
Open /home/Administrator/.ssh/id_rsa failed: Not a directory.
Saving the key failed: /home/Administrator/.ssh/id_rsa.
Now my thoughts were this was occurring because my %homepath% is actually:
Quote:
c:documents and settingsadministrator.DOMAIN
(DOMAIN replacing actual text)
I'm able to change the default path location and create the RSA file elsewhere using the cygdrive format... so when prompted for the path to save I instead input:
Quote:
/cydrive/c/docume~1/administrator.DOMAIN/
and am able to create the RSA file... so mission accomplished... so far, I believe I'm past this, the snafu is now occurring on writing these keys to the authorized_keys file on BQBackup...
Quote:
C:Program FilescwRsyncin>rsync -av "/cydrive/c/documents and
settings/administrator.DOMAIN/.ssh/id_rsa.pub"
<login>@<host>:.ssh/authorized_keys
Could not create directory '/home/Administrator/.ssh'.
The authenticity of host '<host> (<ip>)' can't be established.
RSA key fingerprint is 18:02:d9:95:06:a9:70:74:86:b7:76:41:f6:71:a0:a4.
(<login>@<host> replacing actual login & host... it's definitely connecting)
That pesky '/home/Administrator/.ssh' pops up again. I'm not sure if that's what's causing the issue or not. I'm not even sure why the %homepath% for my administrator account on the server is set to administrator.DOMAIN, but AFAIK I can't log in to a local account on a Win2k3S box, correct?
Now, you'll notice that the command I issued to upload the keys I got from the RSync.net instructions. BQ's instructions for step 3 are pretty foreign to me.
I've gone further than this and attempted other things such as SSH'ing into my BQ server using putty and attempting to write the keys that way with no luck. I can't fully remember the errors I encountered doing so, though.
What is the best way to get backup from linux server to windows same as rsync
i need to take offside backup from my linux server to windows server,before i used rsync to take backup,now i need to make backup in windows server with help of any software which work same as rsync or any software which must have good feature.
I'm making a reasonably uninformed comparison here. Since Windows Vista is noted to be more resource intensive and slower than Win XP, are we right in assuming that Windows 2008 is slower than Windows 2003?
For instance, with two boxes with an identical hardware setup but the two different server OSes, will the same application like, say MySQL run slower on the Win 2008 machine?
I am new to this and it has been a long weeks of struggle just to get my website live on the internet. I can preview it but i can't Open what is the problem? It also not live on the internet. I waited over six days because i was thingking it was still in the process of propagation but nothing happened.
View 2 Replies View RelatedI tried to open Administration page for my Parallel Plesk Panel, but all the time it's show Loading and nothing happens. It's also not opening on the server trough https://localhost:8443 System redirect me to the address https://localhost:8443/sso/api.php?api=/ui and 10 minutes it's loading...
View 4 Replies View RelatedIs there hosting that use windows xp rather than windows server 2003? What is the advantage of using windows server2003 anyway?
Most of the time I just need to run some programs that need huge bandwidth. If I want to host sites, I'll just use xamp.
I think windows xp license is cheaper.
Seems that the default installation of Bind on Windows plesk 11.x (i don't know if is also for Linux), configure bind by default as open resolver. Then we must fix the problem using this kb:
[URL]
I'm wondering if i'm doing a wrong installation, of this type of installation is by default. In the second case, is there any reason?
how to setup a vpn on windows 2003 web edition server?
I have setup ras, and letting me to login to the server using PPTP, but its not allowing me to route the Internet using the connection there.
I m having One NIC card, and as far i know its possible to route public network too.
I was contacted by a small company manager who want to setup an online common work place for his employees.
He needs a Windows server with the possibility for up to 10 users to connect remotly and share files and software.
Do you think that Windows 2003 is compulsory for such basic needs? I want to go with Windows XP because it is less expensive.