[00:34] teward: thanks! I was thinking a 'server' tag for server-related questions. [00:35] teward: not exclusively to flag our team or anything, but something more generally defined and one our team could try to watch. [00:35] teward: if askubuntu.com editors and moderators knew we were doing that, perhaps they might specifically tag relevant things 'server' when otherwise they might not? [05:33] jamespage: I see you worked on OVS 2.8.1 but some self-tests fail - I subscribed myself to the bileto ticket you used [05:33] jamespage: I have a few OVS related DPDK issues I got reported so I'd be interested if 2.8.1 is going to make it - let me know if there is more I can/should follow than the ticket [05:44] How can I get list of all the ppa and repositories that i am using currently? === jelly-home is now known as jelly [05:55] How can I get list of all the ppa and repositories that i am using currently? [05:55] pankaj: apt-cache policy [05:55] ? === JanC is now known as Guest86327 === JanC_ is now known as JanC [07:06] Why packages from each repository have to be authenticaited when getting installed by apt-get? [07:20] Good morning [09:02] late but good morning to you as well lordievader [09:05] Hi cpaelzer . How are you doing? [09:31] lordievader: fine enough (trying to convince myself of it) :-) [09:46] hi [09:47] there was some news coverage recently on LTS and how the 5 year support does not exactly cover all packages. is there an official statement on that? [09:52] nvm, found sth [11:23] cpaelzer: I may have to blacklist them [11:23] cpaelzer: Ill endeavour to get to those today [11:23] thanks jamespage [14:35] Hi everyone [14:36] lordievader: ACPI -V = "The program "acpi" is not currently installed. etc [14:36] I've exhausted my Googling ability here - for some reason my remote server goes into a kernel panic on startup now. I booted into the rescue system and chrooted in. I've mount --bind'ed proc, dev, and sys. But I keep getting this error, and errors currently related to it: awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory [14:36] An error with shutdown I have seen is, "Not tainted 4.4.0-96-generic #``9-Ubuntu [14:36] I've tried binding /libs, symlinking /libs, and all kinds of iterations thereof. [14:37] Tried getting the libreadline.so set again, SplunkKernelPani? [14:38] Jen, I have not. [14:38] Jenshae: Install acpi ;) [14:38] * Jenshae looks at lordievader suspiciously. [14:39] What does it do and how much does it cost? :P [14:39] Jenshae: It is a program to control acpi stuff in your computer. [14:39] Does it need a gui environment or all terminal? [14:40] Apt says: "acpi - displays information on ACPI devices" [14:40] sudo apt-get install acpi [14:40] Jenshae: How would I go about setting libreadline.so? [14:40] No, it is a cli app. [14:41] I usually just try and install a required dependency, APT tells me that it is in program X or Y and I pick one, then that library is often shared and picked up by what ever actually needs it. [14:41] Worked okay, so far SplunkKernelPani [14:42] acpi version 1.7 now installed. [14:44] Jenshae: when I try to install anything with apt, this is what I get: https://puu.sh/xVwtR/e3faa291ed.png [14:44] It doesn't generate errors when run? Jenshae [14:44] Apologies for not using a pastebin, that was taken earlier [14:44] acpi -V x86_pkg_temp no state. | Intel-powerclamp no state [14:45] SplunkKernelPani: disk ok? Does that directory exist and contain files.. if so try and file {file} and see if you get an IO error [14:45] if so fsck the disk and try again [14:46] ok, trying. [14:46] if still erroring, the disk is broken [14:47] Yup. I/O errors = good luck from me. :) [14:48] Attempting to fsck yields this: https://paste.ubuntu.com/25720586/ [14:48] lordievader: "No support for device type: power_supply" when I run acpi without any parameters. [14:49] SplunkKernelPani: you'll need to boot into a proper live cd and retry, even your rescue system is a bit fubar [14:49] Ok, thanks. [14:49] The rescue system is Debian [14:49] Jenshae: Hmm, I suppose that doesn't matter too much. I guess the server has some acpi support so that should not be the reason why it sometimes does and sometimes does not shut down. [14:51] SplunkKernelPani: oh, is that not the ubuntu rescue? [14:51] No, it's the server provider's rescue [14:52] there's something fruity with the file system anyway, whether that's disk issue or fs issue or something been rm'd etc [14:52] I'd try and fsck and see what happens first [14:52] it could just be that those files are missing, but I thin you'd get a different error (file not found) not an IO error which looks to be inode wobblw [14:53] Ok, thanks, I'll try from an Ubuntu rescue [14:53] or livecd [14:54] no worries [14:55] Oh I did try this joelio, it also kernel panics [14:55] I'll see if I can fsck from the rescue OS [14:56] rbasak: ping [14:56] nacc: o/ [14:56] rbasak: want to jump in standup? I can recap what I hit yesterday [14:57] Yep [14:57] omw [14:57] fscking [14:59] https://paste.ubuntu.com/25720648/ [15:00] SplunkKernelPani: you can pass in options to force yes and all [15:00] Oh yeah, there are a lot of problems going on. [15:01] joelio, yeah, I'm regretting not dropping the yes flag already [15:01] can ctrl-c out [15:01] although I've known someone who pushed a coin in between the 'T' and 'Y' key on old fsck that didn't support it ;) [15:02] if you'e got a lot of errors though, you may have disk issues [15:02] you can check with SMART tools [15:02] I'mma feel real dumb if my server's been down for two weeks and the only issue was that I needed to fsck [15:02] maybe there are bad blocks on disk [15:02] hey, we've all been there :) [15:03] Still kernel panic. Let me go back into rescue and see if I can at least run things without that error now [15:06] lordievader: It is an HP 8200EeC so the power management is probably very rudimentary. [15:07] SplunkKernelPani: the issue may be that fsck will only go so far, if there's corruption on disk then always going to be a bit :/ [15:08] https://paste.ubuntu.com/25720686/ [15:08] I'm running into that now [15:08] yea, the fs looks hosed dude [15:09] Slave it with a live USB and copy off what ever you can to an external drive. [15:09] I'd backup any content of it you needs, check the disks for bad blocks (or just bin) and redo [15:10] I think I may have screwed it up earlier when I deleted bash. I successfully reinstalled it by just copying it to /bin from the rescue system. But I;m wondering if there might be lingering issues. [15:11] (why I deleted bash is a long story) [15:11] deleted bash..... [15:11] ... ... ... yeah ... redo it time. [15:12] lol [15:12] It wasn't even bad advice. It was just poorly interpreted Googling. [15:12] no, it was a bad idea [15:13] A forum post stated that a similar issue was because bash needed to be reinstalled. I tried to reinstall bash, but apt notified me that it was already installed. [15:13] "Guys, I just formatted my machine and white washed my drives. I have never used backups. How do I get my data back?" [15:14] Be suspicious of all posts. Some people troll. === a1berto_ is now known as a1berto [15:14] Is it possible to install Bash from outside the chroot? I can access all files on the drive [15:14] There is always a delay before I act on advice here because I go and look up what they are saying first. [15:14] Can't I just dpkg it somehow but tell it to use the other filesystem [15:16] While you are at it. Why not try delete a system32 folder off a Windohs machine and copy it again from a different one? :P [15:17] Joking aside, it looks like you have screwed your core system files and need to start again from scratch. [15:18] Can I bind /bin/bash from the rescue to /bin/bash in the chroot? [15:18] reinstall [15:19] Horrid. [15:19] Yes, or restore from backup [15:21] You can grab some of your conf files and save yourself some pain. [15:21] I am gonna assume, prod ? [15:21] prod? [15:21] production [15:22] It's just a seedbox. the biggest loss if I nuked it would be movies, music, and TV shows. But I have a 5TB at another location I can send everything to prior to the nuking. [15:22] But yes, "production", lol [15:23] I hope someone with my level of Linux knowledge wouldn't be running anything in a professional production environment [15:23] I'll check back in later, thanks [15:24] Umm... been teaching myself Linux only since end of 2015 and ... well ... doing okay so far as the IT guy in this company. :P [15:26] I have three things on my Nix list, 1) Find out why remote sound only works half the time. 2) Find a shadowing solution. 3) Setup this archive server. [15:28] 2) Can be by and large managed by upgrading from R1 to R2. [15:29] 1) Is low priority and 3) is a side project of mine. [15:30] Hope this helps someone - http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/ === jelly-home is now known as jelly [16:00] Ciao o7 [16:09] .o/ moin [17:39] hey guys, im trying to mount a windows network share to ubuntu server and i keep getting "mount error(79): Can not access a needed shared library" [17:39] my /etc/fstab line and full errors are listed here https://gist.github.com/anonymous/17f669dbb33868a498ae3790fe271c9c [17:39] any help would be appreciated [17:40] Smokie: try to remove iocharset=uft8 for a test and mount again [17:40] see if that works [17:41] Smokie: also if you look at /var/log/dmesg, do you see any error about utf8/nls_utf8.ko not being found? [17:42] drab, let me try, one sec [17:43] it says nothing has been logged yet [17:43] let me try to remove iocharset [17:43] oh lol [17:43] did you copy paste that configuration from a stackoverflow answer? :P [17:44] redentials=/home/media/.smbc,iocharset=uft8 <----,gid.. uft8 instead of UTF8 [17:45] so try that instead [17:45] Smokie: ^^^ [17:45] also if you did what I just did, ie put the error you pasted in google and clicked on the 4th link you'd found just that [17:45] i actually followed some "guide", yeah [17:45] some guy reporting the same error and then posting "oh, what an idiot, typo, problem solved" [17:45] i googled a lot and couldnt find something that worked [17:46] fair enough [17:46] anyway, try to fix the typo and see if it works [17:46] it may be something else after all [17:46] but there's a high chance that's your issue [17:46] https://www.max2play.com/en/forums/topic/mount-error79/#post-26833 [17:47] it mounted fine without using iocharset so i guess this was it [17:48] testing now [17:49] if not, this seems also related and a good lead, basically a kernel module for the charset is missing as it's not shipped with stock kernel: https://github.com/chef/bento/issues/804 [17:51] yeah, didnt work even after fixing the miss spell [17:51] ok, so check that link for the kernel module and see if you have it [17:51] but basically you already proved it's something to do with the charset [17:51] since removing the parameter makes the mount work, correct? [17:55] drab, that is correct [17:55] man mount.cifs shows that iocharset doesn't take any argument, have you tried that Smokie [17:55] and tbh, im not sure why is uft8 charset is needed [17:56] sdeziel, iocharset only gives an invalid arguement [17:57] Smokie: I just now saw the "Can not access a needed shared library". Have you tried strace'ing the mount command? [17:58] sdeziel, it mounts find if i remove iocharset from the command line [17:58] the paths are not the issue [18:00] well, I'm assuming that using iocharset is what makes mount try to find a new shared lib, hence the strace idea [18:10] heh.. got disconnected without knowing [18:16] sdeziel: it is, more specifically, it loads a kernel module, which I guess in turn needs the lib or something [18:16] Smokie: did you look at the other link for the additional kernel and kernel module? [18:16] that may be the issue, it seems to still exist in 16.04 according to it since that's what the bug was filed against [18:24] i am on 16.04 LTS [18:24] uname -r is 4.4.0-87-generic [18:25] yes, like the guy in the bug report I linked [18:25] exactly [18:25] he's even got a more recent kernel than yours [18:26] I'm actually on 96 and have that module [18:26] so need to upgrade [18:26] -rw-r--r-- 1 root root 6166 Sep 12 11:01 /lib/modules/4.4.0-96-generic/kernel/fs/nls/nls_utf8.ko [18:26] I've seen another couple links reporting same issue and saying the module was present but still issues [18:26] I'd do what sdeziel suggested and strace mount.cifs [18:26] or even possibly ldd it, to see to what libs it links [18:27] if you do strace -e open mount.cifs .... it should tell you all the files it tries to open including libs [18:27] that may indicate what libs is missing [18:27] fwiw I'm doing this myself and have no issues [18:27] been spending the last week figuring out samba as we [18:27] 're moving our desktop's network home dirs over to it instead of nds [18:27] nfs* [18:28] sarnold: btw I pretty much figured out all the issues with pam_cifs and have a working solution so ditching the autofs hack [18:29] Smokie: you could also try to figure out which module is tentatively loaded with "sysctl kernel.modprobe=/usr/bin/logger" [18:30] bbl [18:31] thats a bit advanced for what i know about linux specially running it from terminal only like ubuntu server hehehe [18:31] just copy paste :P [18:32] Smokie: I just tried locally to mount a cifs dir with iocharset, dmesg shows: CIFS: Unknown mount option "iocharset" [18:33] funny enough, passing iocharset=utf8 removes the dmesg but seems to have 0 impact [18:34] 0 impact: no new modules gets loaded and /proc/mounts doesn't show this option. As if it was silently ignored [18:34] Smokie: why exactly you want to pass this iocharset param? [18:34] and it mounted fine? [18:34] yup [18:34] sdeziel, im not, tbh i was following a guide and it was in the command line [18:34] when removed it mounted fine [18:35] Smokie: OK. I think it's safe the conclude the guide and the man page would need an update :) [18:35] this is simply for a small media center so if mounting a windows share directory doesnt need utf8 iocharset then im ok without it [18:36] Smokie: my cifs mount has accented (French) char and they display just fine [18:37] thats good enough for me since i have docs in french too [18:38] drab: hah, so, what did you settle on in the end? is it still two samba servers? [18:39] sdeziel, a noobster question, updating the system doesnt always update the kernel, right? [18:39] kernel has to be updated manually ? [18:39] Smokie: FYI, the UTF8 support (that's enabled by default) is only meaningful for the directory/file names, it has nothing to do with the encoding used inside the files [18:40] ah.. so its kinda needed if the file is named français for example ? [18:40] Smokie: the kernel gets updated like the rest. One key difference though is that you need to reboot to jump on the patched kernel [18:40] Smokie: yes [18:40] uname -r [18:40] 4.4.0-97-generic [18:41] after the update [18:41] Smokie: your kernel is "-87" based on the uname -r output you shared. once updated and rebooted, it should be "-97" [18:41] right [18:43] i just tested now after the kernel update and it worked with the iocharset in the command line [18:43] thanks a bunch [18:45] I have only the following line in /etc/apt/apt.conf.d/50unattended-upgrades: [18:45] Unattended-Upgrade::Allowed-Origins {"${distro_id}:${distro_codename}-security";}; [18:46] Will running unattended-upgrades -d just install security updates or will it do the whole mess? [18:53] Smokie: another option is to install the livepatch feature which will automatically patch some of the kernel issues on the fly https://www.ubuntu.com/server/livepatch [18:56] * Ussat does not trust live patch [18:56] on ANY system [18:56] blizzow: I don't know the direct answer to your question but I'd try "unattended-upgrades --dry-run --verbose" and see what it does [18:57] Ussat: why is that? Did it fail you? [18:57] it has [18:57] I have monthly patch times, where I reboot now [18:58] not good, any more specific as to how it failed? [18:58] was a while ago [18:58] I dont remember the specifics [18:59] but I now have a monthly patch time/down time that includes a reboot if needed [19:00] it's always good to have those if you can afford the downtime as you then benefits from the regular bug fixes as well [19:01] yup [19:02] II look at it like how can you not afford to [19:45] GOD I hate the unlock screen on artful. Over remote video over a slow link, that swipe up is SO annoying [19:45] What mac-loving loser come up with that crap? [19:46] Sorry that came out harsher than I intended. [19:46] Meant to disguise my resentment a bit [19:58] Ussat: I've been bitten so many times by upgrades, both unattended and scheduled. I don't have the energy to fight security teams anymore either. So the best I can do is make frequent full backups of machines and clench my butt-cheeks. [21:12] how I can make sure unnatended updates run at a specific time? [22:02] sarnold: one server, stuff mounted at login. I'm working on get the ssh part sorted out [22:02] altho there's really nos olution for key auth since that literally bypasses passwords, but we're ok with it since no desktop user ssh into things, only admins do, and those have a local home for safety (in case local logins is needed) [22:03] so it's pretty clean/sane right now, no hacks except this mount.cifs problem I'm trying to figure out [22:08] drab: sweet :D [22:14] for some reason the mount.cifs they ship works just fine, but the stock distro sits there waiting for a password [22:14] so I need to get the sources and start comparing them or something like that, I bet the ABI changed and the way you pass pwd in is no longer the same [22:14] hopefully it's that simple [22:23] sarnold: do you happen to know what's the beef between /lib/security and /lib/x86_64-linux-gnu/security/ ? [22:23] drab: I assume it's debian multiarch stuff that I've been content to ignore for a dozen years :) [22:23] trying to figure out where I should install the pam module, the current makefile puts in /lib/security but that doesn't seem to work [22:23] lol, ok [22:24] np, I'll grab the src for another pam package and see what they do [22:24] pam_mount gets installed there so they must be handling it somehow [22:39] hi, i updated my ubuntu server and for some reason i cannot resolve hostnames anymore.. i can ping IPs fine, any thoughts? [22:41] what's your /etc/resolv.conf look like? how about your hosts: line from /etc/nsswitch.conf ? [22:41] i didnt change /etc/resolv.conf [22:41] i thought that shouldnt be touched after adding dns-servers to /etc/network/interfaces [22:42] i just double checked and its empty [22:42] aha :) [22:44] hehehe what does aha mean? [22:47] it means you probably found why you can't do DNS lookups :) [22:49] sarnold: im confused.. this is the msgs in resolve.conf "DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN" [22:49] i didnt have to edit resolv.conf before this last server update i did [22:49] meh23: yeah, and that's not wrong, but if you fix it up, you can do dns things now, and figure out what went wrong elsewhere in the plumbing in the meantime :) [22:55] thats what im trying :) [23:30] rbasak: welp, MP is up. https://code.launchpad.net/~nacc/usd-importer/+git/usd-importer/+merge/332160 [23:30] rbasak: I think it makes sense, and the code is not terrible, but it could use some review time. [23:32] rbasak: so i think most of the MPs that are currently pending are now waiting on you :/ [23:32] i know that's not great, timing wise