/srv/irclogs.ubuntu.com/2015/03/04/#ubuntu-server.txt

sudormrfquestion about mdadm.conf.  If I modify the current create statement from: "CREATE owner=root group=disk mode=0660 auto=yes" to "CREATE owner=MYUSER group=users mode=0660 auto=yes" and restart the computer, will it break anything?  I believe the answer is no, I just want to be sure.  I will then chown the current folder/array00:56
sudormrfor should I just leave that alone and chown it00:56
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
sudormrfanyone around?04:29
=== mgagne is now known as Guest75711
lordievaderGood morning.08:21
ProbsNotCheraphyhey guys... ive got an apache virtual host... and was wondering if there was anyway to specify in the conf file that i want apache to serve the index.html file when i go to the site (ie instead of site/index.html)08:22
lordievaderProbsNotCheraphy: It should automatically check the dir for an index file.08:23
ProbsNotCheraphyhmmm its not for some reason08:23
lordievaderYou get a directory listing?08:24
ProbsNotCheraphyno it goes to some cgi thing08:24
ProbsNotCheraphyyou can see it at omega.dtscode.io08:25
lordievaderProbsNotCheraphy: I get an 'Hello, World!08:26
ProbsNotCheraphywhat browser?08:26
lordievaderFirefox.08:26
ProbsNotCheraphythats weird08:26
lordievaderOn Chromium too.08:27
lordievaderProbsNotCheraphy: Caching?08:27
ProbsNotCheraphythats what im thinking now08:27
ProbsNotCheraphyyeah that was the issue08:28
ProbsNotCheraphythanks lordievader08:28
ProbsNotCheraphyidk why it happened in the first place08:28
lordievaderProbsNotCheraphy: ;)08:29
yossarianukHi - is this 'freak' SSL bug anything to worry about in terms of servers or is it a client only issue ?09:09
yossarianukie - http://it.slashdot.org/story/15/03/03/2036241/freak-attack-threatens-ssl-clients09:12
hxmhello09:30
hxmi have a dedicated server with mail and http services, i make backups often but i want to professionalize this service in some way, i wonder what is the standard to do this, -- rent an other server and use it as backup server when the main server fails? if so, how to make the on-the-fly copy data09:32
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
Reddy Hello experts, Installed Ubuntu 12.04.5 LTS on a SAS drive.NVMe drivers are detected with unknown model.Drives are not not showing using fdisk command .please advise10:24
Reddy Hello experts, sorry to repost. Installed Ubuntu 12.04.5 LTS on a SAS drive.NVMe drivers are detected with unknown model.Drives are not not showing using fdisk command .please advise10:31
lordievaderReddy: Anything in dmesg about the drives or the SAS controller?10:47
Reddylordievader: Parted –l  result   Model: DELL PERC H310 (scsi) Disk /dev/sda: 199GB Sector size (logical/physical): 512B/512B Partition Table: msdos10:48
ReddyModel: Unknown (unknown) Disk /dev/nvme0n1: 1600GB Sector size (logical/physical): 512B/512B Partition Table: loop10:49
ReddyModel: Unknown (unknown) Disk /dev/nvme1n1: 1600GB Sector size (logical/physical): 512B/512B Partition Table: loop10:49
Reddychecking dmesg10:52
lordievaderI have no experience with SAS, but I'd say they are recognized. Should there be data on there?10:54
Reddyinstalled OS on SAS drives, I want data to be placed on PCIe SSD for performance10:57
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== cipi is now known as CiPi
adacGuys, is there a way/a  tool that  can port my linux system (ubuntu 12.04) from one server to another. I'm currently on digitalocean which has this 'droplet' containers and I wanted to move from (move the droplets) there to my own root server13:01
quantumfoamhi there, anyone itc who can comment on Advantage (if you have it, do you feel like it's worth the price, etc)?13:03
quantumfoammy company is thinking about purchasing it13:03
RoyKadac: rsync?13:23
adacRoyK, do you probably know a good howto on how to port  linux with rsync?13:25
RoyKadac: "port" usually refers to moving a system from one architecture to another. If you want to copy an entire installation, you can use rsync -avPHXA --delete / target:/ and then run grub-install on the target. If you haven't done this before, then it may be less hassle to just install a new system and setup the services again there13:31
adacRoyK, ok I see13:32
adacthank you very much13:32
adacRoyK, does --delete really delete / ?13:33
RoyKit deletes whatever file on the *target* that isn't present on the *source* (from where you run it) and thus creates a copy of it all13:33
RoyKsee man rsync13:34
=== bilde2910|away is now known as bilde2910
OpenTokixholy crap that will break stuff =)13:35
OpenTokixgood luck =)13:35
RoyKOpenTokix: what? I've cloned systems that way several times...13:36
OpenTokixok - with configured services?13:37
RoyKsay you want to move system A to system B and don't want anything left of what's configured on system B (which can be any distro), yes, that works.13:38
OpenTokixok13:38
RoyKit probably doesn't work too well if you're running selinux, but that's not common on debian/ubuntu, though13:38
OpenTokixno, it runs the even more useless apparmor13:38
RoyKI don't think apparmor will stop this. anyway - it doesn't touch the source system, so it can't do much harm13:39
RoyKand again - I've used this to virtualise (p2v) systems several times13:39
patdk-wkapparmor is nice, works great for me13:49
patdk-wkyou just run rsync unrestricted by apparmor, pretty simple13:49
patdk-wkpersonally though, I'll normally just lvm snapshot, and dd the disk13:50
OpenTokixPersonally I am using a modern approach to my sysadmin and use configuration management13:50
patdk-wkthat actually helps you migrate the data?13:52
patdk-wkif this was only about migrating the config, that is simple13:52
caribouWhere should I go to get a hold of the openstack charms for Havana ?14:03
caribouneed it to diagnose some issue14:04
caribouis 'old-stable' a correct pick ?14:05
=== Lcawte|Away is now known as Lcawte
=== Guest75711 is now known as mgagne
=== mgagne is now known as Guest48046
=== Guest48046 is now known as mgagne_
spidernikhello there! any report of a libc recent update that breaks kerberos SSO in firefox/chromium? Namely, trying to sso on a webpage crashes the browsers.14:10
=== mgagne_ is now known as Guest44965
yossarianukspidernik: had you rebooted the machine after libc update ?14:14
yossarianuk(you may also find it apparmor related?_14:15
=== Guest44965 is now known as mgagne
spidernikyossarianuk: yes, freshly rebooted. I'll look at apparmor, thanks for the suggestion.14:19
dalurkaif we strace firefox we get:14:25
dalurkawritev(2, [{"/usr/lib/firefox/firefox", 24}, {": ", 2}, {"relocation error", 16}, {": ", 2}, {"/usr/lib/x86_64-linux-gnu/libgss"..., 45}, {": ", 2}, {"symbol krb5_cc_select, version k"..., 99}, {"", 0}, {"", 0}, {"\n", 1}], 10/usr/lib/firefox/firefox: relocation error: /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2: symbol krb5_cc_select, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference14:25
yossarianukspidernik: you should possibly be able to see app armor messages in dmesg ot syslog14:25
dalurkaregarding spiderniks issue14:25
=== beisner- is now known as beisner
caribou /1314:28
Emmanuel_ChanelHello!14:30
Emmanuel_ChanelI'm trying to install the sql virtual user function of the mail server by seeing https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-dovecot-mysql/14:31
Emmanuel_ChanelI want to keep my system account, too. But when I uncomment #!include auth-sql.conf.ext of /etc/dovecot/conf.d/10-auth.conf14:32
Emmanuel_Chanel,14:32
Emmanuel_Chanel>Mar  4 23:23:08 gateway dovecot: auth-worker: Fatal: master: service(auth-worker): child 14791 killed with signal 11 (core dumped)14:33
Emmanuel_Chanel>Mar  4 23:23:08 gateway dovecot: auth: Error: auth worker: Aborted request: Worker process died unexpectedly14:33
Emmanuel_Chanelhappens...14:33
arcskyIs there any good mangment tool for make daily mangment work with my ubuntu servers ~10-15 servers ?14:43
Slingarcsky: what kind of work? examples?15:00
SlingI would suggest puppet for changes to configuration/packages/etc15:00
caribounevermind my silly question; I used a config file :-/15:02
arcskySling: config/packages/Security updates i want a simple mgmt system i have look for Landscape, ist bad? Puppet seems advance ?15:08
MalMenhello, im here trying to make one pppd connection.. this is the thing.. i already made the connection, now i need to route the adress's 10.12.12.x for that pppd (ppp0) hwo can i do that ?15:08
MalMeni dont understund well the foruns15:08
Slingarcsky: puppet is the future, landscape isn't ;)15:09
Slingso if you care about being relevant in IT in the future, I strongly suggest learning about puppet15:09
Slingeven though it's a new way of thinking about server management15:09
Slingas for security updates: unattended-upgrades15:10
OpenTokixSling: wrong, - Config managment is the future. - puppet is a tool among many. - puppet dont scale well15:10
ogra_lol15:10
OpenTokixLearn about config managment, and use whatever tool15:11
ogra_puppet is nearly a decade old ... i wonder whats "new" about it15:11
OpenTokixlandscape is very basic15:11
SlingOpenTokix: sure but if you can use puppet, you can use most other tools like it15:12
Slinganyway I don't want to turn this into the puppet vs chef vs <rest> discussion :)15:12
Slinguse whatever you feel comfortable using, as long as its not manually logging into servers anymore15:12
ogra_if you want to be relevant for the future you better look into cloud mgmt tools like juju ... :)15:12
OpenTokixAnd version control15:13
=== zz_DenBeiren is now known as DenBeiren
arcskyOpenTokix: what config mangment tool do you recommend? i looking for a simple15:22
OpenTokixarcsky: the learning curve for it, is quite high  - but it will make youre life so much easier in the long run.15:23
arcskyI work with network and security dont wanna be a server guy ;)15:23
OpenTokixarcsky: I would check out puppet, chef, cfengine, saltstack, ansible today. - I personally use cfengine3 since it suits me perfectly.15:24
OpenTokixarcsky: I work with everything.15:24
arcskyOpenTokix: ok thanks i will check them out15:24
OpenTokixarcsky: puppet is the one with the most online resouces, and copy/paste-able stuff.15:24
arcskycoolers15:24
OpenTokixarcsky: however, it does not scale past 5000 hosts. - But if that isnt an issue you can ignore the "scaling issues"15:24
arcskynot an issue15:25
=== Lcawte is now known as Lcawte|Away
=== sonne_ is now known as sonne
frobwareIs it realistic for me to boot the vivid 3.19 kernel on trusty ARM 64?15:45
strikovfrobware: you may want to ask this question at #hyperscale15:52
geniiOr possibly #ubuntu-arm, if anyone's currently awake in there15:53
frobwarestrikov, genii: ok & thx.15:53
strikovfrobware: genii is right, #ubuntu-arm is the best place15:54
frobwarestrikov, heading there now. :)15:54
sarthorHI,using ubuntu-server,  according to this link " http://mpcabd.igeex.biz/python-arabic-text-reshaper/ " When I try to instal " l pip install https://github.com/mpcabd/python-arabic-reshaper/archive/master.zip " so it give this error http://pastebin.com/H1KtwfaY HELP please.16:11
JanCsarthor: as the error message says, there is no setup.py in that zip file; just unpack the zip in the directory you want it to be16:38
samba35i am uisn gubuntu 14.04.2 as host and i have 2 guest ,i am using openvswitch with bridge mode but many time openvswitch/brctl doesnt startup  then i have to add eth1 to bridge and after that it work but not always16:45
sarthorJanC, I unpacked and there is setup.py file.16:50
=== martins-afk is now known as martinst
=== Lcawte|Away is now known as Lcawte
=== markthomas|away is now known as markthomas
=== Joel is now known as Guest10450
=== Lcawte is now known as Lcawte|Away
thor77hey, i want to use one package from debian-experimental. whats the best way to do this?19:42
sarnoldthor77: read about pinning, in apt_preferences(5)19:43
geniithor77: What package?19:44
thor77genii: munin19:44
sarnoldthor77: I'd be tempted to just wget + dpkg -i the thing, but that would make future updates more difficult than it should be. might as well do it right...19:44
thor77genii: i want to use version 2.119:44
thor77genii: but ubuntu provides only 2.019:44
pmatulisthor77: a PPA maybe - https://launchpad.net/ubuntu/+ppas?name_filter=munin19:47
pmatulisbut careful, anyone can bake one19:47
thor77pmatulis: cant find munin 2.1 there, only 2.0 or older :/19:49
pmatulisthor77: bummer.  you can make one yourself i suppose.  it's not too hard.  makes it complicated if the package has a lot of dependencies19:49
thor77http://packages.ubuntu.com/vivid/munin looks like it has a lot of dependencies19:50
geniiYup. So that's why using a Debian repo to get it is probably asking for dependency hell19:51
RoyKthor77: better compile munin .1 from scratch19:52
RoyKthor77: better compile munin 2.1 from scratch19:52
RoyKthor77: munin 2.1 is a development track19:53
thor77RoyK: munin-dev said to me i should use deb-repo because its a pain^^19:53
RoyKthor77: the do that in a vm19:54
RoyKthor77: don't use deb-testing repos on a prod box19:54
RoyKor deb-unstable - it breaks things19:54
geniiInterestingly 2.1.6 released March 9 2014, 2.0.25 released November 24 2014 ...so 2.025 is actually a later release19:55
RoyKnot very interesting - 2.0 is the stable track - 2.1 is the development track19:55
sarnoldbut if their newest 'dev' is nearly a year old..19:55
RoyKsarnold: then it's probably better to use the code from git ;)19:56
RoyKdoesn't look like the munin guys are releasing much devel versions19:56
sarnoldRoyK: yeah, if it's any newer..19:57
thor77http://demo.munin-monitoring.org/ <- 2.1 2.0 -> http://munin.crapwa.re19:57
thor77i like the new design19:57
sarnoldcrapwa.re, hehe19:58
thor77i like my domain ;)19:58
sarnoldthor77: oh, heh, i missed that :) nice19:59
RoyKsarnold: there are daily patches submitted to git19:59
geniithor77: You might try apt-get build-dep munin for the version that's currently in Ubuntu, then wget the debian package and attempt dpkg -i on it and see if it groans20:07
RoyKthor77: doesn't look like you've configured fastcgi correctly ;)20:08
thor77RoyK: yes, its a pain with nginx and i dont need it20:09
RoyKhttp://munin.crapwa.re/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=crapwa.re/fire.crapwa.re/diskstats_iops/xvda&size_x=800&size_y=400&start_epoch=1424808308&stop_epoch=142549950820:09
RoyKzooming doesn't work without it20:09
thor77i know20:09
thor77but i dont need zooming20:09
RoyKI use that regularly20:09
thor77or better: i tried to configure it a few times with no success and no i gave up because i dont really need this20:10
thor77but if you have a working configuration with nginx, i would be happy if you would send it to me :)20:11
* RoyK has 100+ machines in munin and tend to need it some times20:11
thor77do you have one with nginx? :P20:12
RoyKjust using apache for this - it's dead easy to configure and with 100+ machines monitored, it won't make a difference performance wise20:12
RoyKnope - I rarely use nginx - just for small things - better try to ask on #munin @OFTC20:12
RoyKthor77: why do you need 2.1?20:14
thor77RoyK: new beautiful design20:14
RoyKa little more flashy design isn't really a lot compared to the dependency hell you might be having by adding experimental repos20:16
thor77RoyK: maybe you're right. i think i will wait until the update is available in the official repos :)20:17
thor77and maybe i will setup apache, php is much less pain with it20:18
RoyKlast time I tested php with nginx, it was rather easy20:18
RoyKused it with wordpress20:19
RoyKbut ditched nginx because of some modules I use with apache20:19
thor77until know i found nothing that doesnt work with nginx but does with apache and i like the configuration from nginx20:25
* RoyK sets up nginx vm for testing on 140420:28
=== bilde2910 is now known as bilde2910|away
=== bilde2910|away is now known as bilde2910
=== kickinz1 is now known as kickinz1|afk
=== martinst is now known as martins-afk
=== Lcawte|Away is now known as Lcawte
sudormrfhey all, does anyone in here happen to know if there exists an nrpe plugin to monitor hdd temperatures?22:17
=== martins-afk is now known as martinst
ikoniasudormrf: there is an lmsensors nrpe module22:29
sudormrfikonia, can lmsensors read hdd temps?  I installed lmsensors and it was only looking at stuff on the mobo22:30
ikoniathe hd temps are fed to the system over the motherboard22:30
sudormrfhmm.  when I run "sensors" and do the initial setup, then run the command again the individual drive temps are not returned22:30
ikonianot all motherboards monitor hd temps22:31
ikoniadepends on the controller chipset if the hard disk can report back22:32
sudormrfgotcha22:32
sudormrfwell it looks like mine doesn't.22:32
sudormrfhddtemp returns the data (as does smartmontools), would prefer the data from smartmontool22:32
sudormrftrying to install this one: https://github.com/vint21h/nagios-check-hddtemp#installation but the installation instructions are lacking.  I ran the steps listed, but am not seeing what I think should be right22:36
sudormrfok, next question.  smartctl works locally on the machine, however nagios is saying this" CRITICAL - SMART_ENABLE: Inappropriate ioctl for device "23:17
sudormrfthis drive IS part of an mdadm array.23:18
sudormrfhowever it is also saying that for a drive that is not part of that array23:18
bekkssudormrf: smartctl does not work on mdadm devices.23:18
bekksIt works on physical devices only.23:18
sudormrfbekks, the command is checking /dev/sda23:19
sudormrfinstead of /dev/md023:20
sudormrfrunning smartctl -a /dev/sda on the device it works23:20
bekksAnd is that exactly the command which is run by nagios?23:20
sudormrfgood question23:20
sudormrflet me check23:21
sudormrfhmm.  looks slightly different.23:22
sudormrfmaybe? not sure23:22
sudormrfrunning the plugin against the drive manually, not with nrpe, it returns reslts23:27
sudormrfresults23:27
sudormrfodd23:27
tewardis there a way to set up a mailing list / alias feature in Postfix, or do i have to set up mailman and dovecot and postfix23:52
sarnoldteward: http://www.postfix.org/aliases.5.html23:54
tewardsarnold: any other setup needed, such as DNS changes?23:55
* teward is not sure what else he needs :/23:55
sarnoldteward: depends, this is very primitive, but doesn't require much.23:56
tewardmmm23:56
sarnoldmail to foo@example gets exp0loded... that's it.23:56
tewardoh, dear...23:57
tewardwelp, that explains that...23:57
teward"Network is unreachable"23:57
tewardi wonder if my rules are too restrictive23:57
tewardooo also timeout23:58
tewards23:58
tewardno wonder its not working23:58
=== markthomas is now known as markthomas|away

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