There's an error when I try to connect to an SSH server with Unison.It says 'Received unexpected header from the server: expected "Unison 2.32" but received "myuser@myhostname" ...'I use Unison for Windows as client to connect to Ubuntu Unison SSH server.Of course It is connected well from localhost to localhost with SSH,but not from a client outside.
I'm trying to set up a synchronization with unison and iwatch to (more or less) instantly sync files upon change in a directory tree. iwatch calls unison like this:
Code:
unison /home/foo/vhosts/foo/my_vhost/bar.html ssh://server.tld//srv/www/vhostsfoo/bar.html -batch -terse -ui text -owner -group I would expect unison to sync all files between the two servers. However, that is not the case. Everything works fine as long as the files are only created/changed/whatever on the server running unison. If a file is created on the server that unison is synchronizing to, it gets deleted the next time unison is called.
For example:
Code:
on the host running unison:
$ cd /home/foo/vhosts/foo/my_vhost $ touch foo.bar -- sshing to remote host --- $ ssh remote.com
[code]....
$ unison /home/foo/vhosts/foo/my_vhost/foo.bar ssh://remote.com//srv/www/vhosts/foo/foo.bar -batch -terse -ui text -owner -groupI expected that both files get synchronized - foo.bar from the unison server to remote.com and hello_world.html from remote.com to the server running unison. Instead, hello_world.html gets deleted.
I've been working a while on this and don't seem to be able to figure it out. Maybe it's only an argument to unison to rectify it but I couldn't find anything adequate in the manpage either.
I am looking to implement a file server, in a small office we have users in 3 different continents, Europe(Ireland), USA and Asia(China) with 3 main offices, 2 in Ireland and 1 in China We currently have 1 file server in Europe synched to another in Asia office using unison Our USA staff and roadwarriors connect over vpn to the fileserver in Ireland Users indicate that access the files in the fileserver from outside the office is prohibitively slow....its served by a 12Mb/2Mb broadband line, which is used for all office traffic
We have hosted servers where we could setup a file server as an alternative to setting up in the offices... Can anyone recommend a good, free/opensource
i set up ssh and unison on my windows machine and i am trying to do a sync on my ubuntu machine to windows. i am running into some issues.
certain paths give me the following error: Error: The path Music/Xxxx is ambiguous (i.e., the name of this path or one of its ancestors is the same, modulo capitalization, as another path in a case-sensitive filesystem, and you are synchronizing this filesystem with a case-insensitive filesystem. When i search for Xxxx on my ubuntu system i only see it in that one Music/Xxxx location.
I'm having a little trouble getting unison to work on Kubuntu and can't figure out why.I have two machines. One is a dinky little box that I'm using for version control and as a file server. It has an IP address of 192.168.1.5. My other machine is a laptop with an ip address assigned via DHCP. I can ssh from the laptop to the dinky box with no problems. However, in unison, I've set up a profile to sync /home/will with ssh://will@192.168.1.5/WillHomeSync. However, when I try to connect, it just hangs on the "Contacting Server..." window and does nothing. How do I even go about starting to troubleshoot this?
My system consists of a laptop running Ubuntu 9.10, a network drive (Samba share formatted fat32 the only option) and a desktop PC running Windows XP. For several weeks have been trying to set-up Unison to synchronise files between my laptop and a network drive with only limited success. I mount the network drive locally with:
sudo mount -t cifs //netdrive/store /home/gm/NAS -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77.
Then in Unison (graphical interface),
root 1 is: /home/gm/Shared_Docs root 2 is: /home/gm/NAS/HomeBackup/Shared_Docs_Backup
After clicking the �OK� button, Unison searches for changes files and I click �Go�.
An error is then produced, a sample of which would be:
�Error in renaming /home/gm/NAS/HomeBackup/Shared_Docs_Backup/.unison.Our-inv.xlsx.f3e8034159989f9de7081f9154319a2b.unison.t mp to /home/gm/NAS/HomeBackup/Shared_Docs_Backup/Our-inv.xlsx: Input/output error [rename(/home/gm/NAS/HomeBackup/Shared_Docs_Backup/.unison.Our-inv.xlsx.f3e8034159989f9de7081f9154319a2b.unison.t mp)]�
If all files in the destination directory (root 2) are first deleted, all files are copied correctly without errors so, I think the problem may be caused by permissions where Unison is unable to overwrite the original file. I know formatting the network drive fat32 is probably making the matter worse, unfortunately I have no alternative.
I have a home server that houses all my files accessible over SSHFS. I am looking for a tool that can bidirectionally sync the Documents Folder on the server with the one on my netbook, so that I can keep my work-flow up to date on both regularly. (the directory in question contains mostly MSOffice files and a few PDFs. It is about 1.5GB in size, most of which never changes.
From what Ive read all the apps I mention will do the trick. Which would you recommend I use and why? Note: I am leaning towards Unison, as it seems to have good SSH support which is important (as I often have to synchronize away from my LAN). Do the other three have any speed/feature advantages which I would be missing in Unison?
I've just installed Unison. I created the default profile, selecting one of my subdirectories as the source. That done, the GUI disappeared, although a unison-2.32.52- process remained running. I can start another GUI session and, regardless of if I kill the old process, I can only choose my profile before the GUI disappears again. There is no opportunity to do anything else useful, such as selecting a destination directory.
I use Unison to synch files between my netbook and desktop. Have done for a while without issue. I hadnt used it for a while and now, when doing so, i cannot get it to work.I get the following error message:
Code: Looking for changes Fatal error: Warning: the archives are locked.
I need a program to run on Ubuntu that must be easily set up to do a series of different cloning operations at specific times between the USB drives on a single Ubunu pc, depending on the day of the week." So on Monday folder B is forced to match folder A, Tuesday C forced to equal D ... and on Sunday a whole bunch of these clonings happen. This must all run unattended (at 2am) and be robust with no "what do you want to do next messages" or having the whole thing give up if there is a problem with one file. Though I do need a log of success or failure. Windows programs that do this stuff are FolderClone and GoodSync. I looked at Unison and Rsync and one or two others, but none appeared set up to do what I need, or to be excessively complex / general. I don't need something that can sync two copies, or over internet ....
Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.
I need a good bi-directional sync. tool like unison, that would work properly over ssh and allow manual decisions and merging if both sides (local&remote) contain changes. unison meets most of my needs, the only drawback is the compatibility - it needs to be installed on both sides, and with the same version. Nowadays it's a bit of a problem, if you have say OS11.3 on one node, SL3 on the other and a MacOS on the third. In my view one only needs the ssh connection, all the rest of the file analysis should be done by the local software. Anyone knows such a tool?
Just a minor question, but I notice with aircrack when it lists networks, it does not list the encryption type of each network.
Which seems fair enough, as you can use Kismet, however on my machine when I end kismet and the server, the monitor interface is not removed and I cannot remove it manually, which screws with aircrack.
SO, is kismet needed to view encryption types of networks, and if so how do you use it peacefully in unison with aircrack?
What follows is actually a copy of my yesterday post on users mailing list, which so far had no response at all. I hope I'll have more luck here.I have 3 PCs running Hardy, Karmic, and Fedora 12, with Firefox on each of them: v. 3.0.18 on Hardy and v. 3.5.8 on both Karmic and Fedora.I created "shared" profile on each system and synchronize them using Unison. Ubuntu 8.04 is a base system for synchronization.The synchronization itself works just fine on all 3 systems. No functionality problems on either of Ubuntu's.In Fedora however I'm having a problem. While using "shared" profile I can save neither a web page nor a download (unless I use some of add-on' as described below).
If either Save Page As... or Save Link As... menu items are selected the requests are simply ignored with no response from FF. However using Download Them All add-on does the job. Equally Scrapbook add-on allows me to save/capture pages.
The default profile works as expected. I thought SELinux is on the way but disabling it (for a test sake) did not changed things. All permissions in "shared" profile directory to me look OK.I'm new to Fedora and cannot figure it out myself, need you help, folks.
I have unison running on both my laptop and desktop, both use Ubuntu 10.04 (AMD64), I have my unison script set up to copy new files, but when it have 2 files already in place I have to manually tell it how to deal with it (either copy laptop->desktop or visa-versa). I would prefer to just run unison and click go, or possibly have an icon on the desktop I can click to automatically run it. how to set it in the script file to copy the newest file over the older file, whether it be laptop -> desktop or desktop -> laptop?
I have it set up so I can do work on my desktop machine, then when I want to leave my desk to work elsewhere, I run unison on the laptop and synchronize my Firefox bookmarks, emails and schoolwork so I can continue from where I left off and when I get back I run unison again to synchronize all my changes back to the desktop.
every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server
I'm a new debian user. I install a Debian in Virtualbox, and try to connect to the source list to update, but it can't connect to the server, while network and internet connection works. This is my sources.list
deb http://ftp.rediris.es/debian/ squeeze main deb-src http://ftp.rediris.es/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.rediris.es/debian/ squeeze-updates main deb-src http://ftp.rediris.es/debian/ squeeze-updates main
I'm trying to setup PS3 media server on my new OpenSuse 11.2 and I'm being unable to connect to the PS3. The multimedia server seems to being working ok, only it has not appear on XMB.
I've been searching on PS3 Media Server forums and try a couple of solutions regarding /etc/hosts and adding full qualified domain name of server to it, but it doesn't seems to work.
I cannot use cvs within eclipse to connect to the server, but when I use cvs in terminal everything works fine.
ERROR Message: Could not connect to :extssh:hongyang@bleong.ndslab.net:/var/cvsroot: CVS communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: Network is unreachable Network is unreachable
Ubuntu 10.x servervsftp mysqlwebmin Apache2I am running the Ubuntu server on the same 192.169.x.x subnet as the PC I am using to test vsftp and webmin and Apache.I can connect to the Apache web site hosted on the Ubuntu server but I cannot connect to any other service -- i.e. port 21 or port 10000 or 3306.Netstat shows:
i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
In Gnome Places->Connect To Server dialog, I am having problem using the Custom Location Service Type. I enter in the URI as
Code:
smb://username:password@ipaddress/share_name
I get an pop up error message that says:
Quote:
Cannot Connect To Server. You must enter a name for the server.
Which would be fine if there was actually a place for me to enter the name which there is not. What am I doing wrong. This is the first time I have tried using the Connect To Server dialog. Normally I just use a script I wrote to mount my share in a folder on my local drive as some programs cannot access the mounted network folder. In a browser all I have to do is:
Code:
smb://ipaddress/share_name
I tried using Windows Shares, but that did not work either. It does work if I click on network and access the share that way, but some programs like firefox and a few others that I want to save a file to my network drive do not show the network unless the share is mounted in a folder. So, I wrote a script:
Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.
Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:
I've tried /etc/init.d/mysql start, and it actually starts, or at least, it doesn't error out. But when I do pgrep mysql I get nothing, and when I try to login with mysql -p as root, I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
None of my other logins work, either, but since pgrep mysql didn't work, it's clear that MySQL just isn't running. I tried uninstalling and reinstalling mysql-server via apt-get, but I get the same thing. The logs in /var/log/syslog show this:
Apr 11 14:31:26 /etc/init.d/mysql[9774]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Apr 11 14:31:26 /etc/init.d/mysql[9774]: error: 'Can't connect to local MySQL server
I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.
I have installed dhcpd and this is how my dhcpd.conf file looks like.
Code:
ifconfig looks like this
Code:
When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.