/srv/irclogs.ubuntu.com/2016/06/03/#ubuntu-server.txt

BlenderProI connected to ftp server on windows from ubuntu using the command line ftp command I did succesfuly logged in but I'm stuck, can't upload full directories can someone help me00:17
sarnoldBlenderPro: how are you trying to upload the directory? have you set the binary mode? are you using correct active or passive mode?00:20
sarnoldman I forgot just how terrible ftp is..00:20
BlenderProI am using binary mode set with type but I don't know about passive or active00:21
sarnoldcan you put a single file alright?00:21
sarnolddoes it come through uncorrupted?00:21
BlenderProI can probably do that k I'll try00:21
BlenderProI have a question before00:22
BlenderProif I transfer a zip file should I go binary or ascii00:23
sarnoldbinary00:23
BlenderProwow thanks00:23
sarnoldascii changes the line endings of files00:23
sarnoldwhich will destroy nearly everything00:23
BlenderProok I tried put and send command and I get permission denied on both00:25
BlenderProi try mkdir urt to create that directory and it can00:25
BlenderProI check on windows server and it has permission for files to be written for that lone ftp account00:26
sarnoldhmm, is the error perhaps coming from the local client rather than the remote server?00:29
JanCsounds like you have an issue with Windows or the FTP software on it?00:29
=== m1dnight1 is now known as m1dnight_
sarnoldonce you've logged in via ftp is the current working directory correct?00:29
BlenderProsarnold, the current working directory is the root directory of the ftp account or my local directory00:30
worm5erAnyone online good with doing preseed partitioning schemes that I can discuss some challenges with?00:31
BlenderProand yes I think is a local error since the server termianl is not showing me any error other the previous command typed that was succesful00:31
JanCBlenderPro: does your Ubuntu user have the rights to read those files?00:32
BlenderProit doesn't00:34
BlenderProis owned by root oh I missed that00:34
=== m1dnight1 is now known as m1dnight_
ShaRoseso, TIL if you ever install a linux image with --no-install-recommends, install the extra package04:17
ShaRosebecause the stock package doesn't have such helpful features such as usb hid support. or networking.04:17
sarnoldhah I've screwed that up before too04:18
sarnoldfiled the panicky bug report and all04:18
ShaRosesarnold yeah, I was testing my 'install ubuntu to zfs root' walkthrough04:18
ShaRosethe guy who wrote the original never included it either04:18
ShaRoseit works in a VM04:18
ShaRosetried it out on my hardware for the first time04:18
ShaRoseit's not on the network. I can't log in with the terminal.04:18
ShaRoseMouse doesn't move, keyboard doesn't work04:18
ShaRosereinstalled it like 5 times04:19
ShaRoseI could chroot in and do stuff, installed a BUNCH of extra packages I didn't need04:19
ShaRoseman, when I could log in as root....04:19
ShaRoseI was so relieved I took a massive dump04:20
sarnoldhehehehe04:21
hallyndannf: i didn't look too closely at the diffs - how much did you have to massage them?05:17
caribourbasak: regarding the kexec-tools merge comments, how do you want to proceed with the changes I applied ?08:37
caribourbasak: should I create new commits for the changes or include them in the existing logical commits & do a forced update of my git branch ?08:37
=== stokachu_ is now known as stokachu
=== _degorenko|afk is now known as degorenko
=== andol_ is now known as andol
=== iberezovskiy_afk is now known as iberezovskiy
rbasakcaribou: that's a very good question. Since you are an uploader, for the process generally I don't mind. The idea would be that when you're happy, you push whatever set of commits based on debian/sid, tag it upload/<version>, and the importer will figure it out. So no need for an MP. But to exercise the process, for sponsors, and when uploaders want a review, we want an MP. In that case, when09:34
rbasakreviewing, I think I'd prefer to see extra commits on the end, because then it's easier to re-review just the review fixes rather than the whole thing again. And in this case, I think it's fine to push those without rebasing again, since that's not really any different from uploading an ubuntu2 to fix things later. The person to merge next time will take care of squashing it down.09:34
rbasakOTOH if the review really wants a rework than a few minor changes, then perhaps rebasing would be better. In both cases I'm interested to see what Launchpad does to the MP.09:35
=== m1dnight1 is now known as m1dnight_
=== logan_ is now known as Guest62971
=== Guest62971 is now known as logan-
=== Vertel_ is now known as Vertel
=== JanC is now known as Guest27710
=== JanC_ is now known as JanC
=== LargePrime_ is now known as LargePrime
caribourbasak: well, I have rebased the change so let see what it does13:20
caribourbasak: I have another question : how did you define that the first cherry-pick needed -m2 as an option ? Looks like I don't need it for corosync13:21
ddellavcoreycb lp:~ddellav/ubuntu/+source/openstack-trove13:56
ddellavready for review13:57
rbasakcaribou: see nacc's post to the ubuntu-server ML. Each imported commit can have up to two parents - the "changelog parent" and the "publishing parent". You want to find the changelog parent each time. -m selects the parent. I examined "git log --oneline --graph" to tell you which parent to use for each one.13:59
rbasakcaribou: nacc's newest tool should do this automatically now.14:00
rbasak(as in, there's a tool that you can use to do this step and pick the right things and right parents to cherry-pick automatically)14:00
=== inaddy is now known as tinoco
caribourbasak: ah, ok14:01
coreycbddellav, looks good, I've pushed that to the repo14:01
ddellavcoreycb ok i'll trigger a rebuild in ci14:01
coreycbddellav, ok14:01
Yuri4_Hi, guys! I have 2 servers. Server1 is mater server for WordPress site. Ocasionaly server1 will go down. Traffic manager will redirect visitors to server2. How do I keep wordpress in sync across two servers? I can use intermidiary folder via SMB 3.0. But, that's about how far I could plan it.14:57
tewarddoes anyone know where Dovecot stores file attachments to emails when it's in imap format?  Does it store them as raw bytes in the mnox itself, or...?15:11
andolteward: The last time I checked it didn't do anything special with the attachments. Yet, seems simple enough to check for yourself?15:21
RoyKteward: afaik it uses maildir format (imap is a protocol, not a format), and with maildir, all mesages are stored in separate files. attachments are not separated from the message15:21
tewardRoyK: this one's configured for mbox, does that still apply?15:27
andolRoyK: Well, Dovecot can use a bunch of different storage formats: http://wiki2.dovecot.org/MailboxFormat. Technically one even being imap, even if I don't think that was what was meant.15:28
tewardandol: i meant how it would store the attachments in the mbox format, not in the protocol15:29
tewardbut point doesn't change, I still have to figure out whether it's storing attachments in the mboxes (inbox mailbox) or if it's storing it in directories15:29
andolteward: Just look in the files, and you'll. Also, I'm almost entirely certain that the attachment is stored as part of the message.15:30
ogra_they are usually uuencoded inside the single mail15:30
ogra_no matter if it is mbox or maildir15:30
tewardandol: I'll have to get permission from the manager to dig around in there, I was hoping that was the case though15:31
tewardogra_: that's what I thought as well, but doesn't hurt to ask15:31
RoyKteward: mbox is jut one huge file with every message in that file15:31
RoyKteward: mbox scales horribly badly15:32
tewardRoyK: yes, it does.  I didn't set this up heh15:32
tewardbut i think i have the answer I need15:32
teward:)15:32
tewardthanks15:32
ogra_you can convert it15:32
RoyKnp15:32
tewardy'know, that would explain some of these MBOX files being 32GB+ in size, if it's all attachments lol15:44
tewardif it's stored in the message heh15:44
RoyKteward: convert it to maildir - it'll help a bit15:47
tewardRoyK: first task: get it from an ancient 9.04 to a newer 14.0415:47
tewards/9.04/9.10/15:47
RoyKhehe15:47
tewardRoyK: gotta move everything and get it working15:47
tewardTHEN we can worry about maildir conversion lol15:47
RoyKfirst upgrade to 10.04, it should be easy with the right repos15:47
RoyKthen do-release-upgrade to 12.04, then to 14.0415:48
RoyKor perhaps the quickest way - setup a new vm and install the needed software and move the data :P15:48
tewardRoyK: doing the last one15:49
tewardactually tried the first route; didn't work well15:49
tewardE:BOOM15:49
tewardso...............15:49
tewardyeah15:49
tewarddoing it the old manual way15:49
tewardwith rsyncs to get mailboxes, user homedirs moved15:49
tewardmanually porting the configs over to newer dovecot...15:49
tewardand testing during the next maintenance period >.<15:49
* jrwren twitches thinking about old mail servers adn large mbox15:53
tewardjrwren: fun-fact: I've been doing this for some time now heh15:54
jrwrenteward: 20+yrs I'll bet ;]15:54
tewardjrwren: well, i meant this project ;)15:54
tewardi'm not *that* old :P15:54
jrwrenoh. well, I am :p15:55
tewardjrwren: indeed, and I admit when I don't know things... oh wait, this is what IRC and Internet support is for :)15:55
jrwrenteward: sounds like a nice area ready for lots of improvement and improvement is fun.15:56
tewardjrwren: first rule of IT: you can't know everything15:56
tewardsecond rule of IT: you will always learn new things15:56
tewardthird rule: don't anger sysadmins, they have evil vengeful wrath15:56
jrwrenfourth rule: sysadmins are worse than lawyers, treat them as shakespear would.15:57
tewardheheh15:57
tewardfifth rule: cryptolocker sucks, if you get it, RUN15:57
teward(in windows enviros)15:57
RoyKhttps://xkcd.com/705/15:57
RoyK(about sysadmins)15:58
jrwrenlol15:58
coreycbddellav, neutron should be back in shape, it needed a new oslo.cache.16:01
ddellavcoreycb why did it build successfully locally? Am I not checking out the right repo or something?16:02
ddellavsbuild, yakkety, master branch16:02
tewardRoyK: lol16:02
RoyKteward: not run - just restore from backup ;)16:03
tewardRoyK: unless the backups are also crypto'd16:03
coreycbddellav, I'm guessing you didn't use a snapshot orig tarball based on the latest upstream commits16:03
jellys/RUN/restore from backups/;16:03
tewardheard that happened to someone recently :P16:03
jellyhah16:03
RoyKteward: I've seen that happen16:03
RoyKteward: with people just finding out "oops - my x months old data has been overwritten"16:04
tewardheheh16:04
ddellavcoreycb ah ok. *facepalm*16:04
coreycbddellav, heh16:04
jellyteward: it happened to $employer with a machine from someone in upper mgt who had access to LOTS of file server dirs.  Whoops, restore tens of thousands of files for 3 days.16:05
coreycbddellav, btw for trove it looks like it might just need more patches rebased16:05
ddellavcoreycb ok, when I ran quilt push -a it only showed 1 patch that had a single fuzzy match so i fixed that.16:05
ddellavcoreycb but again, that was using the master branch of the packaging repo instead of the latest tarball16:06
ddellavso i will look again16:06
coreycbddellav, hmm. oh so same situation probably.  you'll need to generate the snapshot tarball.16:06
coreycbddellav, yeah, use master branch + snapshot tarball16:06
=== degorenko is now known as _degorenko|afk
=== tyhicks` is now known as tyhicks
blizzowI'm doing an upgrade from 15.10 to 16.04.  The upgrade hangs during udev installation.  It hangs when trying to add the group 'input'.  If it exists, it complains that the group exists and says "Exiting." and sits. If the group doesn't exist, it adds the group says "Done." and never moves on. Anyone know how I can get past this? It's a real pain in the junk.16:59
dabaRHello. I'd like to change the server's hostname so that the prompt is different. Or does just changing prompt pattern in .bashrc seem like a better idea for that? What kinds of things does server hostname affect?17:36
sdezieldabaR: if you only care about the prompt, I'd only change PS1 in your ~/.bashrc. It's much less intrusive than changing the hostname17:37
dabaRThanks17:38
blizzowugh xenial upgrading is so brutal! freezes while removing console-common, freezes while upgrading udev, errors processing the lvm2, mdadm, lybsystemd, systemd, console-setup-linux. Whoever decided that 16.04 should be released with a completely b0rked upgrade path to wait until 16.04.1 should be tarred, feathered, and ridden out of the community on a rail.17:49
jellywhat else should have they done, considering noone did the work to fix said upgrade path?17:51
blizzowOh, and whoever decided that UTC should be removed as a timezone choice during installation should be put in a stockade and prodded with hot pokers.  Choosing Iceland as your location totally screws the installation language.17:51
dabaRSo you're saying you upgraded before 16.04.1 against explicit warning?17:51
blizzowdabaR: I got a notice saying that a new release was available, there was no explicit warning during the release process.  I shouldn't have to come to IRC and/or scour the web for "explicit" warnings as such.17:54
blizzowjelly: If the work was going to eventually be done (to release 16.04.1), then the whole release cycle should have started at that point. In any case "STABLE" should not be released with a broken upgrade path.17:54
blizzowI'd understand unstable having a broken upgrade path, but stable? c'mon.17:54
jellyok, so you think they ought to have delayed the release to 16.07?17:55
dabaRblizzow: mine did not. I tried upgrading a 14.04 a week or so ago, and it told me nothing is available17:55
=== Kenrins is now known as kenrin
dabaRThen I googled, cause I knew it was available, and then I found some mention of not recommending upgrade17:55
jellywhat's the alternative you're proposing there, except for "magically conjure engineers to fix do-release-upgrade in time"17:56
dabaRHow did you upgrade? with do-release-upgrade, or?17:56
sdezieldabaR: that's because LTS only offer to upgrade to the next LTS when it has reached the .117:56
dabaRSorry to hear about your server, BTW17:56
dabaRAh, so blizzow upgraded from something that was not the LTS?17:56
sdezielI would think so17:56
jellyI've done a trusty->xenial myself, with the appropriate option given to d-r-u but I did not complain about breakage because it's KNOWN to be broken17:57
blizzowjelly: my alternative is not to release something labeled stable LTS until it's damn well good and ready.18:00
dabaRblizzow: did you upgrade from 14.04, or which version?18:01
blizzowDone both 14.04 and 15.10.18:01
\914.04 doesn't let you upgrade to 16.04 without using the -d switch, which is a well documented debug option18:02
jellyblizzow: it was well good and ready for the initial installations, and it was well documented when release upgrades would be ready18:03
geniiIt's not a bug. LTS to LTS option should not kick in until after first point release18:04
geniiIf you used -d option on do-release-upgrade right now, it would take you to the development version which is Yakkety18:05
jellygenii: that does not cover the 15.10->16.04 upgrade tho18:05
=== bleepy_ is now known as bleepy
coreycbbeisner, ceilometer 1:5.0.3-0ubuntu1~cloud0 and keystone 2:8.1.2-0ubuntu1~cloud0 are ready for promotion to liberty-proposed18:15
coreycbbeisner, and python-os-brick 0.5.0-0ubuntu3~cloud0 is as well18:16
beisnercoreycb, ok those are promoted to liberty-proposed18:18
coreycbbeisner, thanks sir18:18
beisnercoreycb, yw sir :)18:18
naccblizzow: i'm sorry you had a bad upgrade experience. As mentioned earlier by others, 15.10 -> 16.04 should work, if you could provide steps to reproduce or file a bug that would be great. 14.04 -> 16.04 is not supported (14.04 -> 16.04.1 will be), and none of the tools out there should be offering it by default.18:54
newbsieI setup basic firewall/ssh/fail2ban, but I can't login after a reboot. I followed these simple instructions http://dpaste.com/0MME0D9, anyone?19:15
newbsieEverything works until a reboot.19:15
sarnoldnewbsie: what error message do you get from the client? what's in the ssh logs on the server?19:17
newbsiesarnold: problem is, I can't get to the server now so I can't see the logs. From the client, there is just a time-out.19:17
newbsiesarnold: I tested the new account, and loggedin with a key fine, then did a sudo -i and configured the firewall, then reboot and dead.19:18
newbsieThere are only two things I can think of that can go wrong, which is the firewall, and the fail2ban.19:19
sarnoldnewbsie: just hanging suggests that might be correct; when you netcat to port 22 on that machine do you get an ssh banner? (I expect nc to hang too)19:19
newbsiesarnold: yup, just hangs19:21
sarnoldnewbsie: is this on a cloud provider like amazon? perhaps you need to modify their security groups19:22
newbsiesarnold: well everything works before the configuration, so I assume it has nothing to do with the cloud provider.19:23
newbsiesarnold: is ufw, iptable based?19:23
sarnoldnewbsie: okay, I just wanted to make usre that you'd tried the login from elsewhere rther than just on the local machine :)19:23
sarnoldnewbsie: it is19:23
newbsiesarnold: did anything stand out in the directions as a culprit? disallowing root login, and password auth shouldn't have any effect... and the firewall rules seem to be correct. Stumped.19:25
sarnoldnewbsie: I thought perhaps the home directory or ~/.ssh/ directory ownerhsip/permissions might upset sshd but you're not even getting that far :/19:26
sarnoldnewbsie: there's always a chance that it's fscking or something similar.19:26
newbsiesarnold: I am playing around with this on DO, and this is like the 3rd time this happened, so something is wrong with the config I think.19:27
sarnoldnewbsie: do they provide a console?19:28
newbsiesarnold: interesting, the console works with a password login19:29
blizzownacc: Thanks for the condolences. The 15.10 upgrade path seems to freeze around udev/systemd (on at least two systems). I have no idea what's causing the issue though. As I mentioned before, terminal output gives an error saying something along the line of: group Input exists already, exiting. If I remove that group and try again, it adds the group, says done. and does nothing else. I see nothing in apt logs, ps output shows that udev is trying to re19:30
sarnoldnewbsie: excellent! then you stand a chance of debugging this thing :)19:32
sarnoldblizzow: you were cut off at "trying to re"19:32
blizzowtrying to restart but I've let it sit overnight with no success.19:32
sarnoldblizzow: I suspect the "group input" thing is a simple warniing that you can ignore19:32
blizzowI assumed so as well, but the hanging during upgrade is not something I can ignore.  Well, I can ignore it and reinstall from scratch on servers that fail upgrades, but jeez that sucks.19:34
sarnoldwhere there more impressive looking messages higher up the scrollback?19:35
newbsieHow do I verify the rules in ufw? When I do "ufw status", all I get is "Status: active". Every where else I look, it says it should show the rules....19:38
newbsieOMG, I'm retarded. I didn't add the OpenSSH rules... and thus, no rules are showing.19:47
sarnoldd'oh19:49
newbsiesarnold: thank you for your help... live and learn.19:51
sarnoldnewbsie: all sorted? rebooted and everything? :)19:52
newbsiesarnold: yup!19:57
sarnoldnewbsie: nice :D19:57
newbsiesarnold: thank God for the cloud console19:58
sarnoldnewbsie: no kidding. some cloud providers don't have those consoles. I'm not sure how they survive. hehe.19:58
newbsiesarnold: it is the sliced bread of cloud feature19:59
sarnoldhehehe20:00
=== Serge is now known as hallyn
naccblizzow: I upgraded my home laptop from 15.10 to 16.04, and have tried it in a few containers, and not seen that. It's obviously possible something is specific to your configuration that is causing that issue, it would be good to file a bug report and see if we can narrow it down that way20:33
cryptodan_mobilenewbsie: sudo iptables -L21:08
newbsiecryptodan_mobile: thanks! :)21:09
=== Kenrinx is now known as kenrin
tewardhas anyone noted any weird apt/dpkg/systemd errors on package installations where dpkg fails because it gets an error code but the application is actually running when you check the status of the service?21:24
naccteward: i could see that happening potentially, depending on which stage the error happened at?21:30
cryptodan_mobileteward: have an example21:31
tewardsure, there's at lesat two nginx bugs that fit that criterion21:32
tewardlet me grab them21:32
tewardhttps://bugs.launchpad.net/bugs/1588972 most recent21:32
ubottuLaunchpad bug 1588972 in nginx (Ubuntu) "package nginx-core 1.10.0-0ubuntu0.16.04.2 failed to install/upgrade: telepítve post-installation parancsfájl alfolyamat 1 hibakóddal kilépett" [Undecided,Incomplete]21:32
tewardanother here: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/158295421:33
ubottuLaunchpad bug 1582954 in nginx (Ubuntu) "package nginx-light 1.10.0-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New]21:33
OerHeks2nd one is for 16.1021:36
naccteward: looking21:36
tewardOerHeks: started in Xenial21:37
tewardthen Yakkety opened, kept going, same symptoms of bugs21:37
tewardif it were a *real* bug, it'd be in the systemctl output21:37
naccteward: have you been able to reproduced it yourself?21:37
nacc*reproduce21:37
tewardnacc: no, that's the problem21:37
naccteward: ack, was wondering21:37
tewardand I have no specs on the systems observed21:37
teward(see my q in #ubuntu-devel)21:38
naccteward: yep, noted21:38
naccteward: do you know in the bugs (still reading them myself) that nginx is already running and that's why the systemctl fails?21:39
tewardnacc: apport hooks for any package failure on install/upgrade pulls the full systemctl data, they should be in those bugs21:39
tewardthough, apport chokes with foreign characters21:39
teward(I think I filed a bug on it?)21:39
naccteward: oh i see that now, sorry!21:40
tewardnacc: you can blame Debian for my needing to pull that data - systemd and the nginx init scripts now just eat error data21:41
tewardsilently :P21:41
teward'twas why I put the apport hooks in in the first place21:41
naccsigh21:42
tewardnacc: for all other reasons for installation failure...21:42
tewardmissing nginx.conf, port bind errors, configuration errors in conf files, obsolete conf arguments, etc.21:42
tewardit's captured by the apport hooks21:42
tewardthese fails are nondeterministic21:42
tewardand unable to be reproduced by myself21:42
tewardeven on 1 vCPU 128MB RAM systems which should choke21:43
naccteward: yeah, based upon the systemctl log (and when it says the jobs started) it does seem like nginx was already installed21:44
naccand running21:45
tewardnacc: exactly why i'm thinking "WTFH"21:45
naccthe 16.10 one's apt ordering is also strange21:46
tewardi think hggdh peeked at at least two of these21:46
teward*shrugs*21:46
naccit seems like removing nginx-core removal would imply the others can't proceed21:46
tewardnacc: i think i should explain nginx a little21:46
tewardnginx-core is the flavor21:46
tewardnginx-core == nginx-full minus third party modules21:46
naccah21:46
tewardnacc: nginx-common has all the common files21:47
tewardnginx-core, Conflicts: nginx-light21:47
tewardnginx-light, Conflicts: nginx-core21:47
tewardlight, core, extras, full - the flavors of the package21:47
teward(different modulesets)21:47
naccunderstood now, thanks!21:47
tewardso the apt ordering there is valid and makes sense in that case21:47
tewardbut the failures don't21:47
naccyep21:48
atralheaven1Hello, I have a question that I don't know where to ask. I have a vpn server, I would be glad to share it with others so they can get free of this censorship that we have. but I am worried about abuse, if someone uses my vpn to do illegal stuff etc that can get me in trouble, what can I do for that? thanks.23:50

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