=== 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 | ||
moneylotion | howdy, hey, anyone have an idea, how i can rsync "from" a read only file system (dvd) | 06:09 |
---|---|---|
=== CiPi is now known as cipi | ||
andol | moneylotion: The same way you would rsync from any other file system/path? | 06:10 |
moneylotion | "operation not permitted" | 06:11 |
moneylotion | a bunch of files have weird used, which cannot be changed | 06:12 |
moneylotion | weird users | 06:12 |
andol | Any chance that the problem is rather the destination, you are rsync:ing to? | 06:13 |
moneylotion | hmmm.... i was copying to a network volume... seems to work when i go to my desktop | 06:14 |
lordievader | Good morning. | 06:40 |
andol | 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 |
moneylotion | i guess rsync can ignore permission :) | 07:01 |
andol | moneylotion: Yepp, just don't add flags telling rsync to care about permissions, ownerships, etc | 07:04 |
=== neurotus is now known as krsna | ||
moneylotion | any ways I can significantly compress backups? | 08:19 |
bearface | depends if the data is significantly compressible | 08:20 |
=== Lcawte|Away is now known as Lcawte | ||
purefan | hello. I found a server who just rebooted and Im trying to find the cause, any advice? | 09:16 |
lordievader | purefan: Look in the logs? | 09:16 |
purefan | lordievader: I have looked at syslog, auth.log, lastlog, boot.log, apache error.log, apache access.log and wtmp, nothing seems unusual | 09:17 |
purefan | lordievader: apache reports getting a sigterm but I cant find what triggered it | 09:17 |
lordievader | Does the kernel log show anything? | 09:18 |
lordievader | Or does it just stop -> bios. | 09:18 |
purefan | its actually missing the entries from around the server reboot | 09:24 |
purefan | server reboot happened around 2am, and the earliest entry is from 12:40 | 09:24 |
purefan | oh hold on | 09:25 |
lordievader | purefan: That might indicate a failing disk. Bit difficult to write to a disk if it ain't there anymore. | 09:25 |
lordievader | Check smart, I'd say. | 09:25 |
purefan | lordievader: the earliest record in the previous kernel log is just for terminating ttys due to Sigterm | 09:26 |
lordievader | Hmm, that sounds a bit like an actual reboot. | 09:27 |
purefan | and thats weird because afaik no one was even awake at the time | 09:28 |
purefan | lordievader: Do you think a faulty HD is a risk in a cloud environment? this server runs on AWS | 09:38 |
arcsky_ | 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:40 |
Walex | 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:43 |
Walex | 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 |
Walex | 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:45 |
Walex | usually at least, some people RAID1 the 'swap' too | 09:46 |
lordievader | purefan: No, for a vm it is unlikely. | 09:52 |
purefan | lordievader: Thanks | 09:52 |
lordievader | I guess Amazon has pretty good monitoring on that. | 09:52 |
purefan | lordievader: I think so too, I would expect at least an alert | 09:53 |
lordievader | Walex: Raiding swap is usually a good idea. Prevents inconsistent swap when a disk fails. | 09:53 |
lordievader | purefan: You won't receive it, their sys-admin team would get that alert. | 09:53 |
purefan | lordievader: Ok, but they would let us know if the service was interrupted because of that, right? | 09:54 |
lordievader | I don' | 09:56 |
lordievader | don't think their service will be interupted by a disk failure. | 09:56 |
purefan | 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 | 09:58 |
Siilwyn | 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:01 |
arcsky_ | Walex: its hw raid | 10:19 |
Walex | arcsky_: then hw RAID is transparent to the OS and you need not worry. | 10:20 |
linocisco | hi all | 10:21 |
linocisco | no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory | 10:21 |
mnms_ | Guys it is reasonable to give 10GB for swap partition ? | 10:39 |
mnms_ | I have 5GB of memory | 10:39 |
mnms_ | it will be a mail server | 10:39 |
mnms_ | Somewhere I read it shoubd twice of RAM, but it is not too much ? | 10:40 |
mybalzitch | its not much space | 10:43 |
mnms_ | mybalzitch: you mean 10GB for swap its not much space yes ? | 10:45 |
mybalzitch | yes | 10:45 |
mnms_ | mybalzitch: I assigned 8GB finally, can I have problems ? | 10:46 |
mybalzitch | if you do, add mroe ram | 10:46 |
ogra_ | well, mailservers are pretty I/O bound ... if you start swapping you should ASAP get more ram | 10:46 |
ogra_ | on a busy mail server, swap is rather a safety net than anything else | 10:47 |
mnms_ | I have 2xSSD disks and I want to put them in software RAID1 | 10:47 |
mybalzitch | mdadm | 10:47 |
mnms_ | what initial values you would use for this configuration ? | 10:54 |
mnms_ | 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:54 |
mnms_ | mybalzitch: You are not saying to not use swap at all ? | 10:55 |
mnms_ | I mean to not create swap partition | 10:55 |
mybalzitch | no | 10:56 |
mybalzitch | 5-10 gb of swap is plenty, especially if it lives on an SSD | 10:56 |
lordievader | Create some swap, as has been said before, as a safety net. | 10:56 |
ogra_ | create it, but turn down the value for swappiness | 10:56 |
mybalzitch | how much mail are you handling anyway | 10:57 |
ogra_ | so it doesnt get used by default, only for overflowing if required | 10:57 |
mnms_ | I assigned 8GB | 10:59 |
mnms_ | lordievader: 1000 mails per day | 10:59 |
* 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 | |
mnms_ | swappiness to 0 ? | 11:02 |
ogra_ | not 0 ... take 1 or 5 ... just less than the default | 11:03 |
mnms_ | or 10 like it is on help.ubuntu | 11:03 |
mnms_ | ogra_: ok | 11:03 |
mnms_ | so 2GB would be ok for SWAP cause I dont expect to use it all, correct ? | 11:05 |
mnms_ | this would be enough for my "safety net" | 11:07 |
ogra_ | 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:09 |
mnms_ | ogra_: btw 2GB of swap is not small, yes ? | 11:10 |
ogra_ | 2G should really be fine | 11:10 |
=== MrPPS is now known as Guest62462 | ||
mnms_ | guys could you tell me how I can remove raid device which I created before, is says it is in use | 11:23 |
mnms_ | when I try to stop I get "Cannot get exclusive access" | 11:24 |
mnms_ | by mdadm --stop /dev/md0 | 11:24 |
mnms_ | Ok..solved it. | 11:32 |
Siilwyn | Just a quick question, can I chroot a sftp user to a non-home directory? | 11:46 |
Siilwyn | 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 |
Siilwyn | (and yes root does own srv and 'userWebsite' | 11:46 |
mnms_ | how do you backup your servers, with dd ?:) | 12:19 |
lordievader | Dirvish here. | 12:19 |
mnms_ | lordievader: thanks | 12:25 |
jiku | hey guys.. | 14:13 |
jiku | having a weird issue here.. | 14:13 |
jiku | i just did an installation of php5-fpm with apache. | 14:14 |
jiku | 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 |
jiku | http://pastebin.com/D7QqMAV6 | 14:15 |
jiku | many such lines like these. | 14:15 |
jiku | i have to kill the process with PID 2wice 3rice.. | 14:16 |
jiku | and then start php5-fpm | 14:16 |
jiku | is it a bug or something which is per the design ? | 14:16 |
genii | I'm pretty sure it uses Upstart and not sysvinit | 14:18 |
=== frickler_ is now known as frickler | ||
jiku | yep it does.. but reload php5-fpm is giving the same erro.. | 14:22 |
jiku | i believe start, reload, stop --> all are upstart related. | 14:22 |
patdk-wk | service php5-fpm restart :) | 14:27 |
F1skr | 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 |
catphish | F1skr: personally i just do a quick install from dvd in kvm, then extract the filesystem with guestfish | 14:38 |
F1skr | that seems very complicated | 14:39 |
F1skr | then I could just get the cloud image and remove the stuff I don't need | 14:40 |
catphish | normally reasons for wanting a raw image *are* complicated :) | 14:40 |
F1skr | I donøt know, I simply want to spawn a systemd-nspawn container with an ubuntu server instance | 14:43 |
ogra_ | F1skr, http://cdimage.ubuntu.com/ubuntu-core/trusty/daily/current/ (its a bit more cut down than an actual ubuntu-server though) | 14:44 |
catphish | i've never seen those before, awesome | 14:45 |
ogra_ | dont mix them up with the daily-preinstalled images though ... that is ubuntu snappy core ... nothing you can use OOTB | 14:46 |
ogra_ | (and i guess the better place would actuallly be http://cdimage.ubuntu.com/ubuntu-core/releases/) | 14:47 |
F1skr | what does OOTB stand for? :) | 14:47 |
ogra_ | out of the box | 14:47 |
F1skr | that seems perfect for what I'm doing! do you happen to know the default root password in those images? | 14:50 |
ogra_ | there is none | 14:50 |
ogra_ | it isnt set up at all | 14:50 |
ogra_ | it is pretty much mostly for using chroots | 14:50 |
ogra_ | the definition for the non..snappy ubuntu core images is: just enough OS to run apt | 14:51 |
ogra_ | (in a chroot that is) | 14:51 |
F1skr | or a container as I'm doing now :) | 14:52 |
ogra_ | :) | 14:52 |
ogra_ | note, you might need to copy resolv.conf in place | 14:52 |
F1skr | systemd handles that for me :) | 14:53 |
F1skr | I also needed something where the network service was disabled (in order to let systemd handle it) this is perfect | 14:57 |
F1skr | thanks ogra_ ! | 14:57 |
ogra_ | good luck | 14:59 |
oste | 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 |
oste | i am using php fpm with fastcgi - and tried setting SCRIPT_FILENAME to a few different things with no luck | 15:26 |
teward | oste: there's a document for that somewhere... | 15:31 |
teward | oste: what version of nginx? | 15:31 |
teward | and what Ubuntu | 15:31 |
oste | nginx/1.4.6 | 15:31 |
oste | Ubuntu 14.4 | 15:31 |
oste | wonder if i should upgrade nginx | 15:32 |
oste | update* | 15:32 |
oste | PHP 5.5.9-1ubuntu4.11 | 15:33 |
=== 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 | ||
jwitko | 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 ? | 16:40 |
=== wendar_ is now known as wendar | ||
teward | 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:47 |
rbasak | teward: I can't approve a feature freeze exception if that's what you're asking? | 16:49 |
teward | rbasak: no, i'm asking if it's worth it - there's 3 new features in ntinx 1.9.4 | 16:49 |
teward | i know you can't approve ;P | 16:49 |
rbasak | Hmm | 16:49 |
teward | substantial bugfixes though | 16:49 |
teward | http://nginx.org/en/CHANGES | 16:49 |
teward | it'll be available in Debian tomorrow (uploaded only today, not sure if it's built there yet :P) | 16:50 |
rbasak | I'm not sure if I had considered Wily feature freeze when we talked about plans for 1.9 | 16:50 |
teward | i don't think we had, but given FeatureFreeze has passed I'm OK leaving it alone | 16:50 |
teward | and saying "Wily people: use the ppa not the repos, we aren't updating because freeze" | 16:50 |
rbasak | Yeah I think you'll have to leave it alone, unless you want to do the work backporting bugfixes from upstream hg | 16:50 |
teward | (the ppa gets a resync with debian tomorrow xD) | 16:51 |
teward | heheh, yeah, no thanks | 16:51 |
rbasak | OK. | 16:51 |
rbasak | I'm happy for you to leave Wily nginx alone then and focus on the PPA. | 16:51 |
teward | wheee rmadison lag | 16:51 |
teward | that's the general idea now | 16:52 |
teward | since college started back up and all :) | 16:52 |
teward | rbasak: PPAs get updated either way, so long as Debian's version builds, I just 'borrow' the package from there :P | 16:54 |
rbasak | Sounds good | 16:54 |
catphish | is there something i can append to the installer kernel / initrd to give me a root shell? | 16:55 |
catphish | init=/bin/bash doesn't work because there doesn't seem to be a /bin/bash in the initrd | 16:55 |
rmc3 | 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:02 |
sarnold | catphish: /bin/sh ought to be a symlink to /bin/dash | 17:06 |
catphish | sarnold: thanks, i just actually just this second tried that and it worked :) | 17:06 |
sarnold | \o/ | 17:06 |
catphish | is there a way to run the disk detection procedure from there? | 17:07 |
sarnold | "disk detection procedure"? | 17:07 |
sarnold | do you mean udevadm trigger or whatever that is? | 17:07 |
catphish | the installer does something that loads modules for detected hardware | 17:08 |
catphish | i just want to load the modules for my raid array so i can mount something | 17:08 |
catphish | i can't run the normal recovery, because its network detection routine breaks my IPMI connection :) | 17:10 |
catphish | i suppose a simpler question is: where are the .ko files in the installer? | 17:10 |
jwitko | 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 |
jwitko | doing a scan results in the error "no session found" | 17:15 |
md50 | 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. | 17:57 |
md50 | 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 |
ubottu | Launchpad bug 1481490 in linux (Ubuntu Vivid) "Add sfc to nic-modules udeb" [Undecided,Fix committed] | 18:01 |
=== Luke_ is now known as Luke | ||
sarnold | md50: how are you determining if the driver is supported? | 18:57 |
sarnold | 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 | 18:57 |
md50 | 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:02 |
md50 | 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:03 |
TJ- | if you're doing PXE based installs you can slipstream the driver into the initrd that is served to the host via TFTP | 19:13 |
md50 | yeah, I guess I'll have to add it as part of my PXE boot, but I was hoping it would just work. | 19:19 |
TJ- | 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 | 19:36 |
=== JanC_ is now known as JanC | ||
eatingthenight | 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:05 |
eatingthenight | 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 |
eatingthenight | I can't find any bugs about it as well. | 22:06 |
eatingthenight | But i have tested it on multiple servers all with the same results. | 22:06 |
capricorn_one | your RR in DNS is missing | 22:06 |
eatingthenight | sorry what is RR? capricorn_one | 22:07 |
capricorn_one | Reverse Record | 22:07 |
capricorn_one | man apge says | 22:07 |
capricorn_one | -i, --ip-address | 22:07 |
capricorn_one | 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 |
capricorn_one | this option; use hostname --all-ip-addresses instead. | 22:07 |
eatingthenight | o i see. I was using -i because -I adds an extra space at the end of the output | 22:08 |
eatingthenight | i guess i'll just strip it out since that is more reliable | 22:08 |
eatingthenight | capricorn_one: Thank you very much | 22:08 |
capricorn_one | when in doubt use man pages | 22:09 |
eatingthenight | capricorn_one: Yeah i need to get better about that one. | 22:10 |
sarnold | eatingthenight: why are you looking for the local IP? perhaps there's a better way to do what you're doing | 22:43 |
=== Lcawte is now known as Lcawte|Away | ||
=== CIPi is now known as cipi |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!