/srv/irclogs.ubuntu.com/2015/08/27/#ubuntu-server.txt

AEL-HI am having trouble mounting a drive such that only the root can access this, how can I do this? plain old chmod doesn't appear to be working..00:37
AEL-HI chmod 700 the mountpoint and then mount the drive, however the permissions become rwxrxrx as soon as the drive is mounted. The drive filesystem is NTFS00:37
sarnoldinteresting, the mount(8) manpageg says ntfs ought to be root-owned and not readable by anyone else00:39
zerickhi, I have an empty /var/log/messages file, while current log seems to be /var/log/messages.1, any idea ?00:55
zerickalso happens with other logs00:55
=== markthomas is now known as markthomas|away
sarnoldzerick: that can happen sometimes, it's a race condition between the log rotating and the syslog :/ it' sbeen ages since I've seen it, but there it is...01:20
okloksрас рас03:59
okloksany1one?04:00
okloksест кто живой?04:00
sarnoldwaka waka?04:00
okloksI have a question about postfix+spamassassin+amavis-new04:01
okloks?04:05
sarnoldokloks: irc works best if you just ask questions, rather than asking if you can ask questions04:06
sarnoldokloks: if you'd asked six minutes ago, you might have received an answer by now :)04:06
sarnoldor maybe not. it's too late for americas and still early for europe04:07
okloksok, I had postfix + spamassassin, I saw X-Spam flags in mail headers. Now I installed amavis-new, uncommented spam settings and spam flags disappeared from headers. Looks like spamassassin doesnt' work. Maybe I need to provide some config here..04:11
samthewildonehow do I get the nfs service installed on my server, I thought it was installed by default (daemon)>04:59
tarpmansamthewildone: install nfs-kernel-server05:03
samthewildonetarpman, I'm having trouble with the nfs05:10
samthewildoneI added "/home/user/nfs_free IP/MASK(ro,sync)" and it does not work05:11
samthewildoneafter I reset the service.05:11
tarpmansamthewildone: can you be more specific than "does not work"?05:12
samthewildonehttp://codepad.org/1ucPIDGk05:12
tarpmansamthewildone: I don't see anything not working there05:14
tonyyarussosamthewildone: Yeah, there's no error in that paste.05:15
=== markthomas|away is now known as markthomas
adun153Hi, question about mysqld: What's the proper my.cnf variable, secure_auth = 1 or secure-auth = 1?06:18
lordievaderGood morning.06:38
=== cz4 is now known as cz2
=== Lcawte|Away is now known as Lcawte
rbasakteward: np09:15
AEL-HI am having trouble mounting a drive such that only the root can access this, how can I do this? plain old chmod doesn't appear to be working..12:14
AEL-HI chmod 700 the mountpoint and then mount the drive, however the permissions become rwxrxrx as soon as the drive is mounted. The drive filesystem is NTFS12:14
pmatulisinteresting. my trusty suddenly wants to install (not upgrade) gnupg2 during a dist-upgrade13:44
jpdspmatulis: gnupg2 != gnupg13:44
pmatulisjpds: yes, i know13:44
pmatulisjpds: so why is it getting installed13:45
pmatulisi see that enigmail wants to get upgraded. it must be pulling it in13:47
pmatulisyep, that's what's going on. but then i will have both gnupg and gnupg2 installed. weird13:49
=== martins-afk is now known as martinst
pentiumone133i have a fresh 14.04 machine with a fresh install of samba 4.1.6, and im wondering what is the proper way to restart samba14:16
pentiumone133im using it for simple filesharing, not any of the active directory stuff14:16
pentiumone133there is /etc/init.d/smbd, samba and samba-ad-ds14:16
ogra_you want /etc/init ... not init.d14:17
ogra_and to stop or start it simply: sudo stop smbd ... sudo start smbd14:18
=== hxm is now known as Guest44601
pentiumone133when i do that it doesnt seem to actually restart14:19
pentiumone133it tells me its starting and stopping, but it doesnt seem to reflect changes ive made14:19
pmatulispentiumone133: what changes?14:24
pentiumone133as an experiment i had a share that was locked down to specific users, i removed one of the users from the allowed list and restarted smbd, and was still able to mount the drive as the user i just removed14:25
pmatulispentiumone133: you'll prolly need to pastebin the output to 'testparm -sv' for anyone to help14:28
pentiumone133pmatulis: http://paste.ubuntu.com/12206146/14:33
pentiumone133its really just a "stock" config file14:33
neurotushow can i execute a binary file from .sh file when uid=0 but as another user15:19
=== neurotus is now known as krsna
lordievaderkrsna: sudo -u ./<path to binary>?15:20
jak2000RoyK hi15:20
RoyKjak2000: ho15:39
=== hxm is now known as Guest75779
=== martins-afk is now known as martinst
AEL-Hfound solution --> needed to use ntfs-3g16:01
RoyKAEL-H: another solution is to just mkdir -p /safe/something, chmod 0700 /safe, mount /dev/somentfsfilsystem /safe/something16:11
RoyKAEL-H: but then, you should use ntfs-3g *anyway*16:12
=== hxm is now known as Guest41283
pmatulisis it possible to disable the LXC cache?17:47
=== Telvana is now known as |digits|
poliWhat would be a faster/batter alternative to mpstat to check on cpu load for scaling up a horizontal web server? mpstat takes a real long time to reflect load increase that top, for example, does not.18:20
sarnoldpoli: what specifically are you trying to measure?18:21
polisarnold: CPU load18:22
polisarnold: specifically the amount of free cpu cycles in relation to the total available, the %free cpu or %used cpu.18:22
=== jgrimm-away is now known as jgrimm
polisarnold: I am a bit lost in the "integration" thing mpstat must be doing. "mpstat" is giving me 70% free while "mpstat 1" gives me the correct 0. Seems like mpstat attenuates the change in load in time for some particualr reason.18:26
RoyKpoli: sar is nice, though18:31
sarnoldpoli: hmm, a quick look through the top source code (not recommended, eww) suggests that it goes to some effort to try to calculate a percentage-of-cpu -- that's just not an easy measurement to make.18:32
polisarnold: "mpstat 1 1" gives me a differnt format in the result, but seems to solve the problem. I wonder why, though.18:33
=== hxm is now known as Guest63782
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== hxm is now known as Guest46509
DaphkoHello, is it possible to handle virtualhosts when request was passed forward from an proxy reverse ?21:28
Daphkonobody there ?21:30
tewardpatience lol21:35
tewardyou haven't stated your webserver, etc.21:35
DaphkoI have one apache on Server 1 which passed via Proxy Reverse all request to Server 2, on Server 2 the apache should managed the requests through virtualhosts21:38
tyuyuihi ther21:38
tyuyuii got this error21:39
tyuyuii got this Error: no display specified21:39
Daphkoteward do you have an idea ?21:39
tyuyuiwhen i try to open an application over server x21:39
tyuyuifrom windows pc21:39
tyuyuiwith putty / xming ?21:39
sarnoldtyuyui: do you have an X server running on your windows machine?21:42
tyuyuiyes of course21:43
sarnoldtyuyui: did you use the windows-ssh-client equivalent of ssh -X? if that alone doesn't work, try it's equivalent of ssh -X -Y21:45
tyuyuii m using putty with x forward enable21:46
tyuyuiwith xming server21:46
sarnoldtyuyui: is the DISPLAY environment variable set in the shell where you're trying to start the programs?21:48
tyuyuiwht do you mean ?21:49
sarnoldtyuyui: $ ssh -X localhost 'echo $DISPLAY'21:52
sarnoldlocalhost:10.021:52
sarnold.. the DISPLAY environment variable needs to be set so X clients know where to contact the server21:52
tyuyuiError: cannot open display: localhost:10.021:53
=== Lcawte is now known as Lcawte|Away
bdxHows it going everyone? Does anyone here know how to add custom cloud-config to maas provisioning....i.e. curtin_userdata preseeed or custom preseed e.g. curtin_ubuntu_amd64_generic?23:28

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