=== Lcawte is now known as Lcawte|Away === txomon|home is now known as txomon|sauron === txomon|sauron is now known as txomon|home === markthomas|away is now known as markthomas === Joel is now known as Guest70422 === markthomas is now known as markthomas|away [06:09] howdy, hey, anyone have an idea, how i can rsync "from" a read only file system (dvd) === CiPi is now known as cipi [06:10] moneylotion: The same way you would rsync from any other file system/path? [06:11] "operation not permitted" [06:12] a bunch of files have weird used, which cannot be changed [06:12] weird users [06:13] Any chance that the problem is rather the destination, you are rsync:ing to? [06:14] hmmm.... i was copying to a network volume... seems to work when i go to my desktop [06:40] Good morning. [07:01] moneylotion: Well, if it was to a nework volume things makes a lot more sense, given that the mounting user might not have suffecient access to changer ownerships, or that the network filesystem handles users in a different manner. [07:01] i guess rsync can ignore permission :) [07:04] moneylotion: Yepp, just don't add flags telling rsync to care about permissions, ownerships, etc === neurotus is now known as krsna [08:19] any ways I can significantly compress backups? [08:20] depends if the data is significantly compressible === Lcawte|Away is now known as Lcawte [09:16] hello. I found a server who just rebooted and Im trying to find the cause, any advice? [09:16] purefan: Look in the logs? [09:17] lordievader: I have looked at syslog, auth.log, lastlog, boot.log, apache error.log, apache access.log and wtmp, nothing seems unusual [09:17] lordievader: apache reports getting a sigterm but I cant find what triggered it [09:18] Does the kernel log show anything? [09:18] Or does it just stop -> bios. [09:24] its actually missing the entries from around the server reboot [09:24] server reboot happened around 2am, and the earliest entry is from 12:40 [09:25] oh hold on [09:25] purefan: That might indicate a failing disk. Bit difficult to write to a disk if it ain't there anymore. [09:25] Check smart, I'd say. [09:26] lordievader: the earliest record in the previous kernel log is just for terminating ttys due to Sigterm [09:27] Hmm, that sounds a bit like an actual reboot. [09:28] and thats weird because afaik no one was even awake at the time [09:38] lordievader: Do you think a faulty HD is a risk in a cloud environment? this server runs on AWS [09:40] Im going to install ubuntu on a server with RAID5. should i use the ubuntu installation on the entire drive or just a part of it? [09:43] arcsky_: depends on how you do it and what you want to achieve. Is that hw or sw RAID5? Do you want the system filetrees to be RAID'ed underneath? etc. [09:45] arcsky_: a typical installation profile is to have on each disk a '/' partition, a swap partition and an "other" partition, and if using sw RAID the "other" partitions are those that are RAID5-ed [09:45] arcsky_: traditionally the '/' partitions are RAID1-ed to make it easy to boot from them, and 'swap' does not need to be RAID'ed [09:46] usually at least, some people RAID1 the 'swap' too [09:52] purefan: No, for a vm it is unlikely. [09:52] lordievader: Thanks [09:52] I guess Amazon has pretty good monitoring on that. [09:53] lordievader: I think so too, I would expect at least an alert [09:53] Walex: Raiding swap is usually a good idea. Prevents inconsistent swap when a disk fails. [09:53] purefan: You won't receive it, their sys-admin team would get that alert. [09:54] lordievader: Ok, but they would let us know if the service was interrupted because of that, right? [09:56] I don' [09:56] don't think their service will be interupted by a disk failure. [09:58] lordievader: Yeah I dont think it would either... I need to report this and Im looking at all possible angles, its not a good thing that a server reboots itself without an explanation [10:01] Hi people, if I want to restrict a group of users to only have access to one directory through sftp (Match Group www-data), does it match all users in that group or only if it's their primary group? [10:19] Walex: its hw raid [10:20] arcsky_: then hw RAID is transparent to the OS and you need not worry. [10:21] hi all [10:21] no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory [10:39] Guys it is reasonable to give 10GB for swap partition ? [10:39] I have 5GB of memory [10:39] it will be a mail server [10:40] Somewhere I read it shoubd twice of RAM, but it is not too much ? [10:43] its not much space [10:45] mybalzitch: you mean 10GB for swap its not much space yes ? [10:45] yes [10:46] mybalzitch: I assigned 8GB finally, can I have problems ? [10:46] if you do, add mroe ram [10:46] well, mailservers are pretty I/O bound ... if you start swapping you should ASAP get more ram [10:47] on a busy mail server, swap is rather a safety net than anything else [10:47] I have 2xSSD disks and I want to put them in software RAID1 [10:47] mdadm [10:54] what initial values you would use for this configuration ? [10:54] Yes, I dont want to use swap, I think 5GB of memory will be enough for my server and I dont want to hibernate my machine [10:55] mybalzitch: You are not saying to not use swap at all ? [10:55] I mean to not create swap partition [10:56] no [10:56] 5-10 gb of swap is plenty, especially if it lives on an SSD [10:56] Create some swap, as has been said before, as a safety net. [10:56] create it, but turn down the value for swappiness [10:57] how much mail are you handling anyway [10:57] so it doesnt get used by default, only for overflowing if required [10:59] I assigned 8GB [10:59] lordievader: 1000 mails per day [11:02] * ogra_ doubts you will even use any ram with that, unless all 1000 hit the machine at the same time or some such :) [11:02] swappiness to 0 ? [11:03] not 0 ... take 1 or 5 ... just less than the default [11:03] or 10 like it is on help.ubuntu [11:03] ogra_: ok [11:05] so 2GB would be ok for SWAP cause I dont expect to use it all, correct ? [11:07] this would be enough for my "safety net" [11:09] right, and worst case you can immediately create a swap file and add it to the swap space in case you really hit an emergency [11:10] ogra_: btw 2GB of swap is not small, yes ? [11:10] 2G should really be fine === MrPPS is now known as Guest62462 [11:23] guys could you tell me how I can remove raid device which I created before, is says it is in use [11:24] when I try to stop I get "Cannot get exclusive access" [11:24] by mdadm --stop /dev/md0 [11:32] Ok..solved it. [11:46] Just a quick question, can I chroot a sftp user to a non-home directory? [11:46] I got it working with a home directory but for some reason it doesn't work if I change it to /srv/userWebsite [11:46] (and yes root does own srv and 'userWebsite' [12:19] how do you backup your servers, with dd ?:) [12:19] Dirvish here. [12:25] lordievader: thanks [14:13] hey guys.. [14:13] having a weird issue here.. [14:14] i just did an installation of php5-fpm with apache. [14:15] was all fine until when i need to restart the service php5-fpm with /etc/init.d/php5-fpm or reload php5-fpm i get the error.. [14:15] http://pastebin.com/D7QqMAV6 [14:15] many such lines like these. [14:16] i have to kill the process with PID 2wice 3rice.. [14:16] and then start php5-fpm [14:16] is it a bug or something which is per the design ? [14:18] I'm pretty sure it uses Upstart and not sysvinit === frickler_ is now known as frickler [14:22] yep it does.. but reload php5-fpm is giving the same erro.. [14:22] i believe start, reload, stop --> all are upstart related. [14:27] service php5-fpm restart :) [14:38] Is it possible to get a ubuntu server root file system like what is available here for the cloudimages: https://cloud-images.ubuntu.com/vivid/current/ I'm looking for something without the cloud-init stuff because it doesn't work if I spawn it in a systemd-nspawn container [14:38] F1skr: personally i just do a quick install from dvd in kvm, then extract the filesystem with guestfish [14:39] that seems very complicated [14:40] then I could just get the cloud image and remove the stuff I don't need [14:40] normally reasons for wanting a raw image *are* complicated :) [14:43] I donøt know, I simply want to spawn a systemd-nspawn container with an ubuntu server instance [14:44] F1skr, http://cdimage.ubuntu.com/ubuntu-core/trusty/daily/current/ (its a bit more cut down than an actual ubuntu-server though) [14:45] i've never seen those before, awesome [14:46] dont mix them up with the daily-preinstalled images though ... that is ubuntu snappy core ... nothing you can use OOTB [14:47] (and i guess the better place would actuallly be http://cdimage.ubuntu.com/ubuntu-core/releases/) [14:47] what does OOTB stand for? :) [14:47] out of the box [14:50] that seems perfect for what I'm doing! do you happen to know the default root password in those images? [14:50] there is none [14:50] it isnt set up at all [14:50] it is pretty much mostly for using chroots [14:51] the definition for the non..snappy ubuntu core images is: just enough OS to run apt [14:51] (in a chroot that is) [14:52] or a container as I'm doing now :) [14:52] :) [14:52] note, you might need to copy resolv.conf in place [14:53] systemd handles that for me :) [14:57] I also needed something where the network service was disabled (in order to let systemd handle it) this is perfect [14:57] thanks ogra_ ! [14:59] good luck [15:26] i am seeing something strange using nginx, when i change the server root symlink, i get “No input file specified” for a few minutes then the new changes are properly displayed [15:26] i am using php fpm with fastcgi - and tried setting SCRIPT_FILENAME to a few different things with no luck [15:31] oste: there's a document for that somewhere... [15:31] oste: what version of nginx? [15:31] and what Ubuntu [15:31] nginx/1.4.6 [15:31] Ubuntu 14.4 [15:32] wonder if i should upgrade nginx [15:32] update* [15:33] PHP 5.5.9-1ubuntu4.11 === Tm_Tr is now known as Guest26968 === markthomas|away is now known as markthomas === cipi is now known as CIPi === sarnold_ is now known as sarnold [16:40] Hey guys I have a server where my iscsi connections to my SAN stopped working. I have identical setups in the same network where the iscsi connection is still just fine to the SAN. Multipath -ll gives me the error "Error: : Inappropriate ioctl for device" can anyone help ? === wendar_ is now known as wendar [16:47] rbasak: i plan to bash my head against nginx today/tomorrow, but FeatureFreeze is in, and nginx merging will have new features, do you just want me to wait to X series? [16:49] teward: I can't approve a feature freeze exception if that's what you're asking? [16:49] rbasak: no, i'm asking if it's worth it - there's 3 new features in ntinx 1.9.4 [16:49] i know you can't approve ;P [16:49] Hmm [16:49] substantial bugfixes though [16:49] http://nginx.org/en/CHANGES [16:50] it'll be available in Debian tomorrow (uploaded only today, not sure if it's built there yet :P) [16:50] I'm not sure if I had considered Wily feature freeze when we talked about plans for 1.9 [16:50] i don't think we had, but given FeatureFreeze has passed I'm OK leaving it alone [16:50] and saying "Wily people: use the ppa not the repos, we aren't updating because freeze" [16:50] Yeah I think you'll have to leave it alone, unless you want to do the work backporting bugfixes from upstream hg [16:51] (the ppa gets a resync with debian tomorrow xD) [16:51] heheh, yeah, no thanks [16:51] OK. [16:51] I'm happy for you to leave Wily nginx alone then and focus on the PPA. [16:51] wheee rmadison lag [16:52] that's the general idea now [16:52] since college started back up and all :) [16:54] rbasak: PPAs get updated either way, so long as Debian's version builds, I just 'borrow' the package from there :P [16:54] Sounds good [16:55] is there something i can append to the installer kernel / initrd to give me a root shell? [16:55] init=/bin/bash doesn't work because there doesn't seem to be a /bin/bash in the initrd [17:02] Haven't been able to find an answer in the documentation about this: I see that the Ubuntu installer supports using Anaconda-style kickstarts. Is the kssendmac kernel parameter supported for sending the MAC of the interface that's in use to the server providing the kickstart as a parameter? [17:06] catphish: /bin/sh ought to be a symlink to /bin/dash [17:06] sarnold: thanks, i just actually just this second tried that and it worked :) [17:06] \o/ [17:07] is there a way to run the disk detection procedure from there? [17:07] "disk detection procedure"? [17:07] do you mean udevadm trigger or whatever that is? [17:08] the installer does something that loads modules for detected hardware [17:08] i just want to load the modules for my raid array so i can mount something [17:10] i can't run the normal recovery, because its network detection routine breaks my IPMI connection :) [17:10] i suppose a simpler question is: where are the .ko files in the installer? [17:15] Hey guys I have a server where my iscsi connections to my SAN stopped working. I have identical setups in the same network where the iscsi connection is still just fine to the SAN. Multipath -ll gives me the error "Error: : Inappropriate ioctl for device" can anyone help me trouble-shoot iscsi issues? [17:15] doing a scan results in the error "no session found" [17:57] Does anyone know if there is an ubuntu server installer that includes the sfc (Solarflare) nic drivers? I tried 15.10 and 14.04.3, but no luck. [18:01] only mention of sfc I saw was this bug, but I'm not sure if this was iso or pxe specific. I tried the isos https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1481490 [18:01] Launchpad bug 1481490 in linux (Ubuntu Vivid) "Add sfc to nic-modules udeb" [Undecided,Fix committed] === Luke_ is now known as Luke [18:57] md50: how are you determining if the driver is supported? [18:57] md50: 'apt-file search sfc.ko' on my 14.04 LTS system shows kernel modules for it for both the 3.13 and the 3.16 based kernel lines [19:02] The daily iso builds of the installer don't recognize the cards, and sfc.ko doesn't appear to be on the media. However, after installing without a network, the kernel that boots contains the sfc module. So it's a crappy installer, but things eventually work [19:03] I won't be able to mass install anything automatically without the driver (e.g. pxe install) but I can hack around it for now [19:13] if you're doing PXE based installs you can slipstream the driver into the initrd that is served to the host via TFTP [19:19] yeah, I guess I'll have to add it as part of my PXE boot, but I was hoping it would just work. [19:36] md50: I usually have 2 PXE entries per ISO... 1 standard and one unpacked on the server file-system so it can be customised easily === JanC_ is now known as JanC [22:05] im on ubuntu server 14.04. When i type hostname i get the hostname as expected. When i type hostname --help it shows all the flags. One of them being -i to get the IP address. when i type hostname -i it says name or service unknown. [22:06] anyone ever ran into this? it's driving me crazy. It seems to work on ubuntu 14.04 02 but not on the original 14.04 release/ [22:06] I can't find any bugs about it as well. [22:06] But i have tested it on multiple servers all with the same results. [22:06] your RR in DNS is missing [22:07] sorry what is RR? capricorn_one [22:07] Reverse Record [22:07] man apge says [22:07] -i, --ip-address [22:07] Display the network address(es) of the host name. Note that this works only if the host name can be resolved. Avoid using [22:07] this option; use hostname --all-ip-addresses instead. [22:08] o i see. I was using -i because -I adds an extra space at the end of the output [22:08] i guess i'll just strip it out since that is more reliable [22:08] capricorn_one: Thank you very much [22:09] when in doubt use man pages [22:10] capricorn_one: Yeah i need to get better about that one. [22:43] eatingthenight: why are you looking for the local IP? perhaps there's a better way to do what you're doing === Lcawte is now known as Lcawte|Away === CIPi is now known as cipi