/srv/irclogs.ubuntu.com/2017/02/27/#ubuntu-server.txt

=== hggdh_ is now known as hggdh
dureyahello, 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 inRelease01:30
dureyathis laptop has a working wifi card01:31
dureyabut when I connect via ethernet, it still wont connect to the net :(01:31
dureyahello?01:49
JanCDNS issues?01:53
dureyawhen I installed the os onto the dell it couldn't configure the DHCP.01:54
dureyawould that cause it?01:54
dureyain ifconfig i got lo, and virbr001:55
JanCif you didn't set manual DNS servers and you don't get them from DHCP, yes01:55
JanCsounds like you get no network at all then01:55
dureyawell, I am currently on the cmd now, is there any guide that I could use to get up the DHCP and the DNS server?01:56
JanCdureya: I mean it seems like there are no (supported) network devices02:05
dureyaso does this mean I cannot join the network?02:06
dureyasorry 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:07
JanCnot 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:08
dureyaeverything seems to be 'DOWN' when i do ip a02:12
OerHeksdureya, type 'ifconfig' and see if you got an IP ??02:13
JanCwith only lo & virbr0 you can't get any useful IP address02:14
=== karstensrage_ is now known as karstensrage
dureyaI 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: r816902:15
limberahello, what are the essential upgrades/packages that you would recommend any 16.04 app server have installed02:15
limbera(or even removed from stock)02:15
dureyainet addr: 192.168.122.102:15
dureyaBcast:192.168.122.25502:15
JanCdureya: that's virbr0, I assume?02:16
dureyayes sir02:16
dureyalo and virbr0 both are showing that they're UP02:17
JanCvirbr0 is for communication with virtual guests (if you have any)02:18
dureyaI do not.02:19
dureyaDoes this mean that the os is not reading my network adapter card or the wifi card?02:19
JanCit means there is an issue with the drivers, I guess02:20
dureyaAny solutions? Im very lost right now.02:21
JanCnot any easy solutions02:22
JanCexcept maybe testing a more recent kernel version to see if that helps02:22
dureyawould this happen to any server os I dl?02:23
JanChttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/141343 seems to be a similar issue02:24
ubottuLaunchpad bug 141343 in linux (Ubuntu Hardy) "r8169 driver does not work with Realtek "PCI-E" 8111B integrated network controller" [Medium,Fix released]02:24
dureyathank you, I'll read it and see if I can fix it.02:25
JanCit's for another network adapter though, but it also tries to use the same included driver which doesn't work02:26
dureyaoh...02:26
JanCI suppose it's an unsupported variation of the same family of network chips02:27
JanCdureya: how old is that hardware and what version of Ubuntu did you try?02:28
dureyaI 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 release02:29
JanCI was thinking a ballpark figure (and it should have a date somewhere at the bottom)02:32
dureya2011-2012ish02:35
dureyaJanC^02:36
JanCso fairly long before the last Ubuntu was released02:37
dureyayeah, it doesn't seem that long ago. Should I use an old ubuntu release?02:40
dureyaOr, any other server os you recomment? I am trying to setup a dedicated gaming server02:40
JanCyou could try installing r8168-dkms + its dependencies using an USB stick02:42
dureyacan i use a dvd instead?02:43
JanCwhatever you want, as long as everything you need is on it02:43
dureyaalso, how can I run it once I put it in?02:44
JanChttps://help.ubuntu.com/community/AptGet/Offline might be useful02:44
JanCand installing everything (r8168-dkms + all its dependencies) should in theory be enough02:46
JanCanother option is to use an USB WiFi or USB ethernet that you already know works well02:47
dureyaok,I am going to try this out, thank you. Also, this is making my head spin02:47
dureyaso I got the dependencies and r8168-dkms on my usb with aptmedium, but I cannot install it :/03:20
dureyaJanC ^^03:21
=== diplo_ is now known as diplo
=== ztane_ is now known as ztane
=== disposable3 is now known as disposable2
=== codex_ is now known as codex
=== disposable3 is now known as disposable2
=== disposable3 is now known as disposable2
=== tinwood is now known as tinwood_swap
zioprotocoreycb, 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 ?12:30
ubottuLaunchpad bug 1630732 in OpenStack Compute (nova) newton "online_data_migrations does not ignore deleted services" [High,Fix committed]12:30
jancoowHi.13:04
jancoowI've mounted some samba shares and I want to share them with NFS13:04
jancoowWhen I try to do this, I get an error exportfs: /mnt/samba/Films does not support NFS export13:04
mcnesiumI 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.png13:15
mcnesiumany hints where this comes from?13:16
mcnesiumwhen not within byobu, the PS1 set in .bashrc is being used13:16
mcnesiumalso there is some kind of error code being shown. any explanation on this would be interesting13:19
VillageHello, what package are MySQL devel?13:32
cpaelzerVillage: libmysqld-dev / libmysqlclient-dev ?13:35
VillageCan check here does exist this packages?13:36
cpaelzerVillage: yep, see https://launchpad.net/ubuntu/+source/mysql-5.713:37
cpaelzerValfor: and similar for other releases13:37
Villagefirst are, thank you, second be see13:37
VillageWhat command at channel shows info about existings packages?13:38
zulcoreycb: there are new point releases for oslo.messaging and oslo.log probably doesnt hurt to get them as well13:40
zul(ocata)13:40
Villagecpaelzer, secound installed but exist, Thank You13:42
coreycbzul, yeah13:43
coreycbzul, zioproto had a question above13:43
zulzioproto: ill include it in the list13:44
zioprotozul, thanks. I asked nova upstream to come out with a new tag for the stable/mitaka branch13:44
zioprotobefore they put this end of life13:44
rknhi all!14:05
cpaelzerho rkn14:05
rkni'm rtying to set pcre.recursion_limit for apache2 on ubuntu server xenial14:06
rossanohi all!14:15
rossanoi'm rtying to set pcre.recursion_limit for apache2 on ubuntu server xenial14:15
rossanoany human here? :-)14:15
rossanoanybody can me expain how i can do that?14:16
=== fyxim_ is now known as fyxim
sonu_nkhi 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_nkplease guide me step by step/ so i can learn and setup mail server..16:02
sonu_nkThankyuou16:02
ikoniait's not that simple16:02
sonu_nki know.. ikonia i read .. thats why i am here with you all expert..16:03
sonu_nkhow can i proceed ? and how should i proceed ?16:03
ikonialearn and understand how an internet email server works16:04
ikoniaplan for it and the technologies/setup you want to use16:04
ikoniathen ask specific questions16:04
sonu_nki want to use postfix16:04
ikoniaok,16:04
ikoniaso learn how to use postfix16:04
ikoniathen ask specific questions for things you don't understand16:05
ikoniain line with your requirements16:05
OerHekssonu_nk, the serverguide is a good start https://help.ubuntu.com/lts/serverguide/postfix.html16:05
sonu_nkOerHeks: hi. i installed the postfix till the " sudo postconf -e 'home_mailbox = Maildir/'" command16:18
sonu_nki want to install roundcude...16:18
sonu_nkso https://help.ubuntu.com/lts/serverguide/postfix.html here next step SMTP Authentication . is this i need to do ?16:19
sonu_nkOerHeks:16:19
OerHekssonu_nk, without you send plain text mails.16:21
sonu_nkOerHeks: ???16:22
sonu_nki only installed postfix.. now what is the next step ?16:24
=== topi`_ is now known as topi`
hydoskeewas 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 properly16:51
compdocshould be the same, if youre modifying interfaces16:52
rellisHello 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:54
compdocmaybe you need the interface name? its not likely to be eth0 anymore16:55
relliscompdoc: I mean modinfo ixgbevf still shows 2.12.1-k16:55
naccrellis: compdoc was talking to hydoskee afaict16:56
rellisoh sorry16:56
hydoskee@compdoc - I made a modification for that :(16:56
hydoskeethat was the assumption since eth0 wasn't in ifconfig anymore16:57
compdochydoskee, pastebin your interfaces file16:57
hydoskee@compdoc - it's a little sensitive?16:58
hydoskeeI get that you can't triage without it, thanks for your help16:58
compdocwhat does this show you:    ip link show16:59
compdocdont know why it would be sensitive, unless youre using external ip addesses17:00
zioprotozul, 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 Newton17:00
ubottuLaunchpad bug 1668310 in OpenStack Compute (nova) "PCI device migration cannot continue with old deleted service records" [High,In progress]17:00
zioprotozul, coreycb I would say that is a must have if you make a refresh of the nova package17:01
rellisAnyone know what a commit message like this would imply? Revert "UBUNTU: [config] enable IXGBEVF_2_14_2=m instead of IXGBEVF"17:09
rellisis that some flag I need to set to get the 2.14.2 revision?17:09
naccrellis: it means that they undid a chnage that turn IXGBEVF_2_14_2 on as a module in the kernel .config17:09
rellisnacc: Is there an easy way for me to flip it back? so I can get 2.14.2?17:10
rellisgrub boot flag or?17:10
naccrellis: no, it's a compilation flag17:11
naccrellis: and probably there is a good reason it was reverted :)17:11
rellisugh, alright... so irritating ubuntu ships with an unusable version of that driver17:11
rellisand the same garbage version from 14.04 no less17:11
naccrellis: afaict, that's an out of tree driver?17:13
naccrellis: don't see such a config option upstream, at least17:13
naccrellis: i'd ask in #ubuntu-kernel17:13
rellisnacc: by out of tree you mean it's not part of the mainline kernel?17:13
naccrellis: yeah17:14
rellisya i think that may be true17:14
rellisnacc: Do you have any insight into this post? or is it just false? https://ubuntuforums.org/showthread.php?t=234853217:20
rellisim guessing it's just false since i'm on 16.04.2 already17:21
naccrellis: looking17:23
naccrellis: were you on 16.04 and upgraded? or fresh install?17:24
rellisfresh install17:24
rellison ec2 using ubuntu "cloud image"17:24
naccrellis: but you're on the 4.4 kernel17:24
naccrellis: the hwe stack is 4.817:24
rellisoh ya?17:24
rellishmmm..17:24
nacc!hwe | rellis17:24
ubotturellis: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack17:25
rellisi wonder how i managed to get on an old kernel17:25
naccrellis: i'm not sure how the cloud images work in this regard17:25
naccrellis: as in, if there are two cloud images (one with the opted-in hwe kernel, one without)17:25
naccOdd_Bloke: --^ ?17:25
rellisnacc: okay i think i get you, i've never really heard of that, i will give it a shot17:27
rellissee if i get my fancy new driver..17:27
rellisnacc: Thank you so much for the guidance. I got the new driver version!17:36
naccrellis: nice, np17:37
jge2hey 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:54
sarnoldyou may need to manually rm -rf the others17:56
jge2hmm ok, yeah found a similar question here: https://sourceforge.net/p/rsnapshot/mailman/message/21937284/17:58
jge2looks like they need to be manually deleted17:58
jge2thanks sarnold17:58
dureyaguys17:58
dureya so I got the dependencies and r8168-dkms on my usb with aptmedium, but I cannot install it :/17:58
naccdureya: what happens when you try?17:59
dureyait says file or directory not found18:01
dureyadoes anyone have a aptmedium tutorial?18:01
naccdureya: https://wiki.debian.org/AptMedium ?18:02
sarnoldwhat's aptmedium? I don't see it via man -k or apt-cache search18:02
naccsarnold: it's a tarball from debian?18:03
naccsarnold: unclear :)18:03
naccalso not sure why it's necessary, but whatever18:03
nacci guess if you have a bunch of equivalently offline machines, it's helpful18:03
dureyai don18:04
dureyaoops i don't have a way to get onto the network because my ethernet port isn't supported by ubuntu18:04
dureyaits an old 10+ year bug18:04
dureyastill unfixed :/18:04
jerichowasahoaxWhat'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 take18:21
rbasakjerichowasahoax: /etc/network/interfaces18:57
jerichowasahoaxjust making sure i'm tinkering with the right files, thank you18:58
=== ashleyd is now known as ashd
=== iliv_ is now known as iliv
EdwardIIIhey. 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.0419:10
EdwardIIIjust 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 run19:11
EdwardIIIfor 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 them19:11
sarnoldfeel free to skip any guides written seven years ago :)19:11
sarnoldI don't think you want to use mod_php with multiple users19:12
EdwardIIIright19:12
EdwardIIIthat guide contains lots of PITA stuff like creating suexec wrappers and so forth19:12
EdwardIIIis mod_fcgid still a good way of doing this?19:13
EdwardIIIi tried searching the wiki for mod_fcgid but got no results back19:14
EdwardIIIshould i just shut up and use php-fpm?19:15
sarnoldno idea on the fcigd, I just know that you absolutely do not want your users to have shared php interpreters19:16
=== Gorian- is now known as Gorian
jerichowasahoaxEdwardIII: I don't speak nginx but if you can get php-fpm to do what you want, I would say go for it19:47
EdwardIIIi decided to give nginx a quick run through, got it up and running with php in about 20 mins which is pretty good :)19:47
jerichowasahoaxi'm not hosting for anyone but myself so i have the distinct advantage of being able to avoid php entirely ;-)19:48
peterdI 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 for22: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:24
naccpeterd: du -h --max-depth=1 / might help22:25
naccpeterd: i'm guessing you've got an out of control log22:25
peterdI'll try now, thanks...22:25
peterdthe response to du -h --max-depth=1 is22:27
peterdI have recently set up an ubuntu server, 16.0422:27
peterdMy 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
peterdYesterday 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
peterdI've run sudo apt-get auto clean, sudo apt-get clean and / is still 100% used.22:27
peterdThoughts on what to try next?22:27
peterd  22:27
peterdoops22:27
peterd4 ./.nano22:27
peterd4 ./ .cache22:27
peterd2822:27
genii...22:28
sarnoldtry that from your root directory instead :) and please use a pastebin for the output (the pastebinit tool can make that easy)22:28
naccpeterd: note that i gave you a specific directory to run it in22:28
naccpeterd: ( / being that directory )22:28
rbasakpeterd: baobab is nice to analyse what uses space (unless it's deleted files)22:28
peterdI'll try again22:28
rbasakYou can run it from a desktop machine and it'll talk to the server over ssh.22:28
peterdlet's see if I did this correctly ... the output from the du command is at pastebin, http://pastebin.com/8pSkyqGR22:40
naccpeterd: right, so as i suspected your /var si quite full22:41
naccpeterd: note i suggested -h because it's quite a bit eaiser to ready22:41
naccpeterd: so you can recurse and run it in /var instead of /22:41
peterdwill do, thanks22:42
peterdthe problem seems to be in ./log22:43
peterdand within ./log, the kern.log and syslog are huge22:44
peterdI must have set a flag to log everything.22:44
sarnolddelete some of the .2.gz kind of logs there22:44
sarnoldand look at some of the entries to see what's going on22:44
naccpeterd: --^ what sarnold said23:00
naccGBs of logs typically indicate something is misconfigured or there is a serious issue (e.g., kernel-level errors)23:01
peterdAgreed.  I'm trying to interpret the output.  tail of syslog gives me an ACPI error23:05
=== keithzg_ is now known as keithzg
peterdSame errors in Kern.log  --- errors started minutes after the install on 2/25.23:07
geniiAnything from dmesg|tail, like I/O errors?23:07
peterdsimilar ACPI error   AE_NOT FOUND, while evaluating GPE method23:08
peterd(after running dmesg|tail)23:08
peterdI see that someone else had this error with the same type of Asrock mobo... maybe the error is there23:10
tarpmanpeterd: check you're running the latest firmware/BIOS, sometimes bugs get fixed23:12
peterdI'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:13
peterdagain, Thanks to Everyone for the help23:15

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