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

=== arrrghhh is now known as arrrghhhAWAY
=== Loque2002 is now known as Locke2002
=== thumper-afk is now known as thumper
=== stiv2k_ is now known as stiv2k
twbI need a quick sanity check, please -- I have a server with linux-image-2.6.32-64-virtual installed, but uname -a is saying 2.6.32-64-server.02:19
twbDo -virtual builds normally report themselves as -server?02:19
tarpmantwb: iirc, yes; and http://packages.ubuntu.com/lucid-updates/amd64/linux-image-2.6.32-65-virtual/filelist agrees02:24
twbOK, thanks02:24
twb(Didn't realize it would show up there, I was thinking it was only going into the local string in /boot/config-XXX.)02:25
jetoleHey! Is anyone in here pretty familiar with likewise open / PBIS open ?03:57
=== markthomas|away is now known as markthomas
Kane_Hey, Just refered here. You guys think 14 is a good for a Avg website and website like uses no GUI etc. I think it has a 5 year support plan?04:25
=== Guest68225 is now known as rurkowce
=== thumper is now known as thumper-eod
|\nhey, guys! when ksplice was in beta i was testing it on my home server out of curiousity and it was amazing, now i have not-that-important production vds on kvm with 14.04 server, any hints on if its license free in this case or if it is even possible under kvm?07:22
SachiruDoes it have to be kSplice, or do you just want no-reboot updates?07:34
|\nSachiru, the second is my end-goal, yeah! thank you for paying attention also =)07:44
SachiruHmm.07:44
SachiruThere are methods to achieve no-reboot updates, but they are non-trivial to apply (kExec, KernelCare, etc.)07:45
|\nSachiru, any of them applied at least on non-critical places in production by chance?07:46
SachiruSure.07:46
SachirukExec is a standard Linux utility07:46
|\nSachiru, thank you, gonna investigate those07:47
SachiruLook into https://en.wikipedia.org/wiki/Kexec07:47
SachiruAnother is KernelCare, just as robust as kSplice, but less pricy07:50
|\nreading kexec unresolved issues part in canonical's manpages, seems fine so far07:53
SachiruIMHO rebootless upgrades aren't really ideal. Want 99.999% uptime? Build a second machine and a load balancer. Consolidating everything onto one server is suicide, no matter how much you try to harden it, if it goes down (and it inevitably will) everything will go down with it.08:14
|\nhow about backups? =)08:15
SachiruA backup will not prevent service interruption.08:16
SachiruLoad-balancing and redundancy will.08:16
|\nit is not critical box08:16
|\nand you are totally right08:16
SachiruBackups are there to recover from failure. Redundancy is there to *prevent* failure08:16
=== peetaur2_ is now known as peetaur2
=== zoidberg1 is now known as zoidberg-
VladimirMaybe wrong channel, but I wonder if there's a command to check what devices my packets go to first in my layer 2 network from ubuntu server machine?12:10
rbasakVladimir: tcpdump?12:10
Vladimiroh okey12:10
Vladimir=)12:10
rbasakThere's an option to show you MAC addresses.12:11
Vladimirarp -a?12:12
=== a1berto_ is now known as a1berto
Vladimirarp -a seems to show the last mac address, I need the first hop mac adress12:13
lordievaderVladimir: traceroute?12:14
Vladimirlordievader: I tried it also12:18
lordievaderThat will at least report the routers in between source and destination.12:18
Vladimirlordievader: yeah but it'12:21
rbasakFirst hop mac address?12:21
Vladimirit's a Layer 2 network12:21
rbasakYou mean a layer 2 hop there?12:21
Vladimirso no routers invovlved12:21
rbasakOr a layer 3 hop?12:21
Vladimirlayer 2 hop12:21
lordievaderAh, right.12:21
rbasakI'm not sure that's possible. Switches hide that from you as part of the Ethernet protocol.12:22
rbasakYou might be able to get something out of spanning tree protocol or something like that though.12:22
rbasakA server just isn't aware of what's on the first hop. Switches don't even have to have MAC addresses.12:22
Vladimirthing is, we have a wifi controller in the network, and want to know if the packets go through it or not since the server is on the WIFI for the moment12:23
VladimirI better ask on another channel, no worries=)12:23
rbasakGet a switch with a mirror port (or a hub), put it "in the way" and use tcpdump on the mirror port.12:24
rbasakOr used managed switches and query them for their MAC address tables.12:25
Vladimirrbasak: thanks=)12:28
halvorsHi! I need to be able to login to my ubuntu-server using Active Directory login credentials. Is there a easy way to implement this?13:08
Mississaugaany reason for NOT installing latest server version? empty hard disk?13:38
Mississaugais it safer to go with an older version, say 13.x ?13:39
PiciMississauga: If you need to go with an older release, at least pick 12.04 LTS.13:39
MississaugaI rather go with 14.04 but I wondered if there are bugs13:42
cfhowlettMississauga, 14.04 has reached release point .1      and I've heard few complaints in #ubuntu-server13:44
lordievaderFor me it has been very stable so far.13:45
cemchi. I have ubuntu server 14.04 installed, with eth0 dhcp. I'm trying to set my own static DNS servers, disregarding the DHCP ones. I created /etc/resolv.conf file (not a symlink to resolvconf) but it still gets overwritten at reboot13:49
RoyKMississauga: 12.04 is an LTS and is good. 14.04 is also an LTS and has been out for a while and is also good13:57
RoyKMississauga: 13.04 and 13.10 are *not* LTS releases and shouldn't be used on servers (IMO)13:57
RoyKMississauga: I'd use 14.04 if I were to install ubuntu on a new server13:57
lordievader13.04 and 13.10 are EOL.13:58
* RoyK knows13:59
lordievaderMississauga might not ;)13:59
RoyKanyway, I wouldn't use 14.10 on a server either, when it gets released13:59
Mississaugaso I guess 14.04 ok for server14:01
cfhowlettMississauga, 14.04.1 ??14:03
RoyKMississauga: yes14:03
Mississaugawhats that last  .1 ?14:04
RoyKMississauga: patch level14:04
RoyKMississauga: just use 14.04.114:04
cfhowlettMississauga, point release current version14:04
MississaugaI looking to buy a book on it to keep around,  anyone familiar with this book ?"Ubuntu 14.04 Lts Server: Administration and Reference"14:05
Mississaugaby Richard Leland Petersen14:06
cfhowlettMississauga, nope.  but I'd suggest "the official ubuntu server book"14:06
Mississaugaso whats wrong with it?14:07
hallyndannf: congrats :)14:07
RoyKMississauga: he said he didn't know it, just suggested something else :P14:11
dannfhallyn: thanks! to you as well, belated :)14:36
=== rurkowce is now known as Guest48535
=== Guest26752 is now known as jpds
=== arrrghhhAWAY is now known as arrrghhh
=== ^^x^^_KO is now known as ^^x^^
^^x^^it's reeeeeally quite in here17:11
=== Lcawte|Away is now known as Lcawte
arrrghhh^^x^^, it is quite quiet.17:11
^^x^^arrrghhh: were you under distress when creating that nickname? ;P17:15
arrrghhhpotentially, t'was a while ago.  some sort of duress was taking place I'm sure.17:16
^^x^^:)17:22
funman_hey folks17:27
funman_is it easy to upgrade 13.04 to 14.0417:27
arrrghhhfunman_, 13.04 is not LTS so you can't go directly to 14.0417:29
funman_hmm17:29
funman_my server provider offers 13.0417:29
arrrghhhyou'd have to do 13.10 --> 14.04.  would be better to just do a clean install of 14.04 and stick to LTS releases17:29
funman_14.04 is LTS?17:29
arrrghhhyes.  every 2 years - 12.04 is LTS, 14.04 is LTS17:30
arrrghhhso you can go from 12.04 -> 14.0417:30
funman_i asked them to install 14.0417:30
funman_lets see :D17:30
arrrghhhya clean install would be better17:30
funman_if they agree17:30
arrrghhhthen upgrade every 6 months or so... or just keep it on LTS releases17:30
arrrghhhI prefer LTS for my servers.17:30
funman_lol Take a picture of yourself holding a valid photo ID.17:31
funman_wtf17:32
funman_server provider responce17:32
maxb_It's perfectly valid to upgrade from 13.04 to 13.10 to 14.04. You just have to upgrade twice in succession17:33
=== maxb_ is now known as maxb
arrrghhhI never said it was invalid... just cannot do it in one step, and a clean install would be preferred.17:33
maxbI don't think there's any reason to prefer a clean install17:34
maxbUnless there are other factors entirely separate to upgrading which make a clean install attractive17:34
arrrghhhya, upgrades can fail.  clean installs have a better chance of working ;)17:35
funman_:P17:35
maxbA somewhat pessimistic viewpoint17:36
arrrghhhsure, but I can back it up with experience.17:36
arrrghhhIF a clean install is an option it is ALWAYS preffered IMHO.17:36
arrrghhhpreferred, stupid language17:37
arrrghhhalso, it would be quicker assuming he doesn't have a ton of crap in 13.04 already17:37
lordievaderI'd say a clean install is a last resort. I've done many upgrades, haven't got a failed upgrade recently.17:38
arrrghhhused to happen all the time.  maybe it's gotten better, I haven't done an upgrade in a  while lol.17:38
maxbIndeed. There's little point making useless work for yourself, and rebuilding the systems installed on top of the base OS is useless work if you can easily avoid it17:39
arrrghhhI backup my config files, no big deal.17:39
sarnoldupgrading through a release that has -also- hit EOL can make an upgrade really annoying17:40
sarnoldespecially if the mirrors have reclaimed the storage space and you're forced to use old-releases or whatever17:40
maxbUpgrades very rarely fail. Sometimes they run into issues requiring a little more manual intervention than would be preferred, but that's still usually less work than clean install. This isn't Windows, after all :-)17:40
arrrghhhwell, there's that too ^^ if you're on a really old release17:40
arrrghhhmaxb, and maybe on the server platform that is true.  all of my terrible upgrade experiences have occurred on the desktop platform.17:41
sarnoldfunman_: please ask the provider to take down the 13.04 and 13.10 options -- this chart may be useful in convincing them :)  https://wiki.ubuntu.com/Releases17:41
arrrghhhx1,000 ^^17:41
funman_lol17:41
maxbI had a desktop that I upgraded every six months for about four years, with very little problems.17:41
arrrghhhmaxb, it got better after 10.04 I noticed.17:42
arrrghhhwhich, was 4 years ago :/  crap I'm getting old17:42
maxbI started with 6.06 :-)17:42
arrrghhh7.04 haha17:42
maxbThough I do acknowledge other people in my office seem to have more problems than I do.17:43
arrrghhhya maybe it was customized crap I was doing.  dunno, my parents machines I haven't had much issue upgrading.17:43
^^x^^time to work. Hasta luego18:04
^^x^^crap, when I run apache2ctl as normal user apache says it can't read a particular apache2.conf file but if I run the command as root everything is fine??19:21
sarnold^^x^^: check ls -lad for every directory in the path and then the final file; make sure the unix permissions allow the user to read the file and traverse the directories, if that's the goal..19:21
^^x^^sarnold: yes, it's the goal. I wasn't sure I needed to provide permission across the whole path19:22
^^x^^but I want to know why apache2ctl gives back different errors when run by user/root ¿?19:22
sarnold^^x^^: probably just 'x' directory access is sufficient19:23
^^x^^will try right now19:23
^^x^^thanks19:23
^^x^^have the second answer? ;P19:23
sarnoldprobably due to the first answer :) hehe19:23
^^x^^but i don't get it, apache is run by www-data weather I check stuff with apache2ctl as root or user, right?19:24
sarnoldthe change to www-data is after a significant amount of processing, including opening the listening ports (80 and 443 require the CAP_NET_BIND_SERVICE capability, so it starts as root)19:25
^^x^^uhm, but I have like 10 apache2 processes19:27
^^x^^1 as root and the rest is www-data19:27
^^x^^which one is it?19:27
sarnold^^x^^: I -think- the one process is left running as root in case you wish to add another listening socket and reload the configuration -- if it dropped root entirely, some 'simple' changes like that would require a full restart19:30
^^x^^that makes sense19:31
^^x^^I still don't understand the apache2ctl thing19:31
sarnoldit runs with whatever privileges you have when you start it19:32
^^x^^apache2ctl runs with whatever I am at that moment??19:32
sarnoldwhen you run it as you, it gets only your privileges, which may not allow it to read all the configuration files; but when you run it as root, it can bypass the permissions if needed to read the configuration files19:32
^^x^^but that's incredibly confusing, because when I run it as a normal user it complains about permission issues but it says "apache2: bla bla" at the beginning19:33
^^x^^so what that's saying to me is that it is apache2 who has permission issues, not apache2ctl, jesus19:34
^^x^^right?19:34
sarnold^^x^^: probably the 'apache2: ' label is just letting you know which program is complaining.19:35
^^x^^which stresses my point19:36
^^x^^:\19:36
^^x^^http://i.imgur.com/BMfcR4H.png19:37
^^x^^that's confusing to me19:37
sarnold^^x^^: I'm confused what point you're trying to make? :)19:37
^^x^^let's try with that screencap haha19:37
^^x^^sarnold: do you not get confused by the "apache2: " there?19:41
^^x^^it really seems like apache2 is not reading that file. If that's the case, it's the thing apache2ctl should report when run as root19:41
sarnold^^x^^: no, it's just a helpful annotation about which program didn't like the input19:41
sarnold^^x^^: how could apache2ctl report it when run as root? the permission check is bypassed when you run it as root19:42
^^x^^sarnold: because if it is apache2 who is having the problem, is going to have it anyways. I'm running apache2ctl as root, not apache219:42
^^x^^see what I mean?19:42
=== a1berto_ is now known as a1berto
^^x^^apache2ctl is the program I'm always running, I'm not doing anything to/with apache219:43
sarnold^^x^^: but the /etc/init.d/apache init script runs as root and starts apache as root19:43
^^x^^but I'm not doing anything with that19:43
sarnold^^x^^: here, this might help :)  http://sources.debian.net/src/apache2/2.4.10-1/debian/apache2ctl/?hl=47#L4719:44
sarnold^^x^^: apache2ctl is a simple little wrapper that runs /usr/sbin/apache2 to do a lot of the actual work19:44
^^x^^oh crap, I didn't know that19:45
^^x^^xD19:45
sarnold:D19:45
^^x^^so I should run apache2ctl as www-data to really see wtf is wrong? xD19:46
^^x^^because otherwise there's always user-bias19:46
sarnold^^x^^: well, what problem are you trying to solve? :)19:47
^^x^^i want to find out if apache2 is reading all my *.conf files19:47
^^x^^check more than "find out"19:48
m_tadeudoes anyone know the difference between "sudo service xxx start" ans "sudo start xxx"?19:57
Guest48535m_tadeu: service starts older sysv scripts, while starts is for upstart ones, i think20:47
m_tadeuGuest48535: thanx...I'll look into that20:48
=== Guest48535 is now known as rurkowce
patdk-wkheh? service starts EVERYTHING :)20:57
patdk-wkthey did create man pages for this purpose :)20:58
patdk-wkservice starts an sysv or upstart script20:58
patdk-wkstart starts a sysv script20:58
rurkowcei was close enough :V20:59
patdk-wkby being 50% wrong? sure :)20:59
patdk-wkI had to switch to service to handle upstart21:00
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== keithzg_ is now known as keithzg
m_tadeupatdk-wk: so the way to go is "service start", correct?21:35
patdk-wkservice xxxxx start21:35
m_tadeuyes21:35
=== markthomas is now known as markthomas|away
m_tadeupatdk-wk: thanx a bunch for the enlightnment21:45
=== markthomas|away is now known as markthomas
=== Lcawte is now known as Lcawte|Away
=== thumper-eod is now known as thumper
mikalHi23:38
mikalIs there a cloud archive for 14.04?23:38

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