[00:07] 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] LaserAllan, what os do you have on there now? [00:09] if it is ubuntu server or another unix I would use lspci [00:10] ianorlin: Well currently I have Linuxmint on it but I want to put ESXI on it so i can have more vms [00:11] LaserAllan, well you can use lspci from linuxmint [00:11] oh you mean nic [00:11] I know its a realtek [00:11] ah thanks i got a blackout there for a second [00:11] :) [00:11] ok you answered your own question [00:12] how can i open a shell during the ubuntu server installation? [00:12] bindi, alt f2 [00:12] ah, ctrl alt f2 [00:12] :p [00:12] although that is a bit limited [00:12] shouldve just tried it before asking <.< [00:12] is it? [00:12] i need to do some partitioning [00:12] for example ubuntu-bug from there won't work [00:13] ah command line partitioning might [00:13] LaserAllan: there is also KVM/libvirt to run VMs if you want to stay in known territories [00:13] fdisk not found :p [00:13] bindi: IIRC parted should be available [00:13] parted not found either [00:14] oh [00:14] you probably need to be far enough along in the installer that hte partitioner is loaded [00:15] lets see [00:15] that would explain why I could swear I was using parted at some point :) [00:15] nope [00:15] im in partman and nada [00:15] with Xenial, I prefer fdisk now that it properly supports GPT [00:15] parted might need to be installed in the installer environment, dunno what's there by default [00:16] nacc not much [00:16] ianorlin: ack, that's my recollection too [00:16] udpkg -i /cdrom/pool/main/p/parted/parted-udeb_3.2-15_amd64.udeb [00:16] hmm :p [00:17] yey [00:17] now how do i drive this [00:30] ugh [00:30] i've never used lvm before [00:31] 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] is this almost right? i think i want to resize the #2 under SCS3I to 5GB [00:31] but how :P [00:32] 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] oh i should've done that in parted [00:32] derp [00:40] i still dont get it, ugh [00:40] 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] i made the last two [00:44] ahha, got it i think [01:15] http://bindibox.net/ul/2016/05/13/57352abb5c75b.png [01:15] i disabled my swap and now its stalling on the last command :p [01:18] ahha, had to edit fstab [01:28] hallyn, arges, zul: I'll look at nova [01:32] coreycb: thx [01:33] 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] sarnold: live-installer sounds like the right place; I'll check this out. [01:42] cyphermox: heh, one of these days I swear I'm going to understand all the installers we've got :) thanks [01:42] sarnold: if you take too long you're risking we add pieces ;) [01:43] ahhhhhhh! [01:43] * sarnold runs away [01:43] 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] cyphermox: which packages do you follow the bugs on? [01:43] (maybe that's too many... which -installers-? :) [01:43] all the installers [01:44] all your installers are belong to us. [01:44] heheheh [01:44] thanks cyphermox :) === ianorlin is now known as lynorian === rodlogic is now known as Guest75713 === rodlogic is now known as Guest21818 === ubuntu is now known as Guest16196 [06:34] Hi. I'm trying to setup a VTI interface with IPv6. [06:34] What i've done is that i've added a tunnel interface. [06:36] ip -6 tunnel add vti1 local fd00::1 remote fd00::2 mode vti6 key 1 [06:36] I use strongswan for IPsec terminated in another VTI interface on the other end of the tunnel. [06:37] Everything seems to work fine, the problem is that the tunnel keep dropping packets and is getting collisions. [06:37] When doing the same for IPv4 everything works just fine. [06:38] I also keep getting this message in dmesg: [31370.460037] vti7: Local routing loop detected! [06:38] Where vti7 is my vti interface. vti1 in the command where i added the tunnel was just an example. [06:38] Anyone able to help me with this? [06:39] 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] halvors: check ip route output on all machines and see what you can see? [06:41] UbuntuDude: https://help.ubuntu.com/lts/serverguide/web-servers.html [06:47] sarnold: Cannot find anything wrong here: [06:47] Router01: http://pastebin.com/vajuequ4 [06:48] Router02: http://pastebin.com/MHq16Y0r [06:48] 172.16.0.1 is router01 and .2 is router02 [06:51] halvors: hmm. i've never done this before :) but I wonder if those shold be /32 routes instead [07:23] 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] UbuntuDude: did apt-get update give any errors? [07:36] sarnold: How do i do that. [07:37] halvors: no idea [10:32] 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] rm *480p* [10:33] i would do a ls *480p* first [10:33] just to make sure [10:36] thekrynn_: ok lemme do that then :) === rodlogic is now known as Guest45407 === rodlogic is now known as Guest44812 === Deliants is now known as Deliant === mohammad is now known as Guest22471 [13:26] hello i am on ubuntu 14.4 [13:26] how can i had my own dns ? === rodlogic is now known as Guest56723 [13:26] i need to configure my own dns [13:27] something like ns1.dahliaco.com and ns2.dahliaco.com [13:27] how can i do that ? [13:27] someone please help me [13:56] Guest22471: just setup bind [13:56] !bind [13:57] https://www.howtoforge.com/tutorials/bind/ [13:57] perhaps [14:04] there is also a bind chapter in server guide IIRC [14:05] https://help.ubuntu.com/stable/serverguide/dns.html === rodlogic is now known as Guest81137 [14:39] 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] 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] jonah: what do the logs say? [14:41] jonah: Ubuntu 16.04 ? [14:41] rbasak: which log should I check sorry? [14:41] JanC: yes 16.04.3 [14:41] eh [14:41] that doesn't exist [14:42] I assume you mean 14.04.3 then [14:42] JanC: sorry I meant 14.04.3, it's the last lts [14:42] JanC: yes sorry!! [14:42] That error suggests that you are not root. [14:43] rbasak: when I try with sudo on front I just get "Job failed to start" === rodlogic is now known as Guest5666 [14:44] you probably need to look at upstart & mysql logs then [14:45] JanC: can you please give me any help to guide me. I checked var/log/mysql.log but it's empty... [14:45] what does /var/log/upstart/mysql.log say? [14:45] 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] http://hastebin.com/alepanavaw.sm [14:46] i dont even know how to tackle this :p http://hastebin.com/tivibiqovu.pas [14:46] jrwren: ah looks like diskspace prob possibly?? [14:46] Checking for tables which need an upgrade, are corrupt or were [14:46] not closed cleanly. [14:46] /proc/self/fd/9: ERROR: The partition with /var/lib/mysql is too full! [14:46] /var/log/mysql/error.log is the usual place on Debian and Ubuntu. [14:46] hello [14:47] rbasak: 160513 14:18:58 [Warning] Disk is full writing './yorkshire/modx_session.MY [14:48] 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] please say me a reference for that [14:51] does anyone know which temp folder I can clear out to get mysql back up and running? [14:52] jonah: clearing out old/unused kernels and running 'apt-get clean' should reclaim some space [14:53] 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] sdeziel: apt-get autoclean is already cleared out [14:54] ah found the problem it was my tmp folder, I've cleared it out and backup and running now [14:59] help [15:00] how i access horizon gui on lxd openstack with on another subnet ? [15:09] I see my queries in syslog but still windwos says "query refused" [15:41] coreycb: so in addition to group libvirtd switching to group libvirt, we have libvirt-bin.service renamed to libvirtd.service [15:41] hallyn, ok [15:42] coreycb: are you working o this now? [15:42] coreycb: actually, the *upstart* job has not been renamed, [15:42] hallyn, yes, unfortunately nova finally just built with the first fix :) [15:42] so that may make things easier for you === rodlogic is now known as Guest63438 [15:42] doe snova even have a systemd service? [15:42] or do you have to fix it in sysvinit? [15:43] hallyn, yes it has upstart and systemd [15:43] let me check [15:45] 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] unless we backport libvirt [15:46] well i assume you will backport libvirt :) but, the libvirtd.service has 'Alias: libvirt-bin.service.' [15:46] so that *might* suffice [15:46] (except that in my test, 'systemctl status libvirt-bin' didn't work) [15:47] hallyn, so we can probably stick with libvirt-bin [15:47] coreycb: for now, though. that alias is intended for transitioning. [15:47] why did that test fail? [15:47] hallyn, ok [15:48] hallyn, I'll leave it as is for now and sync with james on monday, he's out today [15:48] coreycb: bc http://paste.ubuntu.com/16390766/ [15:48] ugh, still no go with dnsmasq + iptables, server cant find addresses. anyone? :P [15:48] dns doesnt work locally on the box with dnsmasq either [15:48] coreycb: ok... it's preventing libvirt from migrating :( and i might wanna push libvirt 1.3.4 :) [15:49] lemme ask pitti about the alias not working [15:49] thanks coreycb [15:49] hallyn, I guess I'm not sure why that test fails if there's an alias defined [15:49] hallyn, 'systemctl status libvirt-bin.service' should work right? [15:50] coreycb: i would think. that's why i'm pinging pitti on #ubuntu-devel [15:50] hallyn, ok. sorry missed your previous comment about asking pitti. [15:58] rbasak: looking at this bug, the issue for drupal7 seems mysql related, is this a 5.7 upgrade issue? LP: #1576969 [15:58] Launchpad bug 1576969 in drupal7 (Ubuntu) "package drupal7 (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/1576969 [16:13] nacc: yes, could be. I'll tag it and review with MySQL upstream. [16:14] rbasak: thank you! === rodlogic is now known as Guest63003 [17:06] so far so good on the qrt run on libvirt 1.3.4... mayb ei'll push it tonight [17:26] Hi - can you please recommend a light and secure mail server easy to setup on Ubuntu 16.04 Server? [17:26] Goug: postfix/dovecot is a nice combo [17:27] finish it off with spamassassin, roundcube, sieve [17:27] e-mail is never "easy to setup" [17:27] and if it's easy, you probably are now hosting some open relay ;) [17:27] 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] open relay ? [17:28] depends on what you want to do with Apache & MySQL [17:28] Goug: thats plenty for a personal/testing setup [17:28] don't use it for anything production-like or expect high performance though [17:29] 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] jsut for testing purposes [17:29] then I can upgrade to a bigger server [17:30] should be fine then [17:30] you'll be fine, however, imho running a mailserver for a single/couple users, rarely seems worth the trouble [17:30] assuming more "than one" doesn't mean 1000 mail users ;-) [17:30] i run my own mailserver just because I want to be in control of my own mailflow :) [17:30] 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] can I use the same one ? [17:30] sure [17:31] you'd tell it to use 'localhost' to deliver mails [17:31] yes, I do all that for a forum [17:31] Goug: for those simple needs, I tend to use ssmtp that relays to Google or another provider [17:32] sdeziel, can you explain like im 5 please :D [17:32] sdeziel: that's not useful for receiving mail, I think [17:32] You just need a smtpd installed, however, a outsourcing that will cost pennies on the dollar [17:32] JanC: Goug: indeed, ssmtp is only for outbound [17:33] and Goug wants to run an IMAP server for him/herself, it seems [17:33] Goug: so if outbound only is good enough for you I'll explain a little more :) [17:33] will this work on 16.04 ? https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04 [17:33] sdeziel, I need both outbound and inbound [17:33] Goug: oh sorry, I misunderstood [17:34] 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] Goug: I think there is some info in the Ubuntu Server Guide too [17:34] so I second the recommendation for postfix (for the SMTP/submission/LMTP/sendmail part of it anyway) [17:34] Great - thanks :) I will crack on reading now - will probabaly have more questions later - so will pop by ^^ [17:35] I use postfix & dovecot [17:35] which have plenty of documentation & tutorials & how-to's for Ubuntu/Debian [17:36] JanC, can you link me please? [17:36] Goug: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin [17:36] silly question but would you recommend Debian in this case ? [17:36] (if you need a guide) [17:36] Goug: it doesn't really matter which distro you pick [17:36] well, which ones you want to use also depends on your exact needs [17:37] I will try the link from JanC [17:37] thanks :) [17:38] one more question please - it is recommended I create a new admin user instead of working with root right ? [17:39] not really, but only use root if neccessary [17:39] use sudo :) [17:39] can I do the entire operation on root then ? [17:39] you can do anything as root [17:39] including *breaking* anything [17:40] lol - will create a new user :D [17:41] 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] eh, why would a new user not be able to sudo? :) [17:43] (when done right, of course) [17:44] JanC: because new users are not in the sudo/admin group by default [17:45] thanks [17:46] Fair enough, JanC. You could add him to the sudoers group at creation. [17:52] wasn't there previously the ability to output juju status to an image? Is that no longer? [18:30] 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? === rodlogic is now known as Guest72878 [18:36] 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 === rodlogic is now known as Guest18774 === totaldarkness is now known as rattking [19:22] 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? [19:22] Launchpad bug 1534643 in juju-core 1.25 "cookies file locked for too long" [Medium,Fix released] === ktosiek is now known as czlowiek_deprech === czlowiek_deprech is now known as czlowiekdeprecha === czlowiekdeprecha is now known as ktosiek === rodlogic is now known as Guest56132 === rodlogic is now known as Guest76655 === prince` is now known as zNotHeRE_ === rodlogic is now known as Guest11340 [22:26] Hi - trying to isntall mysql : sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql [22:26] - I get error : [22:26] This may mean that the package is missing, has been obsoleted, or [22:26] is only available from another source [22:26] E: Unable to locate package libapache2-mod-auth-mysql [22:26] E: Package 'php5-mysql' has no installation candidate [22:27] Goug: what version of ubuntu? [22:28] 16.04 [22:28] Goug: php7 only [22:28] Goug: 16.04 is php7 only [22:28] Goug: so you would use php-mysql [22:28] what about the package libapache2-mod-auth-mysql ? [22:29] Goug: that hasn't been available since vivid [22:29] so just remove it ? installation wouldnt fail ? [22:30] Goug: i don't know what you are installing, but that package does not exist anymore [22:30] alright [22:30] will try it - thanks [22:32] Goug: c18 of https://bugs.launchpad.net/ubuntu/+source/mod-auth-mysql/+bug/1243076 [22:32] Launchpad bug 1243076 in mod-auth-mysql (Debian) "libapache2-mod-auth-mysql is missing in 13.10 amd64" [Unknown,Fix released] [22:32] Goug: are you trying to apache auth against mysql? [22:33] I am following this tutorial [22:33] https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu [22:33] sudo mysql_install_db [22:33] gives me an error : 2016-05-14 00:32:20 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize [22:33] 2016-05-14 00:32:20 [ERROR] The data directory needs to be specified. [22:34] Goug: uh [22:34] that's written explicitly for 12.04 [22:34] you just said 16.04 [22:34] someone else told me earlier here it would work wit hany version [22:34] it even has a link to at least a more updated version [22:35] isn't there a lamp-server metapackage? [22:36] I will try this one [22:36] http://www.unixmen.com/how-to-install-lamp-stack-on-ubuntu-16-04/ [22:36] there's a lamp-server tasksel -- you ought to be able to use apt-get install ^lamp-server, iirc [22:36] (yes, with the ^) [22:37] sarnold: thanks, couldn't remember the syntax [22:38] E: Unable to locate package ^lamp-server [22:38] E: Couldn't find any package by regex '^lamp-server' [22:39] ah, apt-get install lamp-server^ [22:39] apparently I can't remember the syntax either, sorry. [22:40] sudo tasksel install lamp-server ;) [22:40] (saves you from remembering where the caret goes) [22:40] :) [22:41] heh [22:42] thanks - now its working [22:44] will apache2 and mysql start automatically when I reboot the server ? [22:48] if they are properly configured, yes [22:49] i believe the default configuration of both does enable both as services, but i'm not 100% [22:49] only one way to find out :D [22:49] im going to try reboot === rodlogic is now known as Guest78418 [23:25] is there an ftp server running by default on ubuntu server ? [23:26] Goug: no [23:26] i dont think so [23:26] depends on what tasksel you picked on install [23:26] Goug: if you're working on a default install and didn't select SSH Server or FTP Server, then no [23:27] if you selected SSH Server, 'sftp' exists, but that's not a pure FTP server per se [23:27] Goug: if you're working off a prebuilt image at a VPS provider, we can't really give insights to that [23:27] its just to upload files to apache - winscp should do the trick [23:27] thaks :) === Goug is now known as g3org3s [23:37] although I wish I actually got more of sftp into the 16.04 server guide [23:37] 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] googling [23:38] use your SSH credentials for the server [23:40] what file protocol should I use ? if sftp shouldnt I install an ftp server before on my server ? like vsftpd ? [23:41] g3org3s: sftp *is* the protocol [23:41] it's provided as part of the openssh-server stuff [23:41] so, if you have SSH you should already have SFTP access via those SSH credentials [23:41] it says access denied [23:42] oh [23:42] working - nevermind :D === rodlogic is now known as Guest28531