/srv/irclogs.ubuntu.com/2016/11/19/#ubuntu-server.txt

=== sikun is now known as sikun_
JohnMcClain1Need to pass file location as flag. The file is a file up in the directory. "..settings.txt" doesn't work. How should I do this?03:32
cncr04s ../settings.txt ?03:38
mybalzitchuh03:40
mybalzitchhm03:40
mybalzitch\.\.settings.txt03:40
mybalzitchmaybe?03:40
mybalzitchwait03:40
mybalzitchtotally misread, ignore me03:41
=== InfoTest1 is now known as InfoTest
jurislavhello15:19
jurislavanyone willing to help with dial NIC issue, please?15:19
jurislavvlans involved, perhaps15:19
ikoniadial nic ?16:55
=== JanC is now known as Guest13179
=== JanC_ is now known as JanC
freakyyhi all. i have a question. i have installed ubuntu server but in root account vim behaves strangely (over ssh dont know locally) ... if i press i to insert, it doesnt show it at the bottom and if i exit it it suddenly moves 1-2 lines down before closing it looks like its not using the whole screen?17:18
freakyyor, more than the whole screen17:18
docmurIs there a package or way I can have my network interfaces automatically show up as eth1 ... ethn instead of enp0s1 etc...?17:32
freakyywhere does duply set up backups? ive got an ssd and cant backup to there but instead on my hdds but i dont know where duply stores the backups?17:38
OerHeksfreakyy, depends what is in your ~/backup.sh >> https://help.ubuntu.com/community/DuplicityBackupHowto17:42
=== sikun_ is now known as sikun
=== lordievader is now known as Guest14768
freakyyhi all. what is the best backup tool besides duply/duplicity? .. for ubuntu server?19:18
ikoniadefine best19:28
freakyysomething which is widely prefered over other solutions19:34
wolflarsonrsync19:37
robb_nlwhy you want to exclude duplicity? because you know that one? I suggest to first define for yourself what you need. What protocol do you want to use? Do you need encrypted backup? Is it for a single server or multiple servers? what backup hardware do you intend to use?... with the info you give, it is impossible to give an answer what the "best" backup tool is.19:37
freakyyWell .. I need sftp and encrypted backup. I backup to a backup server from my hosting business. only for one server.19:45
freakyysorry had to kill screen ;D20:06
jurislavanyone willing to help with vlan + kvm?20:29
jurislavbasically, i just can't get it working :)20:29
=== Init_4_ is now known as Init_4
JohnMcClainhttp://i.imgur.com/9Yu6Lbx.png . On the right is what runs in php's exec(). On the left is the permissions of /var/www/html/images/. If I copy/paste the command into terminal, it successfully creates the image. What might I be missing?22:03
tarpmanJohnMcClain: which user are you when you copy-paste the command22:06
tarpmanJohnMcClain: looks to me like images needs g+w22:07
JohnMcClain/usr/bin/convert -trim -density 200 /var/www/html/test.pdf -quality 600 /var/www/html/images/001a600386ea6a061e3f4eb68818660b.png I'm using putty.22:08
JohnMcClaintarpman: that was it. g+w got it working.22:09
tarpmanJohnMcClain: you didn't answer the question "which user are you", but based on g+w fixing it, I'm guessing you were root and not www-data22:09
JohnMcClainwww-data22:09
JohnMcClainI am root. PHP is www-data.22:10
tarpmanright. so the correct test case would have been "sudo -u ww-data /usr/bin/convert [...]"22:10
JohnMcClainI suppose for the imagemagick command, the exec() function does not receive any output on what happens in Ubuntu.22:10
tarpmanI'd expect a permission denied message or something. I don't know offhand whether exec() captures stderr or only stdout22:11
tarpmanit might show up in your apache error log instead of the result from exec(), or something like that. I can't say offhand22:11
JohnMcClainLet me see if that's the case.22:12
JohnMcClainYes. that is the case. Thanks for going above and beyond, tarpman.22:13
tarpmancheers, glad it helped22:13

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