/srv/irclogs.ubuntu.com/2017/03/31/#ubuntu-server.txt

=== poster is now known as Poster
Meadis there a system requirements or minimum recomended specs for ubuntu-server?  I'm trying to figure how large of partition I should create for my install drive.06:05
hateballMead: https://help.ubuntu.com/lts/serverguide/preparing-to-install.html06:08
hateballMead: It all depends what services you intend to run on it06:08
Meadmainly just kvm and guest OS's06:10
Meadcould it be installed on say an 8 or 16 gig flash drive?06:11
lordievaderGood morning.06:17
Meadgood evening06:18
lordievadero/06:20
zetherooHi all - I installed Ubuntu Server 16.04 onto a freshly created VM (Proxmox) using the minimal Ubuntu ISO. I then installed gnome-session-flashback and xorg, but I cannot get the desktop env to start with 'sudo startx' and it doesn't start on bootup.12:51
zetheroomy xorg log is as follows http://paste.ubuntu.com/24287725/12:52
rbasakzetheroo: server people don't know xorg. Try #ubuntu.12:55
zetheroook12:55
rbasakzetheroo: seems odd that you're using startx though. Usually people use lightdm or similar. Why not just use the desktop installer if that's wha tyou want?12:56
blackflowzetheroo: looks like there's no video device13:01
blackflowno dri, no framebuffer13:01
zetherooaparantly I need a gdm\13:02
zetheroono video device? hmm .. ok13:02
blackflowzetheroo: well the errror log you pasted shows no valid gpu, look at the (EE) entries13:02
zetherooits a VM set to VMware compatible ... whatever that is :P13:03
blackflowcould be just appropriate driver missing13:03
blackflowzetheroo: otoh, check if xserver-xorg-video-vmware is installed13:05
zetherooinstalled lightdm and rebooted  - I have login screen13:06
zetheroothough the resolution is huge - LOL13:06
=== rchavik is now known as TheCroogoBot
zetheroook, I changed the VM display settings back to default (VNC) and now have a more sensible resolution at login. BUt when trying to login I get 'Failed to start session' in red text above the password input area13:08
blackflowzetheroo: you'll have to check the logs (perhaps via ssh)13:09
zetherooI am in there but not sure which logs to be hunting down13:10
blackflowzetheroo: but indeed like rbasak said, at this point the problems are likely related to non-servery parts, so better ask in #ubuntu13:10
blackflowzetheroo: journalctl -n -p err   is a good start13:10
zetheroook, I'll duck back in there then :D13:10
zetheroowhole bunch of this:13:11
zetherooMar 31 15:07:33 orbit1604 lightdm[1344]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot13:11
zetherooMar 31 15:07:33 orbit1604 lightdm[1344]: PAM adding faulty module: pam_kwallet5.so13:11
blackflowkwallet is kde... did you install kde?13:12
zetheroono, I think thats installed by default ... even on Ubuntu Desktop13:13
blackflow(I see you asked in #ubuntu too, so yeah, bettre there)13:13
UssatFUK13:15
=== TheCroogoBot is now known as rchavik
zetheroošŸ‘13:16
=== rchavik is now known as CroogoBot
=== CroogoBot is now known as rchavik
=== gimmic_ is now known as gimmic
=== nacc_ is now known as nacc
jgehey all, wondering if I can install php5.6 on Ubuntu 16 without adding the odrej/php PPA?14:48
jgeI'm working with a server that has no internet connectivity and will never have one.14:48
jgeIt only has access to Ubuntu repos14:49
rizonzmeh 8G for / seperated form the rest is not enough anymore14:52
rizonz*from14:52
naccjge: no, you cannot14:53
rbasakjge: you could create a 14.04 container inside the 16.04 machine and have php 5.5.14:57
rbasakjge: or, if it'll never have internet connectivity, install Vivid from an old archive and never update it. It'll be full of security holes but perhaps that won't matter?14:57
rbasakThough if it won't matter, then ondrej's PPA shouldn't either I suppose, so perhaps I don't understand your scenario.14:58
jgerbasak: I just asked the firewall team, they agreed to allow access to that PPA (life's good again ;)15:01
naccjge: not sure why you can't just use 14.04?15:03
=== admcleod is now known as not_adam
=== not_adam is now known as admcleod
dn`I try to boot an iscsi Ubuntu via ipxe; I was able to install Ubuntu on the ipxe target via; on reboot I always get a ā€˜Login error (Login status  0) on conn 7; 18 - encountered non-retryable iSCSI login failure; I disable any kind of authentication and was able to install on the target - anyone got an idea why itā€™s not booting from it?16:09
naccdn`: does it drop you to a shell?16:10
dn`yes16:10
naccdn`: are you able to login to the  iscsi target from the shell?16:11
dn`(itā€™s the first time I do this, so it might be something very stupid Iā€™m missing)16:11
dn`ā€¦ it just booted...16:11
dn`I think I know now why16:11
dn`one sec..16:11
dn`I think the ipxe(?) keept the connection open and I set the max con limit per target to 116:12
naccdn`: ah16:12
dn`just to debug I set it to 2 .. but that canā€™t be slution can it?16:12
naccdn`: not sure16:13
dn`this took me longer then it should have;-)16:14
dn`nacc: maybe another question, my basic plan was to prepare one lun - then clone this lun for each machine I need to install; so for each machine I assume I need to adapt the config - so I greped for the IQN in /etc and found it a various places - the most prominent is e.g. iscsi.iscsi.initframfs that I need to adapt ā€” do you know if the files in iscsi/nodes/iqnā€¦ or iscsi/send_targets/:IPā€¦ get auto generated?16:33
naccdn`: you mean you were going to install using one lun and then treat that as a 'master image'?16:34
dn`yes - I thought that idea would be good - bad idea?16:35
dn`the problem is I would also do it with preseed/kickstart - I wouldnā€™t mind but I canā€™t find a iscsi example;-)16:35
naccdn`: so the problem you'll find, depending on your config is16:36
nacca) all of them will share an initiator name16:36
naccb) you may want to read README.Debian from open-iscsi16:37
dn`I assumed I could change the initiator name for each - I donā€™t need to install them in parallel16:38
naccdn`: i would suggest modifying your root imagea16:38
naccdn`: and make it not used on its own16:38
naccdn`: if that makes sense16:38
dn`not sure I follow - ā€˜not used on itā€™s own?ā€™16:38
naccdn`: some context on what i mean: https://naccblog.wordpress.com/2017/03/30/iscsi-initiator-names-in-cloud-images/16:39
naccdn`: treat it as a master image16:39
naccdn`: well, you can use it, i guess16:39
naccdn`: but i mean, it sounds like basically you're doing your own little cloud :)16:39
naccdn`: and that requires making sure your 'image' is clean16:39
naccsmoser: --^ :)16:39
dn`ah, yes - thatā€™s kinda the plan16:39
naccdn`: things like ssh host keys, iscsi initiator names, etc. should be unique16:39
dn`hmhm, ssh host keys is a good point - guess Iā€™ll try to figure out how todo it with preseed/kickstart16:40
dn`but this will create many tears from past tries ;-)16:40
naccdn`: we (server team) are talking about this generally16:40
naccdn`: but i don't think it's 'solved' yet :)16:41
dn`iscsi via preseed?16:41
naccdn`: making a clean image to use16:41
naccdn`: given an installed instance16:41
dn`ah - I think itā€™s not insane hard16:41
dn`there is a command to regnerate the host key or you could just delete it (auto generate on start then)16:41
naccwithout having tohave a script go and do it :)16:41
dn`ah;-)16:41
dn`yeap, that would be nice - but if I can have one request16:41
dn`ā€œfixā€ pressed ;-)16:41
dn`I often have to install machines without ipmi16:42
naccwhat's wrong with preseed? or do you mean iscsi support in preseed?16:42
dn`and then preseed can be a super awesome tool16:42
dn`yes, iscsi support and something different then partman ;-)16:42
smosernacc, just saying this out loud, i think that the "updated" iscsi.initiatorname probalby gets put into the initramfs at some point, and at that point the initramfs has a copy and is also then dirty.16:43
dn`e.g. assuming you have a 100GB disk, and you want something like 30GB used for / [ignore th enumbers etc] - you are forced to also create 70g parition - otherwise partman fails; you canā€™t ā€˜notā€™ create it16:43
naccdn`: tbh, there's an entirely new instller in development (subiquity) -- not sure on preseed support there16:43
naccpowersj: you asked about that on the list, right?16:43
naccsmoser: yep, i think that's true, as there is an initramfs hook in the package16:44
dn`nacc: can subiquity do a non interactive install?:)16:44
dn`how stable is it?:) *googleing*16:44
naccdn`: no idea :)16:44
naccdn`: not stable, afaict16:44
naccdn`: it's still internal, mmaybe16:44
dn`found the repo16:45
naccdn`: yeah, it is in active development16:45
dn`but I guess Iā€™ll try to figure out if iscsi is or is not possible with preseed :/16:45
naccthis at least refers to it: https://gist.github.com/Lupul/0accbdc94b8a5ce674d716:45
powersjnacc: yeah I did ask about it. I think still need to understand where it would be used and by whom16:46
smoserif you're doing iscsi root... then it really seems best to me to shoot for doing image based clone rather than install.16:46
smoserand use cloud-init or some other "first time" thing.16:46
naccdn`: --^16:47
smoserbasically then, get yourself a pristine image (from cloud-images.ubuntu.com, have to add a kernel if you need a hardware kernel)16:47
smoserand then just clone that thing. probably can even get away with putting a static /var/lib/cloud/seed/ in it for your metadata and user-data. or you can clone and then write those few files.16:48
dn`smoser: thatā€™s what I tried, will look more into it - the problem is I need to clone the image at least twice I think for each installation ;-)16:49
dn`nacc: thanks - will try to figure that out16:49
dn`nacc: maybe itā€™s easy as addres sis the IP and multiselect is the name/iqn16:49
dn`that would be WOHA ;-)16:49
drab_how woudl you evaluate the different performances of more slower cores vs fewer faster cores when it comes to concurrency?16:56
=== drab_ is now known as drab
naccdrab: what do you care about? define a performance metric and measure it16:57
drabnacc: yeah, the thing is, I don't have the hw test to on. So I'm not sure if 8 cores at 2.5GHz are going to do better than 4 cores at 3.2Ghz16:58
naccdrab: ... so how would you evalutate this at all? thought experiment?16:59
drabnacc: I was hoping someone here would have gone through similar considerations and maybe had the gear to test it, and knew that for eaxmple in a hosting scenario as a rule of thumb you're better off with faster CPUs and fewer core count or whatever configuration17:00
drabI coulsd possibly try to recreate something with containers and limiting cores, but don't think I can influence freq at all17:00
naccdrab: right, you never said 'hosting scenario' -- so # of VMs is a performance metric17:00
=== chmurifree is now known as chmuri
arooniwhat should i check when i get a 'Connection refused' message from my ubuntu 14.04 server when i try to ssh to it?20:44
arooniits being antisocial20:44
dlloydis openssh running?20:44
tomreynarooni: connection refused suggests that some endpoint or intermediary recived your connectrion and decided to actively drop it.20:48
tomreynthat's what an openssh server does when it's just starting up, or when you are connecting from an ip address not authorized to connect to it.20:49
tomreynbut also a firewall, wherther host or network based could do such.20:49
tomreynmost of the time, firewalls would just drop the traffic, though20:49
tomreyn(which would result in a timeout message, not the one you got)20:49
Meadwelp I took the plunge, I've got ubuntu server installed,  nothing but command line,  now I have no choice but to learn how to configure everything in the CLI...   so...  now I guess I need a load of guides and documentation.  Anyone kwow were to start?  The more searchable the better.22:41
blackflowMead: start with specific software you want/need22:51
compdocyou can also install a minimal desktop like mate. which then allows you to remote into it22:56
compdocmy life would be a living hell with remote dektops22:58
blackflowthat kinda defeats the purpose :)22:59
compdocnothing but net. I get it23:02
=== nchambers is now known as Guest21588
bekksMead: you could even install a graphical environment. Which will not help much in configuring services on your server.23:15

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