/srv/irclogs.ubuntu.com/2014/10/19/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
FilthyMacNastyhello everyone, I have a dual core server that refuses to install 14.04 x64 server01:26
=== FreezingAlt is now known as FreezingCold
tewardFilthyMacNasty: it usually will say why it won't install01:43
tewarddoes it just stop, or what?01:43
FilthyMacNastyinstaller goes to checking hardware checking cd rom then goes to pink screen and halts01:44
FilthyMacNastyI had 12.04 on it and it worked fine01:45
=== mfisch is now known as Guest28430
=== kirkland is now known as Guest8370
brentim 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. :D04:03
=== TDog_ is now known as TDog
=== kickinz1|afk is now known as kickinz1
Jeeves_Mossthis 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?06:33
=== 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
lordievaderGood morning.08:44
* cwillu_at_work has replaced grub2 with extlinux, and agrees with lordievader that it is indeed a good morning09:06
=== Lcawte|Away is now known as Lcawte
blackyboyHi 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:23
maxbMy guess would be that it is wrong and has actually given you a md10 device half the size you would actually expect.12:28
maxbOh, wait, I just noticed what you actually said12:29
maxbYou actually have a nonsense Frankenstein raid layout there12:30
blackyboyoh12:30
maxbget rid of it all and just ask mdadm to create a raid 10 over 4 physical disks12:31
blackyboyok fine12:32
maxbIf 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 012:33
PixmaipHello, 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:34
cwillu_at_workPixmaip, have you posted the error anywhere yet?12:39
PixmaipNo, but it is a really long error so I dont' want to flood12:40
=== bilde2910 is now known as bilde2910|away
PixmaipI'll make a screen shot12:40
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
PixmaipHere is the error : http://image.noelshack.com/fichiers/2014/42/1413722500-errorts.png12:41
=== 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
FuXXzHello, 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 denied14:26
maxbYou'd need to explain in more detail what you changed for people to be able to guess what might be broken14:29
maxbAt the moment my best guess would be you accidentally broke the format of /etc/passwd14:30
* lordievader starts to wonder if login is broken when /etc/passwd is borked.14:30
maxbWell, if it can't look up the details of the user you're trying to log in as, I'd assume so :-)14:31
lordievaderI figured as much...14:31
FuXXzyes the forma i think, i edited it with the plesk power panel editor! but i read never to do this, always use vipw14:32
FuXXzthere was a passwd- also, i just recovered it now and it works14:33
FuXXzbut 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/bUj3d6DZ14:35
lordievaderFuXXz: Use the correct format ;)14:35
lordievaderFuXXz: Are you editing this from Windows?14:36
FuXXzthis doesnt help me :( i only open it in editor and save it!14:36
FuXXzin parallels power panel for the vserver14:36
FuXXzthere is a file web based file browser14:37
lordievaderFuXXz: Looks to me like Windows end-lines are used '/bin/bash\r'.14:37
maxbAvoid using broken tools, and you won't have a problem :-)14:37
lordievaderUse vim or nano, they are great editors :)14:38
FuXXzso use vim, nano etc. with my ssh user to edit it ?14:38
FuXXzah ok14:38
maxbOr better still use tools like usermod to directly change attributes of users without needing a text editor14:39
lordievaderAlso if your /etc/passwd is now tainted with Windows end-lines you'd have to revert that back to Unix end-lines.14:39
FuXXzi 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:40
FuXXzif 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 nice14:41
lordievaderFuXXz: The Linux file hierachy is quite logical, after a while you know where a file will probably be.14:44
qman__if the package adheres to FHS anyway - plesk isn't going to14:46
Patrickdkheh? locate? find? heh, all you need :)14:47
qman__or the manual14:47
=== bilde2910 is now known as bilde2910|away
blackyboyHi please verify my raid setup, please have a look into pastebin. http://paste.ubuntu.com/8591275/16:34
kevindfif i set certain folders to for example 777 rights to access them with filezilla it is risky right?16:46
blackyboykevindf: every were its accessible and its 100% risky16:47
kevindfwhat 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
kevindfor would just copy'ing the files out of that directory to for example home and then get them from filezilla for example be better16:48
kevindfDoes the Nagios monitoring software use alot of resources on a server?16:59
kevindfAs 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 resources17:00
Patrickdkit can17:00
kevindfSo it's not really suggested to run on a server that's being ran on a "old pc"?17:01
Patrickdkdepends :)17:02
kevindfdepends on what factors? :D17:04
Patrickdkall factors :)17:13
=== bilde2910|away is now known as bilde2910
=== IdleOne is now known as Guest12816
gordonjcpevening17:55
gordonjcpis there a way to remove every old unused kernel from grub?17:56
gordonjcpthis is on a VM image that cannot be booted, because apt-get dist-upgrade has corrupted grub217:56
Patrickdkthat isn't a solution though17:59
gordonjcpoh, I see this is an old bug that has been around since 12.0418:02
bekksgordonjcp: Uninstall unneeded kernels - you can boot witha live cd.18:02
gordonjcpbekks: hm, I'm not sure how well that would work18:03
gordonjcpI guess I could look at booting the install kernel and ramdisk as if I was doing an install18:03
bekksIn that case, booting a live cd is more easy.18:04
gordonjcpbekks: how do I do that?18:04
bekksInsert a live cd, and boot it.18:04
gordonjcpbekks: insert it into what?18:04
gordonjcpVMs typically don't have optical media18:05
bekksInte the - presumably - cd/dcd drive.18:05
gordonjcp:-D18:05
bekksAnd VMs normally do have a virtualizzed cd/dvd drive.18:05
gordonjcpat that, none of my *physical* hardware has optical media18:05
gordonjcpI don't think I've seen a CD or DVD drive for ten years or more18:05
bekksFor a VM, you dont need *physical* media.18:05
gordonjcpbekks: no indeed18:05
gordonjcpI wonder how pygrub would be persuaded to look at a CD18:06
bekksHow is pygrub related to boot from an ISO?18:06
gordonjcpbekks: I don't know, that's sort of the problem18:07
bekksYou need to boot from the iso.18:07
gordonjcpbekks: yes, and I'm trying to figure out how to do that just now18:07
gordonjcpunless you know offhand how to do that in Xen18:07
gordonjcpnormally you'd pass the installer ramdisk and kernel in the config file and just fire it up18:08
bekkshttp://wiki.xen.org/wiki/CD_Rom_Support_in_Xen#Adding_CDROM_to_Guest18:08
bekksNormally, you configure your VM to have a virtualized cd/dvd.18:09
gordonjcpbekks: yes, I know18:09
gordonjcpthat link doesn't really help18:09
bekksIt does. You need to configure your VM like that.18:09
gordonjcpbekks: it already has a CDROM configured, from the install process18:10
bekksThen whats the problem at that point?18:10
gordonjcpI don't know at the moment how to get the boot loader to look at the CDROM18:10
bekksThe boot loader is irrelevant.18:11
gordonjcpooooooh-kaaaaay.....18:11
bekksOnce attaching the ISO to the virtualized drive, the boot loader doesnt even start when booting from the iso.18:11
gordonjcpI'm sure that makes sense somewhere18:11
bekksIt is like a real computer - with no OS installed. It boot from a bootable CD.18:11
gordonjcpbekks: okay, let me bring you up to speed here18:12
gordonjcpI've been using virtual machines since before Linux supported virtualisation18:12
gordonjcpthe *immediate* problem is that I've run into a two-year-old bug which is more in pygrub than anything else18:12
gordonjcpwhere it doesn't understand what Ubuntu does when you update and it installs a new kernel18:13
gordonjcpI'm well aware of how VMs work18:13
gordonjcpthe immediate problem is that the "sudo apt-get update && sudo apt-get dist-upgrade" dance results in a broken system18:13
bekksThen whats the actuall issue you are facing? Whatrs the output of those commands?18:15
bekksAnd why cant you fix your grub from a live and repair the broken kernel stuff?18:16
gordonjcpwell, a better fix would be finding a way to prevent normal updates from killing the system18:16
bekksThat would be the second step. :)18:17
gordonjcpwhatever happens when you update the kernel, it utterly ruins grub218:17
gordonjcpat least as far as Xen is concerned18:17
gordonjcpI guess I should upgrade to 10.0418:50
gordonjcpthis 14.04 install is infected with systemd18:51
lordievadergordonjcp: That is hardly the case.18:52
gordonjcplordievader: meh, this is all stuff that *used to* work18:53
rwwwut18:53
rww14.04 doesn't come with systemd...18:53
gordonjcpthen why is systemd running?18:53
rwwwhat's the actual process name?18:53
lordievadergordonjcp: Do you run 14.10?18:53
gordonjcpno, 14.0418:54
rwwbecause 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
lordievaderIt is installed/available there since udev requires it. But 14.04 does not have systemd.18:54
gordonjcp  460 ?        Ss     0:01 /lib/systemd/systemd-udevd --daemon18:54
gordonjcp  669 ?        Ss     0:00 /lib/systemd/systemd-logind18:54
gordonjcpexcuse the past18:54
gordonjcp*paste18:54
rwwthat's udev, which has been around forever, and logind, which is needed by various desktop environments these days18:54
rwwif systemd itself were running, PID 1 would be named systemd18:55
gordonjcpwhy would a server need stuff from a desktop environment?18:55
gordonjcprww: oh, okay, handy to know18:55
rwwI have no idea why logind is running, indeed.18:56
rwwI'll leave that to someone who's wrangled 14.04 on servers more than me :)18:56
gordonjcpwell, even 12.04 isn't a solution, because updating blows up Xen there too18:56
stethoHi - 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:32
gordonjcpstetho: yes19:33
gordonjcpgive me a minute while I finish making this coffee19:34
gordonjcpI have just the very thing19:34
stethogordonjcp: Thank you.19:34
gordonjcpstetho: http://gjcp.net/~gordonjcp/preseed.cfg19:37
gordonjcpstetho: that actually contains a preseed for setting up a server on Xen19:37
gordonjcpbut it should run pretty much fully unattended19:38
gordonjcpyou'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 password19:38
stethoThanks - I'll give it a try now. Although it does look like everything else I've tried!19:39
=== bilde2910 is now known as bilde2910|away
stethogordonjcp: Same thing. It's stopped to ask me for a user name. Any suggestions why this might be happening to me?19:50
gordonjcphm19:54
gordonjcpstetho: not offhand19:54
gordonjcpstetho: can you pastebin *exactly* what it's asking you?19:56
stethogordonjcp: 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! :-)19:58
gordonjcpokay, so after a bit of experimentation, updating and then removing the "old" kernel files doesn't fix my problem20:18
gordonjcpjust 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 repair20:18
gordonjcpokay, I'm out of ideas20:22
gordonjcpis there a way to prevent Ubuntu from ever allowing any updates at all?20:23
bekksDont update. Which is not recommended.20:29
gordonjcpbekks: incredible20:30
gordonjcpthat bouncing guy is getting annoying20:30
lordievadergordonjcp: Is it the installing of the kernel or the trigger of update-grub?20:37
gordonjcplordievader: it appears to be something to do with it moving old kernels to a submenu20:37
lordievadergordonjcp: You can disable that ;) And you can file a bug against it.20:40
gordonjcplordievader: how do I disable it?20:40
lordievaderIt is likely a script in /etc/grub.d/, find the one responsible and take away its execution rights.20:42
gordonjcplordievader: I have no idea where to start in that mess20:42
lordievaderOr modify the script as disabling might do more harm than good.20:43
gordonjcplordievader: I think I'll just remove grub altogether20:45
gordonjcpand try lilo or something20:45
gordonjcpor possibly just write a new bootloader20:45
gordonjcpinstead of dealing with this tangled mess20:45
lordievadergordonjcp: Writing a grub config really isn't difficult.20:46
lordievaderBut please do file a bug anyways.20:46
lordievaderElse it will never get the chance of being fixed.20:46
gordonjcphaaaaaaang on20:46
gordonjcp"GRUB_DISABLE_SUBMENU" appears in the grub binary20:46
gordonjcpnot anywhere in the grub documentation though20:46
gordonjcpyay for reverse-engineering proprietary software20:47
rww!ops | ##fix-your-connection for bagackiz plz20:48
ubottu##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
rwwor ##fix_your_connection, I forget which20:48
lordievadergordonjcp: Grub is GNU GPLv3, nothing proprietary about it.20:48
gordonjcplordievader: meh, undocumented, only binary available20:48
lordievadergordonjcp: You can also do what I do with my Gentoo systems. Make a static config and disable the dynamic config scripts.20:49
rwwexcept the source is available and licensed under GPLv3, so...20:51
gordonjcpjust as a matter of interest, is there a reason why Ubuntu no longer supports virtualisation?20:52
lordievaderThey don't?20:52
* rww blinks20:52
bekksSince when?20:52
gordonjcplordievader: it hasn't worked properly since 13.0420:52
bekksIt works perfectly here since 8.0420:53
gordonjcpyou can't used bridged networks on desktop machines any more20:53
bekksYou can.20:53
* lordievader runs serveral vm's just fine since 12.0420:53
phunyguy...20:53
bekksI am currently writing from such a setup.20:53
gordonjcpso, that stuffs using various things20:53
lordievaderMy vm's use bridged networking.20:53
bekksMine too.20:53
gordonjcplordievader: on a 14.04 deskop, with bridged networking?20:53
bekksYes.20:53
gordonjcpokay, how?20:53
lordievadergordonjcp: No on a 14.04 server. But I suppose running a desktop on top makes no difference.20:54
bekksI just installed virtualbox.20:54
lordievadergordonjcp: KVM :D20:54
phunyguygordonjcp: 14.04 supports bridging within network manager as well20:54
phunyguyhas for quite a while20:54
gordonjcpphunyguy: if you set it up as per normal in /etc/network/interfaces it doesn't work20:55
phunyguygordonjcp: then don't do it that way... considering desktop machines use networkmanager instead20:55
gordonjcpthat's too complicated20:55
phunyguyor uninstall networkmanager20:55
phunyguyreally?20:55
bekksUsing bridges with vbox doesnt even need any configuration but in the vm settings.20:55
* lordievader has bridge devices configured in /etc/network/interfaces20:55
gordonjcplordievader: that works on servers, not on desktops20:56
gordonjcpor, more annoying, laptops20:56
bekksSo you are referring to "bridging with wifi interfaces".20:56
phunyguygordonjcp: http://i.imgur.com/ni3WmLL.png20:56
gordonjcpbekks: any network interface20:56
gordonjcpbekks: although being able to use wifi would be nice20:56
bekksAnd thats not an Ubuntu issue, but an issue of the manufacturers not supporting bridging.20:56
phunyguybridging with wifi works in networkmanager20:57
gordonjcpphunyguy: I have no idea what I'm looking at20:57
lordievadergordonjcp: I also had it on my desktop for a while.20:57
phunyguygordonjcp: bridge config in networkmanager20:57
gordonjcpphunyguy: I can't really deal with GUIs for various reasons20:57
phunyguyso drop it.20:57
lordievadergordonjcp: My Kubuntu install still has those settings.20:57
gordonjcpthere's some boxes, I can't figure out what they are20:57
phunyguyalso, you are in #ubuntu-server.20:58
gordonjcpphunyguy: because the immediate fire is in an ubuntu server20:58
lordievadergordonjcp: Debian has a guide somewhere on bridging wlan devices.20:58
phunyguyso why are you worried about network-manager or desktops?20:58
gordonjcpphunyguy: because until 14.04 landed I could use VMs on my laptop, and now I can't20:59
phunyguythen ask in #ubuntu.20:59
phunyguybut it works.20:59
gordonjcpwell, I *can*, but not if I want sane networking20:59
gordonjcpthat's a separate problem thouigh20:59
=== mfisch is now known as Guest4574
phunyguyif you don't want to configure virtualization properly on a desktop, then you shouldn't do it.21:00
gordonjcpphunyguy: forget desktops for the moment21:00
lordievaderThat applies to everything ;)21:00
gordonjcpphunyguy: I solved the problem by upgrading to 12.0421:00
gordonjcpwhen that goes out of support I guess I'll have to figure something else out21:01
learningHi, 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
phunyguyok.21:01
gordonjcpphunyguy: right now, I need to work out why updating clobbers grub in such a way that my DomU cannot boot any more21:01
phunyguygood luck.21:01
gordonjcpphunyguy: that is the most useful thing anyone has come up with so far21:02
gordonjcpphunyguy: it appears the answer is to never, *ever* allow Ubuntu to update21:03
phunyguy:) :) :) :) :)21:03
lordievadergordonjcp: Find out what is causing it and file a bug. (And preferrably a work around for the time being)21:04
gordonjcplordievader: I have no idea what is causing it21:04
gordonjcpsome weird undocumented grub thing21:04
gordonjcpthere is no workaround21:04
gordonjcpthe bootloader is corrupted beyond repair21:04
phunyguysounds like ubuntu isn't the issue.21:04
phunyguy:|21:05
gordonjcpdoesn't do it on anything else21:05
phunyguydifferent version of grub?21:05
gordonjcp*apparently* something to do with submenus21:05
lordievadergordonjcp: I have already told you everything you need to know to find out where the cause is.21:05
phunyguythere may already be an upstream bug but ubuntu lags a little behind with versions21:05
lordievadergordonjcp: I've also given advice on a possible workaround.21:05
gordonjcplordievader: okay, I have no idea how to create a static file21:06
gordonjcpthere's nothing left to describe what would go in it21:06
gordonjcpjust a couple of meg of undocumented uncommented shell script where there should be a fairly simple boot loader21:06
gordonjcpwhat's really weird is that I have another VM that appears to have the same config files, that works just fine21:08
phunyguysounds 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:08
lordievadergordonjcp: 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:09
gordonjcplordievader: there isn't anything that looks remotely like sense in /boot/grub/grub.cfg21:10
gordonjcpcertainly nothing that looks like a kernel line21:10
lordievaderWhen 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
lordievadergordonjcp: Scroll down ;)21:11
gordonjcplordievader: there is nothing there21:11
gordonjcppages and pages of bash scrool21:11
gordonjcpabout 10MB worth21:12
phunyguythat doesn't sound right21:12
phunyguyupdate-grub does what?21:12
gordonjcpthere is nothing resembling a kernel line anywhere21:12
gordonjcpphunyguy: does what you'd expect, when you run it21:12
gordonjcp"Found linux image <blah>" a couple of times21:12
phunyguycat /boot/grub/grub.cfg | grep linux21:13
lordievadergordonjcp: Exactly bash...21:13
learningAnybody to suggest?21:14
phunyguylearning: to answer your question: yes21:17
gordonjcpoh well, thanks anyway21:21
phunyguyyou're welcome21:21
gordonjcpI'm just going to pull the config files and stuff off and nuke and pave21:22
lordievaderAt the very least file a bug.21:22
gordonjcpdoubtless it'll happen again soon but hopefully it won't be on something important21:22
gordonjcplordievader: wouldn't know where to start with that21:22
gordonjcpI have no clear idea of what is actually causing it21:23
gordonjcpso what do I file the bug against?21:23
gordonjcp*probably* grub, but who knows21:23
lordievadergordonjcp: ubuntu-bug grub221:23
learningphunygun: 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:23
gordonjcplordievader: I won't do that right away21:24
gordonjcplordievader: when I've got some time I'll see if I can deliberately provoke it into happening and see what changes21:24
gordonjcplordievader: yay for LVM snapshots21:24
lordievadergordonjcp: Do you have /boot on lvm?21:25
gordonjcplordievader: not as far as the DomU is concerned21:25
lordievadergordonjcp: Then it ain't grub.21:25
gordonjcplordievader: xvda is an LVM volume but obviously the DomU just sees that as any disk21:26
lordievadergordonjcp: Ah in such a way, never mind.21:26
gordonjcppuppet and preseed to the rescue21:28
learningI have set ownership of /var/run/postgresql to postgres:postgres . But after restart, I don't find this directory22:15
learningHow can I ensure that after restart this directory stays22:15
ruben23hi guys i would like to check for some config starting with IN on  a linux directory..how do i command it..?22:44
=== Lcawte is now known as Lcawte|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!