[01:30] <dureya> hello, I am setting up an ubuntu server for the first time and am fairly new to this. Currently I think I have downloaded it right, but when I do "sudo apt update && sudo apt dist-upgrade" it throws a few errors, 1: xenial-security inRelease temp failure resolving 'security.ubuntu.com', 2: xenial inRelease along with the same temp failure msg, 3: xenial-updates inRelease, 4: xenial-backports inRelease
[01:31] <dureya> this laptop has a working wifi card
[01:31] <dureya> but when I connect via ethernet, it still wont connect to the net :(
[01:49] <dureya> hello?
[01:53] <JanC> DNS issues?
[01:54] <dureya> when I installed the os onto the dell it couldn't configure the DHCP.
[01:54] <dureya> would that cause it?
[01:55] <dureya> in ifconfig i got lo, and virbr0
[01:55] <JanC> if you didn't set manual DNS servers and you don't get them from DHCP, yes
[01:55] <JanC> sounds like you get no network at all then
[01:56] <dureya> well, I am currently on the cmd now, is there any guide that I could use to get up the DHCP and the DNS server?
[02:05] <JanC> dureya: I mean it seems like there are no (supported) network devices
[02:06] <dureya> so does this mean I cannot join the network?
[02:07] <dureya> sorry if I sound dumb, but I do have a wireless card in the laptop aswell as an ethernet port, but neither work. Do I need to turn any services on? Is there a way to set up a dhcp without internet? Do I have to reinstall the server?
[02:08] <JanC> not before you find out why it doesn't see the network devices, e.g.: are they enabled in the UEFI firmware, do they need a firmware (some WiFi need that), do they need a driver that is not included, ...
[02:12] <dureya> everything seems to be 'DOWN' when i do ip a
[02:13] <OerHeks> dureya, type 'ifconfig' and see if you got an IP ??
[02:14] <JanC> with only lo & virbr0 you can't get any useful IP address
[02:15] <dureya> I ran 'lspci -nnk | grep 0200 -A2' and I have a 03:00.0 Ethernet controller[0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05) kernal driver in use: r8169
[02:15] <limbera> hello, what are the essential upgrades/packages that you would recommend any 16.04 app server have installed
[02:15] <limbera> (or even removed from stock)
[02:15] <dureya> inet addr: 192.168.122.1
[02:15] <dureya> Bcast:192.168.122.255
[02:16] <JanC> dureya: that's virbr0, I assume?
[02:16] <dureya> yes sir
[02:17] <dureya> lo and virbr0 both are showing that they're UP
[02:18] <JanC> virbr0 is for communication with virtual guests (if you have any)
[02:19] <dureya> I do not.
[02:19] <dureya> Does this mean that the os is not reading my network adapter card or the wifi card?
[02:20] <JanC> it means there is an issue with the drivers, I guess
[02:21] <dureya> Any solutions? Im very lost right now.
[02:22] <JanC> not any easy solutions
[02:22] <JanC> except maybe testing a more recent kernel version to see if that helps
[02:23] <dureya> would this happen to any server os I dl?
[02:24] <JanC> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/141343 seems to be a similar issue
[02:25] <dureya> thank you, I'll read it and see if I can fix it.
[02:26] <JanC> it's for another network adapter though, but it also tries to use the same included driver which doesn't work
[02:26] <dureya> oh...
[02:27] <JanC> I suppose it's an unsupported variation of the same family of network chips
[02:28] <JanC> dureya: how old is that hardware and what version of Ubuntu did you try?
[02:29] <dureya> I am not sure how old it is. I got it from my uncle today and it is running on an intel core i3. Its a dell inspiron; ubuntu version is the recent ubuntu server release
[02:32] <JanC> I was thinking a ballpark figure (and it should have a date somewhere at the bottom)
[02:35] <dureya> 2011-2012ish
[02:36] <dureya> JanC^
[02:37] <JanC> so fairly long before the last Ubuntu was released
[02:40] <dureya> yeah, it doesn't seem that long ago. Should I use an old ubuntu release?
[02:40] <dureya> Or, any other server os you recomment? I am trying to setup a dedicated gaming server
[02:42] <JanC> you could try installing r8168-dkms + its dependencies using an USB stick
[02:43] <dureya> can i use a dvd instead?
[02:43] <JanC> whatever you want, as long as everything you need is on it
[02:44] <dureya> also, how can I run it once I put it in?
[02:44] <JanC> https://help.ubuntu.com/community/AptGet/Offline might be useful
[02:46] <JanC> and installing everything (r8168-dkms + all its dependencies) should in theory be enough
[02:47] <JanC> another option is to use an USB WiFi or USB ethernet that you already know works well
[02:47] <dureya> ok,I am going to try this out, thank you. Also, this is making my head spin
[03:20] <dureya> so I got the dependencies and r8168-dkms on my usb with aptmedium, but I cannot install it :/
[03:21] <dureya> JanC ^^
[12:30] <zioproto> coreycb, jamespage I am preparing the Mitaka to Newton upgrade and I am hitting this bug https://bugs.launchpad.net/nova/+bug/1630732 The patch is in stable/mitaka but no included in the latest tag. I guess mitaka is already old and there will not be new tag releases right ?
[13:04] <jancoow> Hi.
[13:04] <jancoow> I've mounted some samba shares and I want to share them with NFS
[13:04] <jancoow> When I try to do this, I get an error exportfs: /mnt/samba/Films does not support NFS export
[13:15] <mcnesium> I am on a pretty much default fresh installed ubuntu server. running byobu gives me a pretty weird looking bash prompt which I cant figure out where it is configured. https://fluse.elektrat.de/m/tmp/oqw2lde8.png
[13:16] <mcnesium> any hints where this comes from?
[13:16] <mcnesium> when not within byobu, the PS1 set in .bashrc is being used
[13:19] <mcnesium> also there is some kind of error code being shown. any explanation on this would be interesting
[13:32] <Village> Hello, what package are MySQL devel?
[13:35] <cpaelzer> Village: libmysqld-dev / libmysqlclient-dev ?
[13:36] <Village> Can check here does exist this packages?
[13:37] <cpaelzer> Village: yep, see https://launchpad.net/ubuntu/+source/mysql-5.7
[13:37] <cpaelzer> Valfor: and similar for other releases
[13:37] <Village> first are, thank you, second be see
[13:38] <Village> What command at channel shows info about existings packages?
[13:40] <zul> coreycb: there are new point releases for oslo.messaging and oslo.log probably doesnt hurt to get them as well
[13:40] <zul> (ocata)
[13:42] <Village> cpaelzer, secound installed but exist, Thank You
[13:43] <coreycb> zul, yeah
[13:43] <coreycb> zul, zioproto had a question above
[13:44] <zul> zioproto: ill include it in the list
[13:44] <zioproto> zul, thanks. I asked nova upstream to come out with a new tag for the stable/mitaka branch
[13:44] <zioproto> before they put this end of life
[14:05] <rkn> hi all!
[14:05] <cpaelzer> ho rkn
[14:06] <rkn> i'm rtying to set pcre.recursion_limit for apache2 on ubuntu server xenial
[14:15] <rossano> hi all!
[14:15] <rossano> i'm rtying to set pcre.recursion_limit for apache2 on ubuntu server xenial
[14:15] <rossano> any human here? :-)
[14:16] <rossano> anybody can me expain how i can do that?
[16:02] <sonu_nk> hi i would like to get help from all you best admin.. i have a ubuntu 16 server.. i want to install mail server on that.. and i want to install roundcube there..
[16:02] <sonu_nk> please guide me step by step/ so i can learn and setup mail server..
[16:02] <sonu_nk> Thankyuou
[16:02] <ikonia> it's not that simple
[16:03] <sonu_nk> i know.. ikonia i read .. thats why i am here with you all expert..
[16:03] <sonu_nk> how can i proceed ? and how should i proceed ?
[16:04] <ikonia> learn and understand how an internet email server works
[16:04] <ikonia> plan for it and the technologies/setup you want to use
[16:04] <ikonia> then ask specific questions
[16:04] <sonu_nk> i want to use postfix
[16:04] <ikonia> ok,
[16:04] <ikonia> so learn how to use postfix
[16:05] <ikonia> then ask specific questions for things you don't understand
[16:05] <ikonia> in line with your requirements
[16:05] <OerHeks> sonu_nk, the serverguide is a good start https://help.ubuntu.com/lts/serverguide/postfix.html
[16:18] <sonu_nk> OerHeks: hi. i installed the postfix till the " sudo postconf -e 'home_mailbox = Maildir/'" command
[16:18] <sonu_nk> i want to install roundcude...
[16:19] <sonu_nk> so https://help.ubuntu.com/lts/serverguide/postfix.html here next step SMTP Authentication . is this i need to do ?
[16:19] <sonu_nk> OerHeks:
[16:21] <OerHeks> sonu_nk, without you send plain text mails.
[16:22] <sonu_nk> OerHeks: ???
[16:24] <sonu_nk> i only installed postfix.. now what is the next step ?
[16:51] <hydoskee> was there a change networking between 16.04 and 16.10?  I'm trying to set up my static IP at /etc/network/interfaces and it's not taking properly
[16:52] <compdoc> should be the same, if youre modifying interfaces
[16:54] <rellis> Hello all. I'm trying to use the linux-aws package provided by the Ubuntu kernel team to get a newer version of the ixgbevf driver. However after I install the package I'm still seeing the old 2.12.1-k driver version. Any ideas what I'm doing wrong? or am I misunderstanding the release notes talking about a newer version of this driver?
[16:55] <compdoc> maybe you need the interface name? its not likely to be eth0 anymore
[16:55] <rellis> compdoc: I mean modinfo ixgbevf still shows 2.12.1-k
[16:56] <nacc> rellis: compdoc was talking to hydoskee afaict
[16:56] <rellis> oh sorry
[16:56] <hydoskee> @compdoc - I made a modification for that :(
[16:57] <hydoskee> that was the assumption since eth0 wasn't in ifconfig anymore
[16:57] <compdoc> hydoskee, pastebin your interfaces file
[16:58] <hydoskee> @compdoc - it's a little sensitive?
[16:58] <hydoskee> I get that you can't triage without it, thanks for your help
[16:59] <compdoc> what does this show you:    ip link show
[17:00] <compdoc> dont know why it would be sensitive, unless youre using external ip addesses
[17:00] <zioproto> zul, coreycb have an eye on this bug https://bugs.launchpad.net/nova/+bug/1668310 there is already a proposed fix for master. Is must be backported back to Mitaka or people will not be able to run the database migrations to upgrade di Newton
[17:01] <zioproto> zul, coreycb I would say that is a must have if you make a refresh of the nova package
[17:09] <rellis> Anyone know what a commit message like this would imply? Revert "UBUNTU: [config] enable IXGBEVF_2_14_2=m instead of IXGBEVF"
[17:09] <rellis> is that some flag I need to set to get the 2.14.2 revision?
[17:09] <nacc> rellis: it means that they undid a chnage that turn IXGBEVF_2_14_2 on as a module in the kernel .config
[17:10] <rellis> nacc: Is there an easy way for me to flip it back? so I can get 2.14.2?
[17:10] <rellis> grub boot flag or?
[17:11] <nacc> rellis: no, it's a compilation flag
[17:11] <nacc> rellis: and probably there is a good reason it was reverted :)
[17:11] <rellis> ugh, alright... so irritating ubuntu ships with an unusable version of that driver
[17:11] <rellis> and the same garbage version from 14.04 no less
[17:13] <nacc> rellis: afaict, that's an out of tree driver?
[17:13] <nacc> rellis: don't see such a config option upstream, at least
[17:13] <nacc> rellis: i'd ask in #ubuntu-kernel
[17:13] <rellis> nacc: by out of tree you mean it's not part of the mainline kernel?
[17:14] <nacc> rellis: yeah
[17:14] <rellis> ya i think that may be true
[17:20] <rellis> nacc: Do you have any insight into this post? or is it just false? https://ubuntuforums.org/showthread.php?t=2348532
[17:21] <rellis> im guessing it's just false since i'm on 16.04.2 already
[17:23] <nacc> rellis: looking
[17:24] <nacc> rellis: were you on 16.04 and upgraded? or fresh install?
[17:24] <rellis> fresh install
[17:24] <rellis> on ec2 using ubuntu "cloud image"
[17:24] <nacc> rellis: but you're on the 4.4 kernel
[17:24] <nacc> rellis: the hwe stack is 4.8
[17:24] <rellis> oh ya?
[17:24] <rellis> hmmm..
[17:24] <nacc> !hwe | rellis
[17:25] <rellis> i wonder how i managed to get on an old kernel
[17:25] <nacc> rellis: i'm not sure how the cloud images work in this regard
[17:25] <nacc> rellis: as in, if there are two cloud images (one with the opted-in hwe kernel, one without)
[17:25] <nacc> Odd_Bloke: --^ ?
[17:27] <rellis> nacc: okay i think i get you, i've never really heard of that, i will give it a shot
[17:27] <rellis> see if i get my fancy new driver..
[17:36] <rellis> nacc: Thank you so much for the guidance. I got the new driver version!
[17:37] <nacc> rellis: nice, np
[17:54] <jge2> hey all good afternoon, anyone here ever used rsnapshot? I have a daily retention policy of 1 year. I would like to change this to be 6 months and purge the rest (trying to recover hd space here).. would it be just a matter of changing the daily retention to what I need inside rsnapshot.conf?
[17:56] <sarnold> you may need to manually rm -rf the others
[17:58] <jge2> hmm ok, yeah found a similar question here: https://sourceforge.net/p/rsnapshot/mailman/message/21937284/
[17:58] <jge2> looks like they need to be manually deleted
[17:58] <jge2> thanks sarnold
[17:58] <dureya> guys
[17:58] <dureya>  so I got the dependencies and r8168-dkms on my usb with aptmedium, but I cannot install it :/
[17:59] <nacc> dureya: what happens when you try?
[18:01] <dureya> it says file or directory not found
[18:01] <dureya> does anyone have a aptmedium tutorial?
[18:02] <nacc> dureya: https://wiki.debian.org/AptMedium ?
[18:02] <sarnold> what's aptmedium? I don't see it via man -k or apt-cache search
[18:03] <nacc> sarnold: it's a tarball from debian?
[18:03] <nacc> sarnold: unclear :)
[18:03] <nacc> also not sure why it's necessary, but whatever
[18:03] <nacc> i guess if you have a bunch of equivalently offline machines, it's helpful
[18:04] <dureya> i don
[18:04] <dureya> oops i don't have a way to get onto the network because my ethernet port isn't supported by ubuntu
[18:04] <dureya> its an old 10+ year bug
[18:04] <dureya> still unfixed :/
[18:21] <jerichowasahoax> What's the recommended way of configuring a static IPv6 address? The guide my VPS provider has given me uses /sbin/ip and /etc/network/interfaces but it doesn't seem to want to take
[18:57] <rbasak> jerichowasahoax: /etc/network/interfaces
[18:58] <jerichowasahoax> just making sure i'm tinkering with the right files, thank you
[19:10] <EdwardIII> hey. is there a better way of quickly setting up a similar type of environment to this now? https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-10.04
[19:11] <EdwardIII> just want to get rapidly up and running with support for multi-user where the web files are stored in the user's dir with sane perms when things like wordpress run
[19:11] <EdwardIII> for webapps i'd use nginx/php-fpm but that seems a bit overkill here. mod_php seems to be a pretty popular option but then i don't think i can get perms how i want them
[19:11] <sarnold> feel free to skip any guides written seven years ago :)
[19:12] <sarnold> I don't think you want to use mod_php with multiple users
[19:12] <EdwardIII> right
[19:12] <EdwardIII> that guide contains lots of PITA stuff like creating suexec wrappers and so forth
[19:13] <EdwardIII> is mod_fcgid still a good way of doing this?
[19:14] <EdwardIII> i tried searching the wiki for mod_fcgid but got no results back
[19:15] <EdwardIII> should i just shut up and use php-fpm?
[19:16] <sarnold> no idea on the fcigd, I just know that you absolutely do not want your users to have shared php interpreters
[19:47] <jerichowasahoax> EdwardIII: I don't speak nginx but if you can get php-fpm to do what you want, I would say go for it
[19:47] <EdwardIII> i decided to give nginx a quick run through, got it up and running with php in about 20 mins which is pretty good :)
[19:48] <jerichowasahoax> i'm not hosting for anyone but myself so i have the distinct advantage of being able to avoid php entirely ;-)
[22:24] <peterd> I have recently set up an ubuntu server, 16.04 (LAMP, utils, OpenSSH, Samba, no DE). My expertise with server setup is 'beginner' (and with Linux I'm 'advanced beginner').  Today I signed into the server and attempted to load the lm-sensors and got the error "E: You don't have enough free space in /var/cache/apt/archives/"   .  Invoking df -h I see that the 23G I allocated for / has used 22G. (I've dedicated an older 250G sata for
[22:24] <peterd> / and /home).  The only modifications since the install: I added ssh and added some security (ufw, and added tmpfs to fstab).  I also assigned 192.168.1.100 as the server ip address by modifying /etc/networks/interfaces adding dns-nameservers 8.8.8.8 8.8.4.4 as well as setting the .100 as reserved in my router (nighthawk).   I've run sudo apt-get auto clean, sudo apt-get clean and / is still 100% used.  Thoughts on what to try next?
[22:25] <nacc> peterd: du -h --max-depth=1 / might help
[22:25] <nacc> peterd: i'm guessing you've got an out of control log
[22:25] <peterd> I'll try now, thanks...
[22:27] <peterd> the response to du -h --max-depth=1 is
[22:27] <peterd> I have recently set up an ubuntu server, 16.04
[22:27] <peterd> My expertise with server setup is 'beginner' (and at Linux I'm 'advanced beginner').  Today I signed into the server and attempted to load the lm-sensors and got the error "E: You don't have enough free space in /var/cache/apt/archives/   .  Invoking df -h I see that the 23G I allocated for / has used 22G. (I've dedicated an older 250G sata for / and /home).
[22:27] <peterd> Yesterday evening I added ssh and added some security (ufw, and added tmpfs to fstab).  I also assigned 192.168.1.100 as the ip address by modifying /etc/networks/interfaces adding dns-nameservers 8.8.8.8 8.8.4.4 as well as setting the .100 as reserved in my router (nighthawk).
[22:27] <peterd> I've run sudo apt-get auto clean, sudo apt-get clean and / is still 100% used.
[22:27] <peterd> Thoughts on what to try next?
[22:27] <peterd>   
[22:27] <peterd> oops
[22:27] <peterd> 4 ./.nano
[22:27] <peterd> 4 ./ .cache
[22:27] <peterd> 28
[22:28] <genii> ...
[22:28] <sarnold> try that from your root directory instead :) and please use a pastebin for the output (the pastebinit tool can make that easy)
[22:28] <nacc> peterd: note that i gave you a specific directory to run it in
[22:28] <nacc> peterd: ( / being that directory )
[22:28] <rbasak> peterd: baobab is nice to analyse what uses space (unless it's deleted files)
[22:28] <peterd> I'll try again
[22:28] <rbasak> You can run it from a desktop machine and it'll talk to the server over ssh.
[22:40] <peterd> let's see if I did this correctly ... the output from the du command is at pastebin, http://pastebin.com/8pSkyqGR
[22:41] <nacc> peterd: right, so as i suspected your /var si quite full
[22:41] <nacc> peterd: note i suggested -h because it's quite a bit eaiser to ready
[22:41] <nacc> peterd: so you can recurse and run it in /var instead of /
[22:42] <peterd> will do, thanks
[22:43] <peterd> the problem seems to be in ./log
[22:44] <peterd> and within ./log, the kern.log and syslog are huge
[22:44] <peterd> I must have set a flag to log everything.
[22:44] <sarnold> delete some of the .2.gz kind of logs there
[22:44] <sarnold> and look at some of the entries to see what's going on
[23:00] <nacc> peterd: --^ what sarnold said
[23:01] <nacc> GBs of logs typically indicate something is misconfigured or there is a serious issue (e.g., kernel-level errors)
[23:05] <peterd> Agreed.  I'm trying to interpret the output.  tail of syslog gives me an ACPI error
[23:07] <peterd> Same errors in Kern.log  --- errors started minutes after the install on 2/25.
[23:07] <genii> Anything from dmesg|tail, like I/O errors?
[23:08] <peterd> similar ACPI error   AE_NOT FOUND, while evaluating GPE method
[23:08] <peterd> (after running dmesg|tail)
[23:10] <peterd> I see that someone else had this error with the same type of Asrock mobo... maybe the error is there
[23:12] <tarpman> peterd: check you're running the latest firmware/BIOS, sometimes bugs get fixed
[23:13] <peterd> I'll contact Asrock and see if there is a bios update.  Many thanks for the help.  In the mean time, the workaround seems to be adding "disable>/sys/firmware/acpi/interrupts/gpe6F   (I wonder if this is related to the CPU heating problem I've noticed, that this mobo+i5 runs at 40C while my win10 box and linux box run at 27C)
[23:15] <peterd> again, Thanks to Everyone for the help