/srv/irclogs.ubuntu.com/2015/10/23/#ubuntu-server.txt

MACscrwhy does it seem like sometimes after kernel/grub updates that the default kernel selection no longer works and i have to press enter? sucks for remote systems00:09
TJ-That happens if the GRUB 'recordfail' flag is set due to an unclean OS shutdown00:25
MACscrTJ-: thanks, i will check00:25
qman__You can disable that functionality in he grub configuration00:26
qman__It's a relatively new feature that's a pain in the rear00:27
TJ-recordfail has been around many years :)00:28
MACscrodd, all the suggestions im finding are old and seem like hacks00:35
=== markthomas is now known as markthomas|away
roseysdadi need help01:49
adun153roseysdad: Just ask, people will answer if they are active and have a helpful answer.01:51
ksx4systemdoes it make sense to run mail server on VPS with just 256M of ram? 14.04 LTS 32-bit, postfix+dovecot+something to filter spam02:40
sarnoldmaybe if it's ssd backed or osmethinng...02:46
sarnoldotherwise feels a bit itght02:46
roseysdadhow can i see what services are running in systemd?02:54
ksx4systemsarnold, pure SSD03:02
ksx4systemand super low volume (never over 50 mails a day, 99% of them under 10 kilobytes)03:03
adun153ksx4system: It might work, but  I'm still pretty nervous about that, especially if it is to be used for something in production/mission-critical.03:05
ksx4systemadun153, what exactly is that *insanely* resource hungry? the spam filtering part?03:07
ksx4system(of course I'm going to run postfix/dovecot combo operating without SQL database)03:08
adun153Ubuntu has never exactly been a "lean" distro, if you know what I mean.03:09
adun153You can probably run it, but it might have to swap quite a bit, I thin.03:09
adun153*think.03:09
ksx4systemadun153, if you take some time it can be as light as properly tuned Debian :)03:09
ksx4systembut Ubuntu has longer support cycles (5 years for LTS)03:10
ksx4systemwhat about 512M? would it help?03:11
adun153ksx4system: I'd be a lot more comfortable with  512.03:11
ksx4systemthis is insane03:12
adun153ksx4system: But it seems like you have the time, you can set up the 256 instance, try it out, see if your hypothesis is correct.03:12
adun153You asked us for our opinions, you got it from sarnold and myself. Eventually, it's entirely up to you. :)03:13
ksx4systemadun153, well I have around 3 months until date I have to move03:13
ksx4systemso I can do some proper testing :)03:13
adun153Sounds good.03:13
ksx4systemwebmail is not an issue (hardcore tuned lighttpd + minimal php5 + squirrelmail) I think03:14
ksx4systemthis should eat at most 20M03:14
ksx4systemif not less...03:15
ksx4systemwhat about backup MX? do I need a big (256-512M) VPS too?03:15
adun153If just running Postfix, I think 256 should be fine.03:18
ksx4systemwill 128 do?03:19
ksx4system(yes, I always try to squeeze stuff as much as possible)03:19
adun153128? I don't know. Leaning towards "no".03:22
ksx4systemchallenge accepted lol03:25
adun153lol03:25
adun153good luck03:25
ksx4systemthanks :)03:29
ksx4system(I was actually surprised that mail server needs anything over 64M)03:29
=== Jalen_ is now known as Jalen
=== Jalen is now known as Guest46060
=== cpaelzer_ is now known as cpaelzer
lordievaderGood morning.08:16
mripguruhey guys - anyone here successfully install Ubuntu 12.04 or 14.04 (either LTS) successfully on a Dell C6100 blade server? It will just not install - and the installer is quite slow when it does try and work.08:51
lordievadermripguru: "It will just not install", do you get errors or something?08:52
mripgurulordievader: nope - but, most of the operations, etc. take on average a year and a day -- and when it did install earlier on (another blade in the same cluster) - it would boot to a black screen08:53
mripguruso no - it doesn't technically error08:54
lordievadermripguru: Hmm, the installer does run?08:54
mripgurubut it doesn't work - either.08:54
mripgurulordievader: it looks like it's going to install successfully - but, usually just hangs up for awhile08:55
mripgurulike the partitioning stage08:55
lordievaderFrom the limited shell the installer gives you I'd test the disks and the overall performance of the machine.08:55
mripgurucan take 20-30 min08:55
lordievaderSince what you describe make me think that there is some trouble accessing the disks.08:56
mripgurubad disks?08:58
lordievadermripguru: Could be, like I said, test them ;)08:58
mripguruyup - let's see what another node does09:05
lordievader? Why?09:06
lordievaderTest where the problem lies not somewhere else.09:06
kichkoHey does anybody here tried the openstack-installer on ubuntu server...I'm behind a proxy and the creating of the container works but the initialization of the container fails...I'm 100% sure that there has to be some additional proxy-setting that I might have missed09:09
mripgurulordievader: I want to see if another node has the same behavior09:10
mripgurufor comparison.09:10
kichkothe command.log says  error.py:35] showing error view for: Top-level container OS did not initialize correctly.09:11
kichkowhile initializing it seems like that the deb repositories are not available but I check them manually they are up.09:13
mripgurulordievader: I think you may be onto something - but, I don't think it's the actual disks.09:44
lordievadermripguru: What did you find?09:44
mripgurulordievader: just for the hell of it - I'm installing XenServer - which does not support FakeRAID09:45
mripguruand it seems to be installing just fine.09:45
lordievadermripguru: Why not start with some basic dd tests to check the disk speeds?09:45
mripguruso looks like the issue may actually be in the FakeRAID09:45
mripgurulordievader: can do that - but, I know the disks are fine (more or less)09:46
lordievaderOh that can be, but perhaps there is something blocking Ubuntu from achieving the full disk speed (then you know why it is so slow ;) )09:46
mripgurulordievader: sounds like I should try turning off the FakeRAID and just building a true software RAID setup?09:48
mripguru(after running some disk tests)09:49
lordievaderThat is not what I am saying, I am saying you need to form a hypothesis then gather some data to see if it is correct.09:49
lordievaderOnly then you can think of a solution.09:49
lordievaderJust doing things without reason is rather futile.09:50
mripgurulordievader: agreed09:51
mripgurulordievader: at this point - all roads lead either to the FakeRAID or the disks themselves - need to isolate each09:55
lordievadermripguru: Exactly ;)09:55
=== lordieva1er is now known as lordievader
=== ming is now known as Guest66148
=== ReScO_ is now known as ReScO
=== peterrus- is now known as peterrus
=== mukhbiir is now known as neoark
=== spinza_ is now known as spinza
=== rsalveti_ is now known as rsalveti
=== broder_ is now known as broder
=== neurotus is now known as Guest56754
=== _fortis_ is now known as _fortis
mripgurulordievader: I suspect part of the slowness may actually be the fact that I'm trying to install over IPMI/DRAC10:42
lordievaderSOL IPMI?10:43
mripgurulordievader: no - some bastardized version of Supermicro IPMI10:43
lordievaderSOL = Serial Over Lan ;)10:44
mripgurunot serial10:44
mripgurufull graphical UI10:44
lordievaderHmm.. Not sure. What kind of speeds does dd show?10:44
dannysmc95Hello, I am having some trouble with mysql? I can't seem to connect to it from my client on my computer, I use the IP and the 3306 port and it just errors, it says communication link failure (I am using DBBeaver), any help would be awesome, it says in the /var/log/mysql/error.log that it is ready to be connected to... but nothing? its enabled in my firewall so what can I do?10:47
bekksdannysmc95: Is your mysql server listening on a port or a socket?10:48
dannysmc95bekks how would I find out?10:48
bekksBy looking at your config file.10:49
dannysmc95[mysqld] ?10:49
dannysmc95bekks: it says socket = /var.run.mysqld.sock and port = 3306 under that10:50
bekksdannysmc95: But there is no IP address configured to listen on?10:50
dannysmc95It uses bind-address = 127.0.0.110:51
bekksSo it is listening on localhost Port 330610:52
bekksIs 127.0.0.1 the IP you are trying to connect to?10:52
dannysmc95No I am external so using the servers IP10:52
bekksYour mysql server isnt listening on that IP.10:52
dannysmc95Okay but if I remove that IP would it not stop localhost access?10:53
dannysmc95?10:54
bekks0.0.0.0 will make it listen on all address, a.b.c.d (your external IP) will make it listen on that IP only, 127.0.0.1 makes it listen on localhost only.10:55
dannysmc95Okay so I should set bind-address to 0.0.0.010:56
bekksOnly if you need to access it from localhost, too.10:56
dannysmc95Yeah I would do, so I can use php?10:57
bekksyou can use php using the socket, too.10:57
bekksBut 0.0.0.0 should be fine.10:58
dannysmc95bekks: access denied?10:58
bekksdannysmc95: Is that a question?10:58
dannysmc95bekks: yeah its the correct user and password...?10:59
bekksDid you restart the mysql server after changing the config?10:59
dannysmc95yeah10:59
bekksThen your credentials arent correct.10:59
dannysmc95It works via CLI10:59
dannysmc95same password and same user, works my doing mysql -u <user> -p and then typing password?11:00
bekksNope.11:00
bekksmysql -u user -p password -h host11:00
dannysmc95Eh? I am saying when connected to SSH to my server it works by doing the command above and works fine? but when I am trying to connect from a client on my pc here it doesn;t? do I need to allow the host?11:01
lordievaderSounds like a firewall is doing its job. You don't want you sql server exposed to the internet.11:03
bekksSo if it works on your host, thats fine. Now you need to configure your server to allow connections from your client.11:03
dannysmc95bekks: how exactly do I do that? I am very new to having a server?11:04
bekksdannysmc95: I dont know how/what you did on your server to inhibit connections from your client.11:05
dannysmc95bekks: neither do I...11:05
dannysmc95I did the grant all on command in mysql via ssh but it says 0 rows affected?11:07
dannysmc95GOT IT11:08
dannysmc95Thanks for the walkthrough, I needed to permit my host name11:09
dannysmc95allow*11:09
MooslapkeAnyone can help me with git? I am trying to let other people connect to my server securely11:16
MooslapkeI think best with keys?11:16
=== agumon is now known as Uptime
=== popey_ is now known as popey
=== Caveman is now known as Guest18416
Odd_Blokexnox: A friend from uni just messaged me with a question about OpenERP. /o\13:00
mripguruERP :P13:00
xnoxOdd_Bloke: =))))))))))13:02
xnoxccccccegjekvhffrubfiujluhejujredutkbfbfbdrvi13:02
xnoxsigh13:02
* mripguru hates being the local 'IT guy'13:03
xnoxOdd_Bloke: did you say: Oh dooo ask someone else?13:03
xnox=)13:03
xnoxhttps://www.odoo.com/13:03
Odd_Blokexnox: <313:04
=== MrPPS is now known as Valfor
Odd_Blokemripguru: In their defence, I (and xnox) did work for a company that developed OpenERP plugins about 5 years ago.13:05
xnoxgosh, has it been that long already?!13:05
mripguruthat's not a defense - that's an excuse.13:05
Odd_Blokexnox: Maybe... 4?13:05
Odd_Bloke*checks CV*13:05
xnoxOdd_Bloke: i bet tinyerp modules are still valid in odoo13:05
xnoxOdd_Bloke: i started in 2011 i think, and you must have been there before.13:06
Odd_Blokexnox: I can only assume you're trying to make me angry. :p13:06
xnoxso in february it will be 5 years for me.13:06
Odd_Blokexnox: I left July 2011, I think.13:06
=== arcsky_ is now known as arcsky
threshhi. anyone using packer to provision ubuntu 15.10 machines?13:38
RoyKare you using 15.10 on servers?13:39
threshI'm trying to provision a server machine, yes.13:39
RoyKI hope this is not for production - it was released yesterday...13:40
threshindeed :-)13:40
RoyKand isn't LTS13:40
RoyKand ...13:40
RoyKoh well13:40
threshThis is for a buildbot / build farm.  We're providing nginx.org packages built for different OSes.13:40
RoyKic13:41
teward|livethresh: let me guess - the nginx.org repo?  ;)13:41
thresh:P13:41
threshyes13:41
* teward|live whistles nonchalantly then throws the idea of sbuild out there13:41
threshteward|live: last time I checked it could not build stuff on centos and sles :-)13:42
teward|livethresh: no, it can't, i meant specifically for your Ubuntu/Debian builds13:42
teward|livethresh: granted, though, if you're doing builds on individual 'machines', even virtual, i13:42
teward|livei'm left scratching my head as to why13:42
teward|livebut that's my opinion :)13:43
threshthe idea is to have prebuilt images for all OSes we support and do builds in a clean env every time13:43
teward|live(that's what sbuild does *cough cough*13:43
teward|live)13:43
threshand on the real kernel13:43
teward|liveah13:43
teward|live'kay then :)13:44
* teward|live silently disappears back into the shadows13:44
threshanyhow, there is a problem with packer and ubuntu 15.10 (while the exactly same config works for 15.04), so I'm kinda puzzled here.13:44
=== rattking_ is now known as rattking
=== klaas_ is now known as klaas
threshuh, looks like whenever I launch ubuntu 15.10 server cd install, providing options in the console UI (clicking escape, escape, enter from main grub UI) with "boot: " gets me back to grub...14:39
threshnice, and 15.04 does exactly the right thing when I type in "/install/vmlinuz  auto initrd=/install/initrd.gz" -- it tries to boot up the installer..14:45
threshcan anyone confirm that?14:45
threshthat's using http://releases.ubuntu.com/15.10/ubuntu-15.10-server-amd64.iso14:45
RoyKthresh: sounds like grub wasn't installed correctly15:09
threshRoyK: "installed" on a CD you mean?15:10
threshthis is when I boot the CD up.15:10
RoyKoh15:10
RoyKno, haven't seen that15:10
RoyKthresh: actually, I don't think I've _ever_ seen that from a cd boot, but then, I've only used linux for 20 years or so ;)15:12
threshwell me neither and that's what's happening with 15.10 server isos (both i386 and amd64)15:13
RoyKthresh: I'm install 15.10 in a VM as we speak15:13
threshRoyK: can you try this: https://gist.github.com/thresheek/82a67847b5308be5b9df ?15:18
threshthose the instructions to reproduce what I have15:18
RoyKthresh: why do you try to leave the installer in the installer?15:25
=== markthomas|away is now known as markthomas
threshRoyK: I want to provide a preseed configuration file.15:41
TJ-thresh: can you edit the existing command-line using F6, where a preseed is already listed?15:41
threshTJ-: that works even if I remove all the parameters except "initrd=/install/initrd.gz" there and hit enter there.15:47
=== Lcawte|Away is now known as Lcawte
TJ-thresh: I see the same thing here in a VM; what is weird is "boot: xxxxx" then Enter shows "Loading image...". I cannot find where it gets the word 'image' from; the linux.c32 code uses "Loading %s\n", kernel_name which should show xxxxx16:04
TJ-thresh: also, if i repeat it several times iso/syslinux reports "Out of memory" apparently indicating it does manage to load the kernel image into RAM (using  1GB VM)16:04
threshinteresting. :/16:06
vertago1_Samba user authentication seems to be broken after upgrading to 15.1016:39
=== Lcawte is now known as Lcawte|Away
RoyKvertago1_: what sort of authentication are you using?17:25
jonah_hi can anyone please help. I'm trying to setup ubuntu 14.04 with a raid 10 using the ubuntu installer - so far i've just made a right mess of it each attempt! I followed the UrbanPenguin youtube video but he only does raid one and he uses an older version of ubuntu too so the guide just hasn't worked for me18:22
jonah_any help really appreciated.18:22
jonah_got a bootable usb with ubuntu server 14.04.3 on18:22
jonah_and also got a bootable gparted usb18:22
jonah_I'd hoped between the two it would work18:22
lowninI'm running ubuntu server 15.04 on my home server.  After doing apt-get dist-upgrade, this happens when I try to boot - http://imgur.com/a/20zFG18:23
lowninIt seems to be failing to boot with Ubuntu Kernel 3.19.0-31 and if I interupt grub during boot and select 3.19.0.15, my system boots just fine without the above errors.  Anyone have any ideas where I should even start with this?  Thanks!18:23
sarnoldjonah_: there's some information on the installer's raid stuff here https://help.ubuntu.com/14.04/serverguide/advanced-installation.html18:23
jonah_sarnold: thanks this looks very similar to the youtube I followed. both mention the option of Primary drives being selectable but I had no option for Primary in 14.04...18:25
jonah_sarnold: i'll try follow the guide you've linked and just see if it is any different or works better than the youtube one. I get all the system installed etc but it just fails at the end and can't install grub, also I don't know what path i'm supposed to enter for grub...18:26
jonah_sarnold: the other problem I had when partitioning with the installer live usb is it wouldn't let me set the partitions as 'bootable' when I pressed enter to change it to bootable nothing happens. very weird18:27
sarnoldlownin: you might try #ubuntu-kernel, or file a bug against the 'linux' package18:28
sarnoldlownin: that second photo showing  failing to bring the cpus online is really something else..18:29
lowninsarnold: thanks, I'll repost in #ubuntu-kernel18:29
lowninsarnold: I agree.18:29
sarnoldjonah_: iirc you're only allowed four primary partitions with old-style formatting, not sure about the new GPT format..18:29
jonah_sarnold: i only have four drives, so i'd just made 4 swaps partitions (1 on each drive) and 4 root partitions. then just installed at that but it didn't like it!18:32
patdk-wkthe question is, how should you use those 4 :)18:35
patdk-wkraid0? raid1?18:35
patdk-wkjonah_, did you use mbr or gpt?18:36
patdk-wkgpt requires you make additional boot areas for grub18:37
lowninsarnold: #ubuntu-kernel isn't very active, is it?18:39
sarnoldlownin: it may not be, I have to admit I've never used it.. but the topic looks kept up to date...18:40
lowninsarnold: I was reading through their channel logs, and there are entire days where no one says anything.18:41
sarnoldmust be nice :) haha18:42
lownin=p18:42
jonah_patdk-wk: sorry trying to do raid1018:55
jonah_just trying now with a 3rd raid volume which I've got a efi boot area set for each sda3 sdb3 sdc3 sdd3 etc...19:01
jonah_no idea if that will work!19:01
jonah_but at least it gives that a B for bootable label...19:01
maseratiI'm having issues updating my server, not sure what to do - http://dpaste.com/0JFQG68   if anyone has time to take a look, ty19:07
jgehey guys, could someone confirm if ubuntu supports automatic daylight savings time when using NTPD?19:08
threshntpd is unrelated to daylight savings.  you need to have proper TZ file installed.19:09
=== markthomas is now known as markthomas|away
jrwrenjge: i can confirm.19:10
sarnoldmaserati: try again after an apt-get update?19:11
maseratisarnold: i did =[  same result19:12
jgejrwren: thanks19:15
sarnoldmaserati: hmm, I wonder if something changed that might require apt-get dist-upgrade?19:15
sarnoldmaserati: it's been ages since I've seen this kind of thing.. If it were mine, I think I'd delete the package lists and packages from /var/cache/apt/ and maybe clear any apt proxies you might be using, too, re-do the apt-get update, then try the apt-get upgrade again19:15
sarnoldmaserati: another approach is to try to apt-get purge those two packages, making sure you don't actually delete the installed kernel packages, then try re-installing them..19:16
maseratisarnold: Just tried option 1 there, same thing. trying option 219:18
=== AppRoyale is now known as approyale
=== markthomas|away is now known as markthomas
bernierunnsAnyone want to help a guy figure out what the errors I am getting mean?21:04
tewardbernierunns: it always helps to just state what problems you're seeing and wait for someone to help21:06
tewardrather than just ask if anyone wants to help21:06
NegativeFlare_heh21:06
=== NegativeFlare_ is now known as NegativeFlare
bernierunnsok Errors were encountered while processing:21:08
bernierunns linux-image-generic-lts-utopic21:08
=== maserati is now known as FSMonster
bernierunnsamong five other errors21:09
bernierunnsWhat can I do about missing partition tables? I get an error when I boot the server that I have missing partition tables and it then asks to skip the mount or fix manually.21:20
bernierunnsI just skip it because i have no idea how to fix this issue.21:20
=== FSMonster is now known as maserati
rattkingif the partition table is suppose to be missing then you should remove that entry from /etc/fstab.. this will remove that prompt21:21
bernierunnsOK, how do i display drive info so I can see whats going on with my drives? I'm fairly new to command line stuff.21:24
rattking'blkid' 'cat /proc/partitions' and 'df' will give some ideas21:25
bernierunnsok, I'm checking that out now21:25
rattkingbut it should have complained about the missing device at boot21:27
bernierunnsCould it be that I don't have an external drive configured to mount at boot?21:27
threshhuh, https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/150583921:28
ubottuLaunchpad bug 1505839 in debian-installer (Ubuntu) "Unable to install from text mode interface" [Undecided,Confirmed]21:28
rattkingits more likely there is a external drive configured to mount at boot that is either not attached or has been formatted so the UUID doesnt match whats in /etc/fstab21:29
bernierunnsOK, that makes sense, I can edit that info in vi right?21:31
rattkingyes, with sudo or as root21:31
=== shadeslayer_ is now known as shadeslayer
=== keithzg__ is now known as keithzg
=== wolsen_ is now known as wolsen
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away

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