[00:29] lmao [00:32] Anyone here has experience with linux kernel drivers [00:33] Come on dont be Chad and Stacy on #ubuntu [00:36] apt update; apt upgrade ; apt autoremove; on supermicro made my keyboard and network stop working. [00:37] i had to boot off an older ubuntu 16.04.1 iso into a rescu environment and install a different kernel 4.12.0 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12/ [00:37] can anyone help me [00:37] very strange. [00:37] GriffusSilver: what do you have? [00:39] why do i keep getting deauth'd on my wifi network [00:39] just look at my dmesg for example [00:39] wlan0: deauthenticated from ac:0d:1b:d8:f5:e3 (Reason: 3=DEAUTH_LEAVING) [00:39] [ 9004.394210] wlan0: authenticate with ac:0d:1b:d8:f5:e3 [00:39] [ 9004.394669] wlan0: send auth to ac:0d:1b:d8:f5:e3 (try 1/3) [00:39] [ 9004.398171] wlan0: authenticated [00:39] [ 9004.407628] wlan0: associate with ac:0d:1b:d8:f5:e3 (try 1/3) [00:39] [ 9004.421910] wlan0: RX AssocResp from ac:0d:1b:d8:f5:e3 (capab=0x431 status=0 aid=4) [01:04] ugh maybe i should have gone with 17.04 instead of 16.04, having issues that may or may not be ryzen related, but with mainline kernel have no clue how to get zfs module working [01:09] Seems I need to fsck /home - but it is mounted. How do I login as root so I can umount /home [01:11] Hi [01:11] please help me regarding... [01:12] whenever I boot this is coming [5^ [5^ [5^ [5^ [5^ [5^ [5^ [5^ [5^ [5^ [5^ [01:14] rahulprodev: starting with the simple trouble shooting Qs first - do you have a disk/USB plugged, one you forgot to take out the last time the system worked? [01:15] [01:15] [01:16] w9qbj, thanks for reply.. actually i reinstalled ubuntu many times still this comes up everytime [01:17] Seems I need to fsck /home - but it is mounted. How do I login as root so I can umount /home - or how to I force a fsck at boot Ubuntu 16-04 [01:23] w9qbj: You will need to unlock the root user to be able to do that. [01:23] Or you can force a fsck /home on a reboot and then reboot. === bomb_ is now known as bomb [01:42] !zfs | MBS [01:42] MBS: For information concerning ZFS and Ubuntu, see: https://wiki.ubuntu.com/ZFS [01:46] well im currently compiling 4.12 w/ ZFS and will see if it works and stops hangs [01:49] rahulprodev: wich ubuntu iso? [01:51] lotuspsychje, 16.04 [01:52] rahulprodev: how did you create usb? [01:55] lotuspsychje, usb create by universal usb installer [01:56] i tried many times but this error is coming again and again. [01:57] rahulprodev: explain what happens exactly plz: uefi settings? usb plug in, load ubuntu? when do you get errors? [02:01] I don't have that much idea about ubuntu... that much about about after booting first screen flashes then this error comes. [02:02] is it possible it will be hardware problem... because now my windows is also not installing [02:02] rahulprodev: Are you getting this message when you're booting Ubuntu's installer, or when booting Ubuntu after having installed it? [02:02] after installed [02:04] rahulprodev: Do you ever see the grub menu at boot? [02:04] grub menu you mean red screen where ubuntu options comes? [02:05] yes... after that screen flashes and this error show up [02:06] rahulprodev: The purple screen with "Ubuntu" and "Advanced options for Ubuntu", yes. Have you tried selecting "Advanced options for Ubuntu" then the "Recovery" option? [02:09] Jordan_U, I didn't tried, actually i reinstalled many times... [02:10] recommended place for snap assistance? [02:11] #snappy [02:11] awesome, ty [02:12] welcome [02:13] On ubuntu server, nmcli says i'm "connected" to a wifi network, but i can't ping the router "destination host unreachable" [02:18] rypervenche: for some this might be a dumb Q, but how do I force a FSCK on reboot? [02:19] energizer: does 'ip a' show your interface to have an ip address? [02:20] w9qbj: What OS and version? [02:20] ubuntu 16.04 [02:20] willdeberry: yes [02:22] rypervenche: I have Uuntu 16.04 [02:26] energizer: if you have net-tools installed, you should have the route command. does it show your router as the default route? [02:35] rypervenche: i believe putting fsck.mode=force as a kernel command line option should do the trick: https://www.freedesktop.org/software/systemd/man/systemd-fsck@.service.html [02:35] hey guys! just built a new PC and i'm now up and running. i am booting from a smaller SSD and also have another internal HDD. does it make sense to mount that with/inside of my home directory, or leave it in /media or /mnt? what is the natural convention for additional non-removable disks [02:39] !home | BUSY [02:39] BUSY: Your home directory is where all of your personal files are usually kept. For moving your home directory to a separate partition, please see: https://help.ubuntu.com/community/Partitioning/Home/Moving [02:40] is that what i ought to do? i was wondering if the disks could sort of have nesting mount points [02:41] BUSY: how big is your ssd? [02:41] 500GB [02:42] BUSY: and your internal HD? [02:42] willdeberry: Yeah, thanks. I got a phone call. [02:42] rgr [02:43] 4TB, i suppose smaller is a relative term, and i am doing more than booting. currently my home directory can fit fine on the SSD, but i just was not sure how i ought to introduce the other drive when i am interested in using it, if not from its default /media/ mount point [02:45] BUSY: booting your ssd with ubuntu would be a good idea [02:45] BUSY: what i would do is: install ubuntu install and /home on the ssd and keep the 4TB as data/backup drive internal [02:46] that is the configuration i have now, i am just not sure where to mount the 4TB that would make logical ubuntu sense in the directory hierarchy [02:47] does it make any sense to have it inside of ~? [02:47] willdeberry: route gives an empty table [02:48] oh no i guess it was just loading it says gateway 192.168.0.1 [02:49] or maybe i just mount it in /media and link it in home? i suppose i can do whatever i want, but i was just seeing what people naturally did with more than one drive [02:50] energizer: and that's the same address you can't ping right? [02:50] willdeberry: right [02:51] <[n0mad]> BUSY: i just leave mine mounted in media [02:51] willdeberry: pinging it says "From .111", which is the eth0 ip, not the wlan ip. eth0 isnt plugged in [02:52] [n0mad], /media/disk_name? by default, it looks like it goes to /media/username/uuid/ [02:52] <[n0mad]> yes, /media/user/disk [02:53] <[n0mad]> i think really it's up to you, but i figured where ubuntu put them is good enough for me [02:53] sounds reasonable enough [02:54] ok cool, got 4.12.7 with ZFS running now, hopefully no more crashes :( [02:54] i'm trying to statically build an x11 application but i'm getting link errors [02:55] https://bpaste.net/show/bdc96e51274a [02:56] cores: I think you forgot -lXt [02:56] at first i didn't think my X libraries that i installed were built for static linking, but the symbols the linker is looking for are in the file /usr/lib/x86_64-linux-gnu/libXt.a [02:56] Stanley00, huh i didn't try that [02:57] Stanley00: doesn't apper to work [02:58] willdeberry: anyway, what do i do now? [02:58] i got a bunch of link errors [02:59] cores: you still get the *same* error messages after adding -lXt? [03:00] $ gcc -static -o push push.c -L/usr/lib/x86_64-linux-gnu -lXt 2>&1 | grep "undefined reference" | wc -l [03:00] 500 [03:01] different list of undefined references [03:01] cores: then you will need many more -l switch, -lXt is just simply not enough [03:02] hmm, no undefined refs that start with -Xt any more though [03:03] cores: yes, -lXt just provide some *refs*, you will have to find which library provide other *refs* you need and add -l option for that lib [03:05] willdeberry: looking in tshark i see "38 120.70... ba:27:eb:2d:9e:53 -> Raspberr_2d:9e:53 .... Ethernet" [03:07] does the ip command show eth as down or just no ip? [03:17] Stanley00: i'm down to 2 undefined references [03:17] form a max of about 2300 [03:17] cores: wow, congrat :3 [03:19] energizer: and i only assume this worked at some point? [03:20] back up to 161 :( [03:23] anyways energizer, i am just shooting in the dark here honestly...this is one of those issues that is hard to narrow down unless it is just a driver issue [03:25] is there a way for the linker to automatically find and resolve all these references? [03:27] i finally ran into a library that doesn't have the symbols i need [03:27] give up time [03:31] willdeberry: ok here we go. `ifconfig eth0 down` then it suddenly works [03:34] willdeberry: /etc/cnetwork/interfaces.d/50-cloud-init.cfg has auto eth0; iface eth0 inet dhcp; [03:37] im compiling curl by hand. long story. its linking against older openssl, probably because its finding that lib before the 1 i compiled and installed via checkinstall [03:38] so, is that something i can likely inform via configure flags or do i dig in the makefile? [03:39] or, is there something i need to do to inform ld of this [03:41] apparently the order of -l options passed to gcc matters a lot [03:43] well i just ran ldconfig, idk if it was run during checkinstall. ima try that and then look in the makefile then [03:49] i never gave up :( [03:49] hi [03:49] its midnight and i'm down to 4 undefined references [03:49] all of which are defined in libX11.a [03:49] but the linker still isn't liking something [03:49] in ubuntu 17 how do I uninstall python2.7 and install python3.6? [03:50] nick---: why would you uninstall any python [03:50] because i need python 3.6 [03:51] i think apt-get install python3 [03:51] but also maybe look into a version manager [03:51] idont know of any [03:51] but i cannot recommend the solution to be uninstalling python2.7 [03:55] oh wait its linking against not the right libcurl. weird, curl itself builds libcurl [03:56] or no. this is all sorts of wrong [03:59] Stanley00: finally got it to work [04:00] Stanley00: i had to put the -lXft BEFORE the -lX11 [04:00] i can finally go to sleep [04:01] cores: yeah, I don't know why but sometime you have to messing around with the order of linked libs. g9 [04:02] my statically built app wont run on another machine lol [04:03] XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1.0" [04:03] after 101 requests (101 known processed) with 0 events remaining. [04:03] Segmentation fault [04:04] it runs on the machine i built it on, ubuntu 16.04 [04:04] oops i mean 17.04 [04:04] but wont run on ubuntu 14.04 [04:07] well what resource could that be [04:08] i have no idea [04:09] it runs on ubuntu 16.04 [04:09] runs on 16.04, 17.04 but not 14.04 [04:09] ah well, looks like that's as good as i'm going to get for now [04:11] i wonder if it will work if i do it the other way around: build on 14.04 and try running on 16.04 or 17.04 [05:01] hubby's ubuntu 16.04 box is crashing at odd times. I thought it was his weather app, dialing in and failing, so he removed that. But i was just now going to look something up on ff and it just .. crashed! it restarts ok, but he has been experiencing this a lot lately. Help? [05:14] chalcedony it could be a lot of things. I would check to make sure the system isn't running out of ram and hard drive space first [05:14] ok [05:15] ddellav, are there commands for that? [05:15] chalcedony yes, free -m for memory and df -h for hard drive space [05:15] ty very much ddellav :) [05:15] yw [05:15] let's see [05:17] hello [05:17] anybody alive [05:18] https://pastebin.com/TJ1gz3mf ddellav [05:19] reans ask your question if you need help [05:20] chalcedony ok, looks like everything is fine there [05:20] ddellav, it dosen't look like ram is the culprit [05:20] next, check dmesg for errors [05:20] just type dmesg and hit enter [05:20] help help! [05:21] his directory is full, he can't run updates (he is fixing that i think) [05:21] infotek, ask a question please [05:21] ok ddellav [05:21] as far as ssh public key safety, i could theoretically broadcast it to anyone, right? [05:21] fyi i didn't see any full directories in that output [05:21] chalcedony [05:22] BUSY what do you mean safety? [05:22] ddellav, he's got an error on the update [05:22] a pub key does not grant access to any resources is thats what you mean [05:22] i guess privacy. if the private key is kept private, the public could fall into anyones hands? [05:23] with no consequences [05:23] yes, thats why it's called the public key [05:23] its meant to be given out [05:23] i see. that makes sense, if authorized_keys is like a whitelist, i just wasn't sure if you should only send your public to known hosts [05:24] it's fine to send it anywhere :) [05:24] ddellav, is there a pastebin command for dmesg? [05:24] i refuse to use my words. [05:24] I'm not sure what you mean chalcedony [05:25] just look and see if you see any segfaults or anything that looks bad [05:25] additionally you can look in /var/log/syslog [05:25] it will have similar info [05:25] chalcedony: my words! I refuse to use them! [05:25] ddellav, syslog said something about chron [05:26] there will be entries about cron in the syslog, unless there's an error somewhere though it should be ok [05:26] 1.615154] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [05:27] what's going on with your cron? [05:28] chalcedony: that was your kernel telling you about a useful kernel parameter. [05:28] 56.694061] cgroup: new mount options do not match the existing superblock, will be ignored [05:28] 1.707332] MXM: GUID detected in BIOS [05:30] i don't know enough to know, but nothing is jumping out [05:30] chalcedony: what is going on? [05:30] chalcedony: your errors seem random and would warrant a memtest. [05:30] infotek, oh? [05:31] [01:01:41] hubby's ubuntu 16.04 box is crashing at odd times. I thought it was his weather app, dialing in and failing, so he removed that. But i was just now going to look something up on ff and it just .. crashed! it restarts ok, but he has been experiencing this a lot lately. Help? [05:32] chalcedony: define crash. [05:32] chalcedony: did the machine reboot? [05:32] no it dies [05:32] chalcedony: define dies [05:32] the power light stays on but nothing else [05:32] screen goes black [05:32] fans stop turning [05:33] chalcedony: i would certainly look at ram while suspecting also video card/memory. [05:33] requires manually switching off the power supply and restarting [05:33] fans stop turning is interesting. [05:33] even cpu fan? [05:34] im not sure [05:34] he keeps the computer a long way from where i stand [05:34] the power supply did not seem to be turning when i restarted it for him th is last time [05:35] it is not a cheap or old power supply [05:35] i would check ram. cpu registers, cache video memory. [05:35] ok tell me how :) i'm ssh'd to him [05:36] you situation sounds like a hardware malfunction. [05:36] i would concur [05:36] its summer and this is georgia.. what would summer be without a heardware problem? [05:37] chalcedony: i am in alabama [05:37] * chalcedony throws a stone [05:37] yea, if your system is physically turning off then it's a hardware issue [05:37] I use amidiag but it is commercial. [05:37] i thought you meant the application crashed lol [05:37] ddellav, ah no the thing has to be restarted [05:38] i have vps but when i install 16.04 os it was successfully installed but it seems no server daemon run in bootup. i cant access ssh and even to ping the ip not reachable any idea to fixed the issue is highly appreciated [05:38] chalcedony: when you boot from a recent ubuntu you get a menu item taht says memtest [05:38] i see [05:38] reans sounds like it wasn't installed properly [05:39] chalcedony: but if the cpu, cache, mb are bad you will get failed memtest. [05:39] though if you did the install yourself, i hope you chose to install the SSH server, otherwise yea, there will be no way to access it remotely [05:39] then again you are unlikey to boot into a gui with cpu/cache issues. [05:39] it boots ok [05:40] if it has a lot of memmory and two or more sticks, you can remove half and see if it still works. [05:40] but when i login the vps via console and run the services from console it will work but there is a certain when i configure like docker it seem error in bus not found something [05:41] if it fails swap the sticks. [05:41] try again. [05:42] divide and conquer. [05:42] infotek, we can do that, he says [05:42] give us a couple [05:47] chalcedony: infotek: If you boot the Ubuntu live media from a UEFI based machine you will not see a memtest option, because memtest86+ only supports BIOS. [05:48] if that is an issue you can download and write a recent version which supports both BIOS and UEFI chalcedony [05:48] MemTest86 V7 images supports dual booting (UEFI/BIOS) [05:49] chalcedony: infotek: You can use memtester from within a booted Ubuntu system, but it will only be able to test as much memory as it allocates, and it won't be able to allocate memory that's already in use by any other process. [05:50] Jordan_U: can you noop sled into a remote system and test memory abitrarily? [05:50] infotek: It's not so much that that's a more recent version, it's that the proprietary fork of Memtest supports UEFI and the open source version (memtest86+) doesn't. [05:54] infotek: Even if you can find an exploit that allows you to write to and read from all of memory, your system won't stay up very long if you're constantly overwriting other process' memory. [05:55] Does Ubuntu-Make work reasonably well from within an LXC container? [05:55] infotek: If you're not booted via secure boot then you can just write to and read from /dev/mem. That's just not a terribly good idea :) [05:57] Jordan_U: it is a terribly good idea :) [06:01] ok guys, bed for me. [07:01] Can anyone help me out .... I'd like to multitail aprox 20 log files and only print the lines that contain a comma "," Can I use multitail and maybe sed -n '/,/p' ?? thanks! [07:02] dcypher: cat *.log | grep , [07:03] and then it stops [07:03] I'd like to tail the logs [07:03] I'm thinging multitail [07:03] thinking [07:10] How do I disable a systemd service (so it doesn't load on boot)? Google tells me 'sudo systemctl disable alsa-restore' should do it, but after boot, that service is still "active (exited)". (Ubuntu 16.04, if is relevant) [07:15] probably SomeOtherService loads it, and 'systemctl mask alsa-restore' is a more forceful command :) [07:18] kraiskil: you have to mask it [07:19] nevermind :D [07:19] Thanks anyways :) [07:50] <_Timon> Hi, I want to setup a local package mirror for our internal enviroment. I see apt-mirror being recommended in some places, but due to the recommended size of 120GB I am confident that this only includes the distro itself, and not the package repository. [07:51] <_Timon> I've also seen ubuntu site itself recommend rsync and ~600GB of storage, but I think that that also includes older ubuntu installations that I don't require. [07:53] <_Timon> Basically I want all supported packages for Xenial and Xenial itself on a local server. [07:54] 120GB sounds like a good size for it [07:55] <_Timon> So apt-mirror and "deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse" should do the trick? [08:14] dcypher: tail -f *.log | unbuffer grep , [08:17] also: `grep --line-buffered` [08:17] no need for unbuffer [08:17] only necessary if you pipe grep to something [08:31] Hello! [08:32] I have a strange problem with my Ubuntu 14.04 hardware server - it sometimes suddenly reboots (last shows "reboot system boot") but I cant figure out what or who exactly initiated the reboot command [08:33] frdmn: does auth.log tell? [08:33] I went through "last", "dmesg", "syslog" "kern.log" [08:34] tomreyn: no authoriztion/login events at all [08:34] Intressting enough, the reboots usually happen on ~06:59 [08:34] http://paste.frd.mn/raw/ogasu [08:34] but the day it happens seems to be varying [08:35] I also went through all crontab / cron.d's as well as at-jobs [08:35] unattended-upgrades? [08:35] :o [08:37] I have to check where to find it's schedule [08:37] does it has a separate log, because I see some entries in the apt history log [08:38] tomreyn: http://paste.frd.mn/raw/orugi [08:38] grep Automatic-Reboot-Time /etc/apt/apt.conf.d/50unattended-upgrades [08:39] is it commented in or out? [08:39] commented in: http://paste.frd.mn/raw/refov [08:39] so it's something else [08:39] crud, I thought it's promising [08:40] tomreyn: what I find interesting is that the dmseg logs match the time whenever the reboots happen: [08:40] tomreyn: http://paste.frd.mn/raw/wizez [08:40] but, i couldn't find anything suspicious in there [08:42] frdmn: chances are that your daily cron jobs run at this time as per "grep daily /etc/crontab" === the_ant1 is now known as the_ant [08:43] tomreyn: seems to run at 06:25 - http://paste.frd.mn/raw/tazus [08:44] so half an hour earlier [08:44] yeah exactly [08:49] frdmn: this lists past shutdowns and runlevel changes, it might help to correlate those to the reboot times: last -x | less [08:52] tomreyn: aha! [08:52] it looks like when ever it happens, it switches the active kernel? [08:52] http://paste.frd.mn/raw/uvixo [08:54] which is why i was assuming unattended-upgrades. maybe run "apt-config dump | grep -i reboot" just to be sure it's really off [08:54] LOL [08:54] tomreyn http://paste.frd.mn/raw/otede [08:54] okay, case closed [08:55] so it's configured elsewhere [08:55] any idea where it could be configured? [08:55] should I maybe do the dpkg-recofnigure on the package? [08:55] well surely somewher ein /etc/apt/apt.conf{,.d/} [08:56] hi guys, does ubuntu kernel 4.6-* supports amd GPU driver already? [08:56] i just upgraded the kernel, been struggling with my amd, since i was reading that the latest ubuntu kernel dont support amd till undefined period of time [08:57] tomreyn: /etc/apt/apt.conf.d/local it is :) [08:57] i guess the last time that ubuntu supported amd was in ubuntu 14.0x something [08:58] please share the info if you have any, thanks. [09:00] frdmn: congrats.;) some deployment mechanism may have put it there, such as puppet, chef or ansible [09:01] tomreyn: or the other alternative - the coworker who didn't add those parts to the server documentation :D [09:01] tomreyn: thanks a lot for your assistance [09:01] but would he ever do that!! ;) [09:01] welcome [09:02] welcomeparty: you use kernel 4.6 with which ubuntu release? [09:02] tomreyn: maybe you also can help with my originating problem, it appears that this sever lost the java binaries on the last reboot [09:02] ANY idea how this could happen? [09:02] I just saw that the bins in /usr/lib/jvm/java-7-openjdk-amd64/bin/* were deleted [09:02] the symlinks in /usr/bin/ were still there [09:03] frdmn: if those were packaged (.deb) and removed via apt then /var/log/apt/term.log should say. [09:03] I fixed it by purging through dpkg and reinstalling through apt (where they came from) [09:03] or /var/log/apt/term.log* rather [09:04] tomreyn: from term.log: http://paste.frd.mn/raw/amayo [09:04] interesting... [09:04] frdmn: the older files then [09:04] hi, to fix the intel bug on skylake i have to simply install this package? intel-microcode [09:04] the older files don't match the time [09:05] seven-eleven: it's worth a try. [09:05] there are some previous events in term.log as well just pasted the relevant times [09:05] but those are at least one week before the incident [09:06] frdmn: then use auth.log / last to tell who was logged in and may have removed those manually [09:06] tomreyn, i can't and don't want to trigger the bug on my production server, that's why I need verification by the community :-] [09:06] tomreyn: that's the weird part - noone was on there [09:06] it has to be happend automatically somehow [09:07] https://bugs.launchpad.net/ubuntu/zesty/+source/intel-microcode/+bug/1700373 [09:07] Launchpad bug 1700373 in intel-microcode (Ubuntu Zesty) "intel-microcode is out of date, version 20170707 fixes errata on 6th and 7th generation platforms" [Undecided,Fix committed] [09:07] along with the sudden (and now solved) reboot [09:07] seven-eleven: i haven't heard of using intel microcodes making things worse rather than better. i do not know which "intel bug on skylake" you are especifically referring to, though. [09:08] people where is the .bashrc file? [09:08] tomreyn, https://arstechnica.com/information-technology/2017/06/skylake-kaby-lake-chips-have-a-crash-bug-with-hyperthreading-enabled/ [09:08] acresearch: in your home folder [09:08] thanks [09:09] ahh hyper threading is enabled on my machine "dmidecode -t processor | grep HTT" [09:09] so i need to install it i reckon [09:10] seven-eleven: to make use of microcodes you'll need to reboot anyways, so if that impacts your production server too much you may need to setup HA beforehand. [09:10] tomreyn, i got only like 5 visits a day on my webserver so shouldn't matter :-] [09:11] seven-eleven: maybe you need OOB ;) [09:12] yeah :-) [09:13] welcomeparty: still around? [09:14] tomreyn: yes [09:14] welcomeparty: did you spot the question i asked? [09:15] tomreyn: come again please? [09:15] welcomeparty: you use kernel 4.6 with which ubuntu release? [09:15] tomreyn: ubuntu 16.04 xenial [09:15] welcomeparty: i don't think 4.6 is an official ubuntu kernel package, not at this time. [09:16] tomreyn: i grab it on some site [09:16] what is the latest official release tho? [09:17] tomreyn: based on this: there were kernel updates on each incidents right (aug-15 and aug-16): http://paste.frd.mn/raw/qemiv [09:17] How come I don't see those in the apt history? [09:18] this is from the history.log: http://paste.frd.mn/raw/apalo [09:18] welcomeparty: xenial (16.04.0) comes with 4.4.0, but offers newer kernels through HWE https://wiki.ubuntu.com/Kernel/LTSEnablementStack [09:18] !hwe | welcomeparty [09:18] welcomeparty: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [09:21] frdmn: what you posted shows a kernel upgrade taking place on 2017-08-16 ("aug-16") [09:21] I have an odd request [09:21] I've managed to delete my running 4.4 kernel from a Ubuntu 14.04 server [09:21] it's still booting because it can boot 3.13.0-128-generic [09:22] I want to restore the 4.4 kernel, so I tried this: sudo apt-get remove --purge linux-image-generic-lts-xenial linux-headers-generic-lts-xenial linux-generic-lts-xenial [09:22] then reinstalling those packages [09:22] however that doesn't seem to help and it's still missing from /boot [09:22] tomreyn: is there anyway to upgrade thro apt-get method? or need to download the kernel by single dpkg? [09:22] frdmn: it doesn't show it on 2017-08-15, but maybe the log is incomplete or the other kernel upgrade happened earlier. [09:22] tomreyn: but shouldn't I also see those in apt history log? [09:23] frdmn: you do. as i said, the apt hiostory log you posted to the pastebin shows a kernel upgrade [09:23] ah, gotcha [09:23] gnomethrower: wait, i dont think that kernel image is removable by apt-get method? [09:24] welcomeparty: Correct... it's a long story :( [09:24] gnomethrower: why dont you reinstall the prev kernel by downloading it again, and installing it via dpkg -i kernel-*.deb? [09:25] welcomeparty: I want to install the most current 4.4 kernel as recommended for Xenial [09:25] not sure where to find a deb of that [09:25] gnomethrower: there are sites to find it, i guess [09:25] welcomeparty: upgrade to what exactly? [09:26] tomreyn: can upgrade or install the latest kernel using apt method? [09:26] i never done it tho [09:26] but just asking [09:27] welcomeparty: Hell yes :) https://askubuntu.com/questions/298853/how-to-reinstall-newest-linux-kernel [09:27] That was actually fairly easy [09:28] gnomethrower: please run these commands and show the entire in- and output on a pastebin: lsb_release -ds; sudo apt-get update; sudp apt-get -f install; sudo apt-get install linux-image-generic-lts-xenial linux-headers-generic-lts-xenial [09:28] thats unless you just solved the issue. [09:28] welcomeparty: you can install the latest HWE kernel using apt, yes. [09:29] you could also install mainline kernel through apt, if you were using a PPA providing them, but that's unsupported. [09:29] tomreyn: No, that fixed it :) Thanks everyone for the help [09:29] tomreyn: since i just read the HWE kernel is all about supporting the latest hardware, then what's the main diff with generic kernel? [09:29] welcomeparty: ...and you probbaly dont need / want to resort to mainline kernels [09:30] tomreyn: mainline kernel refers to? [09:30] welcomeparty: the main difference is that the HWE kernel supports newer hardware. [09:30] welcomeparty: mainline refers to what kernel.org provides. [09:30] tomreyn: alright. what are you using? [09:31] welcomeparty: that doesn't matter. what are you trying to achieve? [09:31] tomreyn: which is better? well, i wanted to utilize my GPU by enabling its driver, but i dont know the impact if i install the HWE [09:33] welcomeparty: please also be aware that you should not just download kernel images 'from somewhere' and use them, they could totally be malicious or, probably more likely, just incompatible, bokren, inadvertantly break your hardware. [09:33] matter. what are you trying to achieve? [09:33] 16:31 < welcomeparty> tomreyn: which is better? well, i wanted to utilize my GPU by enabling its driver, but i dont [09:34] welcomeparty: which graphics card do you have there? [09:34] tomreyn: yes i get it, i was reading before that also [09:34] tomreyn: AMD A12 [09:35] welcomeparty: lspci -knn | grep -A4 VGA [09:36] Hi, I can't fix the errorใ€€"The system is running in low-graphics mode", and i already try apt update,upgrade [09:36] Now, I am only use the tty to login my ubuntu [09:36] how to fix it? [09:39] mour try -> sudo apt-get install --reinstall ubuntu-desktop; reboot [09:39] welcomeparty: please provide the output of the command i just posted to get support with your graphics card. please also state the problems you are facing with the 16.04 default kernel image adffecting this graphics chipset. [09:53] tomreyn: 4.6.0-040600-generic [09:53] tomreyn: http://termbin.com/nlq0 [09:54] tomreyn: you see stable kernel in kernel.org, is it ready to download in that tar file for most distributions? [10:01] welcomeparty: kernel.org are the upstream kernels, used by all linux distributions (after packaging them and adding their own patches). i do not recommend using them if you can get everything working fine with a default ubuntu kernel. [10:01] welcomeparty: you did not describe the problems you are currently experiencing, if any. [10:02] also, you currently use an unsupported kernel. === ShalokShalom_ is now known as ShalokShalom === hroi is now known as slices [10:11] Hi folks [10:14] Hello, anyone can tell me how to remove background transperency in pinta ?? [10:20] Hi , I'm looking for a control center for Ubuntu such as control center on Windows , Is there something like that ? === Jochen_wvdT is now known as Schlawiner [10:22] someone_: i don't know what "control center" on Windows is, can you describe it or provide a link? [10:24] tomreyn like this >>> http://thewindowsclub.thewindowsclubco.netdna-cdn.com/wp-content/uploads/2016/12/control-panel-windows-600x337.jpg [10:25] someone_: so you mean control panel? [10:25] and How I can know , What are programs and libraries that I have installed and not that were installed with the ubuntu by default. [10:25] tomreyn yes [10:26] I have upgraded from an nvidia GPU to an AMD one ( hence my nividia drivers got deinstalled ) and vlc "disappeared" i got some issues with libgles1-mesa now as seen here : https://hastebin.com/ivupotifov.sql can someone help me out please ? [10:26] someone_, system settings [10:27] someone_: ubuntu, ubuntu-gnome, xubuntu, ubuntu-mate, kubuntu and other blends provide something similar to windows control panel by default [10:27] what's the standard way to create a backup of all files and folders? [10:29] Ok , thanks [10:29] royal_screwup21, use the standard dejadup backup [10:30] How I can know What are the programs and libraries that I have installed and not that were installed with ubuntu by default. [10:31] oerheks: thanks! [10:32] someone_, You can find all the files installed by a particular package by looking in /var/lib/dpkg/info/.list [10:32] or run dpkg -L packagename [10:34] to list *all* files... why? [10:35] oerheks How I can know What I installed and what already were installed with the system , I don't want remove a package the system needs it . [10:36] someone_, hard to do, filtering updates too.. [10:37] there is a 'apt-mark showmanual' but shows only metapackages.. [10:38] for that I'm looking for control panel like Windows control panel. [10:38] BluesKaj answered that, system-settings [10:39] oerheks but system-settings does not provide way to see the packages that I have installed them [10:40] neither does control panel inwindows [10:40] someone_, install synaptic, detailed softwarecenter, that gui can show with filters [10:43] package management on windows works entirely different than it does on ubuntu and most other linux distributions. [10:43] https://askubuntu.com/questions/2389/generating-list-of-manually-installed-packages-and-querying-individual-packages [10:44] i 'll vote for synaptic to be standard in 17.10 ... [10:44] BluesKaj No, in Windows I can see the software that I have installed and which are not came with the system by default so I can remove it easily without any effect on the system . [10:47] tomreyn , oerheks Thank you. [10:50] here's another way: zcat /var/log/apt/history.log* | grep '^Commandline: apt-get install ' | cut -d ' ' -f4- | tr ' ' "\n" | grep -v '^-' [10:52] tomreyn, apt-mark showmanual would do for him, no need for finding individual files [10:52] I have upgraded from an nvidia GPU to an AMD one ( hence my nividia drivers got deinstalled ) and vlc "disappeared" i got some issues with libgles1-mesa now as seen here : https://hastebin.com/ivupotifov.sql can someone help me out please ? [10:54] oerheks: for me, 'apt-mark showmanual' lists a lot of packages i never chose to install. [10:55] but then he left already [10:57] thyriaen: probably some issue caused by use of a PPA. show the output of "lsb_release -ds; apt-get update; apt-get -f install; apt-cache policy" [10:58] i need to leave now, though, but this is required for anyone to be bale to help [10:58] somrone removing manually installe packages normally won't affect the OS, this linux not windows [10:58] oops [10:59] i set up a server on google compute engine to serve wordpress -- i started to use it for other things yesterday and wordpress (served via apache) isn't working [10:59] i checked the apache logs, no problems there -- ps aux | grep apache2 shows it is running -- is there anything else i can check? [11:09] bonhoeffer, if you find no answer here, ask again in #ubuntu-server too [11:10] ok [11:37] Hi [11:38] Want to send rtmp packets to a server [11:38] Please help [11:42] hi, anyone here that could do me a favour? could you do a "stty -a" in a terminal and paste the output to me? :) [11:44] stalep: http://paste.ubuntu.com/25325328/ [11:45] gabrielc: thanks a lot! === wjtaylor_ is now known as Shinobi [11:49] stalep: you're welcome [11:50] Does ubuntu come with python 3 as the default version? [11:50] 16.04 specifically [11:50] Shinobi, yes [11:50] !info python3 xenial [11:50] python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.5.1-3 (xenial), package size 8 kB, installed size 67 kB [11:51] Thanks [11:52] python defaults to python2 though [11:53] both are now standard, afaik [11:53] yes, I just mean that python symlinks to python2 and not python3 by default [11:54] geirha, oh, not sure about that.. [11:57] oerheks, ls -l /usr/bin/python [11:59] nice ioria, that would say as standard? [12:00] oerheks, yup, unless you change tyhat in the script shebang [12:58] hi guys i managed to mod my login screen, start menu and destop also some other things but im struggling to find info on where the very first ubuntu boot loader image is [12:58] anyone know [12:59] i looked in unity greeter but that just had .png files [12:59] maybe you're thinking about plymouth? [13:00] im using the unity desktop [13:01] Looks like it could be plymouth [13:01] it is in /usr/share/plymouth/themes/ ? [13:02] and then if i want to edit this i just edit the scripts or is there an xml or similar set up [13:03] sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth # and choose yours, sudo update-initramfs -u # and reboot > https://superuser.com/questions/1102165/ubuntu-16-04-change-splash-screen [13:03] MrCrackPotBuilde: https://wiki.ubuntu.com/Plymouth [13:04] geiraha thank you very much thats perfect justr what im looking for [13:10] hello guys ! Is there such thing as system-wide proxy in ubuntu, or do I have to set it up for every single application ? [13:12] seems like every application (apt, git) has an API for using a proxy server , but i'd like to know whether there's some OS-level proxy that all applications could respect [13:12] there used to be a global setting in the desktop [13:12] I don't know if thats still there [13:12] jups, https://help.ubuntu.com/stable/ubuntu-help/net-proxy.html [13:13] i forgot to specify : i'm using ubuntu server, so a command-line version would be appreciated :D [13:15] soLucien: you could set it in the default /etc/profile [13:15] After upgrading to 17.04 my System settings no longer contains a Screens section, anyone knows why that is?? [13:15] so that all app inherits the proxy varible [13:15] you'll need to be aware of any applications that need variations eg: rsync uses a different variable than wget [13:15] Slartibart, screens? 'displays' i guess? [13:16] soLucien: iptables rules ? [13:16] oerheks: You're probably right. Sorry, I'm usually not using it with english locale. [13:17] gabrielc that seems fragile. I want all traffic to flow to someip:3142 [13:17] i'll try the http_proxy env variable [13:17] Slartibart, reinstall unity-control-center and logout/login might fix that? [13:20] oerheks: I'll try. Thanks for the suggestion. [13:24] soLucien: are iptables rules flagile? [13:28] gabrielc yes because ips/subnets change [13:29] and also because i'm not so knowleadgeable with iptables [13:32] After upgrading to 17.04 my System settings no longer has a Displays section. Reinstalling unity-control-center didn't help. Anyone experienced that? [13:35] dcypher: just add -f to tail [13:35] dcypher: so tail -f *.log | grep , [13:37] Can anyone point me to a 'how to' article to lock down my PC? [14:02] how do I install GLEW libraries for windows on ubuntu? [14:02] cross-compiling for win32 from a linux machine [14:02] any apt-gets? [14:03] compiling my program, gives me an error (using x86_64-w64-mingw32-gcc) gives me missing GL/glew.h, glm/glm.hpp etc. [14:08] or am I supposed to manually download SDL2, GLEW, and GL libraries and compile them to cross compile for windows? [14:08] because that'd be a huge pain to do [14:13] DoubleOhSe7en, usually helps posting the error [14:15] ioria: It's not really an error, gcc quits with "gl/glew.h not found. compilation terminated." [14:15] DoubleOhSe7en, gcc ? [14:15] Oops [14:15] g++ [14:15] Sorry, not gcc, that was g++ [14:16] DoubleOhSe7en, no, i mean .... are you cross-compiling ? [14:16] yes [14:16] x86_64-w64-mingw64-g++ [14:16] DoubleOhSe7en, ok [14:17] DoubleOhSe7en, does it work with g++ or gcc ? (not mingw) [14:17] yes [14:17] I installed the entire mingw package [14:17] i can compile simple programs to windows [14:18] DoubleOhSe7en, are you on windows , right now ? [14:19] yes [14:19] infact [14:19] I'm running this under the Linux System [14:19] *subsystem [14:20] (ubuntu subsystem for windows 10 i think it's called) [14:20] but i dont think it really matters [14:21] my question is there is a simple way to retrieve GL, SDL2, GLEW, and GLM libraries for Windows to cross compile on a linux system from one of the repositories or do I have to compile 'em myself? [14:21] DoubleOhSe7en, sy, not clear to me what are you using atm [14:22] So, I'm attempting to use Gparted on 14.04 to transfer a partition from one drive to another, and it is failing with this error: https://pastebin.com/3DnJubgt Any ideas? [14:23] DoubleOhSe7en, but 'gl/glew.h not found' is quite clear [14:23] sudo apt-get install libglew-dev libsdl2-dev libsdl2-image-dev libglm-dev libfreetype6-dev >> https://en.wikibooks.org/wiki/OpenGL_Programming/Installation/Linux [14:25] OneM_Industries: https://askubuntu.com/questions/747656/ext4-broken-file-system-on-ubuntu-14-04-4 [14:28] oh thanks [14:28] but I did install libglew and everything [14:29] I'll try the command and brb [14:29] to build, one needs the -dev packages [14:30] oerheks: I can build a Linux binary [14:30] The error I get is even I try to build a windows binary [14:30] s/even/when [14:32] i have no clue how to build with glew, just finding that info [14:36] Yeah, it seems you need to recompile SDL2, and all the other libs to cross-compile onWindows [14:36] https://crankydev.wordpress.com/2016/11/04/setting-up-the-new-windows-bash-to-cross-compile-a-simple-directmedia-library-sdl2-application/ [14:45] unaehi all. sda1 boot full. I follow that guide: https://askubuntu.com/questions/502971/dev-sda1-boot-is-full but I get the same error: Try 'apt-get -f install' ... can you help me please. version : Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-79-generic x86_64) [14:46] DaVinciIT: show the outputs of 'df -h' and 'df -i' [14:46] !pastebin | DaVinciIT [14:46] DaVinciIT: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [14:47] df -h : http://paste.ubuntu.com/25326059/ [14:47] hi, i've created a snmp user but i cannot see the auth key in /var/lib/snmp/snmpd.conf what would you suggest? thanks. [14:47] df -i : http://paste.ubuntu.com/25326060/ [14:48] DaVinciIT: okay so /boot is indeed still full in terms of file system allocation [14:48] yes :( [14:49] sudo du -h /boot/* [14:50] DaVinciIT: ^ check what's consuming all that space [14:51] du -h : http://paste.ubuntu.com/25326076/ [14:51] initrd.img-4.4.0 * [14:51] looks like you have a lot of kernel images installed [14:52] dpkg -S /boot/* 2>/dev/null | cut -d: -f1 | sort | uniq | xargs dpkg -l [14:52] I try to purge but everytime, command go in error with Try 'apt-get -f install' [14:52] http://paste.ubuntu.com/25326081/ [14:53] i understand, we will work around it [14:55] I've got a problem where the display on my Ubuntu install starts getting funky over time. After a while, my second monitor stops working, then my window manager starts hanging (both problems happen in both Cinnamon and unity), then eventually my logon manager (lightdm, I think) starts hanging. [14:55] DaVinciIT: sudo dpkg --purge linux-image-4.4.0-62-generic linux-image-4.4.0-65-generic linux-image-4.4.0-66-generic linux-image-4.4.0-70-generic linux-image-4.4.0-71-generic linux-image-4.4.0-72-generic linux-image-4.4.0-75-generic linux-image-4.4.0-78-generic [14:55] this is going to take a while [14:55] afterwards you can run: sudo apt-get update; sudo apt-get -f install [14:55] I think in the past what I've done is that I've reinstalled the video drivers or uninstalled the nvidia driver in favor of something else. [14:56] Not sure if there's a more scientific way to track this down, though. I'm going to try to get a TTY so I can work from there. [14:56] tomreyn: thank you. I try [14:57] tomreyn: nothing to do .. http://paste.ubuntu.com/25326107/ [14:58] gh16ito: that's not specifically scientific, but you could check /var/log/Xorg.*.log for any (EE) records which indicate errors, then search these error messages online. you could also provide information on your current configuration here, maybe someone already knows this issue. lspci -knn | grep -A 5 VGA; lsb_release -sd [14:59] Yeah, usually once I can get to an error message I'm off to the races [14:59] DaVinciIT: sudo dpkg --purge --force-depends linux-image-4.4.0-62-generic [15:00] DaVinciIT: is your /boot still 100% ? [15:00] Is there a way to do a one-off boot into tty? [15:00] lightdm is crashing so quickly I can't even get into a TTY. [15:00] pavlos: nothing was deleted so far, so i'd think so [15:00] I figure maybe boot into recovery then open grub, but I don't know where to go from there [15:00] :) 95% http://paste.ubuntu.com/25326131/ [15:01] tomreyn: can I try with ap-get update ; apg-get -f install ? [15:01] DaVinciIT: maybe you need to delete some kernels directly from /boot, that will give room for apt and dpkg to work [15:02] DaVinciIT: old kenrels, not the one you run (uname -r) [15:02] DaVinciIT: i think pavlos is happy to help there, and he'll do so well. [15:02] tomreyn: thank you very much. [15:02] pavlos: thank you I try :) [15:03] welcome ;) [15:04] If a kernel module fails to load during start-up, how should I spot it in the logs? [15:04] In particular, I'm interested in the ones that fail due to missing or invalid signature for SecureBoot. [15:05] DaVinciIT: remove /boot/{abi,config,initrd.img,System.map,vmlinuz}-4.4.0.62-generic [15:05] pavlos: I've delete 3 version. now I've 74% occupied. can I try to run apt-get update and -f ? [15:05] ok I try [15:05] DaVinciIT: yes update should work now [15:09] pavlos : please, can you explain me (or suggest a link) , why old kernel stay there ? need I delete the previous one every time I install updates ? thank you. [15:10] usually after an update/upgrade, you do apt autoremove to clean up old kernels. It can be set to do so automatically [15:10] thank you [15:10] I see that "apt-get update" are re-installing old kernel (e.g. 62) [15:11] 'apt-get update' doesn't install anything [15:11] :) ok [15:11] "Unpacking linux-image-4.4.0-62-generic (4.4.0-62.83) ..." [15:12] k_size: here's an example of what it would look like under 16.04 LTS systemd-udevd[433]: Process '/sbin/modprobe nvidia-modeset' failed with exit code 1. [15:12] DaVinciIT: the kernels you have in /boot should be the same as in, dpkg -l | grep linux-image (to keep things nice and tidy [15:13] ok [15:13] k_sze: signature verification errors look more like this: kernel: [ 1.273379] nvidia: module verification failed: signature and/or required key missing - tainting kernel [15:14] tomreyn: I see. Thanks. [15:32] When I modify grub to boot in "text" mode, it still boots into lightdm, anyone know how to boot into a TTY instead? [15:32] Ctrl + Alt + F1 doesn't work because lightdm is crashing almost immediately. [15:33] gh16ito, sudo systemctl set-default multi-user.target ; reverse with sudo systemctl set-default graphical.target [15:33] Oh , it might be a systemd thing. [15:34] Aha, thanks ioria. [15:34] np [15:41] https://pastebin.com/MBu2tJh4 [15:41] I'm getting that when I try to install the "Guest Extensions" for VirtualBox under Ubuntu 17.04 [15:42] Is this channel ok to ask about weird behavior on ZESTY after I updated from TRUSTY? [15:43] Any assistance would be obliged. [15:43] washuu_de: no need for all caps. Did you go 14.04 -> 16.04 -> 17.04 ? [15:45] holgerdanske, the host ? [15:45] hey all [15:45] holgerdanske: https://maheshhika.com/2012/09/28/virtual-box-verr_pdm_media_locked/ [15:46] Basically reinstalling all my graphics drivers (as I apparently have to do intermittently now) fixed my problem. [15:46] so im using the "find" command with -type f and -mtime +14 to delete files older than 14 days [15:46] Thanks ioria and tomreyn [15:47] nacc: I installed 16.10 in a new partition [15:47] yet depsite today being the 16th of august [15:47] holgerdanske: also make sure the guest additions iso file is actually present on the host [15:47] files from august 1st are still there [15:47] what am i doing wrong? [15:47] gh16ito, you'r welcm [15:47] washuu_de: when? 16.10 is EOL. And what does that have to do with a upgrade? [15:49] LordDragon: +14 would imply 15 days (due to fractional rounding) [15:49] oh [15:49] hmm [15:49] how do i get modification date in ls ? [15:49] LordDragon: see `man find` doc on '-atime' [15:49] So, I'm trying to transfer a ubuntu install from one HDD to another, and I can't seem to get it to work. [15:50] using dd? [15:50] I've used Gparted to copy the partition and set the boot flag, but for some reason the new drive is still not working in the machine. [15:50] LordDragon: `ls -l` i think? [15:50] oh ok. i thought that was file creation date [15:50] LordDragon: i think it uses mtime by default [15:50] nacc: the drive with my root partition with Trusty is (hopefully only temporally) dead. So I installed 16:10 from a SVS [15:51] LordDragon: see `man ls` [15:51] LordDragon: -t sort by modification time, newest first [15:51] BluesKaj: No, the partition copy tool in GParted. [15:51] LordDragon: you can also use 'stat' instead of 'ls' to see all time stamps [15:51] Sinse 16.10 is unsupportes I updated online [15:51] tomreyn: +1, stat is more useful than the flags to `ls` imo as well [15:52] washuu_de: right, so you didn't upgrade from trusty to zesty. you installed yakkety and upgraded to zesty? [15:52] ok so theres no way to get EXACTLY 14 days then? [15:53] question about crontab. what happens if for some reason the machine is off during a time specific job [15:54] such as "00 00 * * * root command.sh" [15:54] im getting a firmware error to do with my cpu according to this https://ubuntuforums.org/showthread.php?t=2337563 i should download the file but mine isnt from kabylake skylake or broxton its from Sandy Bridge [15:54] true... My problem is that I get a few thousand messages into the syslog each time I reboot. There are also other problems. But I suspect Zesty doesn't work with Metacity. Is that true? [15:54] does it go the job upon boot after the fact? [15:54] go=do [15:54] LordDragon, it runs at the next time it is suppose to [15:54] Southern_Gentlem: ok so it would skip the job when the machine was off [15:54] LordDragon: presumable a ! -newermt