[00:00] Hello. I have a strange problem with my Acer C720's wifi. It finds my router (strong signal), it gets notice if the entered PW is wrong, but with the right password it doesn't establish a connection. I used my smartphone to verify it isn't the router itself. Any idea what it could be? [00:00] p.s. the router even appears to think the netbook is connected: [00:01] idx MAC Associated Authorized RSSI PSM Tx rate Rx rate Connect Time [00:01] 9C:D2:1E:85:61:71 Yes Yes -46dBm No 270M 43.3M 00:00:05 [00:02] (above connection drop after ~30 seconds or so) [00:02] *drops [00:05] Bashing-om [00:06] The following NEW packages will be installed: mysql-server-5.7 - when using autoremove [00:06] not what I want [00:07] Skyrider: Yeah . Not what you want . hummmm .. take the package manager's advise ' sudo apt -f install ' ?? not sure how that will turn out either . [00:21] How can I use version 4.8 of libstdc++6 on Precise? [00:26] zzo38: dont use precise, it's end of life [00:26] !eol [00:26] End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [00:26] I used -f Bashing-om [00:26] That's what it making wanting to install it [00:27] can I 'clear' the cache? [00:30] I can't even undo it? [00:31] <[n0mad]> Skyrider: have you tried what's recommended here, just not reinstalling at the end...https://askubuntu.com/questions/776845/uninstall-mysql-from-ubuntu-16-04 [00:33] if I'd purge mysql, will it remove my mariadb. [00:33] whereis mysql -> mysql: /usr/bin/mysql /etc/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz [00:34] I do not want to upgrade and mess up everything [00:36] zzo38: you would rather be insecure and not get any updates? [00:36] <[n0mad]> Skyrider: i couldn't tell you. the method in the OS would be to purge and then autoremove and autoclean, as is mentioned in multiple places on the web [00:37] <[n0mad]> Skyrider: you could probably find the answer to your question in #maria [00:38] nacc: I would rather avoid all upgrades and then selectively choose which packages I want to upgrade. [00:39] Hi guys, how can I wrap a long string in my .bashrc? [00:39] Vitruvia: I think you do by adding \ at the end? [00:39] Also, I am running OEM version of Ubuntu, in case that matters. [00:41] zzo38 I tried that but it didn't work so well [00:41] maybe I missed a detail [00:42] I mean I think it works fine for long lines but for strings I'm not so sure [00:43] sb levelclear -levels JOINS,PARTS,QUITS [00:43] >.< [00:44] zzo38: you really need to upgrade. to keep running any OS which does not receive security updates means you just ask for the (nowadays suffciently hostile) internet to take over your computer and use it to attack others. this can also become quite expensive when someone abuses your computer to do things which are illegal in your area and you cannot proove that it wasn't you. [00:46] EOL-OEM [00:46] :-D [00:47] I do have a router though, which specifies which incoming ports can be used. Also, I have various unusual configurations and want to be able to continue to use them. [00:50] zzo38: this is what backups, personal documentation and configuration management are for. sticking to an outdated, insecure system is not a solution, it is a problem. [00:57] the longer you wait, the more painful the eventual upgrade will be [00:58] zzo38: this is also why (most, i guess) people in this channel (and most likely elsewhere), as you have surely noticed by now ;) , are not going to support you with anything but upgrading (or reinstalling) your system so it gets security support. you are putting your personal data (and any other peoples' data you have stored on your computer or access from this computer) as well as the Internet at large at risk by trying to picture yourself in a [00:58] secure world where you'll be protected because you have some firewall in front of you. it won't help, not if you use any of those outdated softwares on your computer with anything on the Internet. Trying to ignore this situation is just irresponsive towards yourself and - worse - others. === Wulf4 is now known as Wulf === coffeeguy is now known as zenguy [01:46] in short, firewalls don't help with software that makes outbound connections. Only software updates do. [01:46] I do at least know where I kept all of my files in three different directories (and all subdirectories), as well as a few additional configurations such as /etc/aliases and /etc/apache2/ and /etc/exim4/ but I also hexedited one of the .so files used by Firefox. [01:46] Kitlith: That is true, yes. [01:47] Actually even when I purchased this computer, it was not the newest version, and they mentioned to not upgrade it (possibly due to hardware issues). [01:48] I cannot answer all of my question about upgrade anyways, too [01:49] And I do not want Wayland; I want to use X [01:49] Who did you buy it from, so that we can smack them in the face (or at least can point people away from them)? [01:50] What reason do you have for specifically wanting X over wayland? Application breakage? [01:51] X is a better system than Wayland [01:51] Ahh, so me with systemd. Understandable. [01:51] (I also use xterm) [01:52] There is a compatibilty layer, so most if not all x applications should be able to run under wayland, iirc? [01:52] (https://wayland.freedesktop.org/xserver.html) [01:53] Maybe, but, I still don't like Wayland so well, X is just a much better design (although a lot of worthless extensions have been added on) [01:54] I don't have any comments on X vs Wayland, personally, but I will say this: Is it worth being insecure and staying on ubuntu to keep using X? [01:56] Anyways, what are your other questions about the upgrade? [01:56] I could even just install X and uninstall Wayland if I wanted to I suppose. I don't like much of the new widgets either; I think Xaw is good. [01:57] Kitlith: Various stuff, about how to avoid changing software to incompatible versions, to avoid changing configuration files, etc. [01:58] That... will be on an application by application basis. Are you sure you don't want to run CentOS/RHEL? [01:59] Yes I did think also of possibly selecting a different distribution, but then it involves other questions. [01:59] I am not sure if CentOS will be better or not, actually [01:59] Ubuntu is just what the computer came with. [02:00] I only asked that because they seem to focus heavily on what your concerns seem to be. [02:01] (idk about X vs Wayland, I just mean stability and only upgrading what needs to be upgraded.) [02:03] Point is, I think it'd be better to upgrade in some way than to remain insecure. Whether it's to later ubuntu or another disctribution. [02:03] I use X core fonts and do not like the newer blurry and overkerned fonts. [02:07] I'm glad to assist in whatever way I can, just keep in mind that there is a point where we're off-topic for #ubuntu, and you may want to start PMing me. [02:08] I actually do use all of the X stuff mentioned in the Wayland FAQ that they say is no good, and would rather avoid FreeType, Pango, etc. [02:11] So I wanted a bit different one which I proposed which is just a new version of X, very close to X11, although some features are removed (mainly such things as the ability for clients to change configuration settings such as the font path and the access controls), and a few new stuff such as 3D coordinates and a modified system of visual classes and two new flags for the font loader (EnableLigatures and EnableAntialiasing, both off by default). === KindTwo is now known as KindOne === r0Oter is now known as r00ter [02:20] I'm watching netflix and getting a black screen while I watch, because I guess the keyboard is quiet and it wants to save energy ? It's not a laptop [02:22] xjkx: which browser? [02:22] xangua: firefox [02:23] Ooh screen turning off [02:23] Yes [02:30] So, what's the best, lightweight, ubuntu-based distro? [02:35] strive, Lubuntu is supposed to be light, since I like xfce I'd use xubuntu... oh, wait. The lightest of them all is going to be a minimal install of Ubuntu server. :P [02:35] Makes sense. [02:36] Kitlith: Thank you. [02:36] other than lubuntu and ubuntu server, it really just comes down to personal preference. [02:37] I'm sure there's better options, but those are what come to mind. [02:37] Sounds good. [02:37] Thanks again. [02:38] so my chromium isn't working for google maps (as normal user, as incognito it works fine). I get 400 errors for many many many requests [02:38] any idea on how to debug this === yanome is now known as yn [02:43] How are ya all doing tonight? [02:47] hi all :) i'm trying to use ufw :\ here's my status numbered: http://ix.io/yfa -- but it seems like rule #8 is not taking effect. any ideas? [02:51] actually, one strange thing about this is that i don't have a deny rule anywhere, so why would "ufw disable" suddenly allow packets through [02:52] oh, i guess the "defaults" aren't listed in ufw... man ufw is confusing... [02:52] so much for "uncomplicated" [02:54] oh, i guess the packets aren't getting through just because tcpdump sees them [02:56] what is the origin of kernel mod asus_wifi? [03:01] ...I had a boyfriend named "ubuntu" once [04:01] Is it possible to install a single package from 16.10 while I'm on 16.04? [04:05] !backports | guzzlefry [04:05] guzzlefry: If new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging [04:07] how do I installed ubuntu on a windows box that has secure boot to end up w/ dual boot. windows + linux? [04:08] hanasaki: Someone might have a better answer, but I'd just run Ubuntu in a VM. [04:10] guzzlefry: I may run win in a vm LOL. just don't want to totally wipe win off the pc [04:10] anyone know if the rt8152 can do gigabit? looks only 10/100 to me [04:15] !dualboot | hanasaki [04:15] hanasaki: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [04:46] HAPPY 4RTH OF JULY EVERYBODY! AMERICA RULES! FREEDOM RULES! CHOLBY RULES! [04:57] this is what I got when I ran "apt-get upgrade -y" https://apaste.info/oH6b on this 16.04 setup https://apaste.info/ugY4 how do I get past these errors? === zenguy is now known as buildingAsentry [05:03] kill blueman? or dig thru here? https://journalxtra.com/linux/fixing-the-dreaded-errors-were-encountered-while-processing-errors/ [05:04] no pid running [05:04] "kill == uninstall [05:05] k [05:06] it's not installed.....apt-get remove blue(tabcomplete didn't pull anything up) === Jochen_wvdT is now known as Schlawiner [05:12] this didn't fix it - sudo apt-get upgrade --fix-missing I tried [05:14] where are downloaded pkg's go from apt-get guessing the blueman package is there and if I just remove it poof? [05:14] https://www.youtube.com/watch?v=RG6EOci0suI [05:17] running ubuntu amd64 16.04 desktop on laptop with i3-4005u cpu. no dedicated gpu. how can i tell if i have hardware accel enabled? i followed this guide. http://www.binarytides.com/linux-get-gpu-information/ but the comments at the bottom are basically saying that guide is no good no more [05:17] heh, Key & Peele are the best [05:18] donofrio, looks like blueman didn't install [05:18] if you scroll to the bottom of about line 285 [05:18] it's neither installed nor uninstalled [05:19] did you try a sudo dpkg --configure -a [05:21] related, but mildly offtopic, Kats Williams is the bomb [05:26] any of you who have seen a ubuntu installation trying with TCP53 several times before giving up and try UDP53 for dns queries (even small ones) ? [05:28] hmmm Apachez if I remember correctly isn't DNS using UPD and if that fails it goes to TCP [05:28] okay did a quick google if the DNS query is large it uses TCP [05:29] https://serverfault.com/questions/404840/when-do-dns-queries-use-tcp-instead-of-udp [05:29] sirru5h: yes, but now I have a ubuntu box (this happens when using java who is trying to verify codesigning) who is trying tcp53 several times before giving up and then try udp53 (and get a quick reply from the server) [05:29] this gives that this java app takes minutes to startup [05:29] because the client cannot reach the dns server over tcp53 (out of my control) [05:31] so either its something in ubuntu (systemd?) who is misbehaving or its the java who is misbehaving (dunno if java would query itself or if it would go through the system settings because ubuntu today points dns queries to itself so I guess both java and systemd is to blame - but question is how to fix this?) [05:32] hmm that's interesting [05:34] could it be some "force dnssec" setting somewhere? [05:35] so systemd-resolver/java goes "lets try tcp" "lets try tcp" "lets try tcp" ... "lets try tcp" ... "oh fuck, tcp doesnt work lets try udp instead" and gets an answer === buildingAsentry is now known as zenguy [05:36] hi, when executing apt upgrade i get an error for dpkg https://paste.ubuntu.com/25016425/ anybody to help me? [05:37] hello. seem to be having some issues setting up encrypted volumes during ubuntu install. i downloaded the desktop iso from the releases page (LTS). Should I be using a text installer to get this? Kinda need crypt-dm. [05:38] since it wants to install from the live boot, which likes to mount things randomly, it appears there are some quirks. i do not want a livecd. i want to install. [05:41] Apachez, hmmm that is weird because usually for larger packets tcp is used with dns small stuff its usually tcp [05:41] that is true Apachez I was also thinking DNSSEC [05:43] giving the latest fuckups of systemd I wouldnt be surprised if systemd is to blame for this [05:44] is there a "text mode" for the installer? [05:44] seems like if some app queries 127.0.1.1 over tcp systemdresolver will use tcp outbound [05:44] but dunno how it behaves if something query systemdresolver over udp and its a large query or dnssec? [05:48] trying to use the newest ubuntu, no ports other than ssh are available, if I go to localhost via links, I see http server, if I try to port-forward, nothing works, is there any new special stuff in ubuntu-server 17.04? [05:48] I dunno Apachez usually it routes dns to the gateway [05:49] ha. yeah it fails to mount / if it is encrypted even if you have encrypted swap and an unencrypted /boot [05:49] in fact something is preventing any partition table updates from being read by the kernel [05:51] Apachez, so this is a java app that needs to connect to a server remotely right like this isn't your app that your are hosting hence why it is pointing to your machine to resolve DNS? [05:52] mic check [05:52] testing if my client is sending messages [05:53] test [05:55] sirru5h: you have a clientbox, this clientbox runs ubuntu, the clientbox then tries to start a javaapp, this javaapp is codesigned so a couple of dns queries will be fired [05:55] running tcpdump locally on this clientbox shows me that the clientbox attempts tcp53 for dns queries several times before giving up and then use udp53 [05:56] test [05:56] reason for why tcp53 fails is that this is blocked elsewhere in the network out of my control [05:56] test [05:56] so the java app double checks the signture making sure the application has integrity [05:56] so question is why this ubuntu box tries tcp53 instead of udp53 ? [05:56] test [05:57] sirru5h: yeah you can see that the queries made (once it use udp53) goes to find out crl, ocsp etc for the CA who signed the cert which the javaapp is signed with [05:57] test [05:57] so turns out I have 3 prime suspects: systemd-resolved, dnsmasq and java itself [05:57] test [05:58] so question is who to blame or rather where the fix might be [05:58] and if somebody else in here have seen such behaviour? [05:58] test [05:58] Phanes: yes shutup now ;) [05:59] THANKS FOR ACKNOWLEDING [05:59] Apachez, hmmm why not run tcpdump and see where the packets are failing at [05:59] I did [05:59] I see several tcp53 syn [05:59] on to actually ubuntu related issues, anyone know how to get dm-crypt working on the desktop installer? [05:59] who fails because its blocked elsewhere in the network [05:59] hm hence how you know it's shooting to your machine for DNS [05:59] perhaps 10 or so [05:59] and THEN I see a udp53 [05:59] which gets a quick reply from the dns server [06:00] and this repeats for every domainname java tries to resolve [06:00] wow thats odd [06:00] which is why it takes 1-2 minutes to start this javaapp [06:00] sounds like a ##networking issue [06:00] na, the network is fine [06:00] it just blocks tcp53 [06:01] but this shouldnt affect small queries as these are [06:01] so the issue is ubuntu related [06:01] you know just a crazy thought maybe company is blocking tcp dns to prevent xfil of data I wonder if through cli you can send a tcp packet on port 53 [06:01] because other operating systems sitting at the same spot of the network works [06:01] see if that goes through [06:01] because they will use udp53 directly and never ends up with this retries for tcp53 before giving up and THEN try udp53 [06:01] sirru5h: nope its blocked, verified with dig [06:02] ....no one's using encrypted volumes? [06:02] so again why does ubuntu (or if its systemd-resolved, dnsmasq or java) attempt tcp53 when its supposed to do udp53 at first attempt? [06:02] Phanes: sounds like a ##encryption issue [06:02] ahhh hmm that is odd [06:03] it is actually a bug in the official installer for ubuntu [06:03] no shit :) [06:03] if there is a better, more on-topic channel focusing specifically on ubuntu I can ask there but am not sure what channel that is [06:04] your issue looks like networking (firewall, et al) [06:04] that would mean the java app they coded it to use a tcp socket ... [06:04] for dns which is usually upd [06:05] that'd be bonkers [06:05] now this is interesting: http://paste.silogroup.org/pimusebewi.md [06:05] seems to be an MBR v. GPT thing [06:06] https://github.com/cpriego/valet-linux/issues/7 dunno if this is related [06:06] sirru5h: its not the javaapp itself who does the codesigning verify, its java itself who does this [06:07] but dns flows in ubuntu is a mess nowadays [06:07] Yeah I understand that but it'd be bonkers that first thing they open sockets for DNS resolution is Tcp [06:07] application -> resolv.conf -> dnsmasq -> systemd-resolved -> nic -> [06:07] and when I run tcpdump it hooks on whats passing the nic [06:08] yeah and I doubt java itself would query the external server [06:08] because java can only see whats in resolv.conf [06:08] Apachez, yeah I hear you I just came back to ubuntu a few months back [06:08] and that says 127.0.1.1 [06:08] which is dnsmaq [06:08] however [06:08] if java uses tcp to query dnsmasq then I would assume dnsmasq would just forward that as tcp [06:08] I flipflop between ubuntu/debian/slackware [06:08] and if java uses udp to query dnsmasq I would assume dnsmasq would forward that as udp [06:09] however... [06:09] what if you query a large question through udp to dnsmasq [06:09] will dnsmasq transform that udp query into a tcp query? [06:09] and if so is this what happens in this case even if the query is small? [06:09] I think over 4096 it uses tcp [06:10] yeah and the queries are more like <100 bytes [06:10] remember that upd was meant for small queries [06:10] ok. so the installer is not rereading the partition tables after changing them [06:10] so the output from tcpdump is that I see multiple (one after another) syn requests go out for tcp53 [06:11] and after like 10 or so attempts I see a udp53 attempt (who directly succeeds and answer is returned from server) [06:11] can I tcpdump a specific pid? [06:12] like hooking onto whatever network traffic java is attempting? [06:12] to rule out if its java who is trying these tcp queries before giving up and give udp a go? [06:12] I got a .sh script in my /home/myusername/script/myfilename.sh ... how do I make that accessable from anywhere? ln -s ~/ /home/myusername/script/myfilename.sh or something? [06:13] mmmm [06:13] hang on that might be an options [06:14] "After some digging it turned out to be an issue with DNSSEC. The current version of systemd-resolve seems to expect a working DNSSEC config of your DNS servers. Not signed replies are rejected. Had to add DNSSEC=off to resolved.conf" [06:14] looks like another suspect [06:14] however regular queries (like when the browser tries to resolve something) seems to work [06:15] does the java application use a special port [06:15] you can always filter for a special port [06:16] Apachez, https://stackoverflow.com/questions/7842533/how-can-i-capture-network-packets-per-pid [06:16] well it should use dstport 53 :P [06:18] tnx, will try that when I get access to the client [06:18] will also try that disabling dnssec in systemdresolved to verify if that somehow misbehaves [06:20] Cool Apachez let me know how that goes [06:20] and good luck Apachez [06:20] tnx :) [06:24] Np sorry I wasn't more help [06:53] seems like systemd-resolved was compiled with dnssec=no [06:56] ha Apachez interesting [06:56] well that would eliminate dnssec as an issue [07:13] is there a tool that lets me define from which level up to which level my laptop battery shall be charged? [07:17] hmm emx laptop batteries and phone batteries are not the same as say a flashlight battery [07:18] if they are constantly not charged to full they bascially forget how much charge they are supposed to hold and battery performance will degrade [07:19] hello all [07:20] Hello yellabs-r2 [07:20] i am using skype beta on ubuntu , it alway's asks for password with keyring manager, is there a way to avoid that ? [07:20] sirru5h, which type of batteries are you talking about? NiMH, LiPo, others? [07:21] emx: i don't have an answer but am curious what the purpose of such anthing would be [07:22] emx, iirc ion [07:22] wedgie, expand battery lifetime (not "how much work can i do with one charge" but "how many times can i charge the battery and still can work for more then 4 hours with one charge") [07:28] I fail to locate - from where is dnsmasq started in ubuntu 16.10? [07:30] isn't it in /etc/dnsmasq.d [07:30] double checking [07:41] nope [07:41] there is only network-manager file [07:41] perhaps thats the config? [07:46] http://manpages.ubuntu.com/manpages/zesty/man8/dnsmasq.8.html [07:46] sorry Apachez working on reports for work man [07:51] yes but who is starting it? [07:51] no entry in /etc/init.d [07:56] hello, I installed ubuntu 17.04 and evolution, added my dns server to /etc/resolv.conf & network manager connection, host can resolve, but evolution can't resolve [07:56] hey guys, i'm trying to update my system all packages installed succesfully, but with the linux-* packages it says i'm out of disk space https://bpaste.net/show/266e31392a08 but when i check Computer properties i says i still have 6 GB left .. what could be wrong here ? [07:56] anybdy knows there evolution takes it's dns settings? [07:57] ph88, show "df -h" command output from terminal [07:57] ok [07:57] i did sudo apt autoremove also it cleaned out 2 GB [07:58] ph88: It uses a different partiion for kernels and things it uses to boot. [07:58] ph88: See https://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu [08:00] ok thx guys [08:01] Apachez, I think systemd [08:03] Apachez, I'm looking at the github page right now ... [08:07] hi everyone, my "file" command only ever gives the error message "file: could not find any valid magic files!". man pages says magic.mgc file is in anaconda folder: anaconda3/share/misc/magic.mgc. anyone have any suggestions? [08:08] https://help.ubuntu.com/community/Dnsmasq [08:09] i use tmux with set -g mouse on.. if I copy text with shift it is only available to paste with shift+ins.. how do I make it copyable outside of the terminal? [08:10] sirru5h, is it for me? [08:12] I guess this question must pop up a lot but I just rebooted and the system tray icons are gone. How do I fix that? === jstein_ is now known as jstein [08:14] thofte: What does `file /bin/sh` say? [08:14] Hi, I asked in here yesterday about a patch for intel skylake processor. [08:14] hi chai, thanks for the response. it gives the same error message [08:15] Just wanted to mention that the patch was in the apt-get repo for the distro as installed, applied now and appears to be fine. [08:15] it always just says "file: could not find any valid magic files!" no matter what file I apply it on [08:15] nerfur, no that was for Apachez [08:16] thofte: What does `which file` say? [08:16] sirru5h: unfortunately that seems like outdated info [08:16] there is no /etc/dnsmasq.conf as a starter [08:16] nerfur, I scrolled up oh man another DNS with issues [08:16] ouch... [08:16] anaconda3/bin/file, it uses the anaconda distro [08:17] well ~/anaconda3/bin/file [08:19] thofte: You might get better help in #python or something like that. [08:19] thofte: Assuming that Anaconda is the Python distribution. [08:20] aye it is [08:20] Apachez, https://askubuntu.com/questions/842380/dnsmasq-why-is-this-running ... Network-Manager uses it to cache DNS Locally and Network-Manager is called upon by systemd [08:21] it seems weird to me that a core linux command like file would use a version that comes with anaconda, but I suppose it has to do with the python magic libs I use [08:22] anyway, thanks for the advice, I will try [08:22] thofte: The user's home directory can contain a bin directory. If it does, the files in it are used before the system files. [08:23] thofte: If you want to prevent that, move the distribution to some subdirectory of the user's home directory instead. Then, its bin directory won't be ~/bin.. [08:23] ah right. but it's not ~/bin though, it's ~/anaconda3/bin [08:24] thofte: Ahh, misread what you wrote. I think the ~/anaconda3/bin must be in your PATH ahead of the system bin directories. [08:25] yes, it's in first spot [08:26] thofte: You can try moving it to the end instead. [08:27] That said, I now see that all the search engines have disappeared from firefox, that is strange. [08:27] can anybody give me default ubuntu 17.04 string for "hosts" in nsswitch ? [08:28] nerfur: Do you mean /etc/hosts? [08:29] I mean hosts: .... in /etc/nsswitch.conf [08:31] nerfur: Here's my untouched since installation file: http://lpaste.net/356665 === jackNemrod_ is now known as jackNemrod [08:35] ChaiTRex: I moved anaconda3/bin to the end of PATH, but ofcourse that changes the python version being used, so my scripts no longer works, but file works as expected now :D [08:36] so your first suggestion was probably right, I'll head on over to #python to see if anyone can help [08:36] but thank you, though [08:36] hi, anyone know the cause of this error in the auth log: pam_ftp(ftp:auth): conversation failed [08:38] thofte: You're welcome. === jackNemrod_ is now known as jackNemrod [08:42] Greetings all. [08:42] Was hoping I could get some help from yesterday, I went to bed ^_^ [08:43] "I accidently attempted to install mysql-server and got " mysql-server : Depends: mysql-server-5.7 but it is not installed" .. how can I undo it?" - if I attempt to do sudo apt-get -f autoremove, it 'attempts' to install mysql-server.5.7, and removing the package says its not installed. [08:45] ChaiTRex: thanks [08:46] oh, I had accidentally switched to gnome or something [08:47] Skyrider, sudo dpkg --purge mysql-server, and then sudo apt-get install -f [08:54] nerfur: You're welcome. === jackNemrod_ is now known as jackNemrod [09:16] " It's from dnsmasq-base. This version of the package doesn't include the server-start-up scripts that the dnsmasq package does." [09:16] bah! [09:16] it was better back in the days without this systemd and networkmanager mumbojumbo [09:20] hi all [09:20] I need help with a live usb that I'd like to be persistant [09:20] I've created it on a Mac with unetbootin [09:20] the capser-rw file is present on the usb [09:21] I boot under ubuntu, change the screen resolution, then reboot [09:21] but the screen resolution is not saved [09:21] any idea on what I am doing wrong ? [09:41] hi all. I am looking to migrate to ubuntu from windows and was wondering if there's anyone here who has done something similar. My work does involve use of MS office quite often so i will need something that can perform similar tasks whilst enabling me to seamlessly work with files created on ms office by other users [09:41] thanks in advance [09:44] ZN_t: libreoffice, or the web versions of office online, or google docs [09:45] ZN_t: for office compatibility you could try playonlinux which uses wine. libreoffice is good but not 100% [09:49] sudo dpkg --purge mysql-server, and then sudo apt-get install -f completely wiped my mariadb.. [09:49] ZN_t: I use libreoffice just fine [09:49] Why is it so hard to UNDO a stupid apt-get install [09:49] you can add microsoft icons if needed [09:49] otherwise you got wps which is like a ripoff of office2013 [09:50] Ugh... [09:50] Sometimes I hate linux for being so damn complicated. [09:51] I merely 'wanted' to undo the mysql-server installation as mariadb was already installed.. mysql-server wasn't installed yet due to dependencies. But it kept whining after every apt-get command I do. [09:51] Yet for odd reasons, you can't undo that. [09:53] 1. backups [09:53] Oh, I made backups as I didn't trust this.. [09:53] Doesn't change the fact that you can't undo a simple apt-get command [09:53] sure you can [09:53] Any ideas why the intel-microcode patch might disrupt my firefox sync? [09:53] Do tell [09:53] depends on the command [09:54] apt-get install mysql-server while mariadb was already installed. [09:54] But due to "dependencies" it never installed. [09:54] https://chaturbate.com/b/viltiesvance/ [09:55] free webcam show :) [09:55] male based [09:55] free [09:55] enjoy [09:55] Vilties: no. stop [09:55] too late [09:55] its done! [09:55] Which is good, actually.. but after every apt-get install command (non mysql related), it kept 'attempting' to install mysql-server. [09:56] Vilties, and now that you have been silenced --- please take your pervy porn spam crap out of here. unwelcome and off-topic [09:56] thats one thing that i can't understand. linux does most things better than windows except have a better office suite. [09:57] ZN_t: that's not true [09:58] ZN_t, many *nix suites are "better" --- they're just not widely used. Plus, MSoft introduces features with each release which may/may not be back hacked thus leading to compatibility issues [09:59] ok. [10:00] i guess its the compatibility issue then. integrating into a corporate environment that widely uses msoffice. is anyone here using the office online offerings ? [10:01] that's not really on topic here, but i'm sure microsoft's online stuff is compatible with the desktop stuff [10:01] Ben64 - apologies for that [10:02] no worries [10:04] regarding security - how vulnerable is ubuntu to ransomware attacks ? is it more easily secured without compromising ease of use i.e. web acccess etc. [10:06] ZN_t, less of a fat target than windows so less frequent attacks. I've found that enabling firewall, setting my browser to default incognito mode and only using a low standard desktop account for daily driving has resulted in 0 breaches over the past 5 years [10:06] YMMV [10:07] don't install stuff from random places, don't run things you don't know what they do, don't have java enabled on your browser and you should be fine [10:07] oh, and if you have ssh enabled, keep it to key auth only [10:08] ok [10:08] thats promising. im contemplating a dual boot. [10:08] with totally seperate drives for each os. [10:10] many of use dual boot in one form or another. personally, as I only ever fire up win7 once or twice a year, it lives happily within ubuntu + vbox [10:11] hows the resource usage in vbox ? besides office i might need to run visual studio which is a resource hog. Is gaming advisable in vbox ? [10:12] ZN_t, limiting factors = amount of ram supplied to the virtual machine. also consider that virtual graphics is nowhere near as spiffy as actual gpu [10:15] hey guys i feel a bit like i have millions of iptables saved configs dotted around heh. /etc/iptables.rules, /etc/network/iptables.rules, /etc/iptables/ipv4.rules, etc [10:15] what's the story? do they get merged together or something? [10:18] i see no firewall rules in /etc/interfaces, but the machine does have iptables-persistent installed [10:20] er /etc/network/interfaces sorry [10:28] There is an issue in my application of this patch; Is anyone interested? [10:28] I guess there is some channel for filing bug repports? [10:28] !bug | mrig [10:28] mrig: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [10:29] ubottu: Thanks. [10:29] You're welcome! But keep in mind I'm just a bot ;-) [10:29] ubottu: Well you are more polite than many humans on irc :P [10:29] mrig: I am only a bot, please don't think I'm intelligent :) [10:30] lol === jackNemrod_ is now known as jackNemrod [10:45] Hey folks [10:54] slightly off topic but is there anyone from south africa here or is there a seperate ZA ubuntu channel ? [10:55] !africa [10:56] ZN_t, irc channels can be searched for language but I believe geo location is out [10:56] hi, has anyone seen this error in "pam_ftp(ftp:auth): conversation failed" in auth.log? filling up the logs [11:15] hi [11:27] I have this problem on 17.04. Some icons won't appear in system tray eg slack. So when I added export XDG_CURRENT_DESKTOP=Unityto /etc/enviroment then half the control panel icons disappear. How to fix this without breaking the other? [11:31] mistralol, http://www.dangtrinh.com/2017/04/fix-slacks-icon-tray-missing-in-ubuntu.html [11:32] ioria: yeah wanted a fix for all apps for trays not one at a time ;) [11:32] mistralol, oops [11:32] i guess i can do the same for each app [11:32] maybe [11:33] but how do you know the app actually appears in the tray in the first place when you have never used it before :) === jackNemrod_ is now known as jackNemrod [11:35] mistralol, you don't edit the /etc/env , just the /usr/shate/app . desktop file [11:53] sirru5h, I tried here is what i got....https://apaste.info/THAb [11:53] this is what I got when I ran "apt-get upgrade -y" https://apaste.info/oH6b on this 16.04 setup https://apaste.info/ugY4 how do I get past these errors? [11:57] anyone know how I can get around this pkg error? === dmitris is now known as kirsikas === KindTwo is now known as KindOne [12:09] Recently switched from xfce to openbox. Looking at uninstalling xfce completly. Can anyone here tell me how I can completly remove xfce but then after reinstall all the default ubuntu settings panel ?? [12:10] Install was done through netinstall .iso and would like to use only openbox but still have access to regular ubuntu settings menu. [12:10] laceylaney, the xfce panel and ubuntu (unity) panel are 2 different things. [12:10] adding a desktop is no problem, removing one can be a pain. there is no guide anymore like !puregnome or !purekde, i suggest clean reinstall [12:10] I know they are lol [12:11] Ok so if I do a clean install what do I need to install to have access to ubuntu settings ?? [12:11] 'ubuntu settings' or openbox?? [12:12] why mixing those 2, unlogical [12:12] illogical? [12:12] I want to use openbox so won't be installing a desktop. Yes ubuntu setting.... You know like the window that gives you access to install drivers, appearance etc etc [12:13] laceylaney, if you want that tool, keep xfce [12:13] no desktop? so ... a server environment?? [12:13] (it is not an independant package) [12:13] Nope no desktop as such, just openbox. [12:13] not even a server just like openbox ^^* [12:16] https:/i.stack.imgur.com/PsryW.png [12:17] That link shows the system settings that I would want to install and access through openbox... [12:18] That systemsettings comes with the whole core of xfce .. so make your choise, keep xfce+settings or go for openbox clean [12:19] so there is no way to just install the system settings on their own ?? [12:19] laceylaney, you can try unity-control-center or gnome-control-center , but it gets a lot of deps [12:20] that is what i just explained, ioria [12:20] oky [12:20] hmmm I see. I may have a look into it. thanks for the heads up though ^^* [12:21] I'm aiming for a really mimimal system so I may not install either lol. [12:22] cleaning out a desktop will be easy in the future, if all packages are snap [12:22] yea that is true ^^* [12:22] !lubuntu | laceylaney [12:22] laceylaney: lubuntu is Ubuntu with LXDE instead of !GNOME as desktop environment, which makes it extremely lightweight. See https://wiki.ubuntu.com/Lubuntu - /join #lubuntu for lubuntu support. [12:23] Ahhh yea lubuntu.... That completly skipped my mind lol. Thanks soooooooo much ^^* [12:23] or xubuntu for that matter , and setup openbox. [12:23] laceylaney, lubuntu will give you openbox, btw , it's its wm [12:23] xubuntu with openbox is almost what I have now lol. [12:23] Yes I have used lubuntu before. [12:24] Don't know why I didn't think to give it a try lol [12:24] Anyway thank you all for the help and heads up. I'm off to install lubuntu on this system ^^* [12:24]  [12:24] laceylaney, i suggest tint2 with ob [12:25] tint2 is what I'm currently using ^^* [12:25] oky [12:25] couldn't get yabar or some of the other bars to work properly lol === ledeni_ is now known as ledeni [13:02] Hi guys, a server is running Ubuntu and on port 3000 there's an angular app. Where are the files related to the app stored on the server? Using ls -A I could see that there are only some hidden directories on the server [13:03] hey, er any help with this?: cups-browsed: Segmentation fault (core dumped) [13:04] guysoft42: provide more information: package version, ubuntu release version, are you fully patched? [13:05] tomreyn, ubuntu 17.04. cups 2.2.2. its from the package repository. also tried apt-get source and building, same result [13:05] PhysicsSucks: i'm not into angularjs, but i think content is served by npm? you would review the configuration of whatever is listening on this port 3000 (to find out: lsof -i :3000) and see where it serves it from. [13:08] when I create a zip file, it adds a folder in the zip file called "home" containing the directory structure to the files in the zip, how can I prevent this? [13:08] guysoft42: "2.2.2" is not the version of the cups-browsed package (which contains the cups-browsed binary). however, it's true that the other cups package versions also matter. use: dpkg -l cups-browsed cups-daemon cups [13:09] tim167: how do you create the zip file? [13:10] tomreyn, right-click on a selection of files and choose "create archive" in menu (Thunar, I think) [13:10] yes the file manager is Thunar [13:11] tomreyn: I got a message "Unknown protocol name 3000" [13:11] tim167: can you show an example with a screenshot? you could upload it to imgur.com [13:12] PhysicsSucks: you missed the : [13:13] "lsof -i :3000" would be correct, "lsof -i 3000" (which i assume you typed) is not. [13:14] tomreyn, http://imgur.com/YDKSBHI [13:15] tim167: and the 'home' directory inside the zip contains what? [13:16] tomreyn: thanks [13:17] tomreyn, the directory structure leading to the files you see below, which in this case is /home/me/Desktop/test.zip [13:17] hmm, are you running file-roller (the archiving utility) as root there? that's maybe not a good idea. i would recommend to resort to the comand line for this purpose. [13:18] tim167: which ubuntu release is this? lsb_release -ds [13:18] tomreyn, not as root afaik [13:18] tomreyn, Ubuntu 14.04.5 LTS [13:19] okay i just misinterpreted the 'location' sown on your screenshot. [13:19] *shown [13:20] I thought this feature is exclusive to windows <--- http://imgur.com/a/0Wf6Z [13:20] was* [13:20] hmm, i'm afraid i really don't know then, tim167, i also use thunar and file roller and i used to use it on 14.04 for a good while, but never had this happen. [13:20] tomreyn, hmm, thanks anyway, it just started happening recently, never had that before [13:20] tim167: you could try running thunar from a temrinal, this would enable to view its output there, which can contain error messages. [13:20] Scoop7: Compiz? lol [13:21] Hello. I'm trying to ssh to an ubuntu livecd. ssh was installed on the server, a password for user "ubuntu" was set, but when I try to login on ssh server using username ubuntu and password, I get "Access denied" [13:21] ubuntu is the default username for 16.04 livecd right ? [13:21] nzoueidi: nah my ubuntu 16.04 just stopped working [13:21] yep kaili, an ssh -vvv would give you much better details. [13:22] in windows style [13:22] Weird. [13:22] kaili: check /var/log/auth.log on the ssh server [13:23] to be fair that only happened to my second screen, the main laptop screen stayed the same(but unresponsive as well) [13:24] I see, what DE are you using Scoop7 ? [13:25] by DE you mean ? [13:26] hi, seeing this in auth.log: pam_ftp(ftp:auth): conversation failed. Anybody know the cause? [13:27] need to restart my ubuntu because the problem won't go away, lol [13:30] tomreyn, I get no output from simply running thunar from terminal, it gives me back the prompt, promptly... [13:31] tim167: you'd need to find out which command tuhnar runs when you create the zip file using context menu. it will be something including "file-roller" once you know this command, you could run it from a temrinal and see whether errors are reported. [13:36] tim167: it should be something similar to: file-roller --default-dir=/home/tim167/Desktop --add /home/tim167/Desktop/Some_Folder_on_Yopur_Desktop [13:38] tim167: run "ps auxw | grep file-roller" after selecting the command from the context menu (which brings up the prompt about how to archive it) to see the very command. [13:38] I got in, thanks you [13:39] Can anyone paste me the default ubuntu 16.04.2 /etc/rsyncd.conf please ? [13:42] kaili: which package does this beloig to? [13:42] https://packages.ubuntu.com/xenial/amd64/rsync/filelist does not list rsyncd [13:43] hm tomreyn : the fact is I tweaked some stuffs in rsync and it crashed my full server, lost all ssh access, samba access, etc [13:43] Now I'm on my server running a livecd and I access the hard drive through the livecd [13:43] So I'm checking my bash history to see what might be wrong [13:44] Thanks for the link, checking other files I have edited [13:44] I also edited /etc/default/rsync it seems [13:44] kaili: so, your sevrer is now running the ubuntu 16.04 x86_54 live dvd, and you ssh into it from a different computer, is this correct? [13:45] tomreyn: yes, even from another country through a mobile on a 4g connection :p [13:45] * x86_64 [13:46] i see. hopefully you weren't running samba on the internet? [13:46] I didn't do much but 3 things might be wrong : I edited /etc/default/rsync, created /etc/rsyncd then rm it just before reboot and I also sudo apt-get upgrade before reboot [13:46] tomreyn: no it was on the local network [13:48] so 'some stuffs [you] tweaked' may have somehow caused your server to fail somehow. you might want to review its system logs to get a better idea of what happened. [13:49] tomreyn: I'm on it, any idea where to start ? It seems ubuntu from hard disk even lost control of usb keyboard and mouse according to people in the place [13:49] I can't remember what was upgraded, but I remember it was just a few packages, some related to sound system... nothing so terrible [13:49] i'd start with /var/log/syslog - checking records at the time the server went down (and before) [13:50] this may be in /var/log/syslog.1 or /var/log/syslog.*.gz now [13:52] the time when packages were installed can be seen in /var/log/apt/term.log*, login / logout /reboot are logged to /var/log/auth.log* [13:52] I'm on it July 2, when it crashed in the afternoon [13:52] There is nothing [13:53] Just regular messages about cron, cups and stuffs [13:53] which means it was either a hardware fault, or one which caused a reboot so quickly that nothing got logged to disk, that's usually a hardware issue, too. [13:54] If it was hardware, wouldn't the livecd be affect as well ? === juboxi is now known as jubo2 [13:54] I'm going to run a fsck [13:54] It's running from memory, only thing not in use is hard drive [13:55] kaili: if it was hardware, it could happen with the live dvd as well, yes. take the harddware guess with a grain of salt, though, it's still a wild guess. [13:56] I got something I think [13:57] the syslog file is borked, at the end I have dozen of lines of ^@^@^@ [13:58] systemctl list-unit-files | grep tomcat [13:58] tomcat.service bad [13:58] help! [13:59] anyone? [14:00] kaili: that's usually the result of kernel memory corruption becoming unstable (which would expain the crash). it could also be the result of file system corruption (which could and could not be caused by phsical disk issues) [14:01] !ask | codecutter [14:01] codecutter: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [14:01] I don't think the sudo apt-get upgrade had a new kernel in it, anywhere I can check what was upgraded ? [14:01] if i do 'systemctl list-unit-files | grep tomcat' [14:01] i get back 'tomcat.service bad' [14:01] Found it in the logs [14:02] libpulsedsp and pulseaudio stuffs [14:02] what does that mean and how do i fix it? [14:02] becuase tomcat is not starting up [14:02] kaili: did you not say this was a server? [14:03] tomreyn: yes it is [14:03] But running the desktop version of ubuntu, not the server one [14:04] it's only tomcat that seems to be down [14:04] Process: 11046 ExecStart=/usr/share/neo4j/bin/neo4j console (code=exited, status=1/FAILURE) === RAX is now known as rax- [14:07] codecutter: review tomcat logs then, also syslog [14:08] it seems to be stuck https://pastebin.com/5Adzh48z [14:08] at line 11 [14:09] syslog [14:09] No command 'syslog' found, did you mean: [14:10] codecutter: /var/log/syslog [14:10] i mean /var/log/syslog* [14:10] filesystem seems clean :/ [14:10] oh [14:11] kaili: you could run long or short S.M.A.R.T. self-tests [14:12] https://pastebin.com/gv6jny2k [14:12] With smartmontools ? Let me see... [14:13] kaili: if this is actual server hardware it may also have provide a hardware health log [14:13] -have [14:14] codecutter: so line 2 clearly states what the issue is [14:14] go on... [14:14] i don't recall touching that file [14:15] you or someone else edited /etc/systemd/system/tomcat.service and placed an incorrect configuration directive in line 1 [14:15] is that even a file? [14:15] usually it would be, yes [14:15] hmm [14:15] Running the full test now [14:16] # 1 Extended offline Completed without error 00% 126 - [14:16] :/ [14:17] 126 is lifetime [14:17] The hardware is brand new, bought it like 7 months ago [14:17] tomreyn: life saver! [14:17] :) [14:18] you are an able man, i must say :) [14:18] codecutter: ;) [14:18] i need a list of all enabled services [14:19] kaili: 126 is most likely a while ago, it was probably when the disk was first installed in this (or a different) server. [14:21] tomreyn: ok at some point when I sudo reboot now, something went wrong. All the log files are borked with ^@ on july 2 after 13:40 [14:21] Now my question is more : why when the server got rebooted (several times) nothing was logged [14:22] People in the place got to the login screen so the boot-up is working [14:22] kaili: maybe "dmesg -T" knows [14:23] this command queries the kernel ring buffer. you may want to pipe its output into 'less' or 'more' [14:23] But this will tell me about the livecd boot-up, right ? [14:24] the dmesg log on hard disk about server booting up from hard disk is empty "(Nothing has been logged yet)" [14:24] kaili: i.e. this is an in-memory log which allows you to view past events (since last reboot only) even if the system is unable to log to disk. [14:24] dmesg on the disk being empty can be fine. [14:24] oh right [14:25] Checking 2 of july [14:25] There is nothing before 3 of july at 2PM [14:27] kaili: you say that even after multiple boots from the hdd nothing was logged to the system log. this suggests that either the syslogging daemon is experiencing problems or disk i/o is generally broken for only the location where logs are stored (/var/log/ mount - if this is separate) [14:28] if disk or file system writes were generally broken, the systmem would not boot up normally, too. [14:28] i.e. if you have no separate /var/log mount /file system then the issue is more likely with the syslogging daemon. [14:29] something gone wrong again [14:30] https://pastebin.com/jz5GbMdy [14:31] Indeed we have something here. After 2 july at 1:40 PM, the server got rebooted several time and made it to login screen a few times. But all logs seem to end the 2 of july at 1:40 [14:31] faillog is full of ^@ too [14:31] So we have something here [14:31] wont let me access 'localhost:8080/manger' but 'localhost:8080' displays the correct content [14:33] kaili: how about you try booting off the hdd now, then check whether syslog is written to and what dmesg -T says about this latest boot process? [14:34] stuck at '04-Jul-2017 14:29:15.793 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.15 [14:34] 04-Jul-2017 14:29:15.810 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]' [14:34] tomreyn: I can't do that, if I reboot I will lose ssh access through livecd which was a pain to configurate through phone with the girl there [14:34] tomreyn: I can reboot only after fixing stuffs in a way or another [14:36] Good morning! [14:36] kaili: i see. so the live system has no sshd running, or would not now due to the yet unknown issue that occurred? [14:37] how does one add DNS suffix search to systemd.resolve? [14:37] tomreyn: ubuntu from server harddisk do have ssh, but it's broken, so is samba [14:37] i see [14:38] well it won't be easy to tell what is wrong since you have no means to tell without logs and being able to reboot [14:39] you could try booting the HDD system as a VM, but that's not enough fun that i'd want to guide you through the process. [14:40] sup my crackers [14:41] kaili: but you could chroot to it and start rsyslog and see whether this works, that's even further from booting it from bare metal but it might still give a clue. [14:41] Booting up 16.04.2 LTS 64 bit ... and grub throws an error, blanks the screen, and sits at "grub> ". The error message starts with "Error: not found". Is there some way to get it to pause at that error message ? [14:41] There's more to the message... [14:42] hi Mark, Tom how are you guys doing on this lovely evening, I'm new here. [14:42] rfleming: does 'search example.org' in /etc/resolv.conf + reboot not do it? [14:43] sdn48: My ubuntu install on another computer has decided to start a fail... and I'm trying to get grub to stop at the error message so I can read it. [14:43] hi sdn48. thanks for the kind greetings. we only use this channel for support chat really, so you're welcome to just ask any questions you may have. for offtopic (i.e. not specifically support questions or answers) chat please head over to #ubuntu-offtopic [14:44] Or if grub stores the error somewhere so that I can dump it to the screen. [14:44] Oh alright, I was wondering if I've got an .exe and .dll file, how can I link the .dll with Wine when running the .exe? [14:46] tomreyn: resolv.conf is generated by systemd-resolve and shouldn't be changed by hand. [14:46] sdn48: i think there is a #wine channel here on the Freenode IRC network. they may be able to provide you with an answer to this. or you could wait here and occasionally repeat the question in case someone here knows. [14:46] i don;t know tomcat is hangin on start [14:47] yeah found it, it's #winehq, I'll try my luck there, thanks Tom [14:47] tomreyn: how about an unattended upgrade that could have mess up the server ? I'm checking apt log, the server had a long uptime. But on june 29 critical stuffs were auto-updated : kernel, linux-libc and stuffs [14:48] What if my sudo apt-get reboot just triggered booting up with the new kernel ? [14:48] MarkB2: it probably wont write the error anywhere since it has no means to write it anywhere. i would not know how to prevent the screen from blanking there, it normally should not. the fact that the grub> prompt shows up suggests that the system is unable to boot properly, usually due to a borken initial ram disk (initrd) or kernel image (or both) [14:48] MarkB2: i suggest you repair the system form a live dvd / usb [14:49] Which means the new kernel could be the reason : no keyboard, no mouse, everything borked [14:49] What's the "ubuntu way" to manage the configuration of /other/ system services, with a package or process? I am trying to do something like "when I install some X package, add an entry to Apache so that it points to some X directory" [14:49] The keyboard / mouse problem is the most intriguing to me [14:49] rfleming: oh good point. sorry. [14:49] tomreyn: :D No worries. [14:50] rfleming: here (ubuntu 16.04), resolv.conf states: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) [14:51] rfleming: if you have a manual interface configuration in /etc/network/interfaces i think you can place dns-search there [14:51] Ok, I'm going to recheck filesystem, repair grub, change default booting up kernel to previous version [14:53] I don't think messing up with rsync could break down the system that seriously [14:53] I eliminate this possibility [14:53] kaili: yes, this is a possible explanation. although - unless you install more than the default security upgrades through unattended upgrades, or were running a custom kernel or glibc before, i would not expect this to happen due to an unattended-upgrade. [14:53] (sorry for thinking aloud, if any of you have an idea... it's more than welcome) [14:54] tomreyn: I know, plus it's a LTS and it's supposed to be more tested but... [14:54] I really have no explanation [14:54] and the livecd is running since yesterday and seems very stable [14:54] Hardware failure sounds unlikely [14:54] kaili: to me, too, unless it caused file system corruption somehow, rsync does not seem like a likely cause. you could inspect your package repositories and see which non-official packages oyu have installed, if any, and whether you are running the latest versions. [14:56] kaili: the live cd will hardly be accessing the hdd(s), and may generally idle more (i.e. stress hardware less) than the server would be if running normally, booted off hdds [14:56] so this could explain why you dont see a hardware failure now, but (possibly) would if booting normally [14:56] the 29 and 30 of june a lot of stuffs were updated, kernel, libc, libdns, bind... [14:56] MarkB2: this might be of help: https://help.ubuntu.com/community/Grub2/Troubleshooting [14:57] tomreyn: I ran the long SMART test and it said everything is fine, you think the test was wrong ? [14:57] kaili: no, i don't think it was wrong to run the test nor do it have a reason to believe that its results are wrong. did you run it on all hdds? [14:58] tomreyn: I ran on system HDD only, other disks are for data and data backup [14:58] kaili: i suggest you chroot to the system and inspect outputs of 'apt-get update', 'apt-cache policy', maybe 'unattended-upgrades -d --dry-run' [14:59] kaili: okay, thats probably sufficient [15:00] If I can't fix it, I will need to find a way to pre-setup ssh, reinstall ubuntu on the hard drive saving ssh setup so I can ssh to it after reboot, then reconfigure and reinstall samba using ssh [15:00] I'm not even sure if all this process is possible [15:01] All that through ssh :p [15:02] kaili: it's technically possible, you could even add sshd to the initrd so you would still get ssh access if the system only gets to the initrd but does not boot up properly. but adding ssh to initrd is tricky and nothing i would do remotely. [15:03] I'm 12 000 kilometers from the server, I guess I'm desesperated enough to try that :/ [15:04] kaili: if you are looking for a way to be able to recover more easily form such incidents in the future, besides the ssh option i just discussed, other options are to attach a networked serial console (i.e. you could just connect from a different computer standing next to this server through serial console, allowing you to see and manage its boot process, and possibly bios settings).- [15:05] but you booted your server with a live iso... [15:06] kali: or, if you'll send money on actual server hardware, you will be able to get some kind of "out of band management" (OOB), such as dell idrac, hp ilo, supermicros / tyan (and others) ipmi kvm. [15:06] *sPend money [15:07] oerheks: non-sysadmin remote hands did for him. [15:08] (or her, sorry) [15:09] Yes, guided her through phone [15:09] Was a pain, had to setup static ip and stuffs === jackNemrod_ is now known as jackNemrod [15:12] what can I delete to make more room on my computer? [15:14] tomreyn: Managed to capture the error message using a camera. error: no such device: and a UUID. [15:14] hooo, "sudo apt-get autoremove" could make some space, else all unwanted programs [15:14] hello [15:15] I try to reinstall Ubuntu installed on my PC. I boot from USB-livecd but regarless my choice Try or Install it always boot to installed OS. Is there any way to avoid this? [15:15] Have a live disk ... now to figure out what grub is looking for. [15:15] Happy Fourth of July to everyone in the US. [15:18] tomreyn: I made a checklist, on liveCD I 1) installed ssh ; 2) setup static network ip located in /etc/network/interfaces. I need to : 1) save static network interfaces configuration through reboot process ; 2) save ssh installation through reboot process ; 3) install ubuntu through ssh on the hard disk with parameters 1 and 2 [15:18] can I remove /usr/gnat? [15:18] it is 1gb [15:18] I think ubuntu will save network configuration from the liveCD for me already (or I'm wrong ?) [15:19] But I have no idea how to have ssh installed after I reboot [15:19] MarkB2: so everyone not in the US should not have a happy 4th of july? ;) the message you captured usually suggests that a block device UUID has changed, and was not updated in fstab. this can happen if you resize partitions and file systems or move them around. [15:20] hooo, seems like /usr/gnat comes from GNU Ada compiler [15:20] I found that https://help.ubuntu.com/community/Installation/OverSSH [15:20] But it's a really short guide [15:22] Or I could remaster an ISO for a complete unattended install and send the iso to the girl [15:22] hm [15:22] kaili: this guide is for (re)installing ubuntu [15:23] i still think you should chroot into your existing system on the hdds from the live cd and make any changes there prior to rebooting [15:23] oerheks, i deleted it [15:23] hooo, good luck then, it is not the way of uninstalling programs and parts [15:24] oerheks, yeah I hope everything still works! [15:24] linux is very professional and cool, so I have no doubt that it will be fine [15:24] tomreyn: I'm in, I have bind /proc /dev /sys [15:24] kaili: https://help.ubuntu.com/community/LiveCdRecovery#Update_Failure [15:25] kaili: sounds good. [15:26] kaili: so make sure apt is in a good state, network counfiguration is sound and ssh is installed and will start on boot [15:27] my ubuntu boots to blackscreen there is sound of drums but screen is totally black after sudo apt remove purge nvidia*. There is no any ALT+FX terminals working. All screens are black. [15:27] how can I fix this? [15:27] tomreyn: I don't have network in the chroot [15:27] and everything is read-only [15:28] in etc [15:28] kaili: maybe you mounted it read-only? or the file system is not clean? [15:28] checking [15:29] kaili: or did you just forget to mount all the file systems which on-disk system is composed of? [15:29] *your [15:29] I got it working, can write everywhere now [15:30] network connection working [15:30] (just added a nameserver) [15:32] !rescue | karab44 [15:32] karab44: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [15:33] I upgraded, and can no longer boot from an encrypted partition. I *can* mount it from a live USB. I can run update-initramfs and update-grub2 from a chroot, but when it boots I get a variety of errors before dropping into an initramfs shell, where there is nothing in /dev/sd* [15:33] karab44: https://askubuntu.com/questions/206283/how-can-i-uninstall-a-nvidia-driver-completely [15:33] tomreyn your advices can save my day. Thank you! [15:34] That is odd : sudo apt-get clean giving : unable to resolv host ubuntu [15:34] what [15:34] karab44: i would appreciate it, good luck [15:34] thank you once again :) [15:35] Anyway sudo apt-get install -f doesn't show anything wrong === jackNemrod_ is now known as jackNemrod [15:35] Before dropping to initramfs shell, I see repeated warnings about "failed to connect to lvmetad" and "udevadm settle is not permitted while udev is unconfigured". Does anyone have any ideas where I can go from here? [15:35] threedaymonk: knowing what the 'veriety of errors' ist could surely help you help yourself or enable us to help you. [15:35] ok ;) [15:36] sorry, I thought those were most pertinent. There are a couple that flash too quick for me to see. The others have scrolled off the screen! [15:36] Hello everyone. I have a question regarding partioning. I installed Ubuntu on a laptop and didnt realize that it had an SSD and spinning disk in it. So oddly enough Ubuntu installed itself on the SSD only. Can I format the spinning disk drive and label it as home? [15:36] "failed to connect to lvmetad" is a non-critical error which is currently to be expected on 16.04 and other releases with full disk encryption [15:37] Plus delete the home partiion that is installed on the SSD. Thanks [15:38] threedaymonk: did you reconfigure things lately, move or resize partitions or file systems? what may have caused this situation, in case you can make a guess? [15:38] tomreyn: OK, I can ignore that one then. I just video recorded it so I could see the transient ones: they are "udevadm trigger is not permitted while udev is unconfigured" and "udevadm settle is not permitted while (same)" [15:39] I ran dist-upgrade, walked out the room at one point, and when I came back it had rebooted into this state [15:40] hardrived, it can be done, moving your /home/ to a different device, and enlarge the empty space on that ssd to your / ... or just reinstall, choose partitioning 'something else' [15:40] https://help.ubuntu.com/community/Partitioning/Home/Moving [15:40] threedaymonk: hmm, dist-upgrade would not reboot all by itself in my opinion. unless it someh9ow triggered a kernel crash, which it usually would not. [15:40] the other ones that aren't that repeated warning are "Volume group 'lubuntu-vg' not found" and "Cannot process volume group lubuntu-vg". Not especially useful as far as I can tell [15:41] tomreyn: I was surprised myself, especially as I'd just performed the same upgrade on my other near identical laptop! Same hardware, started off as clones! [15:41] I think I found the problem... but am unsure as how to fix it... I'll wait in line. /dev/sda has two partitions, /dev/sda1 and /dev/sda2. fdisk reports the device has a GPT but blkid isn't reporting a UUID for either partition. [15:42] threedaymonk: do you know how the layers of partitons, lvm, dmcrypt-luks (i assume) are configured on this system? [15:43] oereks, thanks! I'll check the link [15:43] tomreyn: three partitions on the disk, sda1 is /boot (ext-something I guess), sda2 is swap, sda5 is whatever I unlock with cryptsetup luksOpen [15:44] and there's a volume group inside that [15:44] threedaymonk: did you install this system '(and the full disk encryption) using the ubuntu ionstaller? [15:44] yes [15:45] 14.04 LTS iirc [15:45] MarkB2: lsblk -f should show uuid for each partition [15:45] threedaymonk: okay, so you'lll have partition sda5 -> dmcrypt-luks -> lvm2 [15:45] threedaymonk: okay, so you'lll have partition sda5 -> dmcrypt-luks -> lvm2 -> file systems [15:46] tomreyn: that sounds right, and matches my understanding [15:47] threedaymonk: the other option would be: partition sda5 -> lvm2 -> dmcrypt-luks (across one or more logical volumes) -> file systems [15:47] threedaymonk: but you'd only get that with manual (not guides) partitioning, and you'd have toi enter your fde crypto passphrase several times if more than one file system is encrypted [15:47] when I mounted it from the live USB, I ran cryptsetup luksOpen /dev/sda5 sda5_crypt first, then the lvm tools to create /dev/lubuntu-vg/root [15:48] okay, so its the first variant [15:49] threedaymonk: so run this system from live usb again, mount file systems again, bind-mount the virtual file systems and chroot [15:50] threedaymonk: then make sure you got internet access and that apt is in a good state, then purge and reinstall the latest kernel image, keeping an eye on the output. [15:51] tomreyn: doing that now … [15:51] threedaymonk: if you need help with any of these steps, just ask [15:52] MarkB2: no uuid is weird. try lsblk [15:53] tomreyn: I've done all but purging the latest kernel image about a dozen times today so far :-) [15:54] MarkB2: lsblk -o +UUID # but actually blkid should have printed them [15:55] Hello everyone, I have a MacBook with a dead discrete graphics chip. I managed to get it semi functional again by removing relevant kexts allowing me to boot and use the laptop for basic tasks, but the AMD Chip is drawing its max power causing the laptop to run very hot (90C @ 20% load). Would Ubuntu be a good alternative for my laptop? Is there a way to fully disable the chip through Ubuntu so that it's not detected and doesn [15:56] threedaymonk: did you check whether the dist-upgrade succeeded / how it failed? there should be a log of it in /var/log/. also, did you try to ensure you have only supported (ubuntu) packages installed, no possibly problematic package sources *AND* packages installed? [15:57] it's almost always 3rd party packages which cause dist-upgrades to fail [15:57] SirMeowington5_: Some hardware problems can not be addressed in software. [15:59] @jhutchins I understand this, but in this case some people have managed to get their thermals and power draw issues under control by loading older versions of the relevant AMD kexts in MacOS. Unfortunately I haven't gotten any of those older kexts to work so I was wondering if there was a way to do it while running Ubuntu. [16:00] tomreyn: looking at the logs, it did end up in some error state: a number of post-installation scripts "returned error exit status 1" === KindTwo is now known as KindOne [16:02] SirMeowington5_: you could do the equivalent on linux: build a kernel without the intel graphics kernel modules, and then see how you can tweak the radeon driver to handle the amd graphics better. [16:02] threedaymonk: during the dist upgrade you mean, right? [16:03] tomreyn: hang on, I misspoke. I meant "do-release-upgrade" [16:03] tomreyn: blkid didn't print the uuid for /dev/sda* .. but lsblk -f did. The boot partition, somehow, has the wrong UUID. Now trying to figure out to set the UUID so grub can find the boot partition. [16:04] threedaymonk: okay, that's what i had assumed you meant ;) [16:04] @tomreyn In my case it would be the other way around, the AMD chip is totally dead and I need to run on the Intel HD graphics. I just need Ubuntu to not detect/trigger the AMD chip at any point (this results in a crash). So it should be possible to get Ubuntu to completely ignore the AMD chip and send no power to it? [16:05] threedaymonk: so take a good deep look at your apt sources and installed packages (including those no longer referenced by the current apt sources). also check /var/log/apt/term.log* to get a better idea of what exactly was the subprocess that failed. just running "apt-get install -f" now may come up with the same error message again. [16:06] Oh sorry, I just understood what you wrote. I thought you misunderstood me at first. So you're saying it will be possible to set up two kernels, one for Intel and one for AMD where the AMD one states not to send any power to the chip? [16:07] MarkB2: you'll need to edit some or all of /etc/fstab , /etc/crypttab and (probably not) /etc/lvm/lvm.conf [16:09] SirMeowington5_: sending no power to it wont be possible, since this is not something the OS decides on. basically what jhutchins already said. that's also not a matter of the OS you use, the firmware (BIOS/UEFI) already powers and partially initializes the hardware. [16:11] SirMeowington5_: you are right, i did misunderstand you at first. i'm saying you *can* create a modified kernel which does not provide a given kernel module (AKA driver, the equivalent to OS X kext), be it the amd or intel graphics one (does not matter for the overall approach). [16:11] SirMeowington5_: still, hardware will receive power either way. [16:11] @tomreyn ah okay, fair enough. But it should be possible to tell Ubuntu to never use the AMD chip and send very little power right? Right now the problem is that without the kexts, MacOS is confused and the chip is pulling it's max power. [16:13] SirMeowington5_: it will be possible to instruct linux not to initalize a certain PCI device (such as a graphics chipset) and not to load a driver for it. without a driver for a given device, power will not be manageable for this device. [16:15] @tomreyn ah okay, I understand. [16:15] SirMeowington5_: since the AMD chip will be a discrete one, it may actually be possible to physically disconnect it. that's something you may want to check. running any Os with broken hardware is never a good thing. [16:16] @tomreyn unfortunately it's soldered onto the mainboard in my MacBook so I'm not sure this is an option [16:16] tomreyn: UUID for the partitions match those in fstab on the device. But grub is erroring out before linux loads.. beats me how grub messed that one up. [16:16] ...Once in GRUB press the e key. We’re now going to disable the AMD graphics card while we boot into the Ubuntu Live CD .... [16:17] interesting, SirMeowington5_ https://orville.thebennettproject.com/articles/installing-ubuntu-14-04-lts-on-a-2011-macbook-pro/ [16:17] SirMeowington5_: so my only suggestion then is to spend less money on less shiny but better hardware next time, ;) [16:17] a processor without vpro has intele me ? [16:17] tomreyn: not using crypttab or lvm . [16:17] *intel [16:18] lash i915.lvds_channel_mode=2 i915.modeset=1 i915.lvds_use_ssc=0" [16:18] haha I know tomreyn, it was a hand-me-down [16:19] MarkB2: so /boot/grub/grub.cfg contains the right uuid for where to load linux form? [16:19] tomreyn: Aha. I'll go look . [16:20] zzero1: no i don't think so. also that's not an ubuntu question. [16:21] tomreyn do you think that without the drivers for the AMD chip Ubuntu will simply know not to have it draw max power or will I need to install the drivers and modify them? [16:21] MarkB2: maybe run update-grub first before you review the file, or review it before and after. [16:22] tomreyn thanks [16:22] I do have an ubuntu related question though :) [16:22] SirMeowington5_: basically, ubuntu won't be able to influence how much power is drawn by the broken chipset. [16:23] SirMeowington5_: power manegment depends on both a loaded kernel module (driver) and hardware working properly. your hardware is not working properly. [16:23] ok, gotcha [16:23] tomreyn: This is messed up. The uuid's in grub.conf and /etc/fstab match. But the booting grub spits up a completely different uuid. Great. Alright.. looks like I need to reinstall grub on that device. [16:24] my VPN connectins is grey'd [16:25] What was the terminal command that shows you system information and takes a screenshot [16:25] tomreyn , if I install Ubuntu directly onto a USB stick and boot to it, would this be a good way to test out how the laptop will react to not having any drivers for the AMD chip? Will it try to fetch the drivers automatically? [16:25] MarkB2: it's worth a try. it's well possible installing the updated grub boot code did not take place during the release upgrade since it failed sometime in the middle. be sure to also run update-grub though [16:27] tomreyn: I've never install grub on a system that wasn't booted at the time. would it be easier to use tune2fs to write the uuid that grub is looking for and updating fstab to match? [16:27] why does tomcat hang on deploy? It's stuck at '04-Jul-2017 16:19:25.855 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]' [16:29] Unless UUIDs are sprinkled around... one somewhere in the drive, another in the GPT, again in grub, and last in fstab. [16:29] SirMeowington5_: from ubuntu's perspective it does not really matter whether it boots from installed stroage (HDDs) or removable storage (usb stick). ubuntu comes with open source drivers for many hardwares by default. sometimes there are proprietary drivers available for hardware which can be installed after ubuntu was installed using 'ubuntu-drivers' or 'additional drivers' on system settings if you run X [16:30] @tomreyn ah okay, I understand, thanks for the info. [16:30] om/1BC [16:30] https://pastebin.com/1BCK5bFK [16:30] SirMeowington5_: open source drivers usually provide a better upgrade and compatibility experience, proprietary drivers usually provide better perfromance for supported hardware. [16:33] MarkB2: maybe, i never tried that (using tune2fs to set a given uuid instead of updating the grub configuration). [16:34] tomreyn: grub.conf is created by something else... which implies there's a foulup somewhere in the installation mechanism. [16:34] MarkB2: so just to be sure that's not miusunderstood: grub does load its configuration from a configuration file (/boot/grub/grub.cfg) at boot, the configuration is not stored on the grub boot code / boot sector [16:34] i.e. whether you edit this or that file does not really matter. [16:35] correction: i.e. whether you edit grub's configuration file or run tune2fs to edit the uuid of a file system does not really matter. [16:35] I ... do not know where grub is picking up the bad uuid from. grub.conf has the correct uuid as well as fstab. [16:36] Is there a grub configuration area in the boot area? [16:36] MarkB2: I would run update-grub [16:37] jhutchins: How do I run update-grub against a drive that doesn't contain the current running system? [16:37] At the moment, I'm running off a plug-in drive. [16:37] MarkB2: chroot [16:37] !fixgrub [16:37] GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub2 [16:38] MarkB2: if you bind-mounted the virtual file systems anch chrooted, update-grub should work fine [16:38] s/anch/and/ [16:39] you should also have mounted all the file systems and underlaying layers which would be present when booting normally [16:39] I just found this ( http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd ). Does this look like it'll do the job? [16:40] https://pastebin.com/diYCgX82 [16:40] * MarkB2 misses MBRs... does anyone use LILO any more? [16:41] MarkB2: i would use this guide https://help.ubuntu.com/community/LiveCdRecovery#Update_Failure [16:41] tomreyn: Thank you... [16:41] I'll look. [16:43] codecutter: is your point that tomcat does not shut dowen cleanly? [16:43] or startup [16:43] see my other lines [16:43] why does tomcat hang on deploy? It's stuck at '04-Jul-2017 16:19:25.855 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]' [16:43] repeat ^^ [16:45] tomreyn: comparing the working and non-working machines, one thing that stands out is that the broken one is missing things you'd absolutely expect, like "at". Is there some kind of meta-package that holds all that stuff that I should have installed but don't? [16:45] well, actually it starts up ok (if I remove myApp from teh dir) [16:46] hey hey [16:46] I fixed my problem [16:46] thank you for help [16:46] I had to install new drivers for nvidia 1080ti because stock drivers doesn't support my card [16:46] codecutter: check the process list for any remaining tomcat processes (ps auxw | grep -Ei '(catalina|tomcat)') and kill them using the 'kill' command and their uids. once you are convinced they are all stopped, run 'service tomcat stop', then run 'service tomcat start'. then check whether it came up fine. if it did, wait a minute or two and run 'service tomcat stop', and see whetehr it shut down fine. [16:47] now I have different issue [16:48] codecutter: so based on what you just said there is an issue with your webapp, which is not really something we can fix here. you may be able to get help with it in #tomcat or #java (assuming it's a java application) [16:48] yes, i know [16:48] my PC runs very silently on W10 but on Ubuntu it's pretty loud. So my question is how can I monitor CPU cooling temp and fan speed? [16:49] CPU fan (liquid cooling pump) runs on constant speed regardless the CPU load and temp [16:49] how can I control this? [16:51] karab44: install lm-sensors, run "sudo sensors-detect --auto" and read the last paragraphs it outputs. you can install 'sensord' to log hardware heath indicators to the syslog or use the 'sensors' command to query it live. there are also window manager specific plugins add-ons which can graph such metrics. [16:52] tomreyn: can this somehow control the fans? [16:52] controlling those is a different matter, depends much on the hardware and drivers. [16:53] sensors-detect will tell which drivers you'll need [16:53] it found two sensors [16:54] threedaymonk: sorry, i missed your message there. the 'at' command is provided by a package called 'at' ;) [16:55] tomreyn: sure, I just wondered why it wasn't there, and whether it was a dependency of something more vital! [16:56] threedaymonk: i think 'at' is actually optional, not installed by default (but not 100% sure) [16:56] I want to move a home folder that is encrypted with ecryptfs I chrooted in the installation and used the automated ecryptfs commands to find and mount the old home to /tmp/ecryptfs.XXXXXX However at some point rsync crashes. This is a portion of syslog https://pastebin.com/hp3CNwpZ [16:57] I appreciate any help [16:59] threedaymonk: if this is a server system you could install the 'ubuntu-server' package to make sure that anything you may need is installed. [17:00] threedaymonk: similarily, there are such packages for the various desktops: ubuntu-desktop for the default ubuntu desktop (currently unity), xubuntu-desktop for the xfce one, lubuntu-desktop for the lfde one, ... [17:01] I 'm running ubuntu 16.04 lts x64 [17:01] *lxde [17:02] zzero1, i think you better backup data, and reinstall. encrypted home movement is a long job [17:03] moving regular home is much easier [17:05] oerheks: du reports the home folder has 771 gb of data. I tried syncthing to move the home folder. it reported that the home's size is about 755 gb [17:06] When I use ng build > file.log and try to browse the file later I get an strange text and error that file is in binary. [17:06] How to fix that? [17:06] about ab [17:06] tomreyn: I'm at a loss. Everything seems to be consistent, and even if I don't have every dependency in the desktop or server packages, I have most of them. apt is happy, but the only thing seems to be that it doesn't find or create nodes for /sda* at boot. If it did that, I could recover from the initramfs console. [17:07] about 230 gb cannot be backed up because of this [17:10] oerheks I know that a regular home is easier to copy , but I have to move this encrypted one [17:11] threedaymonk: you could post lsblk + /etc/{fs,crypt,m}tab + /etc/lvm/lvm.conf + /boot/grub/grub.cfg + grub-mkconfig to a pastebin and have soemone look at it. maybe me, maybe someone else (i need a break soon) [17:12] is there any way to figure out which of the data are been affected by this ? [17:14] is there something I can do about this ? [17:15] tomreyn: maybe tomorrow. I need a break too! Or maybe I'll just nuke this and reinstall. Life's too short. [17:15] tomreyn: thanks for your help, though [17:21] tomreyn: Think I found it... the bad UUID is in a file in the EFI tree on /dev/sda1 .. so install-grub is picking up the first grub.conf it finds. [17:22] What a maze... [17:23] MarkB2: what's the problem you're having? [17:23] threedaymonk: welcome [17:23] chromium crashing on launch on ubuntu LTS for anyone else? [17:24] MarkB2: could you continue with EriC^^ - i need to take a break [17:25] tomreyn: Do you want to add these lines automatically to /etc/modules? (yes/NO) [17:25] Unloading cpuid... OK [17:25] tomreyn: Of course. Geeze.. Canonical should be paying you for the help... THANK YOU! [17:25] I can't take an action [17:26] Eric^^: Grub starts.... and errors out with a "no such device" and spits up a UUID that doesn't belong to anything in the system. [17:26] Had to use my video camera to record the message... it goes by too fast to read. [17:27] Anyway, there's something wrong with the EFI area on /dev/sda1 .. there are two grub.conf files and grub-install is picking up the wrong one. [17:28] I compare the EFI area on /dev/sda1 with the EFI area on the currently booted system and the structures are not the same. [17:28] MarkB2: ok, type "(sudo update-grub; cat /boot/grub/grub.cfg /etc/fstab; sudo blkid) | nc termbin.com 9999 [17:29] nevermind the first quote there [17:29] That will give you the information off the currently running system. The system I'm trying to repair is on a different device. [17:30] aha, is it mounted right now? [17:30] I can mount the partitions on the dinged system, yes. [17:31] ok, mount the main one under /mnt [17:31] then type "for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done" [17:32] I have to turn around to the other table and enter all that in. brb. [17:36] [17:37] Apologies. I fatfingered something and it's gotten a little ..sick. [17:37] rebooting. [17:38] Oh $(*# [17:38] That will teach me to reboot a chroot'ed system. [17:38] Now it's dead. [17:39] boot a live usb [17:39] That ..was.. the live usb I was booted from. [17:39] Have to recreate that. [17:39] rebooting while chrooted didnt kill it but ok [17:39] Happy Fourth. Back in a bit... [17:53] I mounted /dev (harddrive) to chroot in it (from livecd), now it won't unmount (in use) [17:54] Couldn't find much using lsof [17:54] tomreyn: I did everything I could and everything seems in order [17:57] Through I couldn't check whether sshd will start on boot, I couldn't access to initctl stuffs within the chroot [17:57] initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused [18:09] kaili: ubuntu 16.04 LTS uses systemd, not upstart (which initctl belongs to) [18:10] oups :-) [18:11] use the 'service' or systemctl (not sysctl) command [18:15] inside a chroot all systemctl command are ignored I think [18:16] Anyway, I don't know what to do, went full verbose for bootup, selected previous kernel, forced fsck at each reboot of the server, check integrity of all packages, checked config files... [18:16] I can't see anything wrong but I don't have logs to know that anyway [18:21] Hello, I have ubuntu 16.04 on dell xps 15 9560, uname -r says 4.9.0-040900-generic, also installed nvidia 375 drivers. When I switch to intel (via "PRIME Profiles") and log out, everything is fine until I reboot. If I reboot, everything freezes, no F1. I have to run "prime-select nvidia" from recovery console, and it is booting again. I'd like to have "intel" selected and still be able to reboot :) Is there something that can be don [18:21] Eric^^: ? [18:23] It seems to be fixed. The drive boots up and drops into the familiar desktop. === KindTwo is now known as KindOne [18:26] Hi guys, can anyone help me with issues running Minecraft on Ubuntu, please??? [18:27] i just bought an HP Pavilion lappy and installed 16.04 on it but it ends up in a black screen - but after 3 or 4 power resets it boots ok - is this a grub issue? [18:30] doesn't look like there's much i can do with the bios - installed as uefi [18:49] Homely_Girl: What issues are you having? [19:03] eelstrebor: maybe boot with the nomodeset option? [19:05] eelstrebor: https://certification.ubuntu.com/certification/make/HP/ [19:08] How can I add /home directory to be a path to search for commands in? [19:08] mzaza, usually it's used ~/bin [19:09] change your Path [19:09] ioria: Yes but I have something installed in my home directory that I wanted it to run. Actually it works fine under shell from my session, but not from other sessions. [19:11] PATH="$HOME/bin:$HOME/.local/bin:$PATH" [19:11] What should I add to that line? [19:11] mzaza, /home != your $HOME [19:11] ioria: That is the default. [19:12] ioria: I didn't edit it, yet. [19:12] You need to use absolute paths. [19:13] blkadder: How? You mean I should rewrite that instead of $HOME to /home/user [19:13] Yes. [19:13] If that is your home [19:13] But it probably isn't. [19:14] ... why do you have system commands installed in a user home directory? [19:14] mzaza, /home/$USER/bin is automatically added to the path ... you don't need to edit anything [19:14] Where can I get help with NEStopia? It's a NES emulator, that is packaged in Ubuntu. [19:17] ioria: blkadder The problem is that when I use for example the npm command which is installed in my home directory from shell it works fine. And I just write npm without having to write the whole path, it's set correctly. But when a web application "Envoyer" for automatic code deployment runs the command npm install I get this error "bash: line 2: npm: command not found [19:17] Close [19:18] mzaza, paste echo $PATH [19:18] ioria: /home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/.nvm/versions/node/v6.11.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin [19:18] mzaza, Right because application "Envoyer" isn't going to have the same environment variables as you. [19:18] $HOME is relative to the user. [19:20] mzaza, maybe /etc/environment, but not sure [19:20] blkadder: I am using the same user for Envoyer as mine, however I have changed my path to look like this, http://paste.ubuntu.com/25020265/ [19:22] What user are you? [19:22] blkadder: ubuntu [19:22] the same user is used for envoyer [19:22] What do you mean "the same user is used" [19:23] pavlos, it's an intermittent issue - one would think that it works or don't but not in this case - i was wondering if using the xorg amdgpu-hwe-graphic instead of the amdgpu-graphic would fix the problem - i tried to install it but it says i have a broken amdgpu-hwe package [19:23] mzaza, Are you saying you have the web application running as user "ubuntu"? [19:23] blkadder: there is run as option in enovyer and it is set to ubuntu, the user "ubuntu. [19:23] blkadder: yes [19:23] hi all [19:24] is this the best place to talk about ubuntu or is there a slack channel nowadays ? [19:25] blkadder: Is that security threat :D? [19:25] mzaza, What is the complete path to the npm command? [19:25] oops, that should be video-amdgpu vs video-amdgpu-hwe [19:25] ioria: I've just tried that, and things might seem to work. [19:25] eelstrebor: do you see any amd related errors in dmesg? [19:25] blkadder: -bash: fork: Cannot allocate memory [19:25] mzaza, Well, you generally don't install system level executables in a home directory. [19:25] Not a great practice. [19:28] blkadder: I've tried adding it to /etc/environment as ioria said but it seems taking for every and I got that error I just sent you. I even can't connect to the server so I will force reboot and try again, that's an out of memory error, right? [19:28] Yes. [19:28] Sounds like you may have other issues... === semeion is now known as mnemonic [19:30] mzaza, well, npm and node are available in the ubuntu repos, why are they installed in you $home ? [19:33] ioria: I used nvm to install them. [19:33] ah [19:34] I'm trying to combine the contents of multiple directories with the same name that are spread out as subdirectories all over my drive. I found this: find . -type d -name "XYZ" -exec cp -rf --parents {} combined \; and that mostly works. I'm running into problems with directories that have apostrophes in their names. [19:34] well, inorder to install xserver-xorg-video-amdgpu-hwe-16.04 i have to install xserver-xorg-core-hwe-16.04 which will remove ubuntu-desktop, xorg, etc - not a good idea to do it [19:35] I tried using single and double back-slashes \ before the apostrophes, but that didn't solve it. [19:37] blkadder: ioria npm seems to be utilitzing all resource to extrem levels 97% of cpu. [19:40] Is there a way to limit the maximum resources that could be allocated for a process? [19:40] mzaza, not an npm expert, but i'd say wrong/broken version [19:40] Ofcourse there is, I'll google it :D just feeling lazy [19:50] I'm on 16.04, should I upgrade to 17.04. It's not LTS so I'm a bit wary. I'm just going to be using it as a development environment and my main desktop OS. And it's a stable release, isn't it? [19:51] anyone else having sudden problems with urllib3 and invalid CA certs in the past few days? [19:52] a python rss bot i'm running is suddenly rejecting SSL certificates. oddly enough it even does it on plain http URLs on sites that don't enforce SSL... it seems to voluntarily want to negotiate an SSL connection, and then fails at it? [19:53] boblamont seems to be working: find . -name xyz | xargs -I DDD cp -rvf --parents 'DDD' combined [19:58] vadamoto: when I use that, I get a prompt. Is that what I should see? [19:59] ive installed ubuntu 14.04.5, hoping id get fglrx support, but i cant seem to install fglrx there either. is there any guide on how to get fglrx back working on that distro version? [20:00] getting this error: https://askubuntu.com/questions/825343/14-04-cant-install-fglrx-on-dell-with-amd-graphic-card [20:01] decoder, fglrx should be available in the driver tool, else the card is too old. [20:01] lspci | grep VGA # this would tell your card [20:03] it is available in the driver tool [20:03] but when i try to select it, it just resets the selection back [20:03] card is brand new [20:03] boblamont i see this: http://paste.ubuntu.com/25020521/ [20:03] definitely not too old [20:03] some people seem to write fglrx doesnt work with 14.04.5 >.< [20:07] just installed the xorg-edgers ppa - now i have a big black border around all the launched apps - i can't see anything on the terminal app, just a big black box [20:08] Hey guys, has Wubi stopped development? Is there any alternative without partitioning the disk or do I really have to run Ubuntu in a virtual machine? [20:09] CasW, yes, wubi on win10 is not possible. [20:09] !wubi [20:09] Wubi was a way to install Ubuntu from within Windows, but it is no longer supported in recent versions of Ubuntu and Windows, and was never well maintained even for Ubuntu 12.04. Do not use Wubi. See !install for other options for installing Ubuntu. [20:10] eelstrebor, why xorg-edgers ppa and not ppa:graphics-drivers/ppa ?? [20:10] vadamoto: just found it. you need to explicitely downgrade xorg [20:10] sudo apt-get install xserver-xorg-lts-utopic libqt5gui5 libgles1-mesa-lts-utopic libgles2-mesa-lts-utopic libgl1-mesa-glx-lts-utopic libgl1-mesa-glx-lts-utopic:i386 libglapi-mesa-lts-utopic:i386 libegl1-mesa-drivers-lts-utopic [20:10] worked for me [20:11] at least fglrx installs after that [20:12] !install [20:12] Ubuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - Don't want to use a CD? See http://tinyurl.com/3exghs - See also !automate [20:13] !ubuwin [20:13] Canonical and Microsoft have announced that Windows 10 will be able to run Ubuntu programs without needing porting/recompilation. This functionality is still in beta and is not supported in #ubuntu. For discussion and support, see #ubuntu-on-windows. [20:14] Alright, thanks oerheks! I'll check out #Ubuntu-on-Windows [20:15] decoder: thanks! btw i google what fglrx is and i don't see how it is my case (i have built in intel graphics and also nvidia graphics card) [20:16] boblamont also try this: find . -name xyz | xargs -I DDD echo cp -rvf --parents "'DDD'" combined/ (shows what is about to be done) and than pipe to /bin/bash [20:18] i'm not able to anything goole sites in ubuntu. i get Your connection is not private [20:18] Attackers might be trying to steal your information from www.google.com (for example, passwords, messages or credit cards). NET::ERR_CERT_WEAK_SIGNATURE_ALGORITHM [20:18] how do i fix this [20:18] i cant go to google.com, google maps, gmail etc... [20:18] anything google is not accessible [20:19] i tried to google my error message but i cant use google search [20:19] vadamoto: thanks, I'm trying the stuff, but am setting up some dummy files first so I don't mess with my real files until I know it's working [20:20] if anyone can help me out, please send me a pm. thanks [20:21] vadamoto: i mean to ping oerheks not you, sry ^.^ [20:22] That business about Windows 10 running Ubuntu programs... I still need to be convinced that that's not an April Fool's joke. [20:22] how do i undo this portion "CONFIGURE SWAP" - http://nicholaspaulsmith.com/neo4j-with-basic-authentication-on-digital-ocean/ [20:23] followed above to create swap, turns out i don't need it [20:23] so how do reallocate that portion back to the disk? [20:25] Hey, I was using Kazam to record a scammer trying to take control of my virtual machine and probably syskey mey, unfortunately it was saved as a .movie format, how do I tun it to something I can play? [20:27] anyone? [20:27] i think everyone is sleeping [20:28] hi [20:29] vadamoto: hello sebsebseb [20:29] boblamont: hi [20:29] oops! obviously not directed to vadamoto! [20:31] What is SetGID and SetGID. I can't understand. Can somebody clear the point? [20:33] pankaj: they're both explained in the chmod man page, scroll down and you will see a section dedicated to them [20:34] SetGID and SetUID .. [20:34] ducasse: OK [20:35] ducasse: Can you suggest me any good book for starters to study PAM. [20:35] pankaj: try ##linux, these aren't really ubuntu questions [20:41] how do i delete the swap? [20:42] how do i undo this portion "CONFIGURE SWAP" - http://nicholaspaulsmith.com/neo4j-with-basic-authentication-on-digital-ocean/ [20:43] based on the error messages, it's working except it won't accept that "combined" is a directory.. I've set it up where 1.txt, 2.txt, 3.txt and 4.txt are the files hidden throughout the xyz subdirectories, but only 1 & 2 have been grouped together in the combined directory (although in the "parent" directory copies, all four files are there, though in their original locations) [20:45] the original command I found: find . -type d -name "XYZ" -exec cp -rf --parents {} combined \; copied everything, but it doesn't helpfully tell me of an option to allow the apostrophe/single quote like xarg did (-0) [20:47] I should probably add, I don't really need the parent part, at least if everything else works right... it's a little redundant [21:38] codecutter: Why do you feel that you don't need swap? It is always useful, especially on a cloud instance. [21:39] really? [21:39] codecutter: suggestion, sudo swapoff /swapfile, remove it from fstab [21:40] codecutter: Sure. It can save your instances from crashing if you run out of RAM. [21:41] how big should it be? [21:41] minimum [21:41] Swap: 1499 388 1111 [21:42] thats what i have [21:42] codecutter: The rule of thumb is usually 1.5 your max RAM, up to 4G. [21:43] Mem: 2000 1306 98 3 594 518 [21:43] fo i need tp increase it or will that do? [21:44] It seems you are already using swap. I'd go 4G total then. [21:49] Hello everyone. I have Ubuntu 16.04 amd64. I want to install a *previous* version of the nestopia package. How do I do this? Here's a link: https://launchpad.net/ubuntu/xenial/amd64/nestopia/1.46.2-1 [21:51] where would you go to report a general quality issue with Uniquity storage configuration [21:51] *Ubiquity [22:03] Richard_Cavell, apt-get install foo=version [22:06] jer: sudo apt-get install nestopia=1.46.2-1 # isn't working. [22:06] isn't working isn't a sufficient description of the problem, what error message do you get? [22:07] E: Version ‘1.46.2-1’ for ‘nestopia’ was not found [22:08] well that's the way you install a specific version of something [22:09] all that error is saying is it can't find that version [22:09] you may have to find it from other sources [22:09] and dpkg -i it manually [22:09] Oh for Pete's sake, it looks like it's been deleted [22:10] it happens [22:12] Richard_Cavell: I still see 1.46.2-1 at http://archive.ubuntu.com/ubuntu/pool/universe/n/nestopia/ [22:12] Richard_Cavell: Did you do: sudo apt update ..first? [22:13] genii: Yes. [22:14] Maybe you're using a mirror which removes older versions [22:14] Hallelujah! It works! [22:15] I should really set up a PPA with this prior version. If I knew anything about how to do that, I would. That is as far as I can go with that. [22:15] !pinning | Richard_Cavell [22:15] Richard_Cavell: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto [22:16] !info nestopia [22:16] nestopia (source: nestopia): Nintendo Entertainment System/Famicom emulator. In component universe, is optional. Version 1.47-2ubuntu2 (zesty), package size 841 kB, installed size 4061 kB [22:16] It works, that's as far as I will go with that. [22:17] oerheks: I'm now using 1.46-2 (xenial) and it works with pre-OpenGL 3.2 hardware. 1.47-1 does not work with pre-OpenGL 3.2 hardware. [22:22] could also use one of the many other nes emulators [22:34] hey trying to do an upgrade and i get this: [22:34] Errors were encountered while processing: [22:34] linux-headers-4.4.0-83 [22:35] E: Sub-process /usr/bin/dpkg returned an error code (1) [22:35] any clues? [22:37] anyone? [22:37] ZJAY: Not installed for some reason ? what shows ' df -h ' ? [22:39] the complete log might be longer ... [22:39] $df -h [22:39] Filesystem Size Used Avail Use% Mounted on [22:39] udev 3.9G 0 3.9G 0% /dev [22:39] tmpfs 797M 12M 785M 2% /run [22:39] tmpfs 3.9G 181M 3.8G 5% /dev/shm [22:39] tmpfs 5.0M 4.0K 5.0M 1% /run/lock [22:39] !paste [22:39] 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. [22:41] how do i get full log? [22:43] ZJAY: ' df -h | nc termbin.com 9999 ' the result is a URL back in terminal . Pass that link beak here . [22:43] back* [22:44] http://paste.ubuntu.com/25021617/ [22:44] http://termbin.com/l92g [22:47] ZJAY: Not what I had suspected . What have we then installed ' dpkg -l | grep linux | nc termbin.com 9999 ' . [22:47] enough space, it seems [22:48] http://termbin.com/91id [22:49] Jesus, why you got like 20 kernels installed [22:49] 20 is a limit indeed ... [22:50] sudo apt-get autoremove, to clean up [22:51] epic termbin, but it will be wiped after 24 hrs [22:52] ZJAY: ^^ Yeah ,, and clean out the clitter from rc marked ' dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P ' . === lesik____ is now known as lesik [22:52] clutter* [22:53] so autoremove first right then the dpkg -l one next right? [22:53] maybe autoremove works, else that dpkg line works always [22:54] so the dpkg first? [22:54] sure, you can. [22:54] there are more ways to do a job, that is fun. [22:55] ZJAY: Does not realy matter . there still be cleanup to do whatever . [22:55] k doing dpkg first [22:55] so, both answers are correct, but the dpkg line from Bashing-om might do it when apt is blocked now. [22:56] *if [22:56] done now starting autoremove now [22:56] oerheks: Does not help but does get the clutter removed so we can better see what we are doing . === bazhang_ is now known as bazhang [22:58] ok autoremove said it was removing packakges then bombed out (i guess) with this again [22:58] No apport report written because MaxReports is reached already [22:58] Errors were encountered while processing: [22:58] linux-headers-4.4.0-83 [22:59] ZJAY: pastebin all so we see it in context . [22:59] etc... [22:59] could that system been mounted RO ? any errors in the filesystem ? [23:00] http://paste.ubuntu.com/25021674/ [23:00] i write to it constantly with curl files and audio files etc [23:01] at least at user level [23:01] and user captured video files etc for my vlog etc [23:01] under the /home dir [23:02] want me to reboot etc see if that does anything etc [23:02] not that i should need to its not microshaft winblows [23:02] linux-headers-4.4.0-83 is what is wants ? [23:02] yupper [23:03] bombs out there [23:04] hmm seen no grub updates too [23:04] ZJAY: Try ' sudo apt insatll --reinstall linux-signed-generic ' . see if it picks up on " package linux-headers-4.4.0-83 >> you should reinstall it before attempting configuration " . [23:05] kk [23:05] install** [23:06] did i pick it up wrong [23:06] sudo apt insatll --reinstall linux-signed-generic [23:06] E: Command line option --reinstall is not understood in combination with the other options [23:07] durpok i see now [23:08] http://paste.ubuntu.com/25021716/ [23:10] basically bombed [23:10] E: Internal Error, No file name for linux-signed-generic:amd64 [23:13] ZJAY: Himmm .. it is there ! ' apt list linux-signed-generic ' . So what gives ?? gotta think here . [23:15] k ty for the assist [23:15] ZJAY: " 5 not fully installed or removed." let's try this: ' sudo apt update ; sudo apt upgrade ; sudo apt -f install ' [23:16] k [23:17] http://paste.ubuntu.com/25021746/ [23:17] bombed again [23:19] ZJAY: ' sudo apt install --reinstall linux-headers-4.4.0-83 ' . [23:21] k its working [23:22] ZJAY: K and when done pastebin a new ' dpkg -l | grep linux- ' . see where we stand . [23:24] http://paste.ubuntu.com/25021775/ [23:25] ZJAY: That looks mighty fine ! . what now ' sudo apt update ; sudo apt full-upgrade ' ? [23:26] okidokey ill do that now then mightas welll thanks for the assist/help [23:27] looks good [23:27] ZJAY: Glad to help . I am what I am because of the guidance I have gotten . [23:27] http://paste.ubuntu.com/25021791/ [23:28] i am very apreciative thanks again lifesaver [23:28] thanks also oerheks everyone [23:28] have fun [23:28] ZJAY: Looks good ! . You should be able now to whatever . [23:29] counter strike source 4th of July style...lol [23:30] ZJAY: :) . If you do not want to be a system admin and you do trust your system . there is "unattended-upgrades" that you can set to take care of these small details . [23:32] ok ill look into that is it just an apt-get install or from sourcez? [23:33] ZJAY: alreadu on your system . see ' cat /etc/apt/apt.conf.d/50unattended-upgrades ' . [23:33] cool tyvm [23:35] ZJAY: Tutorials: https://ubuntuforums.org/showthread.php?t=2343732 ; https://ubuntuforums.org/showthread.php?t=2339387 .