/srv/irclogs.ubuntu.com/2016/05/13/#ubuntu-server.txt

LaserAllanhey 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:07
ianorlinLaserAllan, what os do you have on there now?00:09
ianorlinif it is ubuntu server or another unix I would use lspci00:09
LaserAllanianorlin: Well currently I have Linuxmint on it but I want to put ESXI on it so i can have more vms00:10
ianorlinLaserAllan, well you can use lspci from linuxmint00:11
LaserAllanoh you mean nic00:11
LaserAllanI know its a realtek00:11
LaserAllanah thanks i got a blackout there for a second00:11
LaserAllan:)00:11
ianorlinok you answered your own question00:11
bindihow can i open a shell during the ubuntu server installation?00:12
ianorlinbindi, alt f200:12
bindiah, ctrl alt f200:12
bindi:p00:12
ianorlinalthough that is a bit limited00:12
bindishouldve just tried it before asking <.<00:12
bindiis it?00:12
bindii need to do some partitioning00:12
ianorlinfor example ubuntu-bug from there won't work00:12
ianorlinah command line partitioning might00:13
sdezielLaserAllan: there is also KVM/libvirt to run VMs if you want to stay in known territories00:13
bindifdisk not found :p00:13
sdezielbindi: IIRC parted should be available00:13
bindiparted not found either00:13
sdezieloh00:14
naccyou probably need to be far enough along in the installer that hte partitioner is loaded00:14
bindilets see00:15
sdezielthat would explain why I could swear I was using parted at some point :)00:15
bindinope00:15
bindiim in partman and nada00:15
sdezielwith Xenial, I prefer fdisk now that it properly supports GPT00:15
naccparted might need to be installed in the installer environment, dunno what's there by default00:15
ianorlinnacc not much00:16
naccianorlin: ack, that's my recollection too00:16
bindiudpkg -i /cdrom/pool/main/p/parted/parted-udeb_3.2-15_amd64.udeb00:16
bindihmm :p00:16
bindiyey00:17
bindinow how do i drive this00:17
bindiugh00:30
bindii've never used lvm before00:30
bindihttp://bindibox.net/ul/2016/05/13/5735203b076f0.png i did this and now im looking at http://bindibox.net/ul/2016/05/13/5735204b24919.png00:31
bindiis this almost right? i think i want to resize the #2 under SCS3I to 5GB00:31
bindibut how :P00:31
bindihttp://askubuntu.com/questions/623814/install-ubuntu-15-04-with-full-disk-encryption-but-without-swap-partition trying to apply this to server install00:32
bindioh i should've done that in parted00:32
bindiderp00:32
bindii still dont get it, ugh00:40
bindiYou 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:40
bindii made the last two00:41
bindiahha, got it i think00:44
bindihttp://bindibox.net/ul/2016/05/13/57352abb5c75b.png01:15
bindii disabled my swap and now its stalling on the last command :p01:15
bindiahha, had to edit fstab01:18
coreycbhallyn, arges, zul: I'll look at nova01:28
hallyncoreycb: thx01:32
hallyncoreycb: 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 libvirt01:33
cyphermoxsarnold: live-installer sounds like the right place; I'll check this out.01:41
sarnoldcyphermox: heh, one of these days I swear I'm going to understand all the installers we've got :) thanks01:42
cyphermoxsarnold: if you take too long you're risking we add pieces ;)01:42
sarnoldahhhhhhh!01:43
* sarnold runs away01:43
cyphermoxseriously 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 else01:43
sarnoldcyphermox: which packages do you follow the bugs on?01:43
sarnold(maybe that's too many... which -installers-? :)01:43
cyphermoxall the installers01:43
cyphermoxall your installers are belong to us.01:44
sarnoldheheheh01:44
sarnoldthanks cyphermox :)01:44
=== ianorlin is now known as lynorian
=== rodlogic is now known as Guest75713
=== rodlogic is now known as Guest21818
=== ubuntu is now known as Guest16196
halvorsHi. I'm trying to setup a VTI interface with IPv6.06:34
halvorsWhat i've done is that i've added a tunnel interface.06:34
halvorsip -6 tunnel add vti1 local fd00::1 remote fd00::2 mode vti6 key 106:36
halvorsI use strongswan for IPsec terminated in another VTI interface on the other end of the tunnel.06:36
halvorsEverything seems to work fine, the problem is that the tunnel keep dropping packets and is getting collisions.06:37
halvorsWhen doing the same for IPv4 everything works just fine.06:37
halvorsI also keep getting this message in dmesg: [31370.460037] vti7: Local routing loop detected!06:38
halvorsWhere vti7 is my vti interface. vti1 in the command where i added the tunnel was just an example.06:38
halvorsAnyone able to help me with this?06:38
UbuntuDudehey 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:39
sarnoldhalvors: check ip route output on all machines and see what you can see?06:41
sarnoldUbuntuDude: https://help.ubuntu.com/lts/serverguide/web-servers.html06:41
halvorssarnold: Cannot find anything wrong here:06:47
halvorsRouter01: http://pastebin.com/vajuequ406:47
halvorsRouter02: http://pastebin.com/MHq16Y0r06:48
halvors172.16.0.1 is router01 and .2 is router0206:48
sarnoldhalvors: hmm. i've never done this before :) but I wonder if those shold be /32 routes instead06:51
UbuntuDudeI'm trying sudo apt-get install dkms in order to install Vbox guest additions but it keeps saying unable to locate package dkms!07:23
sarnoldUbuntuDude: did apt-get update give any errors?07:29
halvorssarnold: How do i do that.07:36
sarnoldhalvors: no idea07:37
LaserAllanhey 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:32
thekrynn_rm *480p*10:33
thekrynn_i would do a ls *480p* first10:33
thekrynn_just to make sure10:33
LaserAllanthekrynn_: ok lemme do that then :)10:36
=== rodlogic is now known as Guest45407
=== rodlogic is now known as Guest44812
=== Deliants is now known as Deliant
=== mohammad is now known as Guest22471
Guest22471hello i am on ubuntu 14.413:26
Guest22471how can i had my own dns ?13:26
=== rodlogic is now known as Guest56723
Guest22471i need to configure my own dns13:26
Guest22471something like ns1.dahliaco.com and ns2.dahliaco.com13:27
Guest22471how can i do that ?13:27
Guest22471someone please help me13:27
RoyKGuest22471: just setup bind13:56
RoyK!bind13:56
RoyKhttps://www.howtoforge.com/tutorials/bind/13:57
RoyKperhaps13:57
jrwrenthere is also a bind chapter in server guide IIRC14:04
jrwrenhttps://help.ubuntu.com/stable/serverguide/dns.html14:05
=== rodlogic is now known as Guest81137
jonahhi 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
jonahi 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:39
rbasakjonah: what do the logs say?14:41
JanCjonah: Ubuntu 16.04 ?14:41
jonahrbasak: which log should I check sorry?14:41
jonahJanC: yes 16.04.314:41
JanCeh14:41
JanCthat doesn't exist14:41
JanCI assume you mean 14.04.3 then14:42
jonahJanC: sorry I meant 14.04.3, it's the last lts14:42
jonahJanC: yes sorry!!14:42
rbasakThat error suggests that you are not root.14:42
jonahrbasak: when I try with sudo on front I just get "Job failed to start"14:43
=== rodlogic is now known as Guest5666
JanCyou probably need to look at upstart & mysql logs then14:44
jonahJanC: can you please give me any help to guide me. I checked var/log/mysql.log but it's empty...14:45
jrwrenwhat does /var/log/upstart/mysql.log say?14:45
bindiello, 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 though14:45
bindihttp://hastebin.com/alepanavaw.sm14:45
bindii dont even know how to tackle this :p http://hastebin.com/tivibiqovu.pas14:46
jonahjrwren: ah looks like diskspace prob possibly??14:46
jonahChecking for tables which need an upgrade, are corrupt or were14:46
jonahnot 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
Guest22471hello14:46
jonahrbasak: 160513 14:18:58 [Warning] Disk is full writing './yorkshire/modx_session.MY14:47
Guest22471how 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.com14:48
Guest22471please say me a reference for that14:50
jonahdoes anyone know which temp folder I can clear out to get mysql back up and running?14:51
sdezieljonah: clearing out old/unused kernels and running 'apt-get clean' should reclaim some space14:52
rbasakbaobab 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
jonahsdeziel: apt-get autoclean is already cleared out14:53
jonahah found the problem it was my tmp folder, I've cleared it out and backup and running now14:54
rattanakornhelp14:59
rattanakorn how i access horizon gui on lxd openstack with on another subnet ?15:00
bindiI see my queries in syslog but still windwos says "query refused"15:09
hallyncoreycb: so in addition to group libvirtd switching to group libvirt, we have libvirt-bin.service renamed to libvirtd.service15:41
coreycbhallyn, ok15:41
hallyncoreycb: are you working o this now?15:42
hallyncoreycb: actually, the *upstart* job has not been renamed,15:42
coreycbhallyn, yes, unfortunately nova finally just built with the first fix :)15:42
hallynso that may make things easier for you15:42
=== rodlogic is now known as Guest63438
hallyndoe snova even have a systemd service?15:42
hallynor do you have to fix it in sysvinit?15:42
coreycbhallyn, yes it has upstart and systemd15:43
coreycblet me check15:43
coreycbhallyn, this will be interesting because we need support for both libvirt-bin.service and libvirtd-bin.service since we backport the the xenial cloud archive15:45
coreycbunless we backport libvirt15:45
hallynwell i assume you will backport libvirt :)  but, the libvirtd.service has 'Alias: libvirt-bin.service.'15:46
hallynso that *might* suffice15:46
hallyn(except that in my test, 'systemctl status libvirt-bin' didn't work)15:46
coreycbhallyn, so we can probably stick with libvirt-bin15:47
hallyncoreycb: for now, though.  that alias is intended for transitioning.15:47
coreycbwhy did that test fail?15:47
coreycbhallyn, ok15:47
coreycbhallyn, I'll leave it as is for now and sync with james on monday, he's out today15:48
hallyncoreycb: bc http://paste.ubuntu.com/16390766/15:48
bindiugh, still no go with dnsmasq + iptables, server cant find addresses. anyone? :P15:48
bindidns doesnt work locally on the box with dnsmasq either15:48
hallyncoreycb: ok...  it's preventing libvirt from migrating :(  and i might wanna push libvirt 1.3.4 :)15:48
hallynlemme ask pitti about the alias not working15:49
hallynthanks coreycb15:49
coreycbhallyn, I guess I'm not sure why that test fails if there's an alias defined15:49
coreycbhallyn, 'systemctl status libvirt-bin.service' should work right?15:49
hallyncoreycb: i would think.  that's why i'm pinging pitti on #ubuntu-devel15:50
coreycbhallyn, ok. sorry missed your previous comment about asking pitti.15:50
naccrbasak: looking at this bug, the issue for drupal7 seems mysql related, is this a 5.7 upgrade issue? LP: #157696915:58
ubottuLaunchpad 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/157696915:58
rbasaknacc: yes, could be. I'll tag it and review with MySQL upstream.16:13
naccrbasak: thank you!16:14
=== rodlogic is now known as Guest63003
hallynso far so good on the qrt run on libvirt 1.3.4...  mayb ei'll push it tonight17:06
GougHi - can you please recommend a light and secure mail server easy to setup on Ubuntu 16.04 Server?17:26
SlingGoug: postfix/dovecot is a nice combo17:26
Slingfinish it off with spamassassin, roundcube, sieve17:27
JanCe-mail is never "easy to setup"17:27
Slingand if it's easy, you probably are now hosting some open relay ;)17:27
GougSling, I have a VPS with only 1gb ram - will I be able to set it up wit hthat and Apache and mysql ?17:27
Gougopen relay ?17:27
JanCdepends on what you want to do with Apache & MySQL17:28
SlingGoug: thats plenty for a personal/testing setup17:28
Slingdon't use it for anything production-like or expect high performance though17:28
Gougtbh - 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+javascript17:29
Gougjsut for testing purposes17:29
Gougthen I can upgrade to a bigger server17:29
JanCshould be fine then17:30
bc2946088you'll be fine, however, imho running a mailserver for a single/couple users, rarely seems worth the trouble17:30
JanCassuming more "than one" doesn't mean 1000 mail users ;-)17:30
Slingi run my own mailserver just because I want to be in control of my own mailflow :)17:30
GougI 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
Gougcan I use the same one ?17:30
Slingsure17:30
Slingyou'd tell it to use 'localhost' to deliver mails17:31
JanCyes, I do all that for a forum17:31
sdezielGoug: for those simple needs, I tend to use ssmtp that relays to Google or another provider17:31
Gougsdeziel, can you explain like im 5 please :D17:32
JanCsdeziel: that's not useful for receiving mail, I think17:32
bc2946088You just need a smtpd installed, however, a outsourcing that will cost pennies on the dollar17:32
sdezielJanC: Goug: indeed, ssmtp is only for outbound17:32
JanCand Goug wants to run an IMAP server for him/herself, it seems17:33
sdezielGoug: so if outbound only is good enough for you I'll explain a little more :)17:33
Gougwill this work on 16.04 ? https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-0417:33
Gougsdeziel, I need both outbound and inbound17:33
sdezielGoug: oh sorry, I misunderstood17:33
bc2946088If 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
JanCGoug: I think there is some info in the Ubuntu Server Guide too17:34
sdezielso I second the recommendation for postfix (for the SMTP/submission/LMTP/sendmail part of it anyway)17:34
GougGreat - thanks :) I will crack on reading now - will probabaly have more questions later - so will pop by ^^17:34
JanCI use postfix & dovecot17:35
JanCwhich have plenty of documentation & tutorials & how-to's for Ubuntu/Debian17:35
GougJanC, can you link me please?17:36
SlingGoug: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin17:36
Gougsilly question but would you recommend Debian in this case ?17:36
Sling(if you need a guide)17:36
SlingGoug: it doesn't really matter which distro you pick17:36
JanCwell, which ones you want to use also depends on your exact needs17:36
GougI will try the link from JanC17:37
Gougthanks :)17:37
Gougone more question please - it is recommended I create a new admin user instead of working with root right ?17:38
Slingnot really, but only use root if neccessary17:39
JanCuse sudo  :)17:39
Gougcan I do the entire operation on root then ?17:39
Slingyou can do anything as root17:39
Slingincluding *breaking* anything17:39
Gouglol - will create a new user :D17:40
bc2946088A 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:41
JanCeh, why would a new user not be able to sudo?  :)17:43
JanC(when done right, of course)17:43
mdeslaurJanC: because new users are not in the sudo/admin group by default17:44
Gougthanks17:45
bc2946088Fair enough, JanC.  You could add him to the sudoers group at creation.17:46
bc2946088wasn't there previously the ability to output juju status to an image?  Is that no longer?17:52
axisysso 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:30
=== rodlogic is now known as Guest72878
sdezielaxisys: 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 this18:36
=== rodlogic is now known as Guest18774
=== totaldarkness is now known as rattking
bc2946088So... 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
ubottuLaunchpad bug 1534643 in juju-core 1.25 "cookies file locked for too long" [Medium,Fix released]19:22
=== 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
GougHi - trying to isntall mysql : sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql22:26
Goug - I get error :22:26
GougThis may mean that the package is missing, has been obsoleted, or22:26
Gougis only available from another source22:26
GougE: Unable to locate package libapache2-mod-auth-mysql22:26
GougE: Package 'php5-mysql' has no installation candidate22:26
naccGoug: what version of ubuntu?22:27
Goug16.0422:28
naccGoug: php7 only22:28
naccGoug: 16.04 is php7 only22:28
naccGoug: so you would use php-mysql22:28
Gougwhat about the  package libapache2-mod-auth-mysql ?22:28
naccGoug: that hasn't been available since vivid22:29
Gougso just remove it ? installation wouldnt fail ?22:29
naccGoug: i don't know what you are installing, but that package does not exist anymore22:30
Gougalright22:30
Gougwill try it - thanks22:30
naccGoug: c18 of https://bugs.launchpad.net/ubuntu/+source/mod-auth-mysql/+bug/124307622:32
ubottuLaunchpad bug 1243076 in mod-auth-mysql (Debian) "libapache2-mod-auth-mysql is missing in 13.10 amd64" [Unknown,Fix released]22:32
naccGoug: are you trying to apache auth against mysql?22:32
GougI am following this tutorial22:33
Goughttps://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu22:33
Gougsudo mysql_install_db22:33
Gouggives me an error : 2016-05-14 00:32:20 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize22:33
Goug2016-05-14 00:32:20 [ERROR]   The data directory needs to be specified.22:33
naccGoug: uh22:34
naccthat's written explicitly for 12.0422:34
naccyou just said 16.0422:34
Gougsomeone else told me earlier here it would work wit hany version22:34
naccit even has a link to at least a more updated version22:34
naccisn't there a lamp-server metapackage?22:35
GougI will try this one22:36
Goughttp://www.unixmen.com/how-to-install-lamp-stack-on-ubuntu-16-04/22:36
sarnoldthere's a lamp-server tasksel -- you ought to be able to use apt-get install ^lamp-server, iirc22:36
sarnold(yes, with the ^)22:36
naccsarnold: thanks, couldn't remember the syntax22:37
GougE: Unable to locate package ^lamp-server22:38
GougE: Couldn't find any package by regex '^lamp-server'22:38
sarnoldah, apt-get install lamp-server^22:39
sarnoldapparently I can't remember the syntax either, sorry.22:39
ogra_sudo tasksel install lamp-server ;)22:40
ogra_(saves you from remembering where the caret goes)22:40
sarnold:)22:40
naccheh22:41
Gougthanks - now its working22:42
Gougwill apache2 and mysql start automatically when I reboot the server ?22:44
JanCif they are properly configured, yes22:48
nacci believe the default configuration of both does enable both as services, but i'm not 100%22:49
Gougonly one way to find out :D22:49
Gougim going to try reboot22:49
=== rodlogic is now known as Guest78418
Gougis there an ftp server running by default on ubuntu server ?23:25
naccGoug: no23:26
nacci dont think so23:26
patdk-lapdepends on what tasksel you picked on install23:26
tewardGoug: if you're working on a default install and didn't select SSH Server or FTP Server, then no23:26
tewardif you selected SSH Server, 'sftp' exists, but that's not a pure FTP server per se23:27
tewardGoug: if you're working off a prebuilt image at a VPS provider, we can't really give insights to that23:27
Gougits just to upload files to apache - winscp should do the trick23:27
Gougthaks :)23:27
=== Goug is now known as g3org3s
lynorianalthough I wish I actually got more of sftp into the 16.04 server guide23:37
g3org3sI am trying to use winscp to do that - I get a login error - acces denied - not sure what I should be doing23:37
g3org3sgoogling23:37
tewarduse your SSH credentials for the server23:38
g3org3swhat file protocol should I use ? if sftp shouldnt I install an ftp server before on my server ? like vsftpd ?23:40
tewardg3org3s: sftp *is* the protocol23:41
tewardit's provided as part of the openssh-server stuff23:41
tewardso, if you have SSH you should already have SFTP access via those SSH credentials23:41
g3org3sit says access denied23:41
g3org3soh23:42
g3org3sworking - nevermind :D23:42
=== rodlogic is now known as Guest28531

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