/srv/irclogs.ubuntu.com/2014/09/09/#ubuntu-server.txt

=== razorgirl_ is now known as razorgirl
jetoleHey guys. I'm setting up ipset on ubuntu and wondering about persistence. For example, I set create ipset rules in /etc/rc.local to have them set as persistent however that's run after the iptables-persistence scripts if I'm not mistaken so I'm wondering where or how I should create ipset persistence00:48
jetolewell I wrote my own ipset persistence script based off of iptables-persistent so I guess that'll do for now01:23
Crackz0rHello02:10
=== Adri2000_ is now known as Guest56441
=== hxm is now known as Guest12886
=== arrrghhhAWAY is now known as arrrghhh
=== Vigour_ is now known as Vigour
=== RobertLaptop_ is now known as RobertLaptop
=== psivaa_ is now known as psivaa
=== daker_ is now known as daker
=== kaydo_ is now known as kaydo
=== neunon is now known as Guest43146
=== ValicekB_ is now known as ValicekB
=== tsimpson_ is now known as tsimpson
=== _thumper_ is now known as thumper
=== ohsomanyhats is now known as UKn0Me
=== QuinnyPi1 is now known as QuinnyPig
=== _TJ_ is now known as TJ-
sudormrfhey guys.  question.  I want to setup backups on my server, I was thinking dd + cron, but I was wondering if there was a better way to accomplish this04:44
TJ-sudormrf: never! dd is not a back-up tool for live systems. Use LVM and snapshots for block device backup04:44
sudormrfTJ-, and suppose I didn't use LVM when setting up the server?04:45
TJ-sudormrf: use some other form of back-up, such as rsync04:46
sudormrfhmm, but wouldn't just rsync be a bit messy?04:46
=== Guest56441 is now known as Adri2000
SachiruCould someone recommend me a good and free sFlow collector and analyzer that can run on an Ubuntu server?06:41
SachiruBasically I need something to collect both sFlow data and logs from my router (Ubiquiti EdgeRouter Lite) for bandwidth monitoring06:41
SachiruIf not sFlow, NetFlow06:42
lordievaderGood morning.06:50
lordievaderSachiru: Do you know NFSen? http://nfsen.sourceforge.net/06:52
SachiruThank you06:52
SachiruVery much06:52
SachiruExactly what I was looking for06:52
lordievaderSachiru: Little bit of advertisment: SSHCure is a nice NFSen plugin https://github.com/SSHCure/SSHCure06:53
=== Lcawte|Away is now known as Lcawte
=== Monotoko3 is now known as monotoko
=== monotoko is now known as Monotoko
=== ogra_` is now known as ogra_
xperiahi all. i need to create a filesystem on a ssd disk that will be used for a huge amount of small files in the size of about 500 Bytes to max 1KB stored in a Directory Structure like ./category1/a/aa/aabbcc.file My question is what is best File System for such a case ? I guess Raiser right or does some other File System exist that is much better already for such a case?08:39
salih-eminxperia, acording to this http://unix.stackexchange.com/questions/28756/what-is-the-most-high-performance-linux-filesystem-for-storing-a-lot-of-small-fi08:41
salih-eminthe best overall is Raiser08:41
salih-eminbut IMO the best filesystem is the one you can troubleshoot or at least you have experience with it if somthing goes wrong08:42
salih-eminsome day08:42
xperiasalih-emin: thank you a lot for your reply. will just checkout our link! yeah i am new to raiser but it looks really when it comes to small files raiser beats all other file systems. there are some negative reports however that people avoid it becouse it corrupt with the time the performance. pity that not that much people use it so more experience can be shared.08:45
salih-eminyes that is why I prefer ext4 even if I deal with tiny files because the support out there is worth the small amount of performance sacrifice08:47
salih-emin:)08:47
xperiasalih-emin: well i would stick also with ext4 but the problem with ext4 is the limted amount of inodes. there is a specific amount of inodes you are able to create related to blocksize. also with much more indoes the performance is getting slower i think but i could be wrong. dont think 1 billion inodes is gona work on a ext4 file system that good?08:51
salih-eminxperia, yes there are some important issues with inodes with ext4. There are som good readings out there to help you determine what suits best your needs http://stackoverflow.com/questions/21397110/how-to-store-one-billion-files-on-ext408:59
salih-eminand http://www.redhat.com/summit/2011/presentations/summit/decoding_the_code/thursday/wheeler_t_0310_billion_files_2011.pdf08:59
salih-eminI wish you best of luck and patience ;)08:59
xperiasalih-emin: thank you i will need it :-) sooner or later i will have to write/hack my own filesystem for the ubuntu server or at least adjust some existing one. wish you a good day and success. thanks.09:14
salih-emin:)09:14
zetheroo1I have Ubuntu installed on a server with 4 HDD bays, two of which have disks for data. I would like to remove them from server without rebooting or shutting down the server - is this possible?09:18
Abhijitexplain =  two of which have disks for data09:19
=== rvba` is now known as rvba
ikoniaexplain "remove"09:30
ikoniaas in stop using the disks, or physically remove09:31
ikoniahow are the disks layed out, in lvm ? raid ? flat mount points ?09:31
zetheroo1physically remove09:33
zetheroo1the 2 data disks are a Raid109:34
zetheroo1I will have no more need of those 2 disks in there09:34
ikoniain terms of stopping the OS using them, thats easy, break the mirror09:35
ikoniain terms of physically removing them, that will depend on your server hardware if it's hot swap09:35
zetheroo1ok09:36
=== Guest12886 is now known as HackeMate
=== ttx` is now known as ttx
pmatulismorning11:19
Andy80hi11:24
Andy80I've just done a "apt-get upgrade" on my Ubuntu 14.04 server, and mong all the packages, nginx has been upgraded, but now is broken! This is what I get in the error.log http://pastebin.com/eWysMNxa11:24
Andy80how can I fix it?11:25
pmatulisAndy80: was working before i presume?11:27
Andy80yes it was11:28
Andy80it looks like something has been changed between the previous version of nginx and the current one installed11:28
Andy80and my config or whatever is not valid anymore11:28
Andy80but seriously... why relasing an upgrade that breaks stuff?11:29
Andy80for a crucial package as nginx :/11:29
pmatulisAndy80: sounds like your config got altered, which is strange.  can you open a bug?  https://bugs.launchpad.net/ubuntu/+source/nginx/+filebug11:30
pmatulisAndy80: put in the previous version and the current version11:30
Andy80no, my config has not been altered11:31
Andy80-rw-r--r-- 1 root root 2120 Aug 30 14:46 andreagrandi11:31
Andy80before opening a bug on bugzilla I need to fix this sorry11:31
pmatulisAndy80: do you have backups of the config so you can compare?11:31
Andy80my website is down11:31
pmatulisAndy80: sounds like you just need to allow directory listing11:32
Andy80I nigthly backup with duplicity... so yes, I've backups, but my config has not been touched11:32
=== The_Pugi1 is now known as The_Pugilist
pmatulisAndy80: so you compared the two configs?11:32
Andy80pmatulis, no I didn't, but if the date is Aug 30, how can be modified?11:32
Andy80let me retrive the backup copy anyway...11:33
pmatulisAndy80: maybe pastebin the current one as well.  was anything changed re the files/directories being served up?11:35
Andy80one momen... I'm getting the backup copy...11:35
Andy80root@andreagrandi:/home/andrea# diff /tmp/andreagrandi/andreagrandi /etc/nginx/sites-available/andreagrandi11:36
Andy80no diffs11:36
Andy80my current config is this http://pastebin.com/JD893aSD11:37
Andy80where can I get an history/log of what apt-get did so I can look in the changelog of nginx and see if something changed between the two versions?11:39
Andy80found the changelog http://nginx.org/en/CHANGES-1.611:40
Andy80but nothing helps...11:40
pmatulisit looks like you do not have directory listing allowed.  shouldn't you have 'autoindex on;' under location for that?11:44
Andy80I've multiple locations... under which one do I have to put it?11:46
pmatulisAndy80: try under11:48
pmatulis        # Matches everything.11:48
pmatulis        location / {11:48
Andy80tried.... didn't help11:51
pmatulisAndy80: you might want to enter #nginx , i've never used the software11:51
pmatulisAndy80: but if it was working before, that exact same client request, it should not have broken in an upgrade.  strange that i do not see a new version in -updates, i only see 1.4.6-1ubuntu311:54
pmatulisAndy80: look at your apt logs to be sure nginx was changed, it may be something else11:55
Andy80it was11:57
Andy80I saw it upgrading11:57
Andy80and the ackage is also in the apt cache11:57
=== Guest15478 is now known as Locke2002
=== rcj` is now known as rcj
fixxxermetI'm setting up automated installs with cobbler.  Should I be using kickstart or preseed files?12:42
pmatulisfixxxermet: preseed is debian/ubuntu, kickstart is redhat.  the installer is kickstart-aware for only some basic options, call it kickseed.  best to go with preseed12:47
fixxxermetpmatulis: exactly what I wanted to know.  That you12:47
fixxxermets/that/thank12:47
=== cripperz- is now known as cripperz
zulcoreycb,: ill take python-oslo.config i need to fix some stuff anyways14:20
coreycbzul, ok14:21
zulcoreycb: the xstatic stuff got merged14:25
zuler...synched14:25
coreycbzul, ah, good14:26
Kunzem1987good day people. I hope someone can at point me at least in the right direction. I have ubuntu server backup they are tar.bz2 20 files each of 1.8gB in a parity archive format. My problem is not repairing the parity files i verified them etc . how do i extract the data whithin. i would think it would start by unparitying (don't think that is word) them and then use tar command to extract. I've used multipar on14:33
Kunzem1987 windoze . i'm at loss with this issue. can see my data there but just can't open :(14:33
=== kickinz1` is now known as kickinz1|afk
dasjoeKunzem1987: do you know which tool produced those files? I don't know anything that produces *.tar.par214:37
Kunzem1987Unfortunatly I was not with when the backups were made. they have extension file.tar.bz2.aa next file.tar.bz2.ab to file.tar.bz2.at and there is a index file file.tar.bz2 which is small. i assume it was created using par2 package in command line. just don't know how to unpar them14:44
=== kickinz1|afk is now known as kickinz1
lordievaderExtracting the main file.tar.bz2 does not pull-in the child files?14:46
lordievaderI suppose the a[a-t] files are all the same size?14:47
Kunzem1987@ lordievader yes the a[a-t] files are the same size except for the last one. i will try to excract from indexed tar.bz2 file14:48
=== Ursinha is now known as Ursinha-afk
=== phuh is now known as alpha-phuh
=== alpha-phuh is now known as phuh-alpha
Kunzem1987the index file has .par2 at end and I tried tar xvjf bras.10.tar.bz2.par2 which obviously didn't work.14:55
lordievaderThere is no file with just *.tar.bz2?14:58
=== phuh-alpha is now known as phuh
=== Ursinha-afk is now known as Ursinha
=== tgm4883_ is now known as tgm4883
arosalesthanks coreycb for charing the server meeting16:08
coreycbarosales, np :)16:12
* patdk-wk wonders how much he charged for it16:13
Odd_BlokeMedium-rare.16:15
=== shauno_ is now known as shauno
=== cripperz is now known as CripperZ-
=== kickinz1 is now known as kickinz1|afk
CarlFKhmm, ps shows:  Aug21   0:00 /usr/bin/dpkg --status-fd 59 --configure resolvconf:all libcgmanager0:amd64 libudev1:amd64 udev:amd64 .... full list http://paste.ubuntu.com/8301446/17:05
CarlFKthis is a very vanilla box.  it is pretty much just a file server.17:05
CarlFKany suggestions before I sudo reboot and turn it on again?17:06
=== CripperZ- is now known as cripperz
lordievaderCarlFK: Why not kill the process? Instead of rebooting.17:14
CarlFKlordievader: the thought was there might be something else blocking it.. so before I spend time on all that kill them all17:15
lordievaderCarlFK: Unlikely. Apt might be waiting for it. But that is not a problem.17:16
CarlFKkilled.17:17
lordievaderCarlFK: Could you pastebin the output of "ps aux| grep dpkg\|apt'17:17
lordievaderCarlFK: Could you pastebin the output of "ps aux| grep 'dpkg\|apt'"*17:17
CarlFKum.. even after I killed it?17:18
lordievaderCarlFK: Yes, I'd like to know if something remains.17:19
CarlFKlordievader: nothing (well, the ps...grep like we always get)17:19
lordievaderOk, great. Was that the full problem?17:21
CarlFKI did a apt-get update and got "/var/lib/dpkg/lock in use"17:22
CarlFKbut still having some problem: sudo apt-get update ...  the expected bunch of Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en17:22
CarlFKE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.17:23
CarlFKguessing I should do that?  sudo dpkg --configure -a17:23
lordievaderCarlFK: Jup.17:24
CarlFKupdate-initramfs: Generating /boot/initrd.img-3.13.0-34-generic17:25
CarlFKshouldn't it say "reboot required" ?17:26
lordievaderCarlFK: Reboot is never required ;) Just recommended.17:26
CarlFKhmm, not sure I see a new kernel.. Setting up grub-pc (2.02~beta2-9ubuntu1) ...17:27
lordievaderCarlFK: Something triggered an update of your initrd.17:28
CarlFKProcessing triggers for initramfs-tools (0.103ubuntu4.2) ...17:29
CarlFKI 1/2 think it doesn't matter, but given my hickups here I should reboot now when I have time to fix it17:29
lordievaderCarlFK: I'd say there is no need to reboot, unless you want to load the new kernel/initrd.17:30
CarlFKgrumble.  why does root own my bash_history? -rw------- 1 root root 213 May 11 11:08 /home/juser/.bash_history17:34
CarlFKand -rw-------  1 root  root  1176 May 11 11:11 .viminfo17:34
lordievaderCarlFK: sudo chown -R $USER:$USER /home/$USER17:35
CarlFKyeah.. but how did that happen?  (only 1/2 care.. its just a local file server box in my house, i don't pretend to do proper deployment stuff to it)17:37
lordievaderCarlFK: Accidental command, improper sudo usage. Don't really know.17:40
ciroingiroKunzem1987 i don't know par2 package but tar can not create a compressed multi volume archive and bzip2 can not create a multi volume. I think the creator script have create a multi volume tar archive and compressed every single tar.part with bzip2. You have to try bunzip2 file.tar.bz2.aa for example?18:30
=== kickinz1|afk is now known as kickinz1
dasjoeKunzem1987: googling for ".tar.bz2.aa" gives various results about how "split" can be used to split a .tar.bz2 stream into multiple files. If you checked your files with par2 (which you said you did) you can simply extract the .tar.bz2.[...] files with something like: cat file.tar.bz2.* | tar xjvf -19:29
=== kickinz1 is now known as kickinz1|afk
hallynzul: filed bug 136742219:50
uvirtbotLaunchpad bug 1367422 in libvirt "[FFE] Upgrade to 1.2.8" [Undecided,New] https://launchpad.net/bugs/136742219:50
hallynok, with that i consider myself done with that and am moving on to qemu for real19:57
hallyn(though i'd sort of like to get apparmor-confined containers working...)19:57
zulciik20:00
ValarkinHello. Noob seeking assistance enabling password protection on a web servable dir21:12
Valarkin10.0421:12
Valarkinoops21:12
Valarkin14.0421:12
=== superspring_ is now known as superspring
=== jamescarr_ is now known as jamescarr
=== cripperz is now known as CripperZ-
SP33Doh holly ubuntu gods22:50
SP33Dplz tell me is that a current bug in trusty with apt-show-versions ?22:50
SP33Dhttps://www.irccloud.com/pastebin/4rrfBiaK22:50
SP33DValarkin password on web server is a web server related question22:53
SP33Dyou should ask it the person from that you run the webserver if its apache you can go to #httpd22:54
=== Lcawte is now known as Lcawte|Away

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