/srv/irclogs.ubuntu.com/2014/04/05/#ubuntu-server.txt

AndChat164736What is a command I can run to view incoming traffic on port 80?00:37
sarnoldAndChat164736: sudo tcpdump -i wlan0 tcp port 8000:40
sarnoldadd more options if you want to see contents, etc00:40
AndChat164736Thanks haven't learned much about tcpdump yet00:41
sarnoldAndChat164736: ah, you might also want -n to prevent nameservice lookups. that'll make it run way faster :)00:42
sarnoldhah, and of course wlan0 is because I tested it on my laptop :) your server may not have a wireless NIC :)00:42
AndChat164736Yeah I changed that to eth0:000:46
=== RaptorJesus_ is now known as RaptorJesus
sarnolddid that work alright? I wouldn't be surprised if it can't tell one fake NIC from any of the others00:50
sync0pategoddamn.. it's happened again01:20
sync0patebtsync done 200mb no problem, then 16mb left tells me "don't have permission to write to the selected folder"01:21
sync0pate:\01:21
sarnoldsync0pate: is btsync storing data into /tmp or somethingwhile transferring?01:49
sarnoldsync0pate: that sounds -incredibly- annoying01:50
sync0pateI've no idea sarnold01:50
sync0pateand yeah, it is01:50
sync0patemaddening01:50
sync0pateI've just deleted and reconfigured everything from scratch, again, and it's *nearly* at the point where it normally fails01:51
sync0pateI'm too close to success to give up on it01:51
sync0pateI think it might be failing at writing something that's not the actual files, like an index or something01:53
sync0patebut I've checked the data dir01:53
sync0pateand I don't know what else it might be writing01:53
sync0patethe config dir, the logs dir etc01:53
sync0patechecked em01:53
sync0patesudo chmod -R 777 /* ?01:53
sarnoldugh no please no never forget you've ever seen that command :)01:54
sync0patehaha01:55
sync0patesorry, I've been drinking01:55
sync0pateARUGHGHAWGH01:55
sync0pateit's done it01:55
sync0patewith 15mb to go last time01:56
sync0pate17.6mb to go this time01:56
sync0pateany idea where I can even start to look?01:58
mand0its not a network problem?02:00
sarnoldsync0pate: next time you test, just pick a file that's small, like a megabyte or something02:01
sarnoldsync0pate: is there a configuration file that specifies destination directory?02:01
sync0pateit's definitely not a network problem02:01
sync0pateyup02:01
sarnoldsync0pate: how do you tell the thing where the data should be sved?02:01
sync0patechecked all the dest directories02:01
sync0pateit works absolutely fine with small dirs02:01
sync0pateeven fairly large ones02:01
sync0patethis one is 200mb02:01
sync0patebut I think crucially - about 5000 files02:01
sync0pateI think this might be it : http://forum.bittorrent.com/topic/29233-bt-sync-seems-not-to-be-closing/02:02
sarnoldsync0pate: omg02:02
sync0pateomg?02:02
sarnoldsync0pate: they released with -that- bug?02:02
sync0patelooks like it02:02
* sarnold shakes his head02:02
sync0pateany idea on a temp workaround?02:03
sync0patemaybe just restart the service every minute in a cron job?02:03
sync0pateheh, yeah, when I restart the service it keeps going a bit longer02:03
sync0patethen fails again02:03
sync0pateI think it leaves the smaller files til last02:03
sync0pateand is failing every 500-1000 files or so02:04
sync0pate512 maybe02:04
sarnoldsync0pate: if you run the server-side client with strace you might be able to confirm/deny if it ever closes files..02:05
sync0pate<sync0pate> sorry, I've been drinking02:05
sync0patewhat?02:05
sarnoldhaha02:05
sync0pateI liked my idea better02:05
sync0pateI reckon I've got it working by restarting the process 5 or 6 times when it fails02:06
sarnoldsync0pate: just to get the hang of strace, "strace -o /tmp/out ls /tmp"  -- then look at /tmp/out, it'll show all the systemcalls that 'ls' makes02:06
sarnoldsync0pate: then you can try it on the btsync program..02:06
sarnoldsync0pate: time for me to bail :) good luck, have fun02:07
sync0pateyeah check it out sarnold02:07
sync0pate[20140405 03:05:39.168] Error downloading file vendor/symfony/routing/Symfony/Component/Routing/Matcher/ApacheUrlMatcher.php: WriteToDisk: Too many open files02:07
sync0patetons of them in the log02:07
sync0patebut k, I should sleep anyway, night02:07
=== lazypower-conf is now known as lazyPower
lordievaderGood morning.10:02
sync0patehello helpful people, any idea when 14.04 LTS is ready?10:47
cfhowlettsync0pate 17th10:47
sync0pateawesome thanks10:47
sync0pateI wonder if anyone today can shed any light on the problem I was having last night with BTSync10:49
sync0pateseem to be having the same problem as this person : http://forum.bittorrent.com/topic/29233-bt-sync-seems-not-to-be-closing/10:49
sync0pateBTSync is syncing a ton of files (up to the per-process limit I think) then failing, presumably because it's not closing them10:50
sync0pateassumedly this would be caused by a horrible bug in the software, but is there a temporary workaround?10:50
TzunamiiMorning11:14
sync0pateMorning Tzunamii11:30
sync0pateThanks for all your help yesterday :)11:30
Tzunamiiany time12:07
Bill_croxsonhey there. would anybody be willing to help me? I have already made a thread, but I would like to draw some attention to it as the server is needed to be put up as soon as possible. If anybody would like to help, just ask for the thread URL.12:19
Bill_croxsonactually, ill just pop the URL in as i need to leave. Thank you to all who help!! http://ubuntuforums.org/showthread.php?t=221519212:20
sync0pateanyone use firehol? or is there something better?12:29
sync0pateufw or something?12:29
TzunamiiI'm using my own made security solution12:31
dcosnetTzunamii: likewise12:43
=== sync0pate is now known as Guest84955
=== Guest84955 is now known as sync0
=== sync0 is now known as sync0pate
bekkssync0pate: firehole and ufw are just frontends for the same application: iptables. So there is no "better" at that point. :)15:50
sync0pateyeah, I know bekks15:51
sync0pateufw seems to be working, and firehol isn't15:51
sync0pateso15:51
sync0pateI guess I have my answer :)15:51
bekksDefine "doesnt work" then.15:53
=== chmurifree is now known as chmuri
GuegsLooking to build a home server, but need a CPU. It won't be used for anything really resource intensive, I just want something low power. Preferably intel. Suggestions?18:25
=== RaptorJesus_ is now known as RaptorJesus
jasonmsphey all.  I'm running Ubuntu 10.04.4 LTS...  just ran an update and upgrade and got this error when it tried updating :  http://pastebin.com/xga6fJj718:37
jasonmspit has to do with CA certs18:37
jasonmsperrors started with:  Updating certificates in /etc/ssl/certs... unable to load certificate18:39
=== RaptorJesus is now known as HarryPotter
=== HarryPotter is now known as RaptorJesus
=== RaptorJesus is now known as MmmmmDrugs
=== MmmmmDrugs is now known as StoneyPothead
=== StoneyPothead is now known as RaptorJesus

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!