/srv/irclogs.ubuntu.com/2015/04/11/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== markthomas is now known as markthomas|away
=== kickinz1|afk is now known as kickinz1|away
=== kickinz1|away is now known as kickinz1|afk
=== zz_DenBeiren is now known as DenBeiren
=== hhfgu is now known as karlhewer
karlhewerneed som advise plz08:42
karlhewerIs this the right place to get some advise?08:43
karlhewerJust need to chat with a server wiz for 2 mins08:44
bekksStarting to ask your actual question would be a good beginning :)08:45
karlhewerAhh08:50
karlhewerRite o08:51
karlhewerJust want to know if sharing folders, files from my server to wan pcs08:51
karlhewerIs the best way to go about this with openvpn and samba?08:52
karlhewerOr is there a standard way that is preferd08:52
bekks"wan pcs" are Windows clients only?08:52
karlhewerSorry08:52
karlhewerOver the internet08:52
lordievaderGood morning.08:53
karlhewergoogle has all the answersi know but there is conflicting answers08:54
bekks"wan pcs" are Windows clients only?08:54
karlheweri want to be able to share my folders n files from my server to friends pc's over the internet08:55
karlhewerIm doing it localy through samba08:55
lordievaderkarlhewer: You'd do good in answering bekks question.08:56
karlheweroh thats a question08:56
karlhewerLan = local area network, wan = network over the world wide web08:56
karlhewerI think08:57
bekksThe question mark indicates a question, yes.08:57
bekksAre the wan computers Windows clients, or smart phones, or whatever?08:57
bekksI do know what a WAN is.08:57
karlhewerOh08:57
lordievaderI don't think the question was about the wan part, but about the Windows part.08:57
karlhewerMainly windows clients08:57
bekksMainly?08:58
karlhewerSmart phones will be local only08:58
bekksWhat are the other WAN clients?08:58
=== Lcawte|Away is now known as Lcawte
karlhewerMost of the clients will be windows at friends houses08:58
bekksWhat are the other WAN clients?08:58
karlhewerOther clients will be android os08:58
karlhewerMaybe apple phones but i dont care about them as long as windows and android can see my server shares from wan ill be happy09:00
lordievaderI'd say ipsec + samba.09:00
karlhewerOk would that still be the best option if i was creating a openvpn anyway09:03
lordievaderNot sure if openvpn supports tunneling samba. Openvpn is application layer.09:03
karlhewerOk thats what i was unsure about09:04
karlheweranyone else got any veiws on how i should set this up09:10
=== bilde2910|away is now known as bilde2910
karlhewerWould u experts say its ok to run samba through openvpn to wan windows clients10:58
karlhewerOr is there a much better way10:58
lordievaderI get the feeling it won't work. But please do investigate.11:02
maxbI don't see why it couldn't work, but CIFS + WAN == Horribly Slow, usually11:04
karlhewerSlow.... how much slower11:18
karlhewerwhat is the common practise to share folders through wan, while still being mounted on the windows network tree at boot11:19
maxbIn my experience it's *highly* dependent on the latency between client and server11:19
maxbMy common practice is to not use Windows :-)11:20
karlhewerIkr11:20
karlhewerI would dedicate my home to linux if the game suport was there.. and my friends are to lazy to learn a new os11:21
maxbYou can probably get CIFS to work OK within a country, provided the client's internet connection isn't too terrible.11:23
maxbTransatlantic CIFS however, will be nasty11:23
karlhewerwe all have fibre internet and gigabyte lans11:24
karlhewerAnd small country, new zealand11:25
=== bilde2910 is now known as bilde2910|away
=== rGalrito is now known as Galrito
StathisAgood evening...this cron job does not start: "/usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date +%Y%m%d_%H%M%S).log 2>&1". I suspect its because the "space" between "date" and "+"...is there another way to do it so that it runs? - this works fin in the cli, but in cron it does not start13:23
lordievaderStathisA: What does the logs say about it?13:25
StathisAvar/log/syslog: CRON[1386]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/st4t1c/detailed_logs/hourly_$(date +)13:26
StathisAjust that13:26
StathisAno errors13:26
lordievaderThe file is not created?13:27
lordievaderAh, that command misses things ;)13:28
StathisAyes13:29
StathisAthe command in the cron job is full and working in the cli13:30
lordievaderStathisA: What I mean is the command in the logs is missing things. That is likely your problem.13:30
StathisAbut somehow when the time comes, cron cannot "read" it fully, and i suspect it "stops" in the "(date +" portion13:30
lordievaderLikely lack of escapes.13:30
lordievaderTry "/usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+%Y%m%d_%H%M%S').log 2>&1" as a start.13:31
StathisAlet me try that, thanks13:31
StathisA" CRON[1554]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+)"13:37
StathisAnot files yet13:37
StathisAno*13:37
lordievaderEscape the '%', then.13:38
StathisAlike how?13:38
lordievader\%13:38
StathisAhmmm13:38
StathisAwith or without single quotes?13:38
StathisAhow can this work in shell and not in cron..:-S13:39
lordievaderLikely different parsings.13:40
StathisACRON[1586]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+%Y)13:45
StathisAthats the syslog with \%13:46
lordievaderErr, how does the script look like now?13:46
StathisA"/usr/bin/rsnapshot daily >> home/user/detailed_logs/daily_$(date '+\%Y%m%d_%H%M%S').log 2>&1"13:47
lordievaderYeah, I ment escape all the %'s.13:47
StathisAok i'll try, doh ><13:48
StathisAheh, it started now ><13:50
StathisAthanks a lot!13:50
lordievader;)13:51
SuperMXHello everyone, I recently have a problem with my ubuntu 14.04 server, now i was able to narrow the problem down14:47
SuperMXi always shut down the server by just tipping the power off key, but the next time I try to turn it on again there are just points oon the screen and even the bootloader doesn't start14:48
SuperMXso its it either because there is a problem in the poweroff procedure or it's because of the FAT32 filesystem (it's a quite old computer)14:49
SuperMXok, now i just typed in "poweroff" and then started it again, this doesn't work either14:51
SuperMXin then always use a live cd to fsck the /dev/sda14:52
OverandDoes anyone have ideas on the 'right' way to set the umask for the 'backup' user?  that user uses /var/backups as home, /bin/sh as shell15:40
=== bilde2910|away is now known as bilde2910
pmatulisOverand: tell the user's shell what umask to use18:21
=== ideopathic_ is now known as ideopathic
=== bilde2910 is now known as bilde2910|away
=== YamakasY is now known as YamakasY_

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