/srv/irclogs.ubuntu.com/2014/04/18/#ubuntu-server.txt

=== Havenstance is now known as Haven|Home
=== RaptorJesus is now known as RaptorJesus_____
hallynsarnold: hey, seems like something you'd know - do you remember koneko, the old program that turned your cursor into a mouse and drew a cat chasing the mouse if it moved, and sleeping otherwise?00:06
hallynwondering if that code is sitting around anywhere :)00:06
hallynmaybe i should check the old sunsite or whatever it was00:06
sarnoldhallyn: haha, that does sound vaguely familiar, but I couldn't tell you the name of the thing...00:07
Pici!info oneko00:08
ubottuoneko (source: oneko): cat chases the cursor (now a mouse) around the screen. In component universe, is optional. Version 1.2.sakura.6-9 (trusty), package size 36 kB, installed size 126 kB00:08
hallynsarnold: the name was koneko,00:08
hallynd'oh00:08
hallynPici: you rock, thx00:08
sarnoldPici: haha, nice :)00:08
Picihallyn: np :)00:08
hallynyay!  there's a cat on my screen00:08
bekkshallyn: catbuntu? :)00:09
sarnoldI think we can all agree that mir won't really take off until this thing has been ported00:09
hallynalas it's not changing my cursor, but i can live with that00:09
hallynsarnold: hear hear!00:09
hallynmy phone needs oneko00:09
=== RaptorJesus_____ is now known as RaptorJesus
hallynnow i can get back to getting Xspice to work00:10
hallynhm, i honestly don't see how this was ever meant to work.  'qxl->st->dispatcher = some_fn(qxl)', where some_fn dereferences qxl->st_dispatcher->somefield00:28
sarnoldchanging dispatcher from deadline to noop or similar?00:30
hallynit's at startup,         qxl->st->dispatcher = red_dispatcher_init(qxl);01:12
hallynanyway my laptop's being comandeered, will have to look later01:12
hallynsarnold: ah, i see, the newer upstream git doesn't do it that way01:46
sarnoldhallyn: haha, good :)01:46
hallynwhat we need is a maintainer for this stuff01:46
hallynsarnold: you're bored right? :)01:47
sarnoldhallyn: lol01:47
hallynwell i don't see how this ever worked anywyere.  i suppose i could grab fedora pkgs and see what they do there,01:49
hallynbut i guess best bet is to figure out how to make a pkg from git (bc they haven't done a new release tarball;  but ther eare empty directories in git)01:49
sarnoldhallyn: which package is this?01:50
hallynsarnold: it's in libspice-server1,01:50
hallynthough to exercise it you use xserver-xspice01:51
hallynmy goal is to run ubuntu-desktop from a container01:51
hallynit's gonna ROCK01:51
sarnoldooo01:51
* hallyn does a king julian dance01:51
hallynbah git submodules are stupid02:11
hallynbc if i git clone git://a/b, then git clone b b-1, then i can't go into b-1 and do git submodule update02:12
hallynor maybe that's just bc this site is abbreviating in .gitmodules..02:12
ddsssdoes ubuntu have some web-based rss reader as a package?02:14
hallynnot sure how you mean web-based.02:17
hallynyou mean you'd run a server which fetches rss content, and you read it with a browser from your server?02:17
hallynppl seem to like liferea, i use rss2email myself02:17
=== Lcawte is now known as Lcawte|Away
hallynthen i have a cron script pushing the resulting emails to pocket02:18
hallynso i read them from my ereader and sometimes from fireefox with the pocket plugin02:19
ddssshallyn, I mean like news plugin for owncloud, but not ownloud02:24
ddssshallyn, meaning I can open gui ina  browser from anywhere and read use rss.02:25
sarnoldhallyn: fwiw red_dispatcher_init() doesn't ring any alarm bells for me..02:26
sarnold    red_dispatcher = spice_new0(RedDispatcher, 1);02:26
sarnold    init_data.qxl = red_dispatcher->qxl = qxl;02:26
sarnoldthose two lines make it feel kosher02:26
ddssshallyn, ahh - i see - there is a tiny tiny rss plugin or something as a web gui?02:27
hallynsarnold: red_dispatcher_add_memslot()02:28
hallynit gets dispatcher which is the qxl->st02:28
hallynthen it sends &dispatcher->dispatcher to dispatcher_send_message02:28
hallyndispatcher was NULL, so it's sending 0x88, which is the offset of dispathcer in RedDispatcher02:29
hallynthen dispatcher_sned_message() dereferences that02:29
sarnoldhallyn: http://paste.ubuntu.com/7272383/02:29
sarnoldhallyn: how on earth does -that- work?02:29
hallynit works like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729054 :)02:30
uvirtbotDebian bug 729054 in xserver-xspice "Xspice fails to start (segfaults)" [Grave,Open]02:30
sarnoldhallyn: I'd expect that could only work if QXLWorker looked like struct QXLWorker { struct RedDispatcher foo; .. }02:31
sarnoldhallyn: hahahahaha02:31
sarnoldhallyn: such sadness :(02:32
hallynmuch corrupt02:33
hallynddsss: there are a ton of options... but the nature of rss is that something has to fetch and/or store it;  yeah you can run ttrss02:34
hallynhttp://s3hh.wordpress.com/2013/09/13/rss-over-pocket/     that's what i do.  works great for me02:34
hallynmaint.mk: found non-public submodule commit02:35
hallynoh for pete's sake02:35
sarnoldhallyn: the gift that keeps on giving...02:35
hallynhaha, i just rm -rf the .git and then Makefile.am skips that annoying check02:36
hallynand... i've got packages.  i'll wait a minute to take wagers about how badly they perform02:37
hallyn2 beers for "hoses the container entirely", 1 for "works worse than before", 3 for "fixes the bug"02:37
hallynIT WORKS02:39
sarnoldthree beers for hallyn!02:40
hallynthree beers >> three cheers :)02:43
sarnoldyes! :)02:43
sarnoldgoodnight hallyn :) have fun breaking things :)02:45
hallyn:)   thx - good ngiht02:45
=== zz_nhayashi is now known as nhayashi
=== sz0` is now known as sz0
=== sz0 is now known as sz0`
MavKenany success installing phalcon on ubuntu 14.04?  phpinfo not showing phalcon...have tried several times following same instructions i used to install on 12.04 and it worked for it04:28
=== sz0` is now known as sz0
lordievaderGood morning.07:42
LeMikeHello. Is it possible to have a smb mount act like a synced folder? (so that files are still there after umount) One way could be rsync every minute with another folder but I guess there is some better way :)08:08
=== sz0 is now known as sz0`
=== sz0` is now known as sz0
=== nhayashi is now known as zz_nhayashi
=== psivaa is now known as psivaa-afk
=== sz0 is now known as sz0`
=== TheBurgerKing_ is now known as TheBurgerKing
=== sz0` is now known as sz0
DarkStar1hi all. This might be a stupid question, but I am setting up a mail-server following this: https://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot-mysql/ and editing the amavis content_filter_mode file. It says to uncomment the lines in that file.13:09
DarkStar1what I want to know is that does the @ serve as comments?13:09
DarkStar1I would’ve thought the # were the comment lines and would be readily commented except in the files they’re not13:10
mardraumDarkStar1: looks like they are already uncommented in the example, you are right, the # are comments13:15
bekksDarkStar1: Better follow this guide: http://ubuntuguide.org/wiki/Mail_Server_setup13:15
DarkStar1Thanks guys. I just wanted to be sure because I know some setup files have 2 comment delimiters13:16
mardraumDarkStar1: you are jumping in deep with that tutorial. While I think amavis is useful for protecting clients, something has to be said for just getting you major systems working first and adding things from there, if you are new?13:16
DarkStar1mardraum: I am new.13:17
mardraumwork on understanding postfix first then13:17
mardraumwork out how you want to use php13:17
mardraumfor example, these days I prefer using php-fpm and nginx13:17
Roy___Hello, can someone help me install something on my mount using apt-get ?13:18
mardraumdon't think because of that tutorial it's the only way13:18
DarkStar1mardraum: I wish I had that luxury to understand postfix. But I am only a newbie admin and my boss insists on me setting this thing up within the next few days.13:18
mardraumugh13:18
mardraumall of it? or does he just need mail coming in for now?13:19
mardraumhe/she13:19
DarkStar1mardraum: no. I am meant to migrate a client’s email onto our system13:19
mardraumok13:19
DarkStar1so after this setup I need to copy the db and the mail directories over13:20
mardraumwell the ubuntu defaults are useful. so question why you are changing something if the tutorial says you should, and try to understand the config files13:20
mardraumfor your testing, I still think you need to work on getting each service running where can13:20
DarkStar1mardraum: you’re right13:20
mardraumelse you be trying to debugging clamav issues when your mail server can't even write to the filesystem :p13:21
mardraumgood louck13:21
mardraumluck13:21
DarkStar1mardraum: it’s just the timescale I have involved. I wanted to install everything first then test by sending emails.13:21
mardraumI'd also suggest starting with 14.04 if you are comfortable with ubuntu itself13:22
DarkStar1ok I will test the mail service first then install spam assassin and stop there I guess13:22
DarkStar1mardraum: I am comfortable with ubuntu but can’t get 14 so I have to stick with the 12.04 for now13:23
mardraumthat's a shame13:23
mardraumDarkStar1: how are you doing the client auth?13:23
mardraumDarkStar1: are you planning to offer them webmail too?13:24
DarkStar1mardraum: client-auth is via mysqldb, and yes they want roundcube or something better that at least allows users to change their password13:25
mardraumare you ok with mysql/13:25
mardraumin terms of admin13:26
DarkStar1Ok ish13:26
wedgwoodI'm looking at moving to Ubuntu from Debian but I'm seeing some weird performance characteristics with regard to memory.13:28
wedgwoodUsing sysbench, block sizes below 512K are twice as fast on Debian as they are on Trusty. I don't understand why13:29
DarkStar1mardraum: I’m a dev with basic admin experience.13:29
mardraumDarkStar1: why did your boss give you sich a tight timeline for all thise new stuff?13:30
mardraumthis*13:30
DarkStar1mardraum: because as far as he’s concerned I should be able to do it. Because some dev he hired elsewhere told him that these sort of things are easy.13:33
HavenstanceDarkStar1, sounds like my boss, you sure we don't work for the same company?13:33
Havenstancelol13:33
Meerkatinitech?13:34
DarkStar1Havenstance: Knows squat about admin and development and insists everything is easy? They must’ve been manufactured at the same place :D13:34
HavenstanceDarkStar1, exactly what I was thinking :)13:34
Havenstancemy boss always wants to make windows do things linux can do and says oh it should be easy, my favotire one was when he told me to open the command line in windows and apt-get install it13:35
HavenstanceI was like uhhhhh apt-get is a linux only command does not work with windows bro13:35
DarkStar1rofl13:35
Havenstancewell fix it, because it should be easy enough to do....13:35
Havenstance*facepalm*13:36
Havenstanceso I fixed it alright, machine in question runs ubuntu server as a base and has a windows VM on it :)13:36
nszcetaHavenstance who do you work for may I ask13:36
Havenstancea little grocery store up in Michigan13:36
nszcetaWhy does your boss want apt-get13:37
Havenstancewell hardware/grocery/gas station...13:37
Havenstancehe had a linux only program he wanted me to run on windows13:37
nszcetaWhat is his ultimate goal13:37
nszcetawhat linux-only program13:37
Havenstancetold me to apt-get install it from the windows command line...13:37
Havenstancehell if I remember its been over a year ago now13:37
nszcetakk13:37
Havenstanceat the time it didn't have a windows version13:37
nszcetawas this a back-end server or what13:38
Havenstanceno actually it was a windows client machine13:38
DarkStar1Havenstance I can top that13:38
Havenstancehad a couple programs on it for sales.13:38
HavenstanceI put ubuntu server on it because I like the installer for server13:38
HavenstanceDarkStar1, really?13:39
nszcetaso now everyone has to deal with balls slow windows VM13:39
Havenstancenszceta, sure, but it fixed the problem13:39
nszcetaepic13:39
nszcetavirtualbox?13:39
Havenstancehe got his precious apt-get on windows13:39
Havenstancenszceta, yes, with winxp as a backdrop13:39
Havenstancewell client13:40
nszcetaomfg13:40
DarkStar1Me : “when I install this mail server, I will install spamassassin because I’ve been advised to, and it may take sometime for it to learn as I’ve been told so let the client be aware that some mails may not get through whilst it’s learning”13:40
Havenstanceits actually not that slow cuz all of a our cash registers are quad core machines13:40
nszcetanoob managers + technology is just mind boggling13:40
nszcetaDarkStar1 why would it block while learning?13:41
Havenstancenszceta, I have since upgraded all of them to w7 at the time we had lots of XP disks floating around so I threw it together to see if it'd work13:41
nszcetadoesn't make sense. should be permissive and increasingly stringent13:41
nszcetaHavenstance makes sense13:41
DarkStar1Boss : “That’s not true. Spam filtering has been around for years and everybosy does it now. Google will not say these kinds of things. Can’t you just download one that already exists?”13:41
nszcetaDarkStar1 just use google mail for business then13:42
Havenstancethat was my thought lol13:42
nszcetaboss clearly gives no shits, get google13:42
DarkStar1nszceta: I was just repeating what I was told. that the spam filter may target some mail as spam.13:42
DarkStar1nszceta: I told him that mail service is not an easy thing and I didn’t want it on my plate13:42
Havenstanceand its true it may, some things as it becomes more restrictive may get blocked and you have to add custom filters in13:42
DarkStar1but he went ahead and got it13:42
nszcetagot what13:43
DarkStar1the client’s contract to manage their mails13:43
nszcetanow outsource that contract to google13:43
nszcetatake the cut in the middle13:43
nszcetawhy stress?13:43
DarkStar1nszceta: He won’t “We’re an IT company. we shouldn’t be buying IT services from elsewhere"13:44
DarkStar1So I’m playing admin and dev.13:44
nszcetawow do you still work for those shills?13:44
Havenstanceyeah I was gonna say he'd be down an admin guy13:44
shaunoemail is surprisingly difficult to do well.  using an established provider isn't just lazy, it's actually a good idea13:44
nszcetaexactly13:44
Havenstanceat least with my boss I can usually figure out some bullshit scheme that will work for what he wants and moving on13:45
nszcetathere are 2 important things that anybody wants when you for for them13:45
nszceta1) you have to make them look good13:45
nszceta2) you have to make your customers look good in front of others13:46
nszceta*when you _work_ for them:13:46
nszcetahow you get there is irrelevant13:46
nszcetaDarkStar1 so how is the mail contract13:47
nszcetais your boss still hazing you with mail server implementation13:47
Havenstanceyup, that's was the case with this guy, he wanted something windows couldn't do13:47
DarkStar1nszceta: All I know is that I have a few days to do all of this.13:47
nszcetaYou have to outsource the solution to something already established and wire it up in the next 1-2 days13:48
DarkStar1nszceta: has had me put the email server with the web server13:48
DarkStar1because they paid for one server.13:48
nszcetahow far along are you13:48
Havenstanceso I gave him windows over linux so he could run linux programs and since there is only one real program that runs on that vm it isn't too bad. been thinking of trying to get WINE to take it and getting rid of win totally13:48
DarkStar1nszceta: well webserver is up and running.13:49
HavenstanceDarkStar1, have you looked at zentyal? I use that here for our web mail and the such13:49
nszcetathis looks shady but might work http://www.iredmail.org/13:49
nszcetaman I hate that kind of situation13:50
DarkStar1Havenstance: I have to do as he says.13:50
Havenstancesupport for it sucks so i've had to get a crash course myself but it seems to work well, supposidly its a complete replacement for exchange server and also has a built in apache server13:50
HavenstanceDarkStar1, what OS is he forcing you to use?13:50
DarkStar1Havenstance: I use whatever I want13:51
DarkStar1as long as we’re not outsourcing anything13:51
DarkStar1so I’m using ubuntu13:51
Havenstanceokay, give zentyal a test in a vm, it might do just what you want13:51
Havenstanceit runs over server 13.10 right now, afaik it hasn't been tested on the new lts13:51
Havenstancebut that's the community edition, the commercial edition runs over lts distros and gets fairly decent support in terms of you can call someone and they'll call you back within a set time frame13:52
Havenstancehttp://www.zentyal.org13:52
Havenstanceits got a firewall, av, and it uses openstack as the email client. makes it all fairly simple to setup, i just deployed a new network controller here in a little over two hours13:53
Havenstancebrb coffee break13:54
KawaiolaI updated my server from 13.10 to 14.04 and my wordpress no longer works but my apache is still running and seems to work just fine any ideas?13:55
DarkStar1Havenstance: not sure I can get the 13.10 os templates for the VM yet. + I have the web server running perfectly and I don’t want to spend my 3 day weekend working on this if I am tbh :(13:55
Meerkatcheck the apache logs, Kawaiola13:55
KawaiolaHow would I check the apache logs I'm pretty new to linux to be honest haha13:56
MeerkatKawaiola, they are in /var/log/apache2/ by default.13:56
KawaiolaOkay I'll go look13:57
KawaiolaThere is nothing in the logs does that mean it reset when I updated the server maybe?13:59
MeerkatKawaiola, is access.log empty too?13:59
funcoland1i have an ubuntu 14.04 live cd customized with a new package and everything goes well into it executes a post install script that calls "ldconfig".. it appears that this program is not available in the environment that's spawned by the installer.. any hints here? :-/13:59
nszcetafuncoland1 ldconfig must be run with elevated privs14:00
KawaiolaMeerkat, Let me check14:00
KawaiolaMeerkat, Yeah those are empty too14:00
funcoland1nszceta: there is no sudo inside the shell that's created during the installation of ubuntu server.. and when i hit ALT + F2 to drop into a shell calling the "ldconfig" program manually makes it says "ldconfig: not found"14:01
KawaiolaMeerkat, So I think maybe all of the services reset mysql and php are back to defult too but I can't even find my wordpress files at all14:02
KawaiolaMeerkat, So basically I think I'm going to have to rebuild them at this point.14:02
nszcetafuncoland1 type 'which ldconfig'14:03
nszcetaand give it the full path14:03
Roy___does any body knows how to use apt-get to install something on a specific mount ?14:04
funcoland1nszceta: i did /usr/bin/which which and it's telling me /usr/bin/which is not found14:04
nszcetawtf14:04
nszcetayou are missing the most basic utilities14:04
funcoland1i'm wondering, if i should just have it install the packages during the post installation script14:04
Stats_EthanDoes Ubuntu Server use a different version of the Linux kernel than Ubuntu Desktop?14:04
funcoland1yeah i know14:04
funcoland1i think what it is is during the installation of ubuntu server the shell is limited.. i think it's called busybox14:05
nszcetaI don't know which ubuntu package can help you. I usually use Arch, CentOS,and OS X14:05
bekksStats_Ethan: No.14:05
MeerkatKawaiola, enter 'a2query -s' and tell me what it returns.14:05
nszcetayeah the installation has a limited envir14:05
nszcetaI've never remastered a linux image14:06
KawaiolaMeerkat, 000-defult (enabled by site administrator)14:06
funcoland1thanks anyways14:06
KawaiolaMeerkat, That is all it came up with when I typed that command in14:08
MeerkatKawaiola, now enter a2ensite and press tab a few times until it shows some files. Which files are shown?14:08
=== TheBurgerKing_ is now known as TheBurgerKing
KawaiolaMeerkat, 000-default.conf defaultssl.conf14:08
KawaiolaMeerkat, That is all that came up over and over again when I ran that one14:09
Aisonnice one, update fails on slapd14:10
Aisonnow ldap is no longer working14:10
MeerkatKawaiola, enter 'a2dissite 000-default'. Then 'a2ensite 000-default.conf'. Then reload apache, 'sudo service apache2 reload'.14:12
KawaiolaMeerkat, Okay14:12
MeerkatKawaiola, apache 2.4 requires sites to have the .conf file ending. So people have to fix this manually, I guess.14:13
MeerkatKawaiola, does the site run now?14:13
KawaiolaMeerkat, Let me check I just reloaded it14:14
KawaiolaMeerkat, Yeah! it is thank you would you mind explaining to me what I did and why that fixed the issue I was having14:14
KawaiolaMeerkat, Was it because of the order of which apache goes and looks for the file directory because I know I had to put .php before .html in the beginning because it would still load the default apache webpage14:16
MeerkatIn apache 2.4, which comes with ubuntu 14.04, all site configuration files must end with .conf. You disabled the old site (000-default) with the properly named site (000-default.conf).14:17
KawaiolaMeerkat, Oh okay that makes sense14:18
KawaiolaMeerkat, Thanks for your help14:18
KawaiolaMeerkat, I was freaking out I thought I was going to have to rebuild the entire thing.14:18
Aisonwhy the fuck did the upgrade delete /var/lib/ldap content14:22
=== TheBurgerKing_ is now known as TheBurgerKing
cfhowlettAison language!  family friendly channel here ...14:23
Aisonyeah, but it is a little bit ennoing, that an upgrade can delete a whole database14:24
IdleOneindeed. still need to be polite and professional in here though14:24
Aisonanyway, no idea what to do now14:26
Meerkatthere's a no-cursing rule in a server chat?14:27
Meerkatwt*14:27
bekksAison: restore the backup?14:30
cfhowlett!guidelines14:30
ubottuThe guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IRC/Guidelines14:30
Aisonbekks, yes, that's one possibility, but an ennoing one14:30
Aisonthe point is, the fucked up server IS the backup server. So I have to move the backup media to another server first14:31
IdleOneImagine how annoying it would have been if you didn't have the backup14:31
IdleOneAison: you were asked nicely to not swear14:31
IdleOnePlease don't do it again14:32
cfhowlett!guidelines|Aison these are the rules - for everyone.14:32
ubottuAison these are the rules - for everyone.: The guidelines for using the Ubuntu channels can be found here: http://wiki.ubuntu.com/IRC/Guidelines14:32
=== Lcawte|Away is now known as Lcawte
Aisonok, when I playback the /var/lib/ldap directory and do apt-get dist-upgrade to upgrade slapd, it always removes the whole content of /var/lib/ldap15:15
Aisonnice one...15:15
Aisonto be concrete, It is moved to /var/backup15:16
MavKenhas anyone installed phalcon php on 14.04 yet?15:34
pmatulisAison: what sort of upgrade are you talking about?16:13
Aisonpmatulis, trusty (slapd version is the same as before, but upgrade failed)16:17
Aisonbut removing the ldap database before upgrade and add it back after upgrade works16:19
DarkStar1Bon weekend a tous16:36
axisyshow to remove plymouth safely?17:12
=== mjohnson151 is now known as mjohnson15
MorclyeI just installed Ubuntu Server 14.04 and it ignores static IP assigned by router's DHCP server altogether. On every boot it picks a new address. Any help is appreciated.17:43
qhartmanI'm working on getting a MAAS server setup. Is there anyway I can check the progress of the boot image import? I've been waiting over an hour and it doesn't seem to have completed.17:54
qhartmanThere's no appreciable net traffic on the box, and the logs in /var/log/maas aren't terribly enlightening17:54
qhartmananywhere else I can look?17:54
adam_gqhartman, unless its changed recently, you should see some wget's running in the background18:02
sarnoldMorclye: I saw a bug report recently about a dhcp client sending the literal string <hostname> ..18:11
sarnoldMorclye: see if this looks similar https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/130896818:14
uvirtbotLaunchpad bug 1308968 in isc-dhcp "isc-dhcp-client sends string literal "<hostname>" instead of hostname" [Undecided,New]18:14
Havenstanceanyone know of a good linux backup solution?18:17
Havenstanceim running 13.10 server if that helps18:17
qman__rsync18:17
patdk-wkduplicity?18:18
patdk-wkdd18:18
patdk-wktar18:18
HavenstanceI have a server here that hosts samba shares I want to back those shares up off site to another server18:18
patdk-wksamba with acl's?18:18
sarnoldamanda and bacula seem popular among 'larger' installations18:19
Havenstancepatdk-wk, yes, the server actually uses zentyal as a front end18:19
patdk-wkbut sounds like a job for rsync or duplicity depending on how yo uwant it18:19
Havenstanceokay thank you i'll look into both of them and see if they fit our needs18:19
patdk-wksarnold, depends on the backup target, really18:19
patdk-wkone day,  Iwill get amanda or bacula setup18:20
Havenstancethe boss was interested in URbackup but trying to get it to run on linux is like pulling teeth don't wanna spend too many "man hours" on it18:20
patdk-wkor maybe  Inever will, and will dump all my lto3 stuff, and buy all new lto618:20
patdk-wkHavenstance, that would be amanda/bacula :)18:20
patdk-wkduplicity will give you simple backups over like ssh with versions18:20
patdk-wkrsync will give you a backup, but only current copy18:21
Havenstanceyeah that's what he wanted actually almost to a t18:21
qman__ I use backuppc for workstation backups, but I stick to rsync scripts for servers18:21
Havenstancei'll look into the 3 and see what I can come up with, maybe a combination of 1 or 2 would actually suffice. wouldn't matter much as long as I can set the backup location.18:21
patdk-wkduplicity uses rsync18:22
Havenstancethe versions can be stored on the server locally then we could back the entire location up at a set time off site so either way it should work.18:22
patdk-wkbut instead of just dropping the files exactly like it read them, it packages them up18:22
Havenstancehow about a way to restore the backups in event of a failure?18:22
patdk-wkrsync? yo ujust rsync it back, or copy it how ever you want18:23
patdk-wkduplicity, you just extract it18:23
qman__Yep18:23
Havenstanceperfect18:23
patdk-wkduplicity basically wraps rsync into *tape files*18:23
Havenstancesounds exactly like what i'm looking for i'll check em out thank you18:23
patdk-wkit's how I backup my laptop18:24
Morclyesarnold: Thank you. I will try for now modifying /etc/network/interfaces and set static IP on server end instead of router, at least for now. Hopefully that'll work.18:35
sarnoldMorclye: heh, yeah, if that doesn't work we're all in big trouble :)18:35
patdk-wkthe only way dhcp wouldn't work right is, config error, or rouge dhcp server18:39
sarnoldpatdk-wk: heh I wish that were true, we went through quite a few rounds of updates for dhcp clients, especially in the face of udp checksum offloading and virtio-based nics, iirc..18:41
sarnoldpatdk-wk: I had a suspicion Morclye's run into this: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1308968 just based on his description of the symptom he saw..18:41
uvirtbotLaunchpad bug 1308968 in isc-dhcp "isc-dhcp-client sends string literal "<hostname>" instead of hostname" [Undecided,New]18:41
sarnoldyou'd have thought that we'd have dhcp down by now. guess now. :)18:42
patdk-wkoh, I only assign static ip via mac address18:42
patdk-wknever had an issue18:42
sarnold:)18:43
MorclyeMy router has hostname and MAC address required when assigning static IP outside automatic DHCP range.18:44
MorclyeCan't tell which is primary though18:44
patdk-wknormally they do it via mac, and use hostname for a local dns lookup18:44
Morclyesarnold: After finding how to assign static IP to server end things started to work. Thanks againg for helping out relatively new Ubuntu user :]18:53
Morclye* again18:53
sarnoldMorclye: nice :) have fun18:53
patdk-wkyay, got mod_spdy for trusty compiled18:53
patdk-wknow nothing holding me back from upgrading my webservers18:54
ahmadgbgHi, what solution is better and easier. A tower server or a qnas as a webserver? im going to have like 5 diffrent domains with wordpress19:11
ahmadgbgqnap*19:11
sarnoldNAS systems are usually built "just enough" for their own storage processing needs. If your needs are light it might do okay but I'd make sure it even has the grunt to handle wordpress and mysql and soforth.19:13
pmatulisAison: an upgrade from Precise or from Saucy?19:14
pmatulisAison: and the only thing that saved you was the backup that was placed under /var/backup ?19:16
qhartmanadam_g, Thanks for the tip. I didn't see anything like that when I looked, but apparently something worked, I have them now that I've come back from lunch.19:22
patdk-wkhmm, you could run like 1000 wordpress sites on a tiny nas19:24
patdk-wkthe question is how much rps it will hve, and how large the wordpress db's will be19:24
Aisonpmatulis, from saucy to trusty. The backup in /var/backup was corrupt also. The only thing that saved my database was the one from the dayli backup to the tape drive19:35
Aisonpmatulis, I upgraded now two machines. Both ldap databases were completely killed during the update19:36
Aisonpmatulis, I had to playback both from the tape backup (bacula)19:36
Aisonpmatulis, the only way to finish the upgrade was even to remove all ldap config files from /etc/ldap, then I finished with dist-upgrade19:37
Aisondist-upgrade failed always19:38
Aisonwhen there was some ldap database data19:38
=== markthomas is now known as markthomas_afk
ahmadgbgsarnold, my sites have like 2-3000 unique users/month19:44
ahmadgbgand i need the storage for my videos :P19:45
ahmadgbgso can i use it as a web server + storage19:45
ahmadgbgi see that they have like 2-3 GB ram and a bad dual core :P.. is this enough?19:46
DonRichieHi, i did "do-release-upgrade" on my ubuntu server and now my log daemon diappeared. What can I do to reinstall the daemon?19:47
qhartmanDonRichie, do you mean rsyslogd?19:47
DonRichieI had klogd and sysklogd running19:48
qhartmanlooks like for klogd you need to install busybox-syslogd19:49
qhartmanaside from that, I'm not sure, it's not apackage I use19:49
DonRichiebusybox sounds wrong to me. Its this multi purpose binary.19:50
sarnoldahmadgbg: ah maybe it'll do well, that's pretty quiet..19:50
DonRichieI wonder what happened to klogd19:50
DonRichieI thought this daemon runs to log kernel messages19:50
qhartmanaptitude says it's provided by busybox-syslogd19:50
qhartmanif you really want to use that one, I think that's what you need. That said, I find the default rsyslog to be a very flexible and reliable system, so unless you have a particular reason to use klogd it might be worth investigate switching19:52
DonRichieI will install rsyslog daemon instead. Do you have information about how the kernel log daemon (klogd) works and how I can restore it?19:52
DonRichieI am a little bit unsure how the gears work together19:52
ahmadgbgsarnold, its better to build a computer and install linux right :P19:53
DonRichieI know about the syslog daemon and that he listens on the device /dev/log but never heard about this kernel log daemon19:53
qhartmanrsyslog should replace all the functionality that klogd provides. I suspect it's already there and working with a default install. If you need it to collect remote logs, you only need to uncomment the appropriate lines near the top of /etc/rsyslog.conf19:55
DonRichieThanks for the answers qhartman. I installed rsyslogd now and a little test with logger succeeds again now as espected. If you say I don't miss any functionality from klogd I am fine with it :)19:59
qhartmanYou shouldn't. klodg is a very minimal logger. I would be surprised if it does naything that rsyslog does not19:59
DonRichieIt came with the basic ubuntuserver 12.4  installation20:00
qhartmanah, that makes some sense. That install is targeted to low-spec machines, so they would have chosen the most light-weight logger available20:00
DonRichieThen I upgraded to 13.10 and it was still there. Now on 14.4 it disappeared during the upgrade20:00
patdk-wkklogd died when rsyslogd came in20:01
DonRichieI think I can dispense some little resources for a good logging daemon^^20:01
qhartmanindeed. Any rate, glad you're going again20:02
DonRichieThanks for your help20:03
Patrickdksarnold, how do I get someone to look at a bug?21:10
justizini have a cronjob which just sends an OK message via send_nsca to nagios, verifying that my crons are running, but sometimes it times out and generates email, even though i’m redirecting output at the end with 2>&1 >/dev/null, any idea what obvious mistake i’m making that i should be immune to after 15yr of using cron? ;d21:10
Patrickdkseems like this one is just getting missed, due to people not testing it21:10
Patrickdkbug #128691121:10
uvirtbotLaunchpad bug 1286911 in xtables-addons "Kernel Panic using 14.04" [Undecided,Confirmed] https://launchpad.net/bugs/128691121:10
Patrickdksuprised it made it to release, since I reported it awhile ago21:11
sarnoldPatrickdk: hrm, that one might be difficult; to get the thing updated through the security team, it'd be best to get some CVEs assigned for the crashes and just put together specific fixes for the crashers21:28
sarnoldPatrickdk: we might also be able to handle this as an SRU update if the changes between 2.3 and 2.4 were entirely bugfix and reliability fixes21:29
PatrickdkI only went over a quick diff of it21:29
Patrickdklooked like it to me21:29
PatrickdkI gave up attempting to track down what specific module caused it to crash21:30
=== markthomas_afk is now known as markthomas
Patrickdkya, I could try it sometime21:32
Patrickdkmy firewall doesn't load just the ones it needs, currently, it just loads all21:32
Patrickdkok, updated bug report, crashs when iptable_rawpost is loaded21:46
sarnoldhah ,that's why 2.4 fixes it, it just removes the whole thing21:47
Patrickdk:)21:48
Patrickdkatleast that should be an easy sve, just tell it not to install that module anymore, simple21:56
qhartmanWhen I change interface configuration in the MAAS interface, should I expect that to actually make changes to the network config on the server? It does not seem to...21:59
=== RaptorJesus_ is now known as RaptorJesus
Guest67771Hi I need help from a permissions expert. I have a Ubuntu 12.04 server. Just installed Plesk, and went to change permissions on a directory from read and write (700) to read only. I was still in SU mode, and typed chmod 0544 -R/Music. It appears to have changed my permissions for the entire file system. I googled the info for read only. Can anyone help me get back to a normal state please?23:52
sarnoldGuest67771: can you pastebin the output of ls -l /   ?23:54
Patrickdkguess he didnt like you23:57

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