=== elSmith is now known as elSmith- === iwannaberoot9 is now known as iwannaberoot [00:46] How do I start MySQL Server? For some reason it shut down. [00:46] read the logs and find out why it shut down [00:46] once you address that, then you can start it back up :) [00:47] It was the process of rebooting that made it stop working [00:48] The error log is empty [00:48] aww :( [00:49] systemctl list-units '*mysql*' will probably show the service name and such, `systemctl enable` on the service name to encourage it to start at the next boot, `systemctl start` on the service name to ask it to start now [00:51] jsmooth: it is a good idea to also check other logs as well. MySQLs error log is mostly for operations within MySQL. Not errors caused at system level. For that you may need to look at syslogs or journald to see what happened to MySQL's service [00:52] Where would I Find those two logs? [00:52] Attempt to start the service fails, it says too frequent restart attempts [00:54] journactl -f is a good starting place [00:54] and thanks for raising this now, I see I've got a steady stream of errors on my own system that need sorting out! [00:56] Here is the output of journalctl -f https://gist.github.com/longcurve/ec5bfcb5f435e00eb2aa305d6312cdfd [00:56] It's failing trying to do soemthing iwth windows (WSL) [00:59] oh hmm I don't know wsl well :( === lubuntu is now known as topher2100 === topher2100 is now known as lubuntu === lubuntu is now known as topher2100 === antonispgs9 is now known as antonispgs [02:05] jsmooth: you may want to ask in the wsl IRC channel on that. I'm thinking something might be corrupted there, but I have no experience with WSL [02:06] jsmooth: #windows-wsl I believe is the channel name [02:49] I have a ubuntu 24.04lts installation with 5950x + ASUS AM4 MB. I'm trying to figure out how to make this work (can't seem to see anything in the BIOS that would stop this) $ sudo /usr/sbin/kvm-ok [02:49] INFO: Your CPU does not support KVM extensions [02:49] KVM acceleration can NOT be used [02:51] pycurious: you should ask in #hardware about motherboard/BIOS settings [02:53] @leftyfb I'm banned from #hardware - because I ask questions without telling why I am asking them :) [02:56] no and no [02:57] @Disconsented - does that question qualify for #hardware? [03:02] I think I found SVM - the BIOS had it hidden under 2 levels! Hopefully that solves the issue. [03:03] heh, I was going to suggest hutning around in the bios :) [03:17] Was going to say, usually an OS has limited, if any, access to settings in BIOS/UEFI. Usually something has to be enabled, before the OS can request it [03:32] hello [03:34] pycurious: Then maybe start answering the whys when asked. [03:39] hola [03:40] hay alguien? [03:40] spanish? [03:40] triste: #ubuntu-es ? [03:42] #ubuntu-es [03:42] triste: /join #ubuntu-es :) [03:42] thanks [03:42] the best [04:20] o/ [04:20] hello there [04:21] heya === yoshi is now known as Guest7607 === mrpond1 is now known as mrpond === mrpond9 is now known as mrpond === iwannaberoot5 is now known as iwannaberoot === mrpond0 is now known as mrpond [08:02] halo [08:05] hi === deltreey3 is now known as deltreey [11:08] hmm my postgres has port 5433 in its conf, but client seems to work only connecting to 5432. Troubleshooting hints? [11:13] Hi. I dont know why but I have to restart display-manager for ubuntu studio to work. Can you tell me? [11:13] I use the official noble numbat version. Here is the command i have to use to load desktop properly: sudo systemctl restart display-manager . Otherwise, It would partially load, i.e. widgets and activities corner only. All keyboard shortcuts work tho. Anyone know what might be the problem? [11:14] what is ubuntu studio? [11:14] Official flavour of Ubuntu for Multimedia content creators https://ubuntustudio.org [11:15] cheers === lucenera0 is now known as lucenera [11:25] mari-estel: if you change the server port and restarted the cluster, you'll also need to make the client connect to that. 5432 is the default port. what you're describing seems to be that your change of the server port did not apply. [11:27] thanks, that is also what i thought and i tried restarting with `service`. I will try other restart commands [11:35] systemctl restart. [11:36] if you edited the service file, also systemctl daemon-reload [11:48] hmm it says `listening on IPv4 address "127.0.0.1", port 5433` [11:48] but lsof lists the port as `55433 HTML5\x20` rather than Socket [11:49] and psql would only work with 55432, not 55433 [11:53] how install web browser in armbian [11:54] does not sound like any ubuntu question [11:57] I am install Armbian based on ubuntu. Installed on orangePI, but i don't found web browser. How install web browser, like from terminal? [11:59] !armbian | adif [11:59] !based on [12:00] * mari-estel fixed troubles with postgres by editing the conf file and a bit of trial-and-error [12:00] well, this channel only supports proper ubuntu [12:00] adif: ^ [12:01] anyway debiand & ubuntu package manager is `apt`, adif [12:01] *debian [12:01] adif: try the armbian channel, if any, or #linux [12:25] i solved the problem. sudo apt-get install dillo. and i have browser ) [12:27] Hi all [12:28] Hi [12:31] hi adif === goesta is now known as GG-ih === antonispgs3 is now known as antonispgs [15:07] hey all. When using the touchpad, I can scroll continuously. However, when using the scroll wheel, it scrolls in increments. How can I get the same behaviour with the scroll wheel? [15:07] change mouse [15:08] kuka_lie: i have a mx anywhere 3s, which is highly configurable and which behaves as I want on macOS, but not on Ubuntu [15:08] i guess it is not the mouse at fault here, but some weird interfacing configuration === dstein64- is now known as dstein64 [15:43] snap repositories really push Ubuntu backwards [15:44] mrec: This is an ubuntu support channel. Please take all non-support discussions to #ubuntu-offtopic [15:45] before snap I would have used apt-get source to install source packages, now that's kind of gone with snap isn't it? [15:45] most snap packages link their source [15:45] mrec: depends on the package [15:45] if not contact the author [15:46] there should be nothing secret in a snapcraft.yaml file [15:46] rdz: in case this is on firefox: go to about:preferences and search for "smooth scrolling" === nolsen7 is now known as nolsen [15:49] the advantage was just that all the dependencies were already resolved with the source package. What's the plan for the future with ubuntu, more or less snap packages in the system? [15:50] mrec: feel free to ask in #ubuntu-next about future releases of ubuntu [15:51] because I'd like to modify Thunderbird a bit here, however that requires to resolve the dependencies of course. [15:51] mrec: so go download the thunderbird source [15:52] mrec: modifying source code and compiling/packaging your own packages is really beyond the scope of the support provided here [15:54] seems like the mozilla guys provide a ppa repository .. that should do [15:55] (hopefully) === fling_ is now known as fling [16:20] tomreyn: thanks! I'll check [16:21] tomreyn: it appears it is already enabled.. [16:21] and it works fine with touchpad, but not with mouse wheel === mrbutthead1957 is now known as mrbutthead195 [16:21] and when I set scroll wheel of mouse to hi-res, it simply scrolls faster, but not more finegrained [16:22] the same with gnome-terminal.... i would like to scroll smoothly, like with touchpad, but it scrolls with 4 lines per step.. [16:23] I got fsck problem "resize inode not valid. recreate"yes, Pass1: Checking inodes,blocks,and sizes, e2fsck:aborted, /dev/sda1 ***** FILE SYSTEM WAS MODIFIED *****, And the filesystem is not correct size, and can't create big file(>10G). [16:24] df -h displays that the fs only has 3.6G using, but it has > 100G files. [16:25] and the VM image on this fs, we could run it by virtualbox. the broken fs is so strange... [16:26] And I did check verify badblock harddisk, the disk is OK. the fs was broken... How to fix? [16:27] kyonsalt: I would recommend reformatting and restoring from backup [16:34] How do I fix this? https://gist.github.com/longcurve/ec5bfcb5f435e00eb2aa305d6312cdfd [16:36] jsmooth: look in /var/log/error.log [16:36] sorry, /var/log/mysql/error.log [16:36] mysql error log is empty [16:37] jsmooth: this is the same issue from yesterday, you're running WSL? [16:37] Yeah..WSL and yes same from yesterday [16:37] ok, try to run mysqld manually and see what errors you get [16:37] just plain 'mysqld' ? [16:37] ugh, WSL. That's probably have the problem [16:38] I'vej ust added the output to the gist [16:38] jsmooth: mysql/error.log only logs issues internal to mysql, not system level. For that you need to look at syslog and journald. Since this is under WSL, you should seek help in #windows-wsl [16:39] I didn't get any answers in Ewindows-wsl [16:39] jsmooth: did you run mysqld as root? [16:39] No...should I have? [16:39] actually, probably as the mysql user [16:40] WHich should be teh same as my user [16:40] sudo -u mysql /usr/sbin/mysqld [16:40] no it shouldn't [16:40] how did you install mysql? [16:41] from repo [16:41] I have the output from that latest command on the gist, I replaced the output. [16:41] the mysqld-result I mean [16:42] what release of ubuntu are you running? [16:42] 24.04.1 [16:44] jsmooth: sudo mkdir /var/run/mysql ; sudo chown mysql:mysqld /var/run/mysqld [16:44] jsmooth: sudo mkdir /var/run/mysql ; sudo chown mysql:mysql /var/run/mysqld [16:45] chown: cannot access '/var/run/mysqld': No such file or directory [16:45] little error above [16:45] jsmooth: sudo mkdir /var/run/mysqld ; sudo chown mysql:mysql /var/run/mysqld [16:46] sorry, as usual, having too many conversations as once [16:46] Okat that one completed with no output [16:46] now restart the service [16:46] What command would be best? /etc/init.d/mysql start? [16:47] or sudo service mysql start? [16:47] sudo systemctl start mysql && journalctl -fu mysql [16:48] It still failed with the same error output according to journal [16:48] try running it manually again [16:49] Nope. I updated hte gist again [16:49] as root [16:49] sorry, as mysql [16:49] sudo -u mysql /usr/sbin/mysqld [16:50] Nope. Updated it again [16:50] I don't understand..mysql was working and then it wasn't. [16:51] ls -ld /var/run/mysqld [16:51] No such file or direcftory [16:52] jsmooth: sudo mkdir /var/run/mysqld ; sudo chown mysql:mysql /var/run/mysqld [16:52] then ls -ld /var/run/mysqld [16:53] Looks like it worked...check the gist [16:53] I ran it manually and I think it worked [16:53] kill that and start the service properly [16:53] What do you mean? [16:54] this last time, did you start it manually or using systemctl? [16:54] it should be started with systemctl [16:54] Not using systemctl [16:54] Okay. [16:55] Starting using systemctl didint 'work [16:56] Maybe I should just reset WSL again [16:56] reset? [16:56] remove it and reinstall it [16:56] Id rather not do taht though [16:57] journal has the same error...restart attempts were too quick [17:00] I'm gonna try rebooting wsl [17:01] Hmm. AFter reboot I checked status of mysql and it says unrecognized service [17:02] Maybe I need to remove and reinstall mysql [17:19] Found that...I had the parameter order wrong in the command [17:19] However it still doesn't start === tofohty1 is now known as tofohty === runbgp65 is now known as runbgp6 === infogulch7 is now known as infogulch [17:25] jsmooth: if you install mysql from apt repo, it should have configured itself to run as a system service. So it appears that you installed MySQL from a different repo than the ones supported by Ubuntu [17:26] pragmaticenigma: or WSL mucks with /var/run in some way [17:26] AFAIK, even having systemd running in it is a new development [17:28] not that new https://ubuntu.com/blog/ubuntu-wsl-enable-systemd [17:30] Is there a way I can check how it was installed? Though I'm pretty sure it was ubuntu repo. [17:31] apt policy mysql-server* may hint on which apt repository it's from. and then there are logs in /var/log/apt/ [17:32] better start with apt list --installed mysql* [17:32] Installed: 8.0.40-0ubuntu0.24.04.1 [17:32] then query apt policy for the specific package name [17:32] I've found apt-cache policy is more informative [17:33] doesn't what I just posted mean it's from ubuntu repo? [17:33] yes, but also very verbose if you pass multiple packages (which may or may not be installed) [17:33] that isn't our use case at the moment though [17:33] this was to leftyfb [17:34] jsmooth: please pastebin: apt-cache policy mysql-server [17:34] https://gist.github.com/longcurve/ec5bfcb5f435e00eb2aa305d6312cdfd#file-apt-cache_policy-txt [17:35] looks fine to me [17:37] jsmooth: it's probably fine, I wasn't aware of some of the limitation with WSL. I misspoke on the repository thought [17:37] I don't know about a limitation myself. [17:37] IT was working days ago, my computer restarted and then it wasn't working. [17:38] Actually, I might have only closed the bash terminals for Ubuntu and hten it wasn't working. Either way, makes no sense. [17:39] Is journal a syslog? [17:40] it is a similar alternative, but a database, not a plain text log file. [17:40] Okay. Because all journal says is it's getting restart attempts too quickly [17:41] https://learn.microsoft.com/en-us/windows/wsl/systemd may be relevant for running services on wsl. i think there is a wsl specific ubuntu channel, too [17:41] There is..I wasn't getting an answer [17:41] Still haven't. [17:42] you'Re welcome to interpret this experience in whichever way you see fit. ;-) [17:42] Not sure what you mean by that [17:42] i don't think there is a huge wsl user base [17:43] not for running daemons anyways [17:43] jsmooth: why do you need to run mysql in WSL? [17:43] BEcause I'm using it as a web and development server [17:44] you would have a better experience running the server on a pi [17:44] i think there are native mysql server builds for windows. not that this is any better. [17:44] I cannot afford a pi [17:44] I asume you mean a specialized computer. [17:46] yeah, an SBC. The Pi4 2GB goes for $45 [17:46] you could also find a used pi 2 or 3 for about $20 or under [17:47] Yeah..I can't afford it. [17:49] I just searched it, looks like a board for a computer. [17:50] no, it IS a computer [17:50] Is it a computer itself or part of one? [17:50] Then how come it's not enclosed? [17:50] they sell enclosures if you think you need one [17:50] And I'm assuming I would need to buy a screen? [17:51] not necessarily. You can enable ssh upon the first boot in ubuntu and just use it over SSH. That's what I do [17:51] jsmooth: you can use it as a headless server and access it through ssh. It's also very easy to do a headless ubuntu server install [17:51] SO I would use my laptop via usb to set it up? [17:52] jsmooth: you only need a sd card reader [17:52] Why would I need that? [17:52] jsmooth: no, you write the OS to a microSD card, edit a file on the SD card to enable ssh, pop the SD into the pi and boot it up. Ideally having it connected to your network via ethernet [17:52] jsmooth: the storage is a microSD card [17:52] Doeasn't sound interesting [17:53] I'd rather just use my laptop [17:53] Either way, I can't afford to get one. [18:06] I have created a wine prefix for a game, when I run it by the command line it works as expected but when I try to create a .desktop it no longer with launch the game. Any one have some ideas what might be going on? https://bpa.st/OCOA [18:07] tacomaster: I'm pretty sure $HOME won't work there [18:08] leftyfb: Ok I will update that and try [18:12] anyone here can tell me how to scroll up/down in a tty in ubuntu? [18:12] shift + pageup/down doesn't work neither do the up/down arrow keys [18:15] bebop: TTY doesn't have a buffer storing what has scrolled off the screen. To gain the ability to scroll back you would need to use something like tmux or screen, which enables hot keys to scroll back through the buffer. you can also pipe the output of a program to "less", "more", or redirect output to a file and then use a file editor. [18:16] I knew about less/more but find that annoying [18:17] I'll look into 'screen'... thank you === Daemoen_ is now known as Daemoen [18:49] I have a cloud image and I see avahi-daemon listening on 0.0.0.0.... can I uninstall avahi or do I need it? [18:52] dman777_alter: I'd recommend shutting off the servie [18:52] *service [18:53] dman777_alter: but I would recommend asking in #ubuntu-cloud [18:53] more [18:53] if you don't use mDNS, I don't think you need avahi [18:53] ok, thanks... should it be listening on 0.0.0.0 like that? Seems like that is risky [18:53] it's the listener... so more if the cloud image was providing service to the hosting network [18:54] naw, I am hosting my own image on my own server at home [18:54] on a kvm host [18:55] 0.0.0.0 binds the service to listen on all configured network connections. If you only wanted to work on an wired ethernet connection, you would change it to the wired connections provisioned IP address [18:55] dman777_alter: the ubuntu 22.04 and 24.04 cloud images don't have avahi installed by default [18:55] dman777_alter: if it's installed, you installed it either directly or as a dependency of something else you installed [18:56] leftyfb: I think that happened with the desktop manager [18:57] dman777_alter: why do you have a desktop manager installed on a cloud image? [18:57] should I be worried about exploits since it was listening on 0.0.0.0? I had it's ports closed on my router [18:57] dman777_alter: 0.0.0.0 means it's listening on all interfaces [18:58] dman777_alter: is this cloud image with a desktop environment open to the public internet? [20:19] well, if it was wouldn't the router need to open the port to access it? [20:22] is anyone using wifi-direct to transfer stuff (text) from the phone to PC? === JanC is now known as Guest2773 === jluc_ is now known as jluc [21:28] hemmp [21:28] hello [21:28] hi all, pls ubuntu don't ready my pendrive anymore [21:28] read only [21:28] i have issues with firefox on a fresh install ubuntu 22.04 [21:28] it hangs regularly [21:29] when i launch it from the terminal, it warns so : [21:29] GTK+ module /snap/firefox/5273/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. [21:29] GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. [21:29] Gtk-Message: 22:22:16.716: Failed to load module "canberra-gtk-module" [21:29] is it be related to the future hang that happens sometimes ? [21:34] hi all, pls ubuntu don't read my pendrive anymore, it's just read only but i haven't done any change [21:35] Alright [21:44] hello [21:48] jluc even u need assistance? [21:54] when launched from the command line, firefox outputs "GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported." [21:55] is this something to care about ? [21:56] and "Failed to load module canberra-gtk-module" [21:56] and "WARNING: OnCloseSessionDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/freedesktop/portal/desktop/session/1_385/firefox_net_downloadhelper_coapp_799919944 »: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187 [21:56] " [21:56] * sbine hate snap flatpak [21:56] yeah i understand that [21:57] even synaptics proposes a snap for firefox now [21:58] oups i had allready pasted it - forgot [21:58] jluc: you can ignore all of that. It's also completely unrelated to firefox being a snap [21:58] ok nice [21:59] jluc: apt-cache search canberra [21:59] maybe something is missing [21:59] sbine: not only will that not work, but it's not needed as nothing is actually broken [22:06] https://termbin.com/wmx8 I'm on ubuntu 22.04 and it works here [22:07] sbine: nothing is broken. There's no need to troubleshoot anymore [22:07] leftyfb i have had trouble with firefox hanging several times and thought it might be related [22:08] then i did 'snap refresh' and maybe it doesnt happen anymore [22:08] They're warnings, if they were causing issues they'd present as errors or the application would crash [22:08] Why connection ever fall? :\ [22:08] so lets wait and see... [22:08] leftyfb: So, why firefox freeze on his new computer? [22:09] jluc: did firefox update when you ran snap refresh? [22:09] i dont think so, nope [22:09] only vscodesomething [22:09] then that didn't resolve anything [22:10] :-) [22:11] i will try observing more precisely when that happens [22:12] changing one's computer and work environnement is a time consuming and knowledge intensive adventure [22:12] changing one's computer and moving one's work environnement from one to the other [22:13] last thing i will migrate is thunderbird [22:13] i wait till i'm sure new OS is ok to live in [22:13] new computer [22:14] that's what Flinn said [22:16] https://support-en.sandisk.com/app/answers/detailweb/a_id/39716 [22:16] Znevna: can we help you with something? [22:16] pls, may u tell me how to do these steps on ubuntu? [22:16] jluc: it's better to note what you are doing at the time when you experience the behavior. What site you might be visiting, number of tabs open, what else is your computer doing, is Hardware acceleration is enabled, etc [22:21] thank you all [22:21] jluc did u solve? [22:22] may someone help even me? [22:29] are here anyone who can help me? [22:29] pendrive is on read only, it is impossibile to write on it [22:29] Guest52: buy a new one and restore from backup [22:31] leftyfb why? [22:31] https://support-en.sandisk.com/app/answers/detailweb/a_id/39716 [22:31] Guest52: because it's defective [22:31] here it says they can be unblocked but it's a procedure just for win and mac [22:31] and it cannot be trusted to store data [22:31] i don't know how to do the same things on ubuntu [22:32] i read that they can be restored, but article are so difficult for me, i don't understand all steps [22:37] how to Clear Readonly Attribute [22:37] ? [22:38] on ubuntu, i just wann try even because on pendrive there's just file that i have to delete, nothing important [22:40] Guest52: From the article, the drive enters read-only mode when it can no longer support any more data writes. Deletion of a file is considered a data write, which the drive cannot perform. The drive has simply run out of write cycles and has entered read only mode so you can still access your files and put them onto a newer device. [22:42] Guest52: The procedure given is for a very specific scenario that is highly uncommon as it requires a special piece of software to have set the device to read-only. It is not likely that you have access to that software, so in this case, your drive is too old, and has entered a mode to preserve the data that is on it until you can relocate the data somewhere safe. [22:43] Guest52: if you are concerned about someone accessing the drive after you have discarded it, smash it with a hammer or rock [22:45] :-( [22:45] was it marked read-only because you yanked the drive without properly unmounting it first? [22:45] maybe all it'll take is a filesystem check on it [22:45] pragmaticenigma which software? i read that it's possibile to clear read-only attribute to use again the pendrive [22:47] sarnold i don't remember, maybe it's even possible that this is the cause, i just wann try to solve because i read that there are possibilites, but are descrbibed just for windows and mac [22:47] on ubuntu how to remove "read only attribute"? [22:47] there's only about a thousand ways that "read only" could be set, you've got to be way more detailed ;) [22:48] what are the messages you get in dmesg when you plug in the device? [22:49] sarnold pragmaticenigma https://drive.google.com/file/d/1HosUa5RBFsRDvWcGSD9NdhvVuNUA7ggR/view?usp=sharing [22:49] if i try to format [22:50] Guest52: I don't know what that link is for, and no one here is going to click on it [22:50] I clicked the link [22:50] *gasp* [22:50] what mean gasp? [22:50] I don't know what tool gave that error message, so I don't know what "Format the volume" actually means.. [22:51] Disks [22:51] now i downloaded gparted [22:51] Guest52: I hope you've made backups of the files on this flash drive [22:52] leftyfb all files to delete, i don't need them anymore [22:52] Guest52: if the goal is to destroy all the data on the drive .. start two terminals .. run "sudo dmesg -w" in one of them. unplug the drive. plug the drive. see what device node it gets, and if there are any error messages, what are they? [22:53] Guest52: ok, then use gparted to create a new partition table and reformat it [22:53] the goal is to use again the pendrive as before [22:54] sarnold excuse me, i'm basic user, i don't know what mean device node and other thinfs u said [22:55] Guest52: open gparted, pick sdb from the dropdown on the right. Make sure by looking at it's size that it's your flash drive. Click on Device -> create new partition table. Then format it [22:56] or use disks: https://www.wikihow.com/Format-a-USB-Flash-Drive-in-Ubuntu [22:56] or with gparted https://www.scaler.com/topics/linux-format-usb/#:~:text=Format%20USB%20Drive%20Using%20GParted === docmax is now known as Guest5090 [22:59] https://drive.google.com/file/d/1C5a_ImV8GLZus72b4M4DL6S5NJjo3uhA/view?usp=sharing, https://drive.google.com/file/d/1m3b2adYtN-d8omvbCZFisI0eEGXIX1Fy/view?usp=sharing [22:59] ignore the mount failure [22:59] the problem is that now, it appear two icons in app bar [23:00] it's complaining about the mount point not existing. But it shouldn't be trying to mount there anyway [23:00] ignore it [23:00] just repartition and reformat it [23:01] leftyfb do i have to unmount it first? [23:01] it's not mounted [23:04] leftyfb https://drive.google.com/file/d/1euu4gHiYV-DaSPMHiVjeBnMLYNs34nEN/view?usp=sharing [23:05] I don't know what that says [23:07] leftyfb translation https://drive.google.com/file/d/1x7okWng45TVoQuo0lrHXylw3dE-E19aM/view?usp=sharing [23:07] Guest52: destroy the flash drive and buy a new one [23:13] leftyfb :-(