You are not logged in.
pacman -S syncthingshows
Packages (1) syncthing-0.12.19-1Yet looking on the web it shows syncthing 0.12.20-1
I wouldn't care except when I try and run syncthing from command line I am getting an error:
Illegal instruction (core dumped)So wondering if the latest version will fix it. Alternatively do you know why that message might be appearing?
Last edited by archuser11301 (2016-03-16 13:41:11)
Offline
Yes, you're sync database hasn't been updated: run pacman -Syu.
As for that error, that shouldn't happen even with an older version - but step one is still to update your system.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Ok I ran the update and installed latest version of syncthing and the error message remains. What next? ![]()
Offline
Tell us what you are doing for one. What command did you run? Post the complete command and all the output.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Do you have the complete output of the crash?
EDIT: Too slow...
@Trilby: Syncthing can be run from the commandline just like any application. It's just more useful to use a systemd service.
Last edited by runical (2016-03-16 14:06:27)
Offline
[dilbert@athlonlinux ~]$ syncthing
Illegal instruction (core dumped)
[dilbert@athlonlinux ~]$I have just done the pacman install and immediately tried to run it with typing that above. Not done any other setup. Was following the archwiki and so ran aground there. So I was upto:
After installing, you can either run the syncthing binary manually from a terminal
Last edited by archuser11301 (2016-03-16 14:12:20)
Offline
Hmm. Could you provide the output of
uname -aAnother thing you can try is removing the configuration directory if that already exists. It might somehow have a wrong config. Also try syncthing-bin from the AUR. That is the official binary (although I have no clue why this would happen since it runs fine on my computers).
Last edited by runical (2016-03-16 14:22:19)
Offline
[dilbert@athlonlinux bin]$ uname -a
Linux athlonlinux 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:40:19 UTC 2016 i686 GNU/Linux
[dilbert@athlonlinux bin]$Where should the config directory be to remove it?
Last edited by archuser11301 (2016-03-16 14:24:57)
Offline
Is your system completely up to date? That's not the latest Kernel is why I am asking. Does
pacman -Syushow you have nothing to update? Are you ignoring packages in pacman.conf?
Matt
"It is very difficult to educate the educated."
Offline
Is your system completely up to date? That's not the latest Kernel is why I am asking. Does
pacman -Syushow you have nothing to update? Are you ignoring packages in pacman.conf?
Yes I just ran it again
[root@athlonlinux .config]# pacman -Syu
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
[root@athlonlinux .config]# syncthing
Illegal instruction (core dumped)
[root@athlonlinux .config]#Offline
What CPU?
Offline
uname gives the running kernel. I assume you have along uptime. What's the output of `pacman -Q linux`? I don't know if/why/how syncthing would depend on module loading, but if the pacman -Q linux output doesn't match the version in uname, then a reboot would be a good thing to try.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
uname gives the running kernel. I assume you have along uptime. What's the output of `pacman -Q linux`? I don't know if/why/how syncthing would depend on module loading, but if the pacman -Q linux output doesn't match the version in uname, then a reboot would be a good thing to try.
[root@athlonlinux dilbert]# pacman -Q linux
linux 4.4.5-1
[root@athlonlinux dilbert]#I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.
Also I'm not tied to using syncthing although I tried it today since I thought the open soruce solution is the best one to try first. If there are any other solutions available whcih do the job as well I'll try those. I simply want a folder synced of my python projects between my main computer and my server. Both computers are in my house. I guess Ill try btsync again if there we don't find any solutions here though it is nice to use open source when possible.
Last edited by archuser11301 (2016-03-16 15:03:35)
Offline
And yet you run a kernel that isn't the latest nor the LTS kernel (maybe you updated earlier today?). Try rebooting and try again for syncthing.
Last edited by runical (2016-03-16 15:01:38)
Offline
I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.
This is not possible. It is possible that you have never updated before, and since you just updated and haven't rebooted you could be running an old kernel. But the kernel you are running was last in the repos on January 13th. So either you installed on or before January 13th and have never updated, or there is something important you aren't telling us.
I see in your other posts you claim to have followed some tutorial other than our wiki for installing arch. This is likely the source of the kernel descrepancy and is almost certainly the root cause of the problem you are having with syncthing.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.
What CPU?
Answering myself, the hostname includes Athlon. I'm going to assume this is an older i686 Athlon, which did not have SSE2 instructions. If the package is trying to use that instruction set, you'll get this error. This is one of the causes of "Illegal Instruction".
Last edited by Scimmia (2016-03-16 15:08:59)
Offline
archuser11301 wrote:I turn the computer off every evening so no long run times and only installed arch on it the other week. I rebooted first before running the above if that matters.
This is not possible. It is possible that you have never updated before, and since you just updated and haven't rebooted you could be running an old kernel. But the kernel you are running was last in the repos on January 13th. So either you installed on or before January 13th and have never updated, or there is something important you aren't telling us.
Yes I never updated before. I only did it an hour or two ago when you told me to
. I updated when you told me and rebooted a couple of seconds ago and only then ran `pacman -Q linux`. Does that answer the issue or no?
Last edited by archuser11301 (2016-03-16 15:07:29)
Offline
I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.
Scimmia, see the last line in the edit of my previous post. A different kernel version would not cause this error. But an impossible-on-archlinux kernel version does point to something suspicious and likely shares the same root cause as this issue.
EDIT: nevermind, I give up. I've seen a history of counterproductive exchanges with this user, and now that it is clear some important information is being hidden, I really don't care to bother to try to extract what it might be.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I seriously doubt the kernel is going to make any difference. It is a problem that needs to be addressed, but it's likely unrelated.
Scimmia wrote:What CPU?
Answering myself, the hostname includes Athlon. I'm going to assume this is an older i686 Athlon, which did not have SSE2 instructions. If the package is trying to use that instruction set, you'll get this error. This is what "Illegal Instruction" means.
It is an athlonxp 3200.
Offline
Yep, no SSE2. Rebuild the package locally and I'd bet the problem goes away.
Offline
Yep, no SSE2. Rebuild the package locally and I'd bet the problem goes away.
How do I do that ? is that the same as installing the binary from the AUR as trilby advised earlier?
Offline
You can use ABS or just grab sources off projects page https://projects.archlinux.org/svntogit … /syncthing
Offline
Also I'm not tied to using syncthing although I tried it today since I thought the open soruce solution is the best one to try first. If there are any other solutions available whcih do the job as well I'll try those. I simply want a folder synced of my python projects between my main computer and my server. Both computers are in my house. I guess Ill try btsync again if there we don't find any solutions here though it is nice to use open source when possible.
If you want to keep your code synchronized, why not git? (or other VCS).
Offline
Offline
Thanks
Offline