=== Lcawte is now known as Lcawte|Away [01:26] hello everyone, I have a dual core server that refuses to install 14.04 x64 server === FreezingAlt is now known as FreezingCold [01:43] FilthyMacNasty: it usually will say why it won't install [01:43] does it just stop, or what? [01:44] installer goes to checking hardware checking cd rom then goes to pink screen and halts [01:45] I had 12.04 on it and it worked fine === mfisch is now known as Guest28430 === kirkland is now known as Guest8370 [04:03] im trying to get NFS shares working correctly http://pastebin.com/ZCz7BM8E this is my current /etc/exports. mostly working now except for sub-folders? (which ive marked in the paste) anyone mind taking a minute to view it and hopfully help. :D === TDog_ is now known as TDog === kickinz1|afk is now known as kickinz1 [06:33] this is what I have http://pastebin.com/F1tzuezL, and I can't get the graphs to work on my awstats. How do I fix this? === kickinz1 is now known as kickinz1|afk === kickinz1|afk is now known as kickinz1 === kickinz1 is now known as kickinz1|afk === TDog_ is now known as TDog === kickinz1|afk is now known as kickinz1 === kickinz1 is now known as kickinz1|afk === bilde2910|away is now known as bilde2910 [08:44] Good morning. [09:06] * cwillu_at_work has replaced grub2 with extlinux, and agrees with lordievader that it is indeed a good morning === Lcawte|Away is now known as Lcawte [12:23] Hi everyone, i have setuped a RAID 10 , what i did is first setuped a RAID 1 with 2 disks and then setuped a RAID 0 with 2 disks and combine both by using mdadm --create /dev/md10 --level=10 ---metadata=1.00 --raid-devices=2 /dev/md0 /dev/md1 is this ok or the procedure is wrong ? [12:28] My guess would be that it is wrong and has actually given you a md10 device half the size you would actually expect. [12:29] Oh, wait, I just noticed what you actually said [12:30] You actually have a nonsense Frankenstein raid layout there [12:30] oh [12:31] get rid of it all and just ask mdadm to create a raid 10 over 4 physical disks [12:32] ok fine [12:33] If you were actually composing a raid 10 out of 0s and 1s, you would create two raid 1s of two disks, and then combine those in a raid 0 [12:34] Hello, I have a simple Ubuntu 13.10 64bits VPS with graphical interface (xfce). This server is running a TeamSpeak 3 server and I want to run a TeamSpeak 3 client to make a music bot on my server. I installed the latest TeamSpeak3 client (64bits). When I try to launch it (from the GUI), I have an error that I think (not sure) is due to the GUI. Can you help me ? [12:39] Pixmaip, have you posted the error anywhere yet? [12:40] No, but it is a really long error so I dont' want to flood === bilde2910 is now known as bilde2910|away [12:40] I'll make a screen shot === kickinz1|afk is now known as kickinz1 === kickinz1 is now known as kickinz1|afk [12:41] Here is the error : http://image.noelshack.com/fichiers/2014/42/1413722500-errorts.png === bilde2910|away is now known as bilde2910 === bilde2910 is now known as bilde2910|away === bilde2910|away is now known as bilde2910 === satyag is now known as zz_satyag === bilde2910 is now known as bilde2910|away === bilde2910|away is now known as bilde2910 [14:26] Hello, i need help pls! can anyone help with a problem with my ubuntu and my openssh server? i changed a working path for a user in /etc/passwd and now i get access denied errors with every user. Also root is denied [14:29] You'd need to explain in more detail what you changed for people to be able to guess what might be broken [14:30] At the moment my best guess would be you accidentally broke the format of /etc/passwd [14:30] * lordievader starts to wonder if login is broken when /etc/passwd is borked. [14:31] Well, if it can't look up the details of the user you're trying to log in as, I'd assume so :-) [14:31] I figured as much... [14:32] yes the forma i think, i edited it with the plesk power panel editor! but i read never to do this, always use vipw [14:33] there was a passwd- also, i just recovered it now and it works [14:35] but how can i solve it, i have to change the path from a user! but every time i edit my passwd, all logins are broken :( this are the errors http://pastebin.com/bUj3d6DZ [14:35] FuXXz: Use the correct format ;) [14:36] FuXXz: Are you editing this from Windows? [14:36] this doesnt help me :( i only open it in editor and save it! [14:36] in parallels power panel for the vserver [14:37] there is a file web based file browser [14:37] FuXXz: Looks to me like Windows end-lines are used '/bin/bash\r'. [14:37] Avoid using broken tools, and you won't have a problem :-) [14:38] Use vim or nano, they are great editors :) [14:38] so use vim, nano etc. with my ssh user to edit it ? [14:38] ah ok [14:39] Or better still use tools like usermod to directly change attributes of users without needing a text editor [14:39] Also if your /etc/passwd is now tainted with Windows end-lines you'd have to revert that back to Unix end-lines. [14:40] i start learning linux server 1 week ago, so as windows user i dont like the shell. it is hard for me to navigate in a filesystem you dont know well :) [14:41] if you know where are all the files you have to edit, its ok. but i have to browse and insect all the directories, files etc and therefor a real file browser and editor is nice [14:44] FuXXz: The Linux file hierachy is quite logical, after a while you know where a file will probably be. [14:46] if the package adheres to FHS anyway - plesk isn't going to [14:47] heh? locate? find? heh, all you need :) [14:47] or the manual === bilde2910 is now known as bilde2910|away [16:34] Hi please verify my raid setup, please have a look into pastebin. http://paste.ubuntu.com/8591275/ [16:46] if i set certain folders to for example 777 rights to access them with filezilla it is risky right? [16:47] kevindf: every were its accessible and its 100% risky [16:48] what would be a good way to do it, in order to be able to export certain files with filezilla for example my openvpn keys in /etc/openvpn/easy-rsa/keys? [16:48] or would just copy'ing the files out of that directory to for example home and then get them from filezilla for example be better [16:59] Does the Nagios monitoring software use alot of resources on a server? [17:00] As I would like to monitor my server on a regular basis preferebally trough a web interface just for testing purposes, but as i'm hosting a teamspeak server on it also and my server isn't the best of the best i'd like to know if installing Nagios would take alot of my server hardware resources [17:00] it can [17:01] So it's not really suggested to run on a server that's being ran on a "old pc"? [17:02] depends :) [17:04] depends on what factors? :D [17:13] all factors :) === bilde2910|away is now known as bilde2910 === IdleOne is now known as Guest12816 [17:55] evening [17:56] is there a way to remove every old unused kernel from grub? [17:56] this is on a VM image that cannot be booted, because apt-get dist-upgrade has corrupted grub2 [17:59] that isn't a solution though [18:02] oh, I see this is an old bug that has been around since 12.04 [18:02] gordonjcp: Uninstall unneeded kernels - you can boot witha live cd. [18:03] bekks: hm, I'm not sure how well that would work [18:03] I guess I could look at booting the install kernel and ramdisk as if I was doing an install [18:04] In that case, booting a live cd is more easy. [18:04] bekks: how do I do that? [18:04] Insert a live cd, and boot it. [18:04] bekks: insert it into what? [18:05] VMs typically don't have optical media [18:05] Inte the - presumably - cd/dcd drive. [18:05] :-D [18:05] And VMs normally do have a virtualizzed cd/dvd drive. [18:05] at that, none of my *physical* hardware has optical media [18:05] I don't think I've seen a CD or DVD drive for ten years or more [18:05] For a VM, you dont need *physical* media. [18:05] bekks: no indeed [18:06] I wonder how pygrub would be persuaded to look at a CD [18:06] How is pygrub related to boot from an ISO? [18:07] bekks: I don't know, that's sort of the problem [18:07] You need to boot from the iso. [18:07] bekks: yes, and I'm trying to figure out how to do that just now [18:07] unless you know offhand how to do that in Xen [18:08] normally you'd pass the installer ramdisk and kernel in the config file and just fire it up [18:08] http://wiki.xen.org/wiki/CD_Rom_Support_in_Xen#Adding_CDROM_to_Guest [18:09] Normally, you configure your VM to have a virtualized cd/dvd. [18:09] bekks: yes, I know [18:09] that link doesn't really help [18:09] It does. You need to configure your VM like that. [18:10] bekks: it already has a CDROM configured, from the install process [18:10] Then whats the problem at that point? [18:10] I don't know at the moment how to get the boot loader to look at the CDROM [18:11] The boot loader is irrelevant. [18:11] ooooooh-kaaaaay..... [18:11] Once attaching the ISO to the virtualized drive, the boot loader doesnt even start when booting from the iso. [18:11] I'm sure that makes sense somewhere [18:11] It is like a real computer - with no OS installed. It boot from a bootable CD. [18:12] bekks: okay, let me bring you up to speed here [18:12] I've been using virtual machines since before Linux supported virtualisation [18:12] the *immediate* problem is that I've run into a two-year-old bug which is more in pygrub than anything else [18:13] where it doesn't understand what Ubuntu does when you update and it installs a new kernel [18:13] I'm well aware of how VMs work [18:13] the immediate problem is that the "sudo apt-get update && sudo apt-get dist-upgrade" dance results in a broken system [18:15] Then whats the actuall issue you are facing? Whatrs the output of those commands? [18:16] And why cant you fix your grub from a live and repair the broken kernel stuff? [18:16] well, a better fix would be finding a way to prevent normal updates from killing the system [18:17] That would be the second step. :) [18:17] whatever happens when you update the kernel, it utterly ruins grub2 [18:17] at least as far as Xen is concerned [18:50] I guess I should upgrade to 10.04 [18:51] this 14.04 install is infected with systemd [18:52] gordonjcp: That is hardly the case. [18:53] lordievader: meh, this is all stuff that *used to* work [18:53] wut [18:53] 14.04 doesn't come with systemd... [18:53] then why is systemd running? [18:53] what's the actual process name? [18:53] gordonjcp: Do you run 14.10? [18:54] no, 14.04 [18:54] because if you're on 14.04 and haven't done something fun like add a systemd PPA, systemd is *not in the archive* [18:54] It is installed/available there since udev requires it. But 14.04 does not have systemd. [18:54] 460 ? Ss 0:01 /lib/systemd/systemd-udevd --daemon [18:54] 669 ? Ss 0:00 /lib/systemd/systemd-logind [18:54] excuse the past [18:54] *paste [18:54] that's udev, which has been around forever, and logind, which is needed by various desktop environments these days [18:55] if systemd itself were running, PID 1 would be named systemd [18:55] why would a server need stuff from a desktop environment? [18:55] rww: oh, okay, handy to know [18:56] I have no idea why logind is running, indeed. [18:56] I'll leave that to someone who's wrangled 14.04 on servers more than me :) [18:56] well, even 12.04 isn't a solution, because updating blows up Xen there too [19:32] Hi - does anyone have any experience of creating a kickstart file for 14.04? I've been hacking away at it all weekend and experiencing the same problem. As the install proceeds it stops and asks me to create a user. I've tried every variation on the d-i passwd/username string section that I've found but I get the same results. I never had this problem in 12.04. [19:33] stetho: yes [19:34] give me a minute while I finish making this coffee [19:34] I have just the very thing [19:34] gordonjcp: Thank you. [19:37] stetho: http://gjcp.net/~gordonjcp/preseed.cfg [19:37] stetho: that actually contains a preseed for setting up a server on Xen [19:38] but it should run pretty much fully unattended [19:38] you'll see it shows how to create a root user with a password included in the preseed file, and how to create a normal user with a crypted password [19:39] Thanks - I'll give it a try now. Although it does look like everything else I've tried! === bilde2910 is now known as bilde2910|away [19:50] gordonjcp: Same thing. It's stopped to ask me for a user name. Any suggestions why this might be happening to me? [19:54] hm [19:54] stetho: not offhand [19:56] stetho: can you pastebin *exactly* what it's asking you? [19:58] gordonjcp: No need - it's the standard "set up users and passwords" screen with the "Full name of the new user:" - it not an obscure screen or message which is why I can't figure out what's wrong! :-) [20:18] okay, so after a bit of experimentation, updating and then removing the "old" kernel files doesn't fix my problem [20:18] just to recap, on a Xen DomU doing "apt-get update && apt-get dist-upgrade" and allowing it to update the kernel package corrupts grub beyond repair [20:22] okay, I'm out of ideas [20:23] is there a way to prevent Ubuntu from ever allowing any updates at all? [20:29] Dont update. Which is not recommended. [20:30] bekks: incredible [20:30] that bouncing guy is getting annoying [20:37] gordonjcp: Is it the installing of the kernel or the trigger of update-grub? [20:37] lordievader: it appears to be something to do with it moving old kernels to a submenu [20:40] gordonjcp: You can disable that ;) And you can file a bug against it. [20:40] lordievader: how do I disable it? [20:42] It is likely a script in /etc/grub.d/, find the one responsible and take away its execution rights. [20:42] lordievader: I have no idea where to start in that mess [20:43] Or modify the script as disabling might do more harm than good. [20:45] lordievader: I think I'll just remove grub altogether [20:45] and try lilo or something [20:45] or possibly just write a new bootloader [20:45] instead of dealing with this tangled mess [20:46] gordonjcp: Writing a grub config really isn't difficult. [20:46] But please do file a bug anyways. [20:46] Else it will never get the chance of being fixed. [20:46] haaaaaaang on [20:46] "GRUB_DISABLE_SUBMENU" appears in the grub binary [20:46] not anywhere in the grub documentation though [20:47] yay for reverse-engineering proprietary software [20:48] !ops | ##fix-your-connection for bagackiz plz [20:48] ##fix-your-connection for bagackiz plz: Help! Channel emergency! infinity, soren, lamont, mathiaz, Pici, Daviey, Tm_T, pmatulis, Corey, IdleOne, ikonia, funkyhat, Myrtti, ocean, genii, phunyguy! [20:48] or ##fix_your_connection, I forget which [20:48] gordonjcp: Grub is GNU GPLv3, nothing proprietary about it. [20:48] lordievader: meh, undocumented, only binary available [20:49] gordonjcp: You can also do what I do with my Gentoo systems. Make a static config and disable the dynamic config scripts. [20:51] except the source is available and licensed under GPLv3, so... [20:52] just as a matter of interest, is there a reason why Ubuntu no longer supports virtualisation? [20:52] They don't? [20:52] * rww blinks [20:52] Since when? [20:52] lordievader: it hasn't worked properly since 13.04 [20:53] It works perfectly here since 8.04 [20:53] you can't used bridged networks on desktop machines any more [20:53] You can. [20:53] * lordievader runs serveral vm's just fine since 12.04 [20:53] ... [20:53] I am currently writing from such a setup. [20:53] so, that stuffs using various things [20:53] My vm's use bridged networking. [20:53] Mine too. [20:53] lordievader: on a 14.04 deskop, with bridged networking? [20:53] Yes. [20:53] okay, how? [20:54] gordonjcp: No on a 14.04 server. But I suppose running a desktop on top makes no difference. [20:54] I just installed virtualbox. [20:54] gordonjcp: KVM :D [20:54] gordonjcp: 14.04 supports bridging within network manager as well [20:54] has for quite a while [20:55] phunyguy: if you set it up as per normal in /etc/network/interfaces it doesn't work [20:55] gordonjcp: then don't do it that way... considering desktop machines use networkmanager instead [20:55] that's too complicated [20:55] or uninstall networkmanager [20:55] really? [20:55] Using bridges with vbox doesnt even need any configuration but in the vm settings. [20:55] * lordievader has bridge devices configured in /etc/network/interfaces [20:56] lordievader: that works on servers, not on desktops [20:56] or, more annoying, laptops [20:56] So you are referring to "bridging with wifi interfaces". [20:56] gordonjcp: http://i.imgur.com/ni3WmLL.png [20:56] bekks: any network interface [20:56] bekks: although being able to use wifi would be nice [20:56] And thats not an Ubuntu issue, but an issue of the manufacturers not supporting bridging. [20:57] bridging with wifi works in networkmanager [20:57] phunyguy: I have no idea what I'm looking at [20:57] gordonjcp: I also had it on my desktop for a while. [20:57] gordonjcp: bridge config in networkmanager [20:57] phunyguy: I can't really deal with GUIs for various reasons [20:57] so drop it. [20:57] gordonjcp: My Kubuntu install still has those settings. [20:57] there's some boxes, I can't figure out what they are [20:58] also, you are in #ubuntu-server. [20:58] phunyguy: because the immediate fire is in an ubuntu server [20:58] gordonjcp: Debian has a guide somewhere on bridging wlan devices. [20:58] so why are you worried about network-manager or desktops? [20:59] phunyguy: because until 14.04 landed I could use VMs on my laptop, and now I can't [20:59] then ask in #ubuntu. [20:59] but it works. [20:59] well, I *can*, but not if I want sane networking [20:59] that's a separate problem thouigh === mfisch is now known as Guest4574 [21:00] if you don't want to configure virtualization properly on a desktop, then you shouldn't do it. [21:00] phunyguy: forget desktops for the moment [21:00] That applies to everything ;) [21:00] phunyguy: I solved the problem by upgrading to 12.04 [21:01] when that goes out of support I guess I'll have to figure something else out [21:01] Hi, I am running a program that by default creates log and pid in /var/log and /var/run . It is advised not to run as root. Should I create a user which has no home dir and has not login? and set file permission to this user so that log and pid can be created? [21:01] ok. [21:01] phunyguy: right now, I need to work out why updating clobbers grub in such a way that my DomU cannot boot any more [21:01] good luck. [21:02] phunyguy: that is the most useful thing anyone has come up with so far [21:03] phunyguy: it appears the answer is to never, *ever* allow Ubuntu to update [21:03] :) :) :) :) :) [21:04] gordonjcp: Find out what is causing it and file a bug. (And preferrably a work around for the time being) [21:04] lordievader: I have no idea what is causing it [21:04] some weird undocumented grub thing [21:04] there is no workaround [21:04] the bootloader is corrupted beyond repair [21:04] sounds like ubuntu isn't the issue. [21:05] :| [21:05] doesn't do it on anything else [21:05] different version of grub? [21:05] *apparently* something to do with submenus [21:05] gordonjcp: I have already told you everything you need to know to find out where the cause is. [21:05] there may already be an upstream bug but ubuntu lags a little behind with versions [21:05] gordonjcp: I've also given advice on a possible workaround. [21:06] lordievader: okay, I have no idea how to create a static file [21:06] there's nothing left to describe what would go in it [21:06] just a couple of meg of undocumented uncommented shell script where there should be a fairly simple boot loader [21:08] what's really weird is that I have another VM that appears to have the same config files, that works just fine [21:08] sounds like a not ubuntu problem but a grub problem... like I already said. If it works on other distros, check the grub version, and maybe find out differences, or search out upstream bugs. The fix may need to be backported. [21:09] gordonjcp: It is. Read /boot/grub/grub.cfg see what options it defines for booting your kernel. Copy that to /etc/grub.d/40_custom, disable the automatic grub probes. Make a backup of /boot/grub/grub.cfg. Run update-grub2. Reboot. [21:10] lordievader: there isn't anything that looks remotely like sense in /boot/grub/grub.cfg [21:10] certainly nothing that looks like a kernel line [21:11] When that works, make a symlink in /boot to your kernel and initram fs, for example kubuntu-{kernel,initrd} and let your custom config point to that. [21:11] gordonjcp: Scroll down ;) [21:11] lordievader: there is nothing there [21:11] pages and pages of bash scrool [21:12] about 10MB worth [21:12] that doesn't sound right [21:12] update-grub does what? [21:12] there is nothing resembling a kernel line anywhere [21:12] phunyguy: does what you'd expect, when you run it [21:12] "Found linux image " a couple of times [21:13] cat /boot/grub/grub.cfg | grep linux [21:13] gordonjcp: Exactly bash... [21:14] Anybody to suggest? [21:17] learning: to answer your question: yes [21:21] oh well, thanks anyway [21:21] you're welcome [21:22] I'm just going to pull the config files and stuff off and nuke and pave [21:22] At the very least file a bug. [21:22] doubtless it'll happen again soon but hopefully it won't be on something important [21:22] lordievader: wouldn't know where to start with that [21:23] I have no clear idea of what is actually causing it [21:23] so what do I file the bug against? [21:23] *probably* grub, but who knows [21:23] gordonjcp: ubuntu-bug grub2 [21:23] phunygun: In that case, how the program will connects to that application on unix socket (This application is run by user that has no home dir and login). Should I change mod to allow read permission on that unix socket? [21:24] lordievader: I won't do that right away [21:24] lordievader: when I've got some time I'll see if I can deliberately provoke it into happening and see what changes [21:24] lordievader: yay for LVM snapshots [21:25] gordonjcp: Do you have /boot on lvm? [21:25] lordievader: not as far as the DomU is concerned [21:25] gordonjcp: Then it ain't grub. [21:26] lordievader: xvda is an LVM volume but obviously the DomU just sees that as any disk [21:26] gordonjcp: Ah in such a way, never mind. [21:28] puppet and preseed to the rescue [22:15] I have set ownership of /var/run/postgresql to postgres:postgres . But after restart, I don't find this directory [22:15] How can I ensure that after restart this directory stays [22:44] hi guys i would like to check for some config starting with IN on a linux directory..how do i command it..? === Lcawte is now known as Lcawte|Away