[00:07] <LaserAllan> hey guys how do i check what kind NIC i have on my system?, i am gogin to install ESXI on the system and so i need to know what NIC i ahve exactly, iknows its not an intel so i need to downlaod the correct drivers the VMware iso so it will be supported.
[00:09] <ianorlin> LaserAllan, what os do you have on there now?
[00:09] <ianorlin> if it is ubuntu server or another unix I would use lspci
[00:10] <LaserAllan> ianorlin: Well currently I have Linuxmint on it but I want to put ESXI on it so i can have more vms
[00:11] <ianorlin> LaserAllan, well you can use lspci from linuxmint
[00:11] <LaserAllan> oh you mean nic
[00:11] <LaserAllan> I know its a realtek
[00:11] <LaserAllan> ah thanks i got a blackout there for a second
[00:11] <LaserAllan> :)
[00:11] <ianorlin> ok you answered your own question
[00:12] <bindi> how can i open a shell during the ubuntu server installation?
[00:12] <ianorlin> bindi, alt f2
[00:12] <bindi> ah, ctrl alt f2
[00:12] <bindi> :p
[00:12] <ianorlin> although that is a bit limited
[00:12] <bindi> shouldve just tried it before asking <.<
[00:12] <bindi> is it?
[00:12] <bindi> i need to do some partitioning
[00:12] <ianorlin> for example ubuntu-bug from there won't work
[00:13] <ianorlin> ah command line partitioning might
[00:13] <sdeziel> LaserAllan: there is also KVM/libvirt to run VMs if you want to stay in known territories
[00:13] <bindi> fdisk not found :p
[00:13] <sdeziel> bindi: IIRC parted should be available
[00:13] <bindi> parted not found either
[00:14] <sdeziel> oh
[00:14] <nacc> you probably need to be far enough along in the installer that hte partitioner is loaded
[00:15] <bindi> lets see
[00:15] <sdeziel> that would explain why I could swear I was using parted at some point :)
[00:15] <bindi> nope
[00:15] <bindi> im in partman and nada
[00:15] <sdeziel> with Xenial, I prefer fdisk now that it properly supports GPT
[00:15] <nacc> parted might need to be installed in the installer environment, dunno what's there by default
[00:16] <ianorlin> nacc not much
[00:16] <nacc> ianorlin: ack, that's my recollection too
[00:16] <bindi> udpkg -i /cdrom/pool/main/p/parted/parted-udeb_3.2-15_amd64.udeb
[00:16] <bindi> hmm :p
[00:17] <bindi> yey
[00:17] <bindi> now how do i drive this
[00:30] <bindi> ugh
[00:30] <bindi> i've never used lvm before
[00:31] <bindi> http://bindibox.net/ul/2016/05/13/5735203b076f0.png i did this and now im looking at http://bindibox.net/ul/2016/05/13/5735204b24919.png
[00:31] <bindi> is this almost right? i think i want to resize the #2 under SCS3I to 5GB
[00:31] <bindi> but how :P
[00:32] <bindi> http://askubuntu.com/questions/623814/install-ubuntu-15-04-with-full-disk-encryption-but-without-swap-partition trying to apply this to server install
[00:32] <bindi> oh i should've done that in parted
[00:32] <bindi> derp
[00:40] <bindi> i still dont get it, ugh
[00:40] <bindi> You need to make an ESP (sda1) (if you use EFI+GPT), a boot partition (256MB for example, sda2), another partition (for example, sda3) that will hold the crypted container called LUKS.
[00:41] <bindi> i made the last two
[00:44] <bindi> ahha, got it i think
[01:15] <bindi> http://bindibox.net/ul/2016/05/13/57352abb5c75b.png
[01:15] <bindi> i disabled my swap and now its stalling on the last command :p
[01:18] <bindi> ahha, had to edit fstab
[01:28] <coreycb> hallyn, arges, zul: I'll look at nova
[01:32] <hallyn> coreycb: thx
[01:33] <hallyn> coreycb: though at this point really it's the only holdup and yeah probably my fault.  i assume you'll need to check whether libvirtd exists, and if not use libvirt
[01:41] <cyphermox> sarnold: live-installer sounds like the right place; I'll check this out.
[01:42] <sarnold> cyphermox: heh, one of these days I swear I'm going to understand all the installers we've got :) thanks
[01:42] <cyphermox> sarnold: if you take too long you're risking we add pieces ;)
[01:43] <sarnold> ahhhhhhh!
[01:43]  * sarnold runs away
[01:43] <cyphermox> seriously though, don't sweat it, I'm taking care of the installers, I'm happy to reassign stuff as I find out that it calls some other piece somewhere else
[01:43] <sarnold> cyphermox: which packages do you follow the bugs on?
[01:43] <sarnold> (maybe that's too many... which -installers-? :)
[01:43] <cyphermox> all the installers
[01:44] <cyphermox> all your installers are belong to us.
[01:44] <sarnold> heheheh
[01:44] <sarnold> thanks cyphermox :)
[06:34] <halvors> Hi. I'm trying to setup a VTI interface with IPv6.
[06:34] <halvors> What i've done is that i've added a tunnel interface.
[06:36] <halvors> ip -6 tunnel add vti1 local fd00::1 remote fd00::2 mode vti6 key 1
[06:36] <halvors> I use strongswan for IPsec terminated in another VTI interface on the other end of the tunnel.
[06:37] <halvors> Everything seems to work fine, the problem is that the tunnel keep dropping packets and is getting collisions.
[06:37] <halvors> When doing the same for IPv4 everything works just fine.
[06:38] <halvors> I also keep getting this message in dmesg: [31370.460037] vti7: Local routing loop detected!
[06:38] <halvors> Where vti7 is my vti interface. vti1 in the command where i added the tunnel was just an example.
[06:38] <halvors> Anyone able to help me with this?
[06:39] <UbuntuDude> hey guys, I've couple of questions: Where can I find a 1st time installation ubuntu web server tutorial? is there a better apache server configuration tool than ApacheGUI?
[06:41] <sarnold> halvors: check ip route output on all machines and see what you can see?
[06:41] <sarnold> UbuntuDude: https://help.ubuntu.com/lts/serverguide/web-servers.html
[06:47] <halvors> sarnold: Cannot find anything wrong here:
[06:47] <halvors> Router01: http://pastebin.com/vajuequ4
[06:48] <halvors> Router02: http://pastebin.com/MHq16Y0r
[06:48] <halvors> 172.16.0.1 is router01 and .2 is router02
[06:51] <sarnold> halvors: hmm. i've never done this before :) but I wonder if those shold be /32 routes instead
[07:23] <UbuntuDude> I'm trying sudo apt-get install dkms in order to install Vbox guest additions but it keeps saying unable to locate package dkms!
[07:29] <sarnold> UbuntuDude: did apt-get update give any errors?
[07:36] <halvors> sarnold: How do i do that.
[07:37] <sarnold> halvors: no idea
[10:32] <LaserAllan> hey guys, if i have lets say a folder where half is 720p and the other half is lets say 480p those are in the actual filenames, can i do a command that will basically delete all the 480p files?
[10:33] <thekrynn_> rm *480p*
[10:33] <thekrynn_> i would do a ls *480p* first
[10:33] <thekrynn_> just to make sure
[10:36] <LaserAllan> thekrynn_: ok lemme do that then :)
[13:26] <Guest22471> hello i am on ubuntu 14.4
[13:26] <Guest22471> how can i had my own dns ?
[13:26] <Guest22471> i need to configure my own dns
[13:27] <Guest22471> something like ns1.dahliaco.com and ns2.dahliaco.com
[13:27] <Guest22471> how can i do that ?
[13:27] <Guest22471> someone please help me
[13:56] <RoyK> Guest22471: just setup bind
[13:56] <RoyK> !bind
[13:57] <RoyK> https://www.howtoforge.com/tutorials/bind/
[13:57] <RoyK> perhaps
[14:04] <jrwren> there is also a bind chapter in server guide IIRC
[14:05] <jrwren> https://help.ubuntu.com/stable/serverguide/dns.html
[14:39] <jonah> hi can anyone please help. For some reason I can't start mysql on my ubuntu server. It was working great and then I updated a kernel, then I couldn't boot so I removed the latest kernel. But now my websites won't load up and mysql is reported to not be running!
[14:39] <jonah> i get this error when I try to start it start: Rejected send message, 1 matched rules; type="method_call", sender=":1.11" (uid=1000 pid=5685 comm="start mysql ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
[14:41] <rbasak> jonah: what do the logs say?
[14:41] <JanC> jonah: Ubuntu 16.04 ?
[14:41] <jonah> rbasak: which log should I check sorry?
[14:41] <jonah> JanC: yes 16.04.3
[14:41] <JanC> eh
[14:41] <JanC> that doesn't exist
[14:42] <JanC> I assume you mean 14.04.3 then
[14:42] <jonah> JanC: sorry I meant 14.04.3, it's the last lts
[14:42] <jonah> JanC: yes sorry!!
[14:42] <rbasak> That error suggests that you are not root.
[14:43] <jonah> rbasak: when I try with sudo on front I just get "Job failed to start"
[14:44] <JanC> you probably need to look at upstart & mysql logs then
[14:45] <jonah> JanC: can you please give me any help to guide me. I checked var/log/mysql.log but it's empty...
[14:45] <jrwren> what does /var/log/upstart/mysql.log say?
[14:45] <bindi> ello, i got iptables and dnsmasq up and running, but now dns doesnt work locally or on other boxes, they do get an ip from the machine though
[14:45] <bindi> http://hastebin.com/alepanavaw.sm
[14:46] <bindi> i dont even know how to tackle this :p http://hastebin.com/tivibiqovu.pas
[14:46] <jonah> jrwren: ah looks like diskspace prob possibly??
[14:46] <jonah> Checking for tables which need an upgrade, are corrupt or were
[14:46] <jonah> not closed cleanly.
[14:46] <jonah> /proc/self/fd/9: ERROR: The partition with /var/lib/mysql is too full!
[14:46] <rbasak> /var/log/mysql/error.log is the usual place on Debian and Ubuntu.
[14:46] <Guest22471> hello
[14:47] <jonah> rbasak: 160513 14:18:58 [Warning] Disk is full writing './yorkshire/modx_session.MY
[14:48] <Guest22471> how can i had my own dns while i am on ubuntu 14.04 my domain is dahliaco.com i need something like ns1.dahliaco.com and ns2.dahliaco.com
[14:50] <Guest22471> please say me a reference for that
[14:51] <jonah> does anyone know which temp folder I can clear out to get mysql back up and running?
[14:52] <sdeziel> jonah: clearing out old/unused kernels and running 'apt-get clean' should reclaim some space
[14:53] <rbasak> baobab is a nice tool to work out what is using space. Run it on a desktop machine and it'll speak ssh to your server.
[14:53] <jonah> sdeziel: apt-get autoclean is already cleared out
[14:54] <jonah> ah found the problem it was my tmp folder, I've cleared it out and backup and running now
[14:59] <rattanakorn> help
[15:00] <rattanakorn>  how i access horizon gui on lxd openstack with on another subnet ?
[15:09] <bindi> I see my queries in syslog but still windwos says "query refused"
[15:41] <hallyn> coreycb: so in addition to group libvirtd switching to group libvirt, we have libvirt-bin.service renamed to libvirtd.service
[15:41] <coreycb> hallyn, ok
[15:42] <hallyn> coreycb: are you working o this now?
[15:42] <hallyn> coreycb: actually, the *upstart* job has not been renamed,
[15:42] <coreycb> hallyn, yes, unfortunately nova finally just built with the first fix :)
[15:42] <hallyn> so that may make things easier for you
[15:42] <hallyn> doe snova even have a systemd service?
[15:42] <hallyn> or do you have to fix it in sysvinit?
[15:43] <coreycb> hallyn, yes it has upstart and systemd
[15:43] <coreycb> let me check
[15:45] <coreycb> hallyn, this will be interesting because we need support for both libvirt-bin.service and libvirtd-bin.service since we backport the the xenial cloud archive
[15:45] <coreycb> unless we backport libvirt
[15:46] <hallyn> well i assume you will backport libvirt :)  but, the libvirtd.service has 'Alias: libvirt-bin.service.'
[15:46] <hallyn> so that *might* suffice
[15:46] <hallyn> (except that in my test, 'systemctl status libvirt-bin' didn't work)
[15:47] <coreycb> hallyn, so we can probably stick with libvirt-bin
[15:47] <hallyn> coreycb: for now, though.  that alias is intended for transitioning.
[15:47] <coreycb> why did that test fail?
[15:47] <coreycb> hallyn, ok
[15:48] <coreycb> hallyn, I'll leave it as is for now and sync with james on monday, he's out today
[15:48] <hallyn> coreycb: bc http://paste.ubuntu.com/16390766/
[15:48] <bindi> ugh, still no go with dnsmasq + iptables, server cant find addresses. anyone? :P
[15:48] <bindi> dns doesnt work locally on the box with dnsmasq either
[15:48] <hallyn> coreycb: ok...  it's preventing libvirt from migrating :(  and i might wanna push libvirt 1.3.4 :)
[15:49] <hallyn> lemme ask pitti about the alias not working
[15:49] <hallyn> thanks coreycb
[15:49] <coreycb> hallyn, I guess I'm not sure why that test fails if there's an alias defined
[15:49] <coreycb> hallyn, 'systemctl status libvirt-bin.service' should work right?
[15:50] <hallyn> coreycb: i would think.  that's why i'm pinging pitti on #ubuntu-devel
[15:50] <coreycb> hallyn, ok. sorry missed your previous comment about asking pitti.
[15:58] <nacc> rbasak: looking at this bug, the issue for drupal7 seems mysql related, is this a 5.7 upgrade issue? LP: #1576969
[16:13] <rbasak> nacc: yes, could be. I'll tag it and review with MySQL upstream.
[16:14] <nacc> rbasak: thank you!
[17:06] <hallyn> so far so good on the qrt run on libvirt 1.3.4...  mayb ei'll push it tonight
[17:26] <Goug> Hi - can you please recommend a light and secure mail server easy to setup on Ubuntu 16.04 Server?
[17:26] <Sling> Goug: postfix/dovecot is a nice combo
[17:27] <Sling> finish it off with spamassassin, roundcube, sieve
[17:27] <JanC> e-mail is never "easy to setup"
[17:27] <Sling> and if it's easy, you probably are now hosting some open relay ;)
[17:27] <Goug> Sling, I have a VPS with only 1gb ram - will I be able to set it up wit hthat and Apache and mysql ?
[17:27] <Goug> open relay ?
[17:28] <JanC> depends on what you want to do with Apache & MySQL
[17:28] <Sling> Goug: thats plenty for a personal/testing setup
[17:28] <Sling> don't use it for anything production-like or expect high performance though
[17:29] <Goug> tbh - I just want to create more than 1 email as offered by the current .com bundle - set up a test website I am working on - php+sql+javascript
[17:29] <Goug> jsut for testing purposes
[17:29] <Goug> then I can upgrade to a bigger server
[17:30] <JanC> should be fine then
[17:30] <bc2946088> you'll be fine, however, imho running a mailserver for a single/couple users, rarely seems worth the trouble
[17:30] <JanC> assuming more "than one" doesn't mean 1000 mail users ;-)
[17:30] <Sling> i run my own mailserver just because I want to be in control of my own mailflow :)
[17:30] <Goug> I think I will need the mail server also if the website I am creating will require email confirmations right ? like when you create new username and password resets ?
[17:30] <Goug> can I use the same one ?
[17:30] <Sling> sure
[17:31] <Sling> you'd tell it to use 'localhost' to deliver mails
[17:31] <JanC> yes, I do all that for a forum
[17:31] <sdeziel> Goug: for those simple needs, I tend to use ssmtp that relays to Google or another provider
[17:32] <Goug> sdeziel, can you explain like im 5 please :D
[17:32] <JanC> sdeziel: that's not useful for receiving mail, I think
[17:32] <bc2946088> You just need a smtpd installed, however, a outsourcing that will cost pennies on the dollar
[17:32] <sdeziel> JanC: Goug: indeed, ssmtp is only for outbound
[17:33] <JanC> and Goug wants to run an IMAP server for him/herself, it seems
[17:33] <sdeziel> Goug: so if outbound only is good enough for you I'll explain a little more :)
[17:33] <Goug> will this work on 16.04 ? https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04
[17:33] <Goug> sdeziel, I need both outbound and inbound
[17:33] <sdeziel> Goug: oh sorry, I misunderstood
[17:34] <bc2946088> If the two aren't connected, you shouldn't treat the need as one.  :)  You want incoming and outgoing for yourself and outgoing for your server.
[17:34] <JanC> Goug: I think there is some info in the Ubuntu Server Guide too
[17:34] <sdeziel> so I second the recommendation for postfix (for the SMTP/submission/LMTP/sendmail part of it anyway)
[17:34] <Goug> Great - thanks :) I will crack on reading now - will probabaly have more questions later - so will pop by ^^
[17:35] <JanC> I use postfix & dovecot
[17:35] <JanC> which have plenty of documentation & tutorials & how-to's for Ubuntu/Debian
[17:36] <Goug> JanC, can you link me please?
[17:36] <Sling> Goug: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
[17:36] <Goug> silly question but would you recommend Debian in this case ?
[17:36] <Sling> (if you need a guide)
[17:36] <Sling> Goug: it doesn't really matter which distro you pick
[17:36] <JanC> well, which ones you want to use also depends on your exact needs
[17:37] <Goug> I will try the link from JanC
[17:37] <Goug> thanks :)
[17:38] <Goug> one more question please - it is recommended I create a new admin user instead of working with root right ?
[17:39] <Sling> not really, but only use root if neccessary
[17:39] <JanC> use sudo  :)
[17:39] <Goug> can I do the entire operation on root then ?
[17:39] <Sling> you can do anything as root
[17:39] <Sling> including *breaking* anything
[17:40] <Goug> lol - will create a new user :D
[17:41] <bc2946088> A new user is no different than the default user you created when installing.  Except he won't be able to sudo by default, which you'll need.  It's just good habit to only sudo when you need elevated permissions.
[17:43] <JanC> eh, why would a new user not be able to sudo?  :)
[17:43] <JanC> (when done right, of course)
[17:44] <mdeslaur> JanC: because new users are not in the sudo/admin group by default
[17:45] <Goug> thanks
[17:46] <bc2946088> Fair enough, JanC.  You could add him to the sudoers group at creation.
[17:52] <bc2946088> wasn't there previously the ability to output juju status to an image?  Is that no longer?
[18:30] <axisys> so I have request to add -f to the iptables to count all the fragmented udp packets. So is that really necessary for server.. I thought server drops fragmented packets?
[18:36] <sdeziel> axisys: I never handled fragments in my rulesets. I assumed the were reassembled thanks to the nf_defrag_ipv4/ipv6 modules. I'm curious as to what others have to say about this
[19:22] <bc2946088> So... This bug ( https://bugs.launchpad.net/juju-core/+bug/1534643 ) says it was fixed in 1.25.4, but here I am at 1.25.5, and it's still occuring.  Or is there some other problem with deploying JUJU Gui on 1.25.5?
[22:26] <Goug> Hi - trying to isntall mysql : sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
[22:26] <Goug>  - I get error :
[22:26] <Goug> This may mean that the package is missing, has been obsoleted, or
[22:26] <Goug> is only available from another source
[22:26] <Goug> E: Unable to locate package libapache2-mod-auth-mysql
[22:26] <Goug> E: Package 'php5-mysql' has no installation candidate
[22:27] <nacc> Goug: what version of ubuntu?
[22:28] <Goug> 16.04
[22:28] <nacc> Goug: php7 only
[22:28] <nacc> Goug: 16.04 is php7 only
[22:28] <nacc> Goug: so you would use php-mysql
[22:28] <Goug> what about the  package libapache2-mod-auth-mysql ?
[22:29] <nacc> Goug: that hasn't been available since vivid
[22:29] <Goug> so just remove it ? installation wouldnt fail ?
[22:30] <nacc> Goug: i don't know what you are installing, but that package does not exist anymore
[22:30] <Goug> alright
[22:30] <Goug> will try it - thanks
[22:32] <nacc> Goug: c18 of https://bugs.launchpad.net/ubuntu/+source/mod-auth-mysql/+bug/1243076
[22:32] <nacc> Goug: are you trying to apache auth against mysql?
[22:33] <Goug> I am following this tutorial
[22:33] <Goug> https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
[22:33] <Goug> sudo mysql_install_db
[22:33] <Goug> gives me an error : 2016-05-14 00:32:20 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
[22:33] <Goug> 2016-05-14 00:32:20 [ERROR]   The data directory needs to be specified.
[22:34] <nacc> Goug: uh
[22:34] <nacc> that's written explicitly for 12.04
[22:34] <nacc> you just said 16.04
[22:34] <Goug> someone else told me earlier here it would work wit hany version
[22:34] <nacc> it even has a link to at least a more updated version
[22:35] <nacc> isn't there a lamp-server metapackage?
[22:36] <Goug> I will try this one
[22:36] <Goug> http://www.unixmen.com/how-to-install-lamp-stack-on-ubuntu-16-04/
[22:36] <sarnold> there's a lamp-server tasksel -- you ought to be able to use apt-get install ^lamp-server, iirc
[22:36] <sarnold> (yes, with the ^)
[22:37] <nacc> sarnold: thanks, couldn't remember the syntax
[22:38] <Goug> E: Unable to locate package ^lamp-server
[22:38] <Goug> E: Couldn't find any package by regex '^lamp-server'
[22:39] <sarnold> ah, apt-get install lamp-server^
[22:39] <sarnold> apparently I can't remember the syntax either, sorry.
[22:40] <ogra_> sudo tasksel install lamp-server ;)
[22:40] <ogra_> (saves you from remembering where the caret goes)
[22:40] <sarnold> :)
[22:41] <nacc> heh
[22:42] <Goug> thanks - now its working
[22:44] <Goug> will apache2 and mysql start automatically when I reboot the server ?
[22:48] <JanC> if they are properly configured, yes
[22:49] <nacc> i believe the default configuration of both does enable both as services, but i'm not 100%
[22:49] <Goug> only one way to find out :D
[22:49] <Goug> im going to try reboot
[23:25] <Goug> is there an ftp server running by default on ubuntu server ?
[23:26] <nacc> Goug: no
[23:26] <nacc> i dont think so
[23:26] <patdk-lap> depends on what tasksel you picked on install
[23:26] <teward> Goug: if you're working on a default install and didn't select SSH Server or FTP Server, then no
[23:27] <teward> if you selected SSH Server, 'sftp' exists, but that's not a pure FTP server per se
[23:27] <teward> Goug: if you're working off a prebuilt image at a VPS provider, we can't really give insights to that
[23:27] <Goug> its just to upload files to apache - winscp should do the trick
[23:27] <Goug> thaks :)
[23:37] <lynorian> although I wish I actually got more of sftp into the 16.04 server guide
[23:37] <g3org3s> I am trying to use winscp to do that - I get a login error - acces denied - not sure what I should be doing
[23:37] <g3org3s> googling
[23:38] <teward> use your SSH credentials for the server
[23:40] <g3org3s> what file protocol should I use ? if sftp shouldnt I install an ftp server before on my server ? like vsftpd ?
[23:41] <teward> g3org3s: sftp *is* the protocol
[23:41] <teward> it's provided as part of the openssh-server stuff
[23:41] <teward> so, if you have SSH you should already have SFTP access via those SSH credentials
[23:41] <g3org3s> it says access denied
[23:42] <g3org3s> oh
[23:42] <g3org3s> working - nevermind :D