[00:00] qswz your missing firmware, run "sudo apt-get install --reinstall linux-firmware" without the quotes [00:00] !ltse | qswz: maybe try linux 5.0, too [00:00] qswz: maybe try linux 5.0, too: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [00:01] qswz I would also disable powersave, "sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf" [00:01] oh, thanks all, ok [00:01] then reboot [00:02] qswz: disable TKIP on the wifi router [00:02] anywho, my tuen to reboot [00:23] anyone have this "Qt: Session management error: Could not open network socket" when running sudo something on ubuntu 18.04 ; especially on a lenovo thinkpad when fingerprint-gui is installed? [00:33] Hello! I have a laptop running ubuntu 18.04 and it doesn't seem to be charging now. The battery indicator says "Charging" but charge doesn't increase beyond 0%. I haven't used the laptop for about 5 months. Is the battery dead :/? [00:40] I am running SCreensaver. Is there a way to disable screensaver when watching videos in Gnome MPV, VLC, and even YouTube in browser? [00:40] XScreensaver I meant. [00:41] um you could run up the blank time to the max like 7oo plus minutes [00:42] that will hold it off for a few hours [00:43] xBfrog: I hear uyou and it makes sense. but I was hoping to maintain the screensaver and screen lock function when I am not at the desktop without having to physically lock the screen. [00:44] ok, i dunno then, except resetting the time when video secession is over :) [00:44] HAHA! Coolion hehe [00:44] it wont affect your lock [00:45] 700 plus will give you over 11hrs [00:45] maybe not the best answer your looking for but it will work [00:48] or, In Display modes > Mode, select Disable Screen Saver. Otherwise, you can simply remove the package. I don't see any reason why it would disrupt anything. [00:49] xBfrog: Thank you. [00:49] ur welcome :) [01:09] dnivra: most laptops have battery information in the BIOS. I would check there for more information, Ubuntu should not prevent it from charging (especially when off) but might not show the charge level correctly. [01:30] https://termbin.com/g2o6 says I may have hit a bug or malfunctioned hardware which isn't very helpful, but then says the rest of the output will help me, but I have no idea how to read that, any thoughts? tomreyn [01:33] yelof: Thank you! I don't see the option to view battery information or run a diagnostic. I probably need to update the diagnostics software/bios probably. I'll check out how to do that on Ubuntu sometime. [01:45] jeremy31 I return once again because it still keeps prompting for password [01:58] any one with thoughts on how I can resolve this issue in my mysql error logs? https://termbin.com/g2o6 [01:58] Anyone else have any idea of why network manager keeps prompting for a password constantly? [01:58] ever since I upgraded to the latest ubuntu I can't get mysql to work [02:00] filifunky can you start mysql with gdb? [02:02] Gh0sT2242, hmmm...just looking at gdb for the first time right now [02:04] does it still crash in gdb, or are you just unfamiliar with it? [02:04] I am unfamiliar with it [02:05] ah we wont worry about it for now then [02:05] I just went "gdb mysql" and it said Reading symbols from mysql...(no debugging symbols found in mysql) [02:05] filifunky Stop the mysqld server with mysqladmin shutdown [02:07] Gh0sT2242 i ran mysqladmin -u root -p shutdown and got this:mysqladmin: connect to server at 'localhost' failed [02:07] error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' [02:07] Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! [02:10] Gh0sT2242, I have a feeling that some of the problem might be in my conf file. There wasn't anything in there after I upgraded. I added a bunch of different solutions on the internet but not sure its what it should be [02:11] filifunky might be as simple as "sudo service mysql start" [02:12] I get this: Job for mysql.service failed because the control process exited with error code. [02:12] See "systemctl status mysql.service" and "journalctl -xe" for details. [02:12] I will post the output of those [02:12] please do [02:13] systemctl status mysql.service: https://termbin.com/lfuqu [02:13] You said you updated to a new version recently, so it's possible that the MySQL server or the server host was killed in the middle of an update... [02:13] yeah it's possible [02:13] journalctl -xe: https://termbin.com/yxv8 [02:17] filifunkyI can't think of anything at the moment, if you have the time, I can do a bit of research and see if I can find an issue, but the easiest fix at the moment would be a clean install [02:17] Gh0sT2242 a clean install of mysql or ubuntu itself? I think I've done a clean install and i'm still having problems [02:18] I did a clean install but it asked me if I wanted to delete my databases, I said No [02:18] filifunky well then it may be a case of corrupt databases [02:19] Gh0sT2242 so I should do a clean re-install and delete the database? [02:19] I have a backup, just from almost a month ago unfortunately [02:19] try adding "[mysqld]innodb_force_recovery = 1" [02:19] hold on [02:20] i need to make a termbin [02:20] resolved defaults aren't applying working dns, help? [02:21] filifunky add to `/etc/mysql/my.cnf` https://termbin.com/yxv8 [02:22] codebam What are you trying to achieve? [02:23] Gh0sT2242 uh... working internet? [02:23] after rebooting the dns records are all messed up by resolved [02:23] and then I have to restart resolved before it applies them correctly [02:24] and when I restart resolved then it just replies with empty A records [02:24] Gh0sT2242 is that the right termbin? Its the same link I sent you earlier? [02:25] filifunky oop my bad, one sec [02:25] manually editing the /etc/resolve.conf does work temporarily, the internet does work, I can ping and download and do dns lookups manually with `dig @1.1.1.1 example.com` [02:25] filifunky https://paste.ubuntu.com/p/TmmyBrTGnH/ [02:25] codebam try `sudo dpkg-reconfigure resolvconf` [02:26] okay [02:26] okay done, rebooting [02:27] If it doesnt work, let me know, It might be dnsmasq [02:27] is this okay? https://paste.centos.org/view/b3a82e21 [02:28] after doing the reconfigure [02:28] and yeah that didn't fix it [02:28] should I start those services? [02:28] Gh0sT2242 i added that and got the same problem when I ran sudo service mysql start [02:28] Job for mysql.service failed because the control process exited with error code. [02:28] See "systemctl status mysql.service" and "journalctl -xe" for details. [02:28] codebam the reconfigure should have done it itself [02:29] oh yeah, it says loaded [02:29] Gh0sT2242 I found I get an error when I run it how i normally run it. The error is: [02:29] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [02:29] codebam lets try disabling dnsmasq, Open /etc/NetworkManager/NetworkManager.conf [02:29] and I don't have /var/run/mysqld [02:30] so it can't connect to the socket because it doesn't exist [02:30] but how do I create that socket? [02:30] filifunky so we have to find the socket.... [02:30] okay [02:31] gimma a sec lol [02:31] there's no dnsmasq inside the networkmanager config [02:32] and dnsmasq isn't installed [02:32] codebam add it as https://paste.ubuntu.com/p/Y3FhyzMBrn/ [02:33] Gh0sT2242 okay [02:34] restarted networkmanager after doing that, still no working dns [02:35] codebam ...anything from dmesg? [02:35] filifunky to find the socket `sudo find / -type s` === zbenjamin_ is now known as zbenjamin [02:35] you mean journalctl? [02:36] codebam what version you running? [02:36] 19.10 on arm [02:36] armv7l [02:36] What's the output of both? [02:37] dmesg and journalctl? [02:37] just a sec [02:38] Gh0sT2242 there are a lot of sockets, but none of them say mysql if that is what I'm looking for [02:39] filifunky in /etc/my.cnf, where does `socket=` lead to? [02:39] by default it should be /var/lib/mysql/mysql.sock [02:40] dmesg: https://paste.ubuntu.com/p/FrzpwZV3k9/ journalctl: https://paste.ubuntu.com/p/Nz6dc8Xm77/ [02:40] Gh0sT2242 [02:41] test [02:41] it says /var/run/mysqld/mysqld.sock, but that doesn't actually exist lol [02:41] #ubuntu any update for raspberry pi 4 19.10 login cloud-init bug? [02:41] @ubuntu [02:41] codebam: What version of Ubuntu are you using? [02:41] codebam: And server or desktop? [02:41] whislock 19.10 [02:41] server [02:41] on the odroid xu4 [02:41] codebam: Did you install networkmanager after the install completed? [02:42] whislock no, it was there [02:42] It shouldn't have been. [02:42] filifunky does /var/lib/mysql/mysql.sock exist? [02:42] so... I should remove it? [02:42] Is your connection wired or wireless? [02:43] wired [02:43] Gh0sT2242, no. The folder exists, but mysql.sock does not [02:43] codebam: dpkg -l netplan.io [02:43] codebam: Do you get a package or an error? [02:44] filifunky19.10? [02:44] whislock I get a package [02:45] Gh0sT2242, yep [02:45] but I fixed dns by editing /etc/resolv.conf to fix dns temporarily [02:45] filifunky sudo find / -type s | grep mysqld.sock [02:45] codebam: Key word is "temporarily." Let's fix it properly. [02:45] yeah, needed internet to use pastebin [02:45] codebam: pastebin the contents of /etc/netplan/*.yaml [02:46] whislock there's nothing in that folder [02:47] And this was the default install? Was this preinstalled, or you installed it yourself? [02:47] Gh0sT2242, this is the result: find: ‘/run/user/1000/doc’: Permission denied [02:47] find: ‘/run/user/1000/gvfs’: Permission denied [02:47] find: ‘/media/pete/Seagate Backup Plus Drive1/.Trash-1000/expunged/2947542317/12/03’: Input/output error [02:47] I installed 17.04 or something way back and have been doing dist-upgrade [02:47] it's the image provided by odroid [02:47] codebam: Okay, that explains things. [02:48] filifunky you ran as root, correct? [02:48] codebam: I'm going to pastebin a template for you. What is the name of your wired interface? [02:48] eth0 [02:49] codebam: What's the MAC address? [02:49] 00:1e:06:32:d7:cf [02:49] Gh0sT2242 I ran it using sudo, that's the same right? [02:49] codebam: Static addressing or dhcp? [02:49] dhcp [02:50] I guess I could give it a static address though [02:50] Let's start simple. :) [02:50] codebam: Insert this into /etc/netplan/eth0.yaml: https://paste.ubuntu.com/p/zVjcK8c9Mb/ [02:51] I don't know what's wrong with it. it keeps locking up [02:51] just a sec [02:51] What's wrong with what? [02:52] filifunky `sudo apt purge mysql-server mysql-common` and `sudo apt autoremove mysql-server mysql-common` [02:52] the install. it keeps locking up after like 20 mins [02:52] and I have to power cycle [02:52] like the whole board just locks up [02:52] filifunky this deletes ALL mysql data, so backup tables thaty are important to you [02:53] codebam: Might I offer that it may be time for a clean install? [02:53] Gh0sT2242, ok, that's fine with me. I have a backup from a month ago. Can I backup what's there right now even though I can't get into mysql? [02:53] hmm I guess [02:53] but if I clean install the last image that odroid provides is 18.04 [02:55] filifunky I'll be honest with ya, I only know how to back them up from inside of mysql, but im sure binaries are somewhere on system [02:55] so I'd just have to dist-upgrade to get 19.10 anyways [02:55] I'm going to try backing up the sdcard and installing alpine maybe [02:55] !dist-upgrade | codebam [02:55] codebam: A dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention. [02:55] something minimal [02:56] ubottu yeah my bad I meant release-upgrade or whatever [02:56] codebam: I am only a bot, please don't think I'm intelligent :) [02:56] Gh0sT2242: Purging those packages does not remove mysql's table data. [02:56] Gh0sT2242 I just looked at my backup, and it looks like it was backedup wrong [02:56] whislock autoremove cleans tables doesnt it? [02:56] I have another backup from a while ago, I hopefully won't have to go back to that [02:57] but i will if i have to [02:57] Gh0sT2242: No. autoremove removes packages that were installed as dependencies that are no longer required. [02:57] well filifunky i suppose tables wont be touched by the two command... so hopefully your safe [02:58] Gh0sT2242 just to clarify you mean won't be touched by those two commands you shared? [02:59] If what Whislock said is true, perfectly safe filifunky [02:59] codebam: The latest arm server release that I see on the ubuntu website is 18.04. [02:59] Wait. Ignore what I just said. [02:59] The button for 19.10 is right there. [03:00] codebam: https://ubuntu.com/download/server/arm [03:00] ok, I'll give it a shot [03:00] whislock is there a release there for the exynos5422? [03:01] that is for arm64 [03:01] this is armv7l [03:01] Gh0sT2242 ok, did it [03:02] filifunky `sudo apt-get update` then `sudo apt-get install mysql-server` [03:03] done but got some errors [03:03] codebam: ARMv7 and ARMv7L aren't different architectures. Your CPU is ARMv7. [03:03] codebam: Pull down an image and try booting it. [03:03] You may be causing yourself more headache than you need. [03:03] filifunky errors? what kind? [03:04] Gh0sT2242: https://pastebin.com/jKF7DgUd [03:07] filifunky that ones new to me, apparmor parser error... [03:09] yeah no fun lol [03:10] filifunky `sudo apt-get purge mysql*`, `sudo apt-get autoremove`, `sudo apt-get autoclean`, after those three have run, `sudo apt-get dist-upgrade` [03:10] WAIT [03:11] after purging mysql restart machine filifunky [03:11] I just did sudo apt-get purge mysql* [03:11] and sudo apt-get autoremove [03:11] should i do the autoclean? [03:11] sure, then reboot [03:11] ok [03:12] brb [03:15] Gh0sT2242 back [03:15] am going to do sudo apt-get dist-upgrade [03:15] filifunky best of luck [03:16] Gh0sT2242 so I'm guessing the next step is to install mysql? [03:16] sudo apt-get install mysql-server [03:16] sure is [03:17] I still get the parser error [03:17] sudo apt purge apparmor [03:17] remove the problem and it cant be a problem anymore [03:18] then `sudo apt install mysql-common mysql-server` [03:18] after sudo apt purge apparmor: https://pastebin.com/uApRrzJr [03:19] sudo dpkg --configure -a [03:19] maybe [03:20] after sudo dpkg --configure -a: https://pastebin.com/yhGu0NUL [03:20] well we got an error log this time [03:21] you mean the systemctl status mysql.service? [03:21] lol my browser crashed, am back [03:22] can I see the output of `/var/log/mysql/error.log` filifunky ? [03:22] lol your browser is tired of this problem [03:22] sure [03:23] filifunky: Gh0sT2242:: "Package mysql-server-8.0 is not configured yet." try command ' sudo dpkg-reconfigure mysql-server-8.0 ' . [03:23] Bashing-om dpkg --configure -a configures all packages does it not? [03:23] https://termbin.com/is8y [03:23] wasn't it something like mysql-server-secure-setup or such? [03:24] mysql_secure_installation [03:24] in cli [03:26] revolt112 he cant even get the service to start, let alone have it run secure setup [03:26] Gh0sT2242 should I try what Bashing-om is suggesting? [03:26] or crap my fault (just woke up about 10 min ago) was too lazy to check backlog [03:27] filifunky give it a shot [03:27] ok [03:27] (in Ger it is 04:26) [03:27] this is what I get: /usr/sbin/dpkg-reconfigure: mysql-server-8.0 is broken or not fully installed [03:28] sudo apt --fix-broken install [03:28] looks familiar: https://pastebin.com/ZK4RQmKa [03:29] filifunky, do you have some databases already? if not tried: apt remove --purge mysql-server* || apt install mysql-server* [03:29] revolt112 tried it already, as well as purging apparmor [03:30] uff [03:30] revolt112, I do, and would prefer not destroying those. The most recent backup I have doesn't look good. I have an older backup that looks decent although old [03:30] even dropping apt cache before reinstalling? (apt clean) [03:30] filifunky sudo apt upgrade and try again? [03:31] ill be honest, this one's got me stumped atm [03:31] I just did sudo apt upgrade and get the errors again "error processing package mysql-server-8.0 [03:31] " [03:32] Gh0sT2242, I appreciate the effort [03:32] I get a feeling tomreyn might know a way out of this [03:33] filifunky the definition of insanity, doing the ame thing over and over again, try `sudo apt-get purge mysql*` [03:33] there was a parameter to get apt to be more verbose [03:33] ok then install it again? [03:34] sudo apt-get install mysql-client mysql-server libmysqlclient-dev [03:34] sudo apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true [03:34] same errors [03:34] may including this [03:35] filifunky i, am, lost [03:35] lol [03:35] all I can assume at this point is what the error doubts [03:35] no problem [03:35] hardware issue [03:36] i hope not, but yeah it's a possibility [03:36] well, I am exhausted unless someone else has any other ideas [03:36] filifunky, do you have tried mariadb before? dpkg -l || grep mariadb-* [03:37] filifunky Well, I'm sorry I couldn't help you out, but im sure some of these other great minds could help ya out [03:37] revolt112, no i haven't [03:37] i'll give that a shot [03:37] Maria is a great idea actually [03:37] but imma head out, good luck [03:38] revolt112: https://pastebin.com/7N22jRYj [03:40] i think grep screwed up with the dash symbol [03:40] try installing mariadb [03:40] should be compatible with mysql dbs [03:41] revolt112: sudo apt install mariadb-client-core-10.3 ?? [03:41] filifunky, you need server also and there are metapackages [03:42] mariadb-client mariadb-server [03:42] ok [03:44] revolt112: looks like some error when installing mariadb-server [03:44] https://pastebin.com/DzsE3w35 [03:45] systemctl status mariadb.service: https://termbin.com/p0m2 [03:46] ./var/lib/mysql: found previous version 5.7 [03:46] that could be the reason [03:47] sudo mv /var/lib/mysql /var/lib/mysql.bak [03:47] I just went into /var/lib/mysql and can at least see my databases! I'm happy it doesn't look like it has been deleted and lost [03:47] and give it next try [03:48] ok [03:49] maybe you need to remove --purge again and reinstall [03:49] your databases are backed up [03:49] i did the sudo mv /var/lib/mysql /var/lib/mysql.bak [03:49] check first with cd into it [03:49] wait to make a backup wouldn't i need to cp instead of mv? [03:50] when the directory is renamed would be enough but cp anyway [03:51] cp /var/lib/mysql.bak /var/lib/mysql [03:51] you can cp -R /var/lib/mysql.bak ~ [03:51] no i want the directory /var/lib/mysql not existing anymore before installing mariadb [03:52] oh ok [03:52] then we should try a fresh install then reimporting needed tables one by one [03:52] alright, I am going to try and install maria server again because maria client seemed to install just fine? [03:53] yes [03:53] ok [03:54] i did a sudo apt install mariadb-server, it finished but didn't really do anything...0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [03:54] or do I have to get rid of it first then install it [03:54] it is installed [03:54] yes including --purge [03:54] apt remove --purge mariadb-server* [03:55] ok, yeah feel free to just tell me the commands [03:55] done [03:55] service up and running now? [03:55] install again? [03:55] yes [03:56] apt install mariadb-server [03:56] done and looks like no errors [03:57] systemctl status mariadb [03:58] some error: https://termbin.com/bkxb [04:00] but service is running [04:00] yea, it's a nice change [04:00] debian-sys-maint is missing in table mysql.users [04:01] systemctl stop mariadb [04:01] done [04:01] can you show me "ls -lisa /var/lib/mysql" [04:02] https://termbin.com/dcy8i [04:05] ok mv /var/lib/mysql/mysql then cp -R /var/lib/mysql.bak/mysql /var/lib/mysql [04:06] and start service [04:06] cp -R /var/lib/mysql.bak/mysql /var/lib/mysql/ [04:06] missing / at the end [04:06] ok [04:07] if service is crashing then your mysql database is corrupt and we need to fix [04:08] ok done [04:09] service running? [04:10] it says its down. But doesn't look like as bad as before [04:10] https://termbin.com/x349 [04:10] usually there is a red dot which I assume is worse [04:12] mysql_upgrade --port=3306 --user=root --password= [04:14] welp, back to the old error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [04:14] FATAL ERROR: Upgrade failed [04:14] if it fails we need to roll back to saved original mysql db and do mysql_secure_installation [04:14] yeah looks like it fails [04:16] how do I do the roll back and secure installation? [04:16] i need to lookup if we can have mysql (the one that comes with mariadb) and the renamed to something mysql from previous installation [04:17] ok [04:17] delete (if you cp and not mv) rm -R /var/lib/mysql/mysql and copy saved original from mariadb over [04:17] then service should start again [04:19] indeed we can have both just renamed [04:19] tell me if you are ready so far and service is running again [04:19] had to pee ^^ [04:20] so rm -R /var/lib/mysql/mysql and then cp /var/lib/msyql.bak/mysql /var/lib/mysql? [04:20] no in mysql.bak are your previous mysql tables [04:21] the one that comes with mariadb you copied to remember? [04:21] oh yeah [04:21] ok [04:23] check permissions with ls -lisa i got suspicious that the owner of the database could be root and not mysql anymore because of the copy command [04:23] if so that could be the reason for service crash because of failing upgrade [04:24] do I have to do cp -r when copying the mariadb files over? [04:24] jep [04:24] ok [04:24] ok just copied those files over to /var/lib/mysql [04:24] ls -lisa [04:25] in /var/llib/mysql [04:25] -l [04:25] https://termbin.com/fwvr [04:26] ohh crap as expected [04:26] looks like its root [04:26] i think you gonna hate me [04:26] =) [04:26] haha [04:26] no way you're helping me [04:26] remove mysql again and cp you myql.bak version over [04:26] hi [04:27] after that chown -R mysql:mysql mysql [04:27] sudo apt remove mysql? [04:27] and try starting service [04:27] nooo [04:27] ok [04:27] rm -R (if cp and not mv) /var/lib/mysql/mysql [04:28] cp -R /var/lib/mysql.bak/mysql /var/lib/mysql/ [04:28] then chown -R mysql:mysql /var/lib/mysql/mysql [04:28] systemctl start mariadb [04:28] then fingers crossed [04:30] ping [04:31] still there? [04:31] yeah still here [04:31] and? [04:31] nothing happened when I systemctl start mariadb [04:31] systemctl status mariadb [04:31] is that weird?> [04:32] good sign [04:32] oh [04:32] dont need a termbin [04:32] https://termbin.com/pnw3 [04:32] just tell me is good [04:32] sorry lol [04:32] well there is an error on the end [04:33] but looks like its working [04:33] but service is active [04:33] yeah [04:33] mysql -u root -p === popgreeny is now known as popgreen [04:34] do you know how to check users in databse mysql? [04:34] ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded [04:34] wtf [04:36] can you reboot your machine where mariadb is installed? [04:36] need some more steps to fix this [04:36] I can reboot...but "where mariadb is installed"? what does that mean? [04:37] on what machine are you working on? [04:37] Just my computer...I'm logged in as pete...don't know if that's what you mean? [04:38] yes -.- [04:38] then see ya after rebbot [04:38] oh ok [04:38] sure [04:38] adios [04:40] ok back revolt112 [04:40] wb [04:41] systemctl status mariadb? [04:41] running [04:41] active [04:41] try logging on again with mysql [04:41] . o O (i hope this works) [04:41] same error :( [04:41] ok [04:42] ERROR 1524 (HY000): Plugin 'auth_socket' is not loaded [04:42] now all whith leading sudo =) [04:42] systemctl stop mariadb [04:42] done [04:42] mysqld_safe --skip-grant-tables & [04:42] mysql -u root [04:43] I did mysql -u root and now I am in MariaDB [04:43] https://pastebin.com/B0W1w1KB [04:43] you need to do this line by line [04:43] ok [04:44] not the comments [04:44] =) [04:44] till # [04:46] I tried to do "flush privileges;" and got: ERROR 1932 (42S02): Table 'mysql.servers' doesn't exist in engine [04:46] ? [04:46] dude whats up with your machine =) [04:47] Maria is loco [04:47] ok quit anyway [04:47] then start service again [04:47] try logging in [04:48] reason is because upgrade failed before [04:49] I was able to log in using mysql -u root -p and no password [04:49] ok quit; [04:49] ok quitted [04:49] mysql_upgrade --port=3306 --user=root [04:50] now i need termbin of output [04:50] https://termbin.com/lbud [04:51] ok [04:51] now stop service again [04:52] and give me a listing of /var/lib/mysql.bak [04:52] done systemctl stop mariadb [04:52] ok [04:53] i'm not able to cd into it because permission denied. I can't sudo cd into it either [04:53] ? [04:53] sudo -i [04:53] then cd into it [04:53] termbin pls [04:54] ls -lisa /var/lib [04:54] https://termbin.com/uner [04:54] also termbin [04:54] thats not mysql.bak ? [04:54] https://termbin.com/4u5q [04:55] what table is important for you? [04:55] Quote? [04:55] Quotes yes. It's a databases with a few tables in there [04:56] stop service mariadb [04:56] copy Quotes over to /var/lib/mysql/ [04:56] do chown again [04:56] start service [04:56] systemctl stop service mariadb right? [04:56] yes [04:57] how long are you using linux? =) [04:57] Failed to stop service.service: Unit service.service not loaded. [04:57] was stopped [04:57] from before [04:57] then cp -R [04:57] lol, embarrasingly long enough where i should probably know this stuff [04:58] do you get it or need help? [04:58] just trying to figure out the chown part [04:58] forgot what we did [04:59] chown -R mysql:mysql /var/lib/mysql/Quotes [04:59] ok done with that [04:59] going to start [04:59] yep start service [04:59] mysql -u root [04:59] Failed to start service.service: Unit service.service not found. [04:59] lol [05:00] i was doing this: systemctl start service mariadb [05:00] systemctl start mariadb [05:00] not service =) [05:00] running? [05:00] ok did that...but it's not giving me a new command line...it's like its still thinking [05:01] should i still be in root? [05:01] yep [05:01] yeah, nothing going on [05:01] just a cursor but no new command line [05:01] [05:01] nothing? [05:02] Job for mariadb.service failed because a timeout was exceeded. [05:02] See "systemctl status mariadb.service" and "journalctl -xe" for details. [05:02] termbin the status pls [05:02] and journalctl -xe [05:02] https://termbin.com/yk3v [05:03] https://termbin.com/l3sw [05:04] mysqld_safe & [05:05] mysql -u root [05:05] [2] 4666 [05:05] root@pete-H81M-HD2:/var/lib/mysql.bak# 191118 00:05:02 mysqld_safe Logging to syslog. [05:05] 191118 00:05:02 mysqld_safe A mysqld process already exists [05:05] ok [05:05] go ahead mysql -u root? [05:06] nope [05:06] fg [05:06] then mysqld_safe should come up [05:07] systemctl start service mariadb [05:07] Job for mariadb.service failed because a timeout was exceeded. [05:07] See "systemctl status mariadb.service" and "journalctl -xe" for details. [05:07] ? [05:07] nope [05:07] is fg a command? [05:07] told you do "fg" [05:07] not start service ;) [05:07] yes it is [05:07] brings the background process mysqld_safe to "foreground" [05:08] this is what I did: https://pastebin.com/yC5MW4xV [05:08] ps aux | grep mysqld_safe [05:09] https://pastebin.com/DvPp018j [05:09] mysqladmin -u root shutdown [05:10] done [05:10] now try start service [05:10] done (systemctl start mariadb) [05:11] state? [05:11] active? [05:11] active (running) [05:11] mysql -u root [05:11] show databases; [05:11] i see Quotes! [05:11] use Quotes; [05:12] show tables; [05:12] done, but tried to select * from the tables and it says they don't exist in engine :( [05:12] ERROR 1932 (42S02): Table 'Quotes.quotes' doesn't exist in engine [05:13] whats the output of show tables; [05:13] that looks normal...the three tables i expected: quotes, sed, stand_up [05:14] is there a different way to select in mariadb? [05:14] ok stop service [05:15] done [05:16] The issue is that you need the ib* files in the root of the /var/lib/mysql.bak datadir [05:17] in /var/lib/mysql.bak/Quotes there are ib* files there [05:17] oh nevermind [05:17] i lied [05:17] lol [05:17] theres quotes.ibd there [05:17] ib files from /var/lib/mysql.bak [05:18] ahh yeah theres a few ib files [05:18] you need to overwrite /var/lib/mysql/ib-files with them from mysql.bak [05:18] and hoping that this doesn't crash you mariadb again [05:19] ok [05:20] i don't know how to do this. I know cp and mv...is there a special command for this? [05:20] cp -f /var/lib/mysql.bak/ib* /var/lib/mysql/ [05:21] done [05:21] start mariadb service again [05:22] root@pete-H81M-HD2:/var/lib/mysql# systemctl start mariadb [05:22] Job for mariadb.service failed because the control process exited with error code. [05:22] See "systemctl status mariadb.service" and "journalctl -xe" for details. [05:22] lol [05:22] just for interest... how did your first mysql instance crashed? [05:22] i upgraded to the latest ubuntu version [05:22] done chown command? [05:23] i did not do a chown command [05:23] then do it =) [05:23] chown mysql:mysql /var/lib/mysql/ib* [05:23] done [05:23] start again? [05:24] if want to =) [05:24] of course [05:24] still have the error :( [05:24] termbin the status and journalctl? [05:24] or give me just the exit reason [05:25] https://termbin.com/d9mj [05:26] that says nothing helpful [05:26] =( [05:26] mysqld_safe & [05:26] mysql -u root [05:26] https://termbin.com/etpw [05:26] ok [05:27] try select * from Quotes [05:27] good times lol: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [05:27] then even mysqld_safe wont start anymore [05:28] we fucked up mariadb by copying the ib files [05:28] if you are tired, I'm not going to hold you here, I feel bad lol [05:28] your /var/lib/mysql.bak ist still there and complete or? [05:29] please mind your language in #ubuntu [05:29] sry lotuspsychje [05:29] yeah it looks normal to me [05:29] then apt remove --purge mariadb* [05:29] You need to run mysql_install_db to re-initialize data directory. Provided that the data @ /var/lib/mysql is not important. [05:30] or you have backup [05:30] rnat, i would be thankfull when you can take over? he has a backup of /var/lib/mysql in /var/lib/mysql.bak [05:31] I just did --purge mariadb* and got this: [05:31] The /var/lib/mysql directory which contains the MariaDB databases is about │ [05:31] │ to be removed. │ [05:31] │ │ [05:31] │ If you're removing the MariaDB package in order to later install a more │ [05:31] │ recent version or if a different mariadb-server package is already using │ [05:31] mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql to reinitialize [05:32] no need for purging the entire copy, sigh... [05:32] https://pastebin.com/WsRwuLui [05:32] the original database was from Mysql but mysql wont start even after reinstalling [05:32] mariadb was [05:33] I've seen this before today and I hit No [05:33] we tried to get his database running under mariadb [05:33] I'm hitting no [05:33] you can even hit yes [05:33] you've a backup [05:34] ok [05:34] ok, apt remove --purge mariadb* is done [05:34] rnat, we screwed around with the original mysql table from first mysql insall in mariadb [05:35] ./var/lib/mysql removed? [05:35] ./var/lib/mysql.bak still there? [05:35] yes to both [05:36] try installing apt install mysql-client mysql-server [05:37] done [05:37] systemctl status mysql [05:37] active running [05:37] ok so mysql is back in service [05:38] nice [05:38] now we need to get your old databases running [05:38] yep i have to copy files from .bak over right [05:38] stop mysql pls [05:38] done [05:39] first make a backup from fresh installed mysql (cp -R /var/lib/mysql ~/) [05:40] ok [05:41] done [05:41] now rm -R /var/lib/mysql [05:41] done [05:41] mv /var/lib/mysql.bak /var/lib/mysql [05:41] check permissions and ownership [05:41] start service if ok [05:42] should I have cp'ed instead of mv'ed? [05:42] no mv keeps your permissions [05:42] ok [05:42] you can cp afterwards [05:43] ok I ls -lisa'ed and pretty much everything doesn't have root except for a couple things [05:44] try start service maybe it would start [05:44] am i starting mariadb? [05:44] nope there's no more mariadb [05:44] we installed mysql again [05:45] got it [05:45] i guess the silence is a bad sign? [05:45] welp favorite error again [05:46] https://termbin.com/msv9 [05:46] https://termbin.com/4abe [05:47] mysql.service: Service RestartSec=100ms expired, scheduling restart. ? [05:47] yeah idk what that is about [05:48] you do "systemctl mysql start" [05:48] right? [05:48] start mysql [05:48] hey friends [05:48] hi [05:48] i did "systemctl start mysql" [05:48] hi [05:49] sudo mysql_ssl_rsa_setup --datadir /var/lib/mysql [05:50] maybe apparmor is blocking [05:50] it says that command is not found [05:51] oh sorry one sec [05:51] ok done [05:51] try start mysql again [05:51] outputted some stuff about rsa private key [05:52] failed [05:52] same reason? [05:52] https://termbin.com/hnem [05:52] looks similar [05:52] https://termbin.com/949n [05:52] try sudo chown -R mysql:mysql /var/lib/mysql [05:53] then fire up service again [05:53] failed [05:53] -.- [05:53] so im trying to set a static ip and netplan just complaints about ethernet: - network definition: exspected mapping. anyone have any idea? [05:54] looks the same [05:54] filifunky, same reason over again? [05:54] https://termbin.com/7303 revolt112 [05:55] how are you feeling? [05:55] gimme please the content of /etc/apparmor.d/usr.sbin.mysqld [05:55] time is running out, except that i am fine [05:57] https://termbin.com/80oj === Bizaqi is now known as Ceber [05:59] can u compare /var/lib/mysql with ~/mysql [05:59] with original mysql it was working [05:59] with your backup it wont [06:00] what is the command line for that? I've done it before but forgot [06:00] just compare files with ls [06:00] if somting is missing except Quote [06:00] if somting is missing except Quotes [06:00] oh i see what you mean [06:01] yeah they are different, ~/mysql has binlog files.../var/lib/mysql has aria log files [06:02] among other differences [06:03] debian-10.3.flag in var/lib/mysql vs debian-5.7.flag in ~/mysql [06:03] does mysqld_safe & work? [06:03] yeah looks like [06:03] mysql -u root -p [06:03] old password from first installation [06:04] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [06:04] fg [06:04] -bash: fg: current: no such job [06:04] are there some error messages [06:04] mysqld_safe [06:05] no & at the end now [06:05] what does it say [06:05] 2019-11-18T06:05:07.947194Z mysqld_safe Logging to '/var/log/mysql/error.log'. [06:05] 2019-11-18T06:05:07.948931Z mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists. [06:05] sudo touch /var/run/mysqld [06:05] mysqld_safe [06:06] same error [06:06] mom [06:06] sudo touch /var/run/mysqld you did? [06:06] yep [06:06] is mom a command or a cry for help [06:07] sudo mysqld_safe ? [06:07] same error [06:07] mom = moment pls [06:08] sudo rm /var/run/mysqld [06:08] my fault [06:08] do sudo rm /var/run/mysqld? [06:08] yes then mkdir -p /var/run/mysqld -then-> chown mysql:mysql /var/run/mysqld [06:09] done [06:09] mysqld_safe [06:09] 2019-11-18T06:09:25.336537Z mysqld_safe Logging to '/var/log/mysql/error.log'. [06:09] 2019-11-18T06:09:25.360917Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql [06:09] 2019-11-18T06:09:26.083010Z mysqld_safe mysqld from pid file /var/lib/mysql/pete-H81M-HD2.pid ended [06:09] looks better [06:09] new terminal [06:10] mysql -u root -p [06:10] ok [06:10] same error [06:10] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) === dps_ is now known as dps [06:10] sudo ls /var/run/mysqld [06:11] nothing in there [06:11] termbin /var/log/mysql/error.log [06:11] last try [06:11] i had to go in 20 min [06:12] https://termbin.com/yzfm [06:14] it thrown crashdump [06:15] i have no clue [06:15] not a problem [06:15] I think I'm about to fall asleep [06:15] ok [06:15] I'll try and fix this another day, maybe tomorrow [06:15] gn8 =) [06:16] later! have a good day/night! [06:16] and thanks! [06:16] good day here [06:16] 07:16 am =) [06:17] 1AM here. gonna sleep, later! [06:57] ubuntu 1804; /etc/resolv.conf is being generated with "search ENKITE.LAN" but when I try to "dig hostname" it doesn't work. "dig hostname.enkite.lan" works, though. Any ideas why this is not working? [07:05] hmm... ok, it works with 'host' but not 'dig' [07:07] oh... awesome.. dig +search [07:07] TIL === im0nde is now known as suggest_me_a_nic === suggest_me_a_nic is now known as im0nde === im0nde is now known as oso [07:43] can anyone point me in the right direction. I am using prax to use text based hostnames eg. myapp.localhost which routes to localhost on port 20559 or 20558. Before i used to use dnsmasq and i could use a shorter domain name like myapp.dev or myapp.test because google now owns .dev (seriously they own .dev its anoying) anyway with ubuntu 18.04 dnsmasq has far to many conflicting problems namely sockets and ports due to systemd-resolved. [07:43] my question is how can i route myapp.test the same way i used to with dnsmasq [07:44] do i use systemd-resolved or systemd-network and how to configure them === oso is now known as im0nde [07:44] i tried to use /etc/systemd/resoved.conf and add Domains = ~.test but this failed [07:45] ive tried /etc/hosts too and that failed [08:16] I am trying to follow these instructions, but when I apt-get updates it refuses to trust the stub I previously added : https://github.com/victronenergy/venus/wiki/raspberrypi-install-venus-packages [08:18] I have tried all manner of fixes [08:18] https://pastebin.com/xutz678e [08:20] !debian | al_nz1 [08:20] al_nz1: Ubuntu and Debian are closely related. Ubuntu builds on the foundations of Debian architecture and infrastructure, with a different community and release process. See https://www.ubuntu.com/about/about-ubuntu/ubuntu-and-debian - !Repositories meant for Debian should NOT be used on Ubuntu! [08:21] al_nz1, best would be to have the signed key of the repo, but I can't find that anywhere in the wiki of that github project [08:21] So next best is `apt-get --allow-unauthenticated` [08:21] hello [08:23] Ecko_: https://pastebin.com/X3nVs12p [08:23] if only that wrked [08:23] al_nz1: here is for ubuntu support, ask in #debian please [08:24] Ecko_: got it [08:24] added [trusted=yes] [08:24] to stub [08:24] hmmm [09:31] hi all. I have ubuntu. I have follow the wiki of the bluetooth for use AD2P with my headset. The sound work correctly but the usb disctonnect after one minute. any can help me ? [09:47] suntimes: do you use gnome bluetooth or blueman? [09:55] lotuspsychje: I use gnome bluetooth [09:55] suntimes: try installing blueman, see if you can make this more stable [09:55] !info blueman | suntimes [09:56] suntimes: blueman (source: blueman): Graphical bluetooth manager. In component universe, is optional. Version 2.0.8-1ubuntu1 (eoan), package size 1652 kB, installed size 4936 kB [09:56] lotuspsychje: thanks I try it [09:57] helllo [09:57] do you see the space before and behind the colon inside the date column? https://gitlab.gnome.org/GNOME/nautilus/uploads/6a508ae65f24fd9ccd2669cbafe4e5be/Screenshot_2019-07-18_14-23-37.png [09:58] nautilus and nemo have the same problem [09:58] this annoying COLON [10:02] interrobangd: is it the time spaces you mean? [10:02] also in time yes [10:02] 14 : 22 instead of 14:22 [10:03] interrobangd: wich flavour of ubuntu are you on please? [10:03] and version [10:03] 19.10 [10:03] cinnamon desktio [10:03] *desktop [10:04] How would one effectively limit an SSH user to only specific directories and deny of all other dirs? [10:04] interrobangd: i dont see this bug in nautilus 3.34, maybe its related to cinnamon then [10:05] interrobangd: did you try logout, and see if ubuntu-desktop nautilus also have this? [10:05] lotuspsychje: thanks. blueman seem to work better [10:06] no, i will try it ... wait a second .. i have also 3.34 installed [10:06] suntimes: if you have some free time, maybe consider filing a new !bug for that [10:06] lotuspsychje: where report it ? [10:07] suntimes: from a terminal: ubuntu-bug gnome-shell [10:07] suntimes: then create it with a launchpad account [10:07] lotuspsychje: ok I do it [10:08] lotuspsychje, i have loaded the gnome desktop, same problem [10:14] i'm installing ubuntu 19.10 with full disk encryption. is there a way to have separate home partition and sawp partition that permits hibernation? [10:25] on ubuntu server 19.10, is it possible to manually format the os disk to which os will be installed on? I mean like for example with parted, the "manual" mode in the installer only has 3 preset options to really choose from [10:25] I couldn't figure out how to do that [10:26] or do I have to use the desktop installer to achieve that? I have read I can convert the desktop installation to server one later on [10:36] jybuler: during the installer just open a terminal and do it [10:39] oh right, didn't notice there was "enter shell" option under help, my bad [11:50] Hi, I try to install Ubuntu Server 19.10 on a EFI System. I'm just trying to create a EFI Partition but can't select FAT32 from the partitioner... The only available options I can see are: ext4, xfs, btrfs, swap, "leave unformatted"... How can I create a EFI Partition with this Installer? [11:51] Tuor: choose the type as efi [11:51] not fs [11:56] How can I do that? [12:00] I can't find where I can chate the type. [12:00] s/chate/change/ [12:04] Hi folks [12:25] any one know why insmod for vmmon just hangs for ever === coffeeguy is now known as zenguy [12:45] EriC^^: I'm using the new "live" installer... [12:52] Tuor: no idea [12:55] good morning everyone [13:05] revolt112: Grep issues? [13:05] revolt112: Ignore me, page up just bit me hard. [13:14] whislock, no problem === kre10 is now known as zzlatev === zenguy is now known as zenxen [13:54] Hi. I have https://support.hp.com/us-en/product/omen-by-hp-17-cb0000-laptop-pc/26122176/model/29770675/document/c06411586 . I installed Ubuntu 19.10 but my "HP Wide Vision HD Camera with integrated dual array digital microphone" microphone is not working. [13:54] Camera is working [13:54] When I go to settings -> sound i see nothing on Input devices [13:54] Hi. What is ubuntu's stance on MongoDBs SSPL license? Red-hat and Archlinux have removed the package from their repositories. Is there a risk that MongoDB will also be removed from ubuntu's repos? [13:55] I couldn't find a discussion on this topic on the mailing lists. [14:01] Shapeshifter, I wouldn't be worried at all if Canonical decides to drop the package from the repos as most people using MongoDB will probably be using the more recent versions directly from MongoDB. Either way, this topic is more of something for #ubuntu-discuss than for this support channel, I think. [14:02] JimBuntu: thanks! === h00k_ is now known as h00k [14:13] lotuspsychje, i ve solved the problem [14:14] kubuntu (KDE) was installed and did something ugly [14:20] HI all, Im trying to list ports forwarded by myself (ssh), Im using the command lsof -i -n | grep ssh | grep IPv4 | grep 127.0.0.1: | grep LISTEN to get the list of ports, it prints https://pastebin.com/Qs4CVUCX, any way I can filter so I only get back “12346 and 12429” ? [14:25] page removed? [14:25] DeafGoose, since you depend on the grep filtering, I would suggest using a utility such as cut to isolate the content you want, although that's generally ill-advised [14:26] hmmm how would I use cut in this context? [14:29] DeafGoose: Are forwarding ports in the context of networking/firewall... or are you tunneling ports through ssh? [14:29] yea tunneling ports via ssh === majestic is now known as Guest19478 [14:46] I have a problem upon logging in I get logged out instantly [14:47] Is there a command I can type in safe mode that might fix this? [15:13] Anyone? [15:14] Guest19478, please see if there is anything in /var/log/Xorg.0.log that says why [15:14] Guest19478, it might be failing to launch the desktop. have you made changes? [15:19] i'm running ubuntu with unity.. how can i show all applications running with their own entry in the taskbar [15:19] or whatever it's called.. the line at the bottom of the workspace [15:19] lordcirth: Anything specific I can look after, there is a bunch in there [15:19] Guest19478, grep for 'EE' (errors), and/or just look at the end. [15:19] Guest19478, or you can just pastebin it to us. [15:22] I cant copy paste it since its on the other computer, but grep for "EE" then I get "(WW) Warning, (EE) error, (NI) not implemented (??) unknown." followed by "(EE) SynPS/2 Synaptics TouchPad: Read error 19" [15:25] At the end of the file it says "(II) evdev: Dell WMI hotkeys: Close" \\ "UnloadModule: "evdev"" \\ and a bunch of those kinds of messages [15:26] Guest19478, is this a laptop with a touchpad? [15:26] Yes [15:26] The touchpad works fine, but is that really the problem here? Feels like there is something else [15:26] Guest19478, what Ubuntu version is this? Is it a fresh install, or upgraded? [15:27] When I check for the .Xauthority file it says it does not exist, could that be something relatable? [15:27] Its Ubuntu 18.04.3 LTS [15:27] Its an upgraded version [15:38] .Xauthority only exists when a user has successfully authenticated for Gnome Desktop Manager [15:38] Ah okay, makes sense, because I have not successfully logged in it is not created then [15:40] This problem smells like a backup of the system and a fresh install unfortunately [15:41] Guest19478: Is this machine one that was given to you from your IT department? [15:41] No, it is a personal machine [15:41] oh... I misread [15:42] Guest19478: That only thing I haven't seen asked is if you're trying to use Wayland or X [15:43] I don't know what those two are [15:44] When you login there is a drop down menu (might look like a gear/sprocket icon) ... When you click there, you would see the options of Ubuntu and Ubuntu with Wayland [15:44] Ah one sec then [15:45] I was just about to mention that :) [15:45] I have the alternatives: Plasma, Ubuntu, Ubuntu on Wayland, Unity [15:45] Currently the "Ubuntu" is ticked [15:48] Tried logging in with "Unity" and it worked [15:48] What is that though, pragmaticenigma ? [15:50] different desktops, usually [15:51] Ah okay, so I will use this as an opportunity to backup my system and then make a fresh install [15:53] is there a way to clean ubuntu without deleting and reinstalling ubuntu? [15:55] anyone? [15:56] rana_ans, I am not aware of any such feature to restore an Ubuntu install back to fresh [15:57] JimBuntu: I found sudo apt install wipe -y, will this command delete data in my windows as well or just ubuntu [15:57] ? [16:01] rana_ans, wipe is a utility to rewrite the data location of files. It will not care if the files are from Windows or not, so long as you command it to wipe them and it can talk to the filesystem. [16:02] ok thank you [16:19] https://wt.social [16:20] not here freq [16:20] freq: I'm starting to think you do this on purpose [16:20] freq: so either you stop it, or I'll stop it for you [16:25] freq forgot to add his recommendation token! [16:26] Pricey: please don't [16:26] freq has unfortunately left us for a little while [16:26] hullo Pricey === ben_r_ is now known as ben_r === SimonNL is now known as SimonNL_Afk [16:38] Fuchs: Hello :-) [16:38] pragmaticenigma: Howdy! Please don't what, sorry? [16:39] Pricey: as the /topic says, this is the Ubuntu *support* channel, we don't discuss here, especially not spam. [16:40] tomreyn: Oh I'm sorry, was I interrupting something? [16:42] oh, apologies, I must have confused that channel here with the offtopic one [16:46] I have a systemd service with PrivateTmp and so apparmor denials show up with e.g. 'tmp/foo' as the path, missing the leading slash. Adding the attach_disconnected flag to the apparmor profile "works" but is plainly documented as the wrong solution. What is the right solution? === led_dark_2 is now known as led_dark_1 === BurekzFinezt is now known as Burek [16:58] why is my sound choppy and clicky after the last update? any fix? === akem__ is now known as akem [17:08] why is my sound choppy and clicky after the last update? any fix? [17:09] !patience | xBfrog - You may also want to specify exactly which flavor of Ubuntu and what version you are now using [17:09] xBfrog - You may also want to specify exactly which flavor of Ubuntu and what version you are now using: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [17:09] ok :) [17:10] kubuntu 18.04 [17:11] i've been to ubuntu forum and none of the sugesstions hleped [17:12] i tired them all [17:13] either the fix did nothing or the suggested fix couldnt find the file or directory they suggested [17:24] so as my post scrolls away how long is the proper amount of time to wait? [17:24] !patience [17:24] Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [17:26] apparently i'm not good enough to figure this out i have exausted the links you show. [17:26] but thanks :) [17:29] xBfrog: The key item in that bot message is : "if nobody knows your answer, nobody will answer you" ... A proper amount of time to wait is based on if your message a scrolled by, as much as it is if you're in a hurry, this may not be the best place to look [17:30] *isn't based [17:30] i'm not in a hurry, guess i dont know the propper ediquite [17:31] i have asked different questions in other channels and found some to be rude and dismissive [17:33] xBfrog, have you tried the first answer here : https://askubuntu.com/questions/707171/how-can-i-fix-choppy-audio [17:33] xBfrog: partially because many of the same people are in those channels. Cross posting an issue is not well received in the community [17:33] Also, a couple quick searches landed me here: https://askubuntu.com/questions/1033405/crackling-and-delayed-sound-after-upgrading-to-18-04 [17:34] basically the same, might be the one [17:48] hello again ubuntu room [17:49] hey i am having trouble with video on youtube, i get this line spliting the image across left to right through the whole screen and it pushes the image slightly to one side [17:50] indoorcat, is it only with youtube? [17:57] lordcirth not sure [17:59] indoorcat, try vimeo or something. Also, what Ubuntu version, browser, graphics card, and graphics drivers? [18:03] i think it's just in my firefox browser [18:03] chrome seems to be fine in youtube [18:16] hi, my Ubuntu 19.10 desktop is freezing every few seconds on the GUI. tty does not freeze and I can ssh into it [18:18] how do I diagnose it? what logs to look at? [18:18] Beren: try to get in with !nomodeset [18:18] Beren: journalctl -b [18:20] ...then press (upper case) G to go to the end. [18:24] lotuspsychje: i just booted in with nomodeset, still freezing [18:24] try what tomreyn adviced to see whats happening Beren [18:28] Beren: another thing you can try at boot level, is pressing F1 (for textboot) to see if you notice unusual behaviour === jhutchins_wk1 is now known as jhutchins_wk [18:31] tomreyn lotuspsychje https://pastebin.com/qC2HZ9xR [18:31] lotuspsychje: going to try textboot too [18:33] I've found a bug in default .profile file in Ubuntu. How do I find out which package does it sit in so it could be fixed? [18:33] lotuspsychje: is textboot just the black background with boot messages instead of graphical splash? [18:33] Beren: yes [18:34] Ignacy, apt-file search /etc/skel/.profile -> bash [18:34] lotuspsychje: i already have that, did not see anything unusual. boot is quick and normal [18:34] but GUI is hanging like crazy every twenty seconds or so [18:34] Beren: there's alot going on, in your dmesg...whats your graphics card chipset and driver version please? [18:34] thanks lordcirth! [18:34] Ignacy, you are welcome. apt-file is very useful, though you have to install it and run apt-file update [18:35] Hello [18:36] jean_kevin, hi. [18:36] I can ssh directly to a server, and I used to be able to mount my home directory there using my GUI file manager locally, but now that remote connection is just hanging. Any idea how to diagnose? I'm using Ubuntu MATE. [18:36] jfcaron, how were you mounting it? NFS? [18:37] lordcirth, "SSH" option in the GUI, so I am guessing sshfs. [18:37] lotuspsychje: AMD RX480, amdgpu from kernel 5.3.0-23-generic [18:37] jfcaron, can you try manually using sshfs with -vvv ? Also, did you change any sshd, login, or motd settings recently? [18:37] Beren: what about your cpu? [18:37] i7 6700k [18:38] lordcirth, No, I'm not admin on the server at all. [18:38] Beren: is it stock amdgpu driver, or did you install from a ppa? [18:38] I will try sshfs with -vvv [18:38] I have seen problems where a misconfigured motd can print garbage that breaks sshfs [18:39] Hrm...I don't have sshfs installed via apt-get. The GUI file manager was "Caja" (inherited from GNOME)...could it be using something else? [18:39] lotuspsychje: stock, unmodifiede [18:41] Beren: did any other ubuntu version work on your system? [18:41] jfcaron, it might actually be sftp [18:42] lotuspsychje: I think I installed on 18.04 and have updated. 19.10 has been working fine until two days ago [18:42] haven't done anything unusual [18:42] anything in the logs? [18:42] Beren: interesting, can we see your dpkg logs please [18:42] lordcirth, I can manually mount with sshfs in the terminal if I use sudo, but I can't browse the mountpoint in the GUI file manager. [18:44] Wait what...I tried going back to the GUI Connect to Server...dialog and now it works. wtf [18:44] I hate working on remote files. [18:45] why during the update, ubuntu regenerates initrd.img several times? [18:45] aaand now when I try to change folders it stalls again. [18:46] lotuspsychje: https://pastebin.com/ZJzHXJVj [18:46] mostly system update [18:46] Beren: meanwhile, can you try booting a previous kernel [18:47] lotuspsychje:going to try [18:47] Beren: on 15/11 you had kernel updates, recall issues from that day? [18:48] lotuspsychje: since nov 15, haven't used computer much since yesterday. it's possible [18:49] Beren: your dmesg also shows secureboot updates [18:50] still freezes on 5.3.0.19-generic [18:50] jfcaron, while it's mounted, run 'df -h' and see if the mount shows up === im0nde_ is now known as im0nde [18:51] lordcirth, I ended up mounting it to my home directory with sshfs without sudo, and now i can browse it with the GUI file manager. This already seems more stable than the GU "Connect to Server" thing..so I'll stick with this for now. [18:52] lotuspsychje: what are you recommending? [18:53] what's the easiest way of blocking all network communication (including outgoing) EXCEPT with a specific IP? [18:53] Beren: im not sure yet where its coming from.. [18:53] Beren: you login into xorg or wayland? [18:53] I want a Ubuntu Server install that can only communicate with my laptop, whether it be ssh, vnc, http, etc. I want this handled at the network level, not application level. [18:54] lotuspsychje: loginctl shows x11 [18:54] jfcaron, I recommend putting the sshfs mount into /etc/fstab with x-systemd.automount [18:55] Beren: is it possible you create a new user to test? [18:55] I have an ubuntu server on AWS and ssh broke for some reason. It's AWS so without SSH I can't connect to it at all. I've copied the root volume and attached it to another server so I can look at logs, but I'm not immediately seeing anything of value. How would anyone recommend I figure out why SSH is down? [18:56] Beren: maybe we can close out its user related [18:57] jwr, "broke" how? connection refused? reset by peer? hangs? password refused? [18:58] lordcirth, Will that make it automount as soon as I log in? I don't think I normally want that. A button on the GUI file manager sidebar would be ideal, but I can run a terminal command too to mount it, I can put an alias in my .profile. [18:58] jfcaron, it makes it mount when you first try to access it [18:58] ls, cd, etc will trigger a mount [18:58] Ah ok, that sounds good too. [18:58] You can optionally configure it to unmount after X seconds idle [18:59] lordcerth: ahh, yes, I guess I left out that detail. SSH just hangs / times out when I try to connect to it. [18:59] lordcirth: ^ oops mispelled your name. [19:00] jwr, k, so I would look in /var/log/auth.log to start, and /var/log/syslog [19:00] lotuspsychje: I think so.. [19:00] lotuspsychje: I'm going to test some more [19:02] lordcirth, So I need to add a line in /etc/fstab that says: server.whatever.com:/home/myuser /home/localuser/mountpoint sshfs x-systemd.automount? [19:02] jfcaron, try defaults,x-systemd.automount,x-systemd.idle-timeout=600 for options, but yes [19:03] I don't think I want an idle timeout, since via the GUI file manager I also launch text editors to edit the remote files. [19:04] lordcirth: /var/log/auth.log shows `sshd Server listinging on port 22` but doesn't otherwise show why ssh would be down. grep sshd /var/log/syslog doesn't have anything at all. Should systemd have logs showing sshd starting/stopping? === akem__ is now known as akem [19:04] up to you. But the systemd automount doesn't unmount the mountpoint, just the other end of the connection. (some shenanigans with bind mounts, iirc) [19:05] ssh with the -vvv option can give a clue too [19:05] jwr, it should, yeah. try "journalctl --file=.." to target the other system's log [19:05] lordcirth: i was expecting those logs in /var/log/journal/ but... there isn't one. [19:06] jwr, ah, persistent logging only happens if you create that directory. I dislike that it's off by default [19:07] oh, that's a weird design. but cool, good tip. i'll re-spin this up and have bootstrap create that directory. thanks. [19:08] lotuspsychje: I think it was related to gnome extensions. turning them all off has my user working now. I tried turning some on and I experienced the freezing again [19:09] +1 Beren [19:09] i was presuming user relation [19:10] lotuspsychje: thanks for all the help! [19:10] welcome [19:18] Why do I get this error when adding interpret { ... RedirectKey(keycode=, clearmodifiers=Lock); } in XKB? It works fine for , , etc. here [19:18] https://gist.github.com/AlexP11223/2e7407bd002440fa4f0b1433a90a15af [19:19] + [19:19] AlexP11223: your diff looks mangled [19:20] sarnold: what do you mean? looks fine to me, it's full file context with + ... at several places [19:22] AlexP11223: oh hah, after I didn't see any changes in the first few screens or the last screen I assumed the whole thing was busted [19:22] AlexP11223: I've never seen anyone use this much context before [19:25] hm, actually looks like it's not about the keycode, interpret osfHome { repeat= True; action = RedirectKey(keycode=, clearmodifiers=Lock); [19:25] doesn't work too. even though a very similar interpret works fine above [19:30] anyone know how to back up one vps to another ? [19:31] Br|aN, as in cloning it, or just backing up data? [19:31] cloning pretty much i guess [19:31] That would depend on your VPS provider, probably. [19:31] i needto up grade the ubuntu on one vps and it weont let me [19:31] so i gottta do fresh install [19:32] lordcirth: and of course now that i've re-spun up this server, enabled persistent logging to /var/log/journal, ssh is working fine because of course it is... sigh. [19:34] lol [19:37] Thanks for the sshfs help lordcirth [19:37] np [19:42] hi i have a question i am reading the documentation on how to setup your own Webstore website and the part of installation is in setting of the site I have to indicate the Admin Server Domain does it mean that i have to purchase a Domain name server site Cannt i use my own Computer in Ubuntu as a domain name server [19:44] aleksandrdvorkin: what's the context for this question? at first it sounds more like something to ask at your domain registrar or webstore provider [19:45] well i want to run a webstore site off of my laptop for example what apps woupld to use to run the DNS as oppose to purchasing the DNS address [19:47] aleksandrdvorkin: Running a store site off of a laptop is an odd choice. As for a domain name, you need to buy one. [19:48] so basically i need to buy a webspace with domain name where i store the site NOT TO RUN OFF OF UBUNTU LAPTOP? [19:49] you need a domain name, or use one of the free ones [19:49] aleksandrdvorkin: I'm a fan of powerdns software, but the ubuntu packaging for that is quite stale; bind is in main and common, knot is probably the next most common choice but i know less about how well it's maintained in ubuntu [19:50] Before that, though, one must purchase a domain name from a registrar. Having a DNS server does not create a domain, nor will the DNS server do anything of value without purchasing a domain. [19:53] well im just trying to build my own webstore site like a practice i dont think i am goint go use it much are there free domain names available? [19:55] do you need a domain name? [19:55] if it's just to play with, you can use 127.0.0.1 on your own computer .. [19:55] ok is see [19:55] some software may not handle that well, but that'd be a question for whoever is providing the software [19:56] Hey everyone. I installed Ubuntu on a macMini the other week and set up a cron job to run a script 3 times a day. However, I notice at the end of the day, the script only partially runs (?) [19:56] or just create a backup file of all my /home dir [19:56] You can also use a .local address in /etc/hosts or in your router's DNS [19:56] only need a domain name is you want to be able to connect to it from the outside using a name [19:56] You don't even need to use localhost, you can set up fake domains in /etc/hosts. [19:56] *if you [19:56] (with corresponding apache vhosts) [19:57] The script is supposed to do all my mobile searches, desktop searches, and quizzes on Microsoft rewards. But when I check, it only runs through about half [19:57] ok so fake domain name and run the localhost to seee if the site works like with Personal website [19:57] I am having trouble installing wine on ubuntu [19:57] I need it for chessbase [19:58] it is only available on windows [19:58] indoorcat, What Ubuntu version, and how are you trying to install wine? [19:58] ubuntu 18.04 [19:58] z0oinsk: pastebin the script and the output from it when run in cron and maybe someone can spot something [19:58] Br|aN: Personally, for doing an upgrade I wouldn't "close" the machine. I would replicate whatever was done on the old machine and copy over whatever data needs to be copied. [19:58] I install it in the software search [19:58] it doesn't appear after I install it [19:59] indoorcat, doesn't appear where? [19:59] in my apps [19:59] @sarnold Script: https://pastebin.com/JjsbBKnB [19:59] indoorcat, I don't think it should. If you want a GUI, consider installing playonlinux [19:59] Oops didn't meant to send that yet [20:01] sarnold Cronjobs: https://pastebin.com/RSd2pRrS [20:01] There's no output though, it just runs [20:01] z0oinsk: adding a filename to PATH isn't going to do anything good; I'm not sure if it causes problems but it certainly doesn't do whatever it is you intended :) [20:01] If I don't put that part in, it throws an error about not finding selenium [20:02] rypervenche how would i do so [20:03] Br|aN: That would depend entirely on you. If you are the one who installed this, then you should know what was changed on the server. If not, then you'll have to figure it out. You won't want to copy every file over to the new machine because it would break everything. [20:03] every file on the file system* [20:04] Hi, is it possible to install a newer version of libglx on Ubuntu 18.04 via apt-get? [20:04] I just installed wine and it doesn't launch [20:04] I have: "GLX version: 1.2", I would like to obtain "GLX version: 1.3", and I'm not sure where to start, i.e. which ppa / command to use [20:04] I need it chessbase doesn't support mac or linux [20:06] even all the reviews for it says it doesn't work [20:06] on the ubuntu software store [20:07] z0oinsk: hmm is /home/z0oinks/.local/lib/python3.6/site-packages/selenium/__init__.py a directory? or a file? [20:07] z0oinsk: did you mean to add /home/z0oinks/.local/lib/python3.6/site-packages/selenium/ to PATH instead? or did you mean to modify PYTHONPATH instead? [20:08] indoorcat: can you pastebin what command you're running and what messages come back out? [20:08] can someone help me run exe. files on ubuntu? i need chessbase to keep up with lessons [20:08] wine doesn't work [20:09] indoorcat, wineHQ has the solution, POL play on linux, join #winehq for program support [20:11] OerHeks ok [20:12] sarnold It's a file. I tried adding the filepath to the folder that contained it, but it wasn't working. Now that I removed it, it's still working though... [20:12] Weird [20:12] hey i have been duckduckgo'ing about how to replicate the magic of ReadyBoost on Ubuntu and i keep bumping into mentions of something called zswap [20:13] is it basically like REadyBoost? [20:13] I added DISPLAY=:0 to my cronjobs so I'll just keep an eye on it tomorrow. If it's really quitting early or it's just the searches not counting for some reason, I'll be able to tell [20:13] explore: what does readyboost do? [20:13] like.. maybe a small 20% improvement for disk reads? [20:13] sarnold: i think readyboost.. um caches libraries and frequently used files in your USB key [20:13] not entirely sure, it's not a huge boost but it's some [20:13] especially for older pc's [20:13] explore, no. zswap compresses data that is written to swap. The related zram compresses to ram instead of swapping. [20:14] explore: oh wow that sounds *terrible* ;) USB storage is almost always slower than drives [20:14] as i understand it, the free main memory space (at least in hte Linux I used to know, long time ago) is used for caching frequently used file reads right? [20:14] is that still true? [20:14] yes [20:14] explore, yes, accessed files are cached in RAM [20:14] cus maybe i just up the 4GB to 8GB and call that a day? [20:15] its confusing for me and i think am i intermediate computer user The webstore files are stored on my Laptop hardrive but the site is ran from the Registered Domain name? [20:15] explore, if you want to use some fast storage to speed up a slow hard drive, you can use bcache. But it will handle being unplugged as well, and USBs probably aren't worth it. [20:15] if you've only got four gigs, doubling that would doubtless lead to an incredible performance improivement [20:15] *not handle [20:15] zswap may help you slightly if you're currently using swap [20:15] sarnold: okay that is the first course of action then.. i'll be keeping my eyes peeled for 2x4GB DDR3 1333Mhz then [20:16] max out the mb [20:16] mobo [20:16] thanks a bunch guys letting me pick your brain :) [20:17] explore: start up a vmstat 1 -- and watch the so and si columns [20:17] explore: if those aren't at 0 most of the time, then zswap might help you out [20:17] explore: but there's nothing quite like adding more memory [20:18] tyty [20:36] Hi. I am trying to capture the console output of a program, but I seem unable to. It's a program in appimage format, and I redirect the output to a file, only the first few lines are captured. Apparently, the appimage just calls another process and from that point, lines are not captured. [20:36] any ideas_ [20:36] ? [20:40] woenx: Does script work? Just run script filename; it starts a subshell, then in that subshell, anything that appears on the terminal should be captured in the file. (Exit the subshell to end capturing.) [20:40] ahh, let's see [20:43] for your average user is there any reason why I shouldn't disable IPv6? Are there some system apps that may rely on it internally? [20:43] Seems to work. Ok, next question... can I grep the content, so only a few interesting lines are saved? [20:45] woenx: yeah? should be trivial to test. ./myscript.sh | grep whatever | tee output.txt [20:46] hi there all :-) [20:47] does anyone use ubuntu eoan [20:48] dury: Of course - many do; What is the real question ? [20:49] well... xscreensaver give me some problems when I launch takes ages [20:49] rangergord: , but using it together with "script" [20:51] Bashing-om, what could it be the problem, roughly? [20:52] woenx: You're not clear enough when you speak. If you're asking if you can put the grep filter inside the script, then yes. It doesn't matter whether your script runs a program + applies a grep filter, or whether your script runs a program and you apply a grep filter after-the-fact. The result is the same. [20:53] this goes for the tee pipe I added. Whatever comes from the previous invocations, is filtered through tee to print to your console as well as save to a text file [20:53] Ok, sorry. I want to filter out and parse some lines of the output of a program. That program is in Appimage format, so when you start it, a subprocess is launched, so by just running program.appimage | grep "matching text" does not work. [20:54] woenx: OK, so as the other person said, create a script myprogram.sh that runs program.appimage. Then write another script called myprogram-filtered.sh that consists of the one-liner "./myprogram.sh | grep WHATEVER" [20:55] Oh, ok, I didn't understand that [20:55] Ok, let me try... [20:55] I'm assuming what akk said is true here [20:55] dury, could you please run "xscreensaver -verbose | nc termbin.com 9999" and paste the link? [20:56] lordcirth, one sec. [20:56] dury: No idea .. if you open a new terminal. and in this terminal ' journalctl -f ' - then start xscreensaver - any hints in the log file ? [21:02] lordcirth, in pastebin? [21:02] dury, the nc to termbin is a pastebin. It should return a link [21:03] lordcirth, what's the url of that? can remember sorry [21:04] dury, if you run the command, it will upload it's output to termbin and return a link. [21:04] Oh, it might be printing to stderr as well, of course. [21:04] "xscreensaver -verbose 2>&1 | nc termbin.com 9999" [21:05] termbin.com then? [21:06] The command I gave will paste it to termbin for you, yes. [21:06] sorry, mate [21:06] one sec. [21:07] rangergord: You won't be able to do that with script, though of course you can grep the script output file afterward. [21:08] rangergord: To do it in realtime you'll need to figure out how to pipe the output. Maybe by adding >& 1 at the end of the command with the | ? Maybe some output is coming on stderr, not stdout? [21:08] oops, sorry, that was for woenx ^ [21:09] with the script within a script seems to work, but it's too cumbersome [21:10] did use pastebin though [21:11] here it's the link https://pastebin.com/HeBQYZwX [21:12] is it possible to redirect the script command output to a terminal instead of a text file? [21:12] so I can grep in real time? [21:12] dury, Does 'ps aux | grep xscreensaver' get any results other than itself? [21:13] lordcirth, one sec [21:16] may I paste it here? only 2 lines [21:17] i bet the url is only 1 lines [21:17] sorry that wasnt constructive. [21:17] eoan19 1429 0.0 0.1 26876 5380 ? S 11:12 0:02 xscreensaver -nosplash [21:18] polska 7444 0.0 0.0 17664 2524 pts/1 S+ 22:14 0:00 grep --color=auto xscreensaver [21:18] dury, ok. So xscreensaver is already running, as it warns [21:19] dury, have you switched between two desktop users this boot? [21:21] I don't want to give some many details [21:22] dury, ... well, try "killall xscreensaver", with sudo if need be, and see if it works then. [21:22] Ok, so this seems to work: script -c "script -c 'Program.appimage' | grep \"whatever\"" greppedoutput.txt [21:22] However, it's not very elegant... [21:23] Hey everyone, I'm having a frustrating issue with my .bashrc and .bash_aliases files. I've found a lot of help online, but nothing has fixed my issue. I am running Fedora, but I think the issue is generic enough that I may get some help from someone here :) Short description: I have a file, ~/.bash_aliases, which contains all of my bash aliases. I [21:23] have a line that checks for the existence of this file in my .bashrc, and sources it if it exists. The aliases contained in the file DO work after sourcing, but each and every time I source .bashrc, or open a shell for the first time, I get an error "-bash: #: command not found". The # in that message is because the first line is a comment. If I [21:23] put something else there, even a blank line, it tells me that line is the problem. Following this message will be 2 pastes, one for my bashrc, one for my bash aliases [21:23] .bashrc: https://pastebin.com/raw/zNVZf0Ki .bash_aliases: https://pastebin.com/raw/vtMxF66i [21:23] #fedora is the place to be, enfinitee [21:24] I am on HD2000 intel graphics (i5-2400 CPU) and Xubuntu 19.10. And I see everal times a day that my session is crashing (is seems I have plenty of RAM still available and no swap enabled) and the X restarts with log in , with all apps killing in the process. [21:24] I'll check there as well :) If you know anything about bash and aliases, would you mind glancing at my pastes? I really don't think this issue is related to my distro, because from what I've read, .bashrc and .bash_aliases function the same between Fedora and Ubuntu, if not all *nix environments [21:24] I'll do it , have to run though [21:24] Would like to investigate if it is maybe about hardware... od HD2000 graphics driver , Xorg else [21:25] lordcirth, thanks indeed for you support [21:25] nikolam, my best bet; no swap enabled [21:25] lordcirth, really appreciate it :-) [21:25] dury, you are welcome [21:26] 2nd bet; do a memtest86 run [21:26] lordcirth, cheerss there... take care :-) [21:30] pamu2fcfg gives "Unable to generate registration challenge, error in transport layer (-2)" [21:33] any idea? [21:35] is there some way i can automagically kill a process thats using 100% cpu for x time? I woke up today and my laptop sounds like a jet taking off because it is running 100% because dolphin was connected to a network share that disappeared, [21:39] unshackled: monitoring software probably, which usually gets enterprise-y real quick. in the context of a personal use laptop, something like `monit` could do what you described. [21:39] unshackled: googled it for you: https://serverfault.com/questions/97541/kill-process-with-high-cpu-usage-after-x-time [21:41] How do I change my IP address when it was assigned via dhcp? [21:42] hey everyone! I've recently installed Ubuntu 18.04 64bit Workstation (gnome desktop manager) on my Dell 7373 13in laptop. Unfortunately, when I lock the screen the laptop freezes up and I get nothing but a black screen which I can not recover from. The machine needs to be locked for a certain period of time for this to happen - about 2min or so. This problem is completely consistent - happens 100% of the time under the aforementioned [21:42] conditions. Does anyone have any suggestions on how to fix / proceed? [21:43] amazoniantoad: If you have access to the config of DCHP server, do it there. If you have no access, you can only renew DCHP lease until the IP gets (possibly) changed. [21:44] elias_a, thanks [21:44] amazoniantoad: NP. Why do you need to change it? [21:45] elias_a, I copied some vm's from one computer to another and they both need to run. I have some networking stuff I'm doing and now both vm's have the same IP [21:46] hello, i am using xubuntu 18.04 and my google chrome was closing by itself even without plugins and extensions, i do not know why but i am using now chromium and i got no problem, chromium works faster too, but how if it is almost the samething [21:47] amazoniantoad: I see. If the DHCP server is your own, try telling it to give always the same IP to a certain NIC based on MAC address. [21:50] ozzo i saw that but i didnt understand how to implement it, i suffer from periodic cognitive impairment [21:58] is there a way to run host across many IPs at once? [22:08] ash_worksi: a loop? [22:12] hi [22:16] hi snakeboy309 [22:30] what is the command to remove the entire contents of directory [22:32] man rmdir [22:34] very short man [22:35] i used the rm -rf *.* but some files remained [22:38] the files that were not removed have lockes on them [22:42] I've got a BCM4313 wireless chip, and somewhere along the line I lost the ability to enter monitor mode after doing a re-install many months ago. I suspect the default driver changed on ubuntu.. How can I replace my driver with one that supports monitor mode? [22:43] !bcm | quint [22:43] quint: Help with Broadcom bcm43xx can be found at https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx [22:45] thanks Bashing-om [22:46] why doesnt the sudo chmod 755 doesnt remove locks on the files [22:46] quint: :D -no help yet .. But there is hope :) re-install the driver. [22:50] aleksandrdvorkin: btw "*.*" means "all the files with a period in the name". that's not all files [22:51] aleksandrdvorkin: rm -rf is probably what you what; rmdir is nice for making sure a directory is empty before you delete it [22:54] i dont want to delete the directory i want to delete all the contents of the directory including the files that have permissions locks on them so i did sudo find /var/www/html -type f -exec chmod 644 {} \; but the locks are still on the files [22:55] i already removed most of the contents using rm -rf *.* [22:55] <^7heo> Hi all. [22:55] but the files that have no permisson by the user remained [22:56] <^7heo> I found a zsh bug in mint, with the git completion, they told me that the package comes straight from ubuntu. [22:56] <^7heo> the line 6628 of /usr/share/zsh/functions/Completion/Unix/_git from package zsh-common v 5.4.2-3ubuntu3.1 is incorrect [22:56] <^7heo> has the package been fixed yet? [22:56] <^7heo> or am I reporting and unfixed error? [22:57] aleksandrdvorkin: file permissions don't matter at all when deleting files [22:57] aleksandrdvorkin: the only thing that matters when deleting files is *directory* permissions [22:58] ^7heo: 'ubuntu-bug zsh-common' is a good starting point; it's probably straight from debian, so you may need to report to debian too [22:58] <^7heo> huhu [22:58] <^7heo> I feel like I'm Link doing a quest [22:58] * sarnold swings a sword aimlessly [22:59] <^7heo> "If you had a Yoshi, I'd be willing to trade my magic bean for it" [22:59] aleksandrdvorkin: (well, okay, in *sticky* directories, the file *owner* matters) [22:59] <^7heo> I've been on ##linuxmint first, they told me to come here, now you tell me to go talk to the debian guys === akko is now known as stallman [22:59] well i just did the rm -rf *.* /var/www/html and removed the entire /var/www/html [22:59] but i just wanted to delete its contents [22:59] so mkdir /var/www/html [22:59] aleksandrdvorkin: then you should have used rm -rf /var/www/html/* [23:00] <^7heo> sarnold: there's no 'ubuntu-bug' command on mint tho. [23:00] <^7heo> how can I track if the package is coming straight from Debian? [23:00] ok [23:01] aleksandrdvorkin: you probably had a file starting with . in there [23:01] ^7heo: you can find that on eg https://patches.ubuntu.com/ -- it looks like there *is* an ubuntu diff [23:01] that's why rm -rf *.* didn't work. You would have also needed rm -rf .* [23:01] <^7heo> sarnold: cool [23:02] <^7heo> sarnold: how would I go about to sending a patch for it? [23:02] ^7heo, i find no exact bugreport, what issue did you find there? https://bugs.launchpad.net/ubuntu/+source/zsh/+bugs?field.status:list=NEW [23:03] <^7heo> OerHeks: the zsh completion for git add does not function as intended. [23:03] so then if i deleted the /var/www/html did i unistall apache with it [23:03] systemctl status apache [23:03] <^7heo> Instead, it erroneously reports that the current working directory isn't a git repository, when in fact, it is. [23:04] <^7heo> is there a more recent package of zsh-common on ubuntu? [23:04] <^7heo> (more recent than 5.4.2-3ubuntu3.1) [23:05] says apache.service coult not be found [23:05] Eoan gives 5.7.x https://launchpad.net/ubuntu/+source/zsh/ [23:05] not sure mint is that far.. [23:05] <^7heo> nah but if they are not, it's not such a problem [23:06] <^7heo> the question is, are the subsequent versions including the patch I'd submit, or not. [23:06] <^7heo> I wish I could see the files from that package directly. [23:06] security or function patches are backported. [23:07] <^7heo> so if it would be patched in 5.7.x it would also be in 5.4.2? [23:08] ^Zheo, if you want to submit a patch, best to go to the ultimate upstream source, zsh.sourceforge.net [23:08] it would likely become 5.4.2-3ubuntu3.2 [23:08] <^7heo> rfm: they already have a patch. [23:08] <^7heo> http://www.zsh.org/mla/workers/2018/msg00140.html [23:09] <^7heo> so basically it *will* eventually be included. [23:09] aleksandrdvorkin: no, deleting /var/www/html did not uninstall apache. I think you should back away from the keyboard and get a smarter friend to help you [23:09] <^7heo> I'm just trying to make sure I don't have to bruteforce the diff on my local files until it's fixed in debian then ubuntu then mint. [23:09] <^7heo> OerHeks: ok [23:10] <^7heo> so basically, since the ubuntu zsh maintainer appears to be the Debian one as well, that'd be easier. [23:10] aleksandrdvorkin: try service --status-all|grep apache [23:11] aleksandrdvorkin: or systemctl list-unit-files|grep apache === popgreeny is now known as popgreen [23:19] so to copy the entire contents of one directory to another would cp -rf /Downloads/zen-cart/* /var/www/html [23:22] or would it be sudo cp /dir/*.* /newdir? [23:24] i want to copy the folders too sudo cp -rf *.* /var/www/html only copies the files not the folders [23:25] you should stop using *.* :) [23:25] it's almost never right on unix systems [23:25] and start using [23:25] it doesn'tmean "all files" [23:26] you probably mean * [23:26] i know it means copy files recursively [23:27] cp -a is the more usual tool for copying directory hierachies [23:28] I've just installed Ubuntu 18.04 64bit Workstation (gnome desktop manager) on my Dell 7373 laptop. Unfortunately, when I lock the screen (windows key + L) the laptop ends up freezing (I get a black screen I can't recover from). NOTE: The machine needs to be locked for about 2min or so for this to happen. This problem is consistent (happens 100% of the time under the aforementioned conditions). Does anyone have any suggestions on how to [23:28] fix / proceed? [23:30] sarnold thank You copied [23:32] molt: usually bios upgrade or http://iam.tj/prototype/enhancements/Windows-acpi_osi.html [23:33] you could review what was logged before you last rebooted using journalctl -eb -1 (press q to quit) [23:33] how would open a .pdf file from console [23:33] maybe silly question i ll just use Libreoffice [23:34] evince is the default viewer on default ubuntu 18.04+, i think [23:36] <^7heo> OerHeks: thanks for your help. [23:36] <^7heo> I reported the bug to the maintainer [23:36] <^7heo> (via email) [23:36] <^7heo> take care and bye. [23:39] Hi, in pavucontrol the only recording device I see is qemu-system-x86_64 is that normal? [23:40] if you're running in a VM, this may be so [23:40] yeah that's the thing, I'm not.. [23:41] !audio [23:41] If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [23:43] aleksandrdvorkin: "evince foo.pdf" or "xpdf foo.pdf" (xpdf is faster, lighter, far less secure, and has terrible controls by modern standards :) === stallman is now known as akko [23:48] Hello, where can I post a question regarding elementary os? I cannot find a channel dedicated to it. [23:48] !elementary [23:48] Elementary OS is an Ubuntu derivative which is supported in their IRC channel #elementary on irc.freenode.net - http://elementaryos.org/ for more information on this distribution. [23:49] Thank you, that was quick. [23:49] trying to recover a LVM volume and getting this error when trying to vgchange it: https://termbin.com/af6b [23:50] /join #gentoo [23:50] akko: Don't spam here [23:50] wait wut [23:50] oohh jesus, i typed two / [23:50] my bad [23:50] akko: This is the Ubuntu support channel [23:53] what is supposed to be in /etc/lvm/profile? every lvm command I run is complaining that it can't find a .profile file in there [23:55] twobitsprite: LVM configuration profiles [23:56] but the one your system is searching is not part of ubuntu [23:56] maybe your third party docker packages provide it, or meant to. [23:57] I was able to get it to activate my volumes by installing the thin-provisioning-tools package [23:58] twobitsprite: wild guess, that's probably more docker problem than lvm problem