raub | can anyone explain me how update-ca-certificates works? | 02:23 |
---|---|---|
raub | Does it grab all the files that are not commented out in /etc/ca-certificates.conf? | 02:24 |
Joe_knock | Hello. What is the smallest server OS available? | 02:43 |
mwhudson | that supposes a precise answer to a vague question i think | 02:43 |
Joe_knock | smallest in MB size, mwhudson | 02:46 |
mwhudson | Joe_knock: but what is a 'server os' ? | 02:46 |
mwhudson | i don't really have the time to talk about this anyway, so ignore my trolling :-) | 02:46 |
Joe_knock | mwhudson: The equivalent of ubuntu server | 02:46 |
raub | Joe_knock: a server provides services. If you build a bare host and then only add the serivices you need you should be able to get it rather small | 02:58 |
raub | What is the hardware? | 02:58 |
raub | and define small | 02:58 |
raub | you see, I have a ubuntu 12.04 vm that takes 2GB | 02:59 |
Joe_knock | raub: This is what I am trying to do. I want to install owncloud on a 4GB USB flashdrive. it requires the AMP stack and I only have linux desktops. so I want a very thin LAMP stack installed to run owncloud. The reason why (if you ask why) is that I want to learn about building portable web apps. | 02:59 |
raub | Joe_knock: have you seen what people have done to run ubuntu in the raspberry pi or the (lesser known) cubox? | 03:02 |
Joe_knock | raub: that is the problem I am seeing. They're all Pi-related scenarios. I don't want to use a Pi. I just want the USB device to act as the way I communicate with owncloud. | 03:03 |
raub | You are thinking I am recommending the pi. I am not. My point is see what they did to make it fit | 03:03 |
raub | How much memory do you have? | 03:04 |
Joe_knock | 4GB on the flash disk. raub: I actually think I understand what you're saying now. Hacking their solutions to my scenario | 03:04 |
raub | Yes | 03:04 |
raub | And actually I was meaning how much RAM do you have | 03:05 |
Joe_knock | on my PCs, it is generally 1GB or higher | 03:06 |
raub | You see, you need to figure out how much hacking you are willing to do | 03:06 |
raub | The question regarding ram is you want to forget about swap and put /tmp in ram | 03:07 |
raub | This is not even hacking yet since you are still with a standard ubuntu server | 03:08 |
Joe_knock | raub that is why I want the thinnest server possible. Perhaps I need to think of a way of building a USB server | 03:08 |
raub | I have not finished yet | 03:09 |
raub | then you need to remove drivers for all the devices you do not use | 03:09 |
raub | But that can be fun since next kernel upgrade they might be back | 03:10 |
raub | But, you can go over all the packages | 03:10 |
raub | find out which ones you need | 03:10 |
raub | and of the ones you think you can get rid of, the ones that are not needed by something you do | 03:10 |
raub | I think you can get down to a few hundred packages if you take the time | 03:10 |
Joe_knock | raub: Wouldn't it be easier to go the other way? I determine the packages I need, let the system pickup dependencies and install only what I need (which is basically LAMP) | 03:11 |
raub | Now, if and only if you had loads of RAM, you could upload your webserver (the stuff in /var) to a ramdisk upon boot | 03:11 |
raub | Joe_knock: in principle yes, but even the default is a bit bloated | 03:13 |
raub | Joe_knock: How about this: https://help.ubuntu.com/community/Installation/MinimalCD | 03:13 |
raub | http://www.maketecheasier.com/install-a-minimal-ubuntu-on-old-laptop/ | 03:13 |
raub | i.e. do the manual package selection | 03:14 |
Joe_knock | 30MB or less. damn that is small. This could actually work! thanks for that raub! | 03:14 |
raub | Joe_knock: you might want to use nginx instead of apache though | 03:16 |
Joe_knock | good point again. If I'm going minimal, I might as well play with nginx too (been meaning too). | 03:16 |
raub | And, for the love of all that is evil and putrid, do not install network manager | 03:17 |
raub | neither it or gdm have any business in a server | 03:17 |
raub | ok, maybe gdm in very specific conditions ;) | 03:17 |
Joe_knock | would network manager apply to a LAN server? | 03:18 |
raub | you can do static and dynamic crap without needing it | 03:19 |
raub | and vlans and vpns and all that exciting stuff | 03:19 |
Joe_knock | so basically it is bloatware :P | 03:19 |
raub | For a laptop I can see its use | 03:19 |
raub | for a server, you can do better editing a couple of files while making hot dogs | 03:20 |
=== justizin_ is now known as justizin | ||
Joe_knock | raub: 1 last question. Is the core of ubuntu desktop and ubuntu server based on the same thing? Or are these 2 different uses of linux vastly different? | 03:42 |
sajan | Joe_knock: pretty much the same thing. To demonstrate this, you could install Ubuntu Server on a machine, and turn it into a desktop with like 3 commands and a reboot. | 03:46 |
Joe_knock | sajan: That makes a lot of sense, considering how easy it is to setup a local server environment on desktop. | 03:46 |
sajan | Joe_knock: yeah. The only real difference is the packages included in each .iso; The server version excludes unnecessary desktop packages, and the installer. Desktop you get a graphical, GUI installer, on the server version, it's more of a ncruses like installer. | 03:48 |
sajan | Joe_knock: In the past, I believe they were two different kernels. However, I'm positive even that is not that case anymore. | 03:49 |
Joe_knock | sajan I think they may possibly have abandoned by original desktop kernel and simply built the GUI features on top of the server one (my theory). | 03:50 |
=== markthomas_away is now known as markthomas | ||
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
=== markthomas is now known as markthomas_away | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== alexmoldovan1 is now known as alexmoldovan | ||
lordievader | Good morning. | 09:37 |
rbasak | jamespage: please could you subscribe ~ubuntu-server to bugs in python-jujuclient, urwid and websocket-client? | 09:51 |
jamespage | rbasak, yes | 09:52 |
rbasak | Thank you! | 09:52 |
* rbasak carries on with the MIR | 09:52 | |
jamespage | rbasak, done | 09:53 |
jamespage | rbasak, thanks for picking this up btw - appreciated :-) | 09:57 |
rbasak | jamespage: np. I've almost done as much as I can I think. MIR reports next. | 10:23 |
jamespage | rbasak, good-oh | 10:23 |
sander^work | What's the easiest console only bootable rescue cd? | 10:29 |
omps` | b | 11:31 |
omps` | ls | 11:31 |
=== chuck_ is now known as zul | ||
jamespage | zul, special treat for you when you start | 11:45 |
jamespage | figure out the failing test in libvirt in the CA :-) | 11:45 |
=== pgraner` is now known as pgraner | ||
zul | jamespage: that all? :) | 12:02 |
jamespage | zul, well ceilometer needs a few bits fixing but aside from that :-) | 12:03 |
zul | jamespage: good to be back :P | 12:03 |
jamespage | zul, most things are working; I've not exercised the cloud-archive that much - mainly focussed on 14.04 | 12:03 |
jamespage | zul, nice to have you back - how was the beach? | 12:03 |
zul | ok ill take a look today | 12:03 |
zul | it was good...im starting to peel | 12:03 |
zul | jamespage: no problem getting home either..although its -20C outside today :( | 12:05 |
jamespage | zul, lol | 12:05 |
jamespage | it was nearly 19C here yesterday | 12:05 |
jamespage | almost like spring! | 12:05 |
ogra_ | same here | 12:06 |
ogra_ | like the whole winter | 12:06 |
ogra_ | (about 10-15°C to warm since Nov in germany) | 12:06 |
jamespage | zul, I flushed everything through in the CA - http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/icehouse_versions.html | 12:07 |
jamespage | (and fixed that report) | 12:07 |
zul | whats up with openvswitch? | 12:10 |
zul | biab i need to take liam to school | 12:10 |
zul | jamespage: sorry -27C with the windchill | 12:28 |
jamespage | zul, ignore ovs - it ftbfs in virtual ppa | 12:32 |
zul | jamespage: ack | 12:33 |
jamespage | zul, oh also - for stable/havana | 13:00 |
jamespage | https://review.openstack.org/#/c/80687/ | 13:00 |
jamespage | and https://review.openstack.org/#/c/70750/ | 13:01 |
jamespage | zul, adam_g pinged me last week about that and whether it would foobar us for the SRU | 13:01 |
jamespage | thoughts? | 13:01 |
zul | jamespage: it shouldnt since we have oauthlib in the archive | 13:02 |
jamespage | zul, yeah - and its in main - that was my thinking | 13:03 |
jamespage | but wanted your opinion on it as well | 13:03 |
zul | jamespage: yeah i was the one who asked them to use oauthlib originally ;) | 13:03 |
jamespage | zul, I remember! | 13:03 |
zul | jamespage: we should just add the build-depends when we are doing stable/havana though | 13:04 |
zul | otherwise the tests will fail | 13:04 |
jamespage | yes - agreed | 13:04 |
jamespage | adam_g, OK - so we don't think the oauthlib change in stable/havana will cause issues; we'll focus specifcally on that during testing | 13:05 |
zul | jamespage: i dont think anyone is using oauth on havana in Ubuntu | 13:06 |
=== lool- is now known as lool | ||
jamespage | coreycb, https://bugs.launchpad.net/ubuntu/+source/python-neutronclient/+bug/1292661 if you fancy it | 13:18 |
coreycb | jamespage, sure thing, I'll work on it | 13:23 |
jamespage | coreycb, ta | 13:23 |
raj__ | how to override global .bashrc over user .bashrc ? | 14:07 |
ikonia | raj__: just told you in #ubuntu - please don't cross-post | 14:08 |
sleepee | whats up guys. | 14:12 |
sleepee | i feel like an idiot, but i was wondering if someone knew how to make ubuntu boot into the xen kernel.. | 14:13 |
smb | sleepee, Activate grub menu and select the "with Xen entry" or change the grub default to the string of that submenu | 14:14 |
sleepee | i edit the GRUB_DEFAULT line in /etc/default/grub but ubuntu still boots into the regular kernel. | 14:14 |
sleepee | well, i really want to change the default so i don' t have to choose the xen kernel manually every time i boot | 14:15 |
rbasak | sleepee: did you run "sudo update-grub" after editing /etc/default/grub? | 14:16 |
sleepee | yes. | 14:16 |
sleepee | GRUB_DEFAULT="Xen 4.3-amd64" | 14:16 |
sleepee | that's what i have in my /etc/default/grub. | 14:17 |
sleepee | but i must be missing something else. | 14:17 |
smb | sleepee, Make sure that is what is in /boot/grub/grub.cfg and then re-run update-grup | 14:17 |
smb | update-grub | 14:17 |
sleepee | not exactly sure what i'm looking for in /boot/grub/grub.cfg but i do see this line: | 14:18 |
sleepee | set default="Xen 4.3-amd64" | 14:18 |
smb | sleepee, Sorry I meant later in that file where the submenu is defined | 14:19 |
smb | So 'submenu "Xen...' or so | 14:20 |
sleepee | i see: menuentry 'Ubuntu GNU/Linux, with Xen 4.3-amd64 and Linux 3.11.0-12-generic' | 14:20 |
sleepee | and: submenu 'Xen hypervisor, version 4.3-amd64' | 14:20 |
smb | So you need that string in default | 14:20 |
sleepee | ahhhhh... ok. i've been following other guides and how-to's and they just give me the string to put in /etc/default/grub. i guess it would've been more helpful to know where that string actually came from. thanks smb! | 14:21 |
sleepee | i'm going to edit it and reboot and then come back and let you know. | 14:22 |
smb | sleepee, Yes, unfortunately it changed between releases. Which guide (maybe something I can change) were you looking at? | 14:22 |
sleepee | here's one i looked at | 14:23 |
sleepee | https://help.ubuntu.com/community/Xen | 14:23 |
sleepee | so that means any time a new xen kernel comes out, i'd have to manually change that line in /etc/default/grub right? | 14:25 |
smb | sleepee, No, only if there would be a new version of Xen | 14:25 |
smb | The setup now always picks the kernel with the highest version from that submenu | 14:26 |
sleepee | right. got it. thanks smb. | 14:26 |
sleepee | i see. | 14:26 |
=== psivaa_ is now known as psivaa | ||
sleepee | well, i'm going to restart and see if this works. be right back | 14:27 |
zul | jamespage: i think i have libvirt fixed | 14:34 |
jamespage | zul, what was it? I suspected hardening flags in 12.04 but was not 100% sure | 14:35 |
zul | jamespage: the failing test doesnt like Bsymblic-function | 14:35 |
jamespage | ah | 14:35 |
jamespage | yeah - that's what I though | 14:35 |
sleepee | smb, i guess it didn't work. :( | 14:35 |
zul | jamespage: anyways doing a test build and then ill upload | 14:35 |
sleepee | i'm still running the regular kernel | 14:35 |
jamespage | zul, good-oh | 14:35 |
sleepee | but i'm not sure if it's something i'm doing wrong as far as xen goes. | 14:36 |
smb | sleepee, It would be the same kernel actually but just as a dom0 under the Xen hypervisor. But just to make sure, where did you change the string and did you run update-grub after (if it was in /etc/default/grub)? | 14:37 |
sleepee | i changed GRUB_DEFAULT="Xen hypervisor, version 4.3-amd64" in /etc/default/grub and then sudo update-grub | 14:41 |
sleepee | and then i rebooted. | 14:41 |
sleepee | so there's not supposed to be a different kernel when i run 'uname -r'? | 14:42 |
smb | sleepee, And something like "sudo xen info" still does not work? | 14:42 |
smb | sleepee, No, its the exact same kernel version as without | 14:42 |
sleepee | i get ERROR: Can't find hypervisor information in sysfs! | 14:42 |
sleepee | ahhh.. ok. | 14:42 |
sleepee | but still. the xen utilities don't work so i must be doing something wrong. | 14:42 |
smb | sleepee, probably. maybe you can pastebin your /boot/grub/grub.cfg for me | 14:43 |
sleepee | http://pastebin.com/NCqhtLQX | 14:44 |
=== TREllis_ is now known as TREllis | ||
sleepee | am i supposed to put the string that comes after "submenu" or "menuentry"? | 14:46 |
smb | sleepee, Oh drat, fooled myself... Yeah it should be "Ubuntu GNU/Linux, with Xen hypervisor" from the menuentry | 14:46 |
sleepee | ahh.. ok. so basically, in this case, it should be 'Ubuntu GNU/Linux, with Xen 4.3-amd64 and Linux 3.11.0-18-generic' | 14:47 |
sleepee | right? | 14:47 |
sleepee | ok. so i edited the /etc/default/grub file and ran update-grub. i'll restart again and come back in a minute. | 14:49 |
smb | sleepee, No, I think just the string I wrote. Basically the top level menu of the Xen hypervisor entries | 14:49 |
sleepee | i must not be seeing where that comes from. what line is that from the pastebin? | 14:50 |
smb | sleepee, 220 | 14:50 |
sleepee | ok. i'm going to change right now. | 14:51 |
sleepee | ok. reboot time. i'll let you know if it works. | 14:52 |
smb | ok | 14:52 |
Sentynel | anybody using the ec2 package mirror getting signature errors on precise-updates at the moment? I don't *think* it's at my end (have run apt-get clean, cleared /var/lib/apt/lists, etc, with no changes) | 14:58 |
sleepee | smb, it worked!!! | 14:58 |
smb | cool. And I added a note to the guide (hopefully correct and understandable) | 14:58 |
sleepee | you just edited the xen documentation? | 15:00 |
smb | Well the community doc, yes | 15:00 |
sleepee | ok. i see the change. it makes sense now. thanks for your help smb! | 15:02 |
smb | sleepee, your welcome :) | 15:03 |
sleepee | i've got to go now, but you were awesome! | 15:03 |
coreycb | jamespage, zul: can one of you review this when you have a chance? https://code.launchpad.net/~corey.bryant/ubuntu/trusty/python-neutronclient/1292661/+merge/211333 | 15:04 |
smb | zul, Just to check, you are not uploading any libvirt for Saucy any soon? | 15:05 |
zul | smb: nope | 15:05 |
zul | smb: unless hallyn has something | 15:05 |
smb | zul, Well I got something we waited for the previous upload to go to updates and I just recently modified the proposed fix for that | 15:06 |
coreycb | jamespage, zul: ps: do I need to ping you for reviews or is submitting a merge review enough? | 15:06 |
jamespage | coreycb, done | 15:06 |
jamespage | coreycb, ping is good at this point in cycle | 15:06 |
coreycb | jamespage, thanks! Ok | 15:07 |
jamespage | coreycb, I think zul and I both acked you - merged! | 15:07 |
zul | jamespage: yep | 15:07 |
smb | zul, hallyn kind of has it on his todo. Just wanted to avoid doing too many small uploads if you were about to do one for S, too | 15:08 |
hallyn | smb: zul: nless i have something for what? | 15:08 |
zul | hallyn: libvirt saucy | 15:08 |
hallyn | there's an existing upload, | 15:08 |
smb | hallyn, I just saw zul upload a version for T | 15:08 |
hallyn | other than taht i only had smb's right now | 15:08 |
zul | jamespage: huzzah https://launchpadlibrarian.net/169822752/buildlog_ubuntu-precise-amd64.libvirt_1.2.2-0ubuntu3~cloud0_UPLOADING.txt.gz | 15:09 |
coreycb | jamespage, zul: thanks! you guys are quick. :) | 15:09 |
smb | hallyn, And note that I just updated the fix for S in bug 1248025 | 15:09 |
hallyn | smb: yup, saw that, thanks. when the other fix clears, i'll look at that bug for the latest diff :) | 15:10 |
smb | hallyn, Ok, cool. Yeah, just tried to avoid multiple uploads as the previous upload seems to be in updates right now and zul was doing something for T which may have been something to go into S, too | 15:12 |
zul | smb: its not going into S | 15:12 |
smb | zul, /me is always trying to play safe. :) | 15:13 |
zul | smb: i know :) | 15:14 |
hallyn | zul plays by a more freewheeling set of rules :) | 15:14 |
zul | hallyn: the cloud awaits you :) | 15:14 |
jamespage | zul, what was the fix? | 15:15 |
zul | jamespage: LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS|sed -e 's/-Wl,-Bsymbolic-functions//g') in the debian/rules | 15:15 |
jamespage | zul, smb: is it possible to get whatever fix we need for Xen in the CA into trusty as well? | 15:15 |
zul | jamespage: im working on xen now as well | 15:16 |
smb | jamespage, That is already there | 15:16 |
jamespage | smb, urh - that was for libvirt | 15:16 |
zul | smb: its gone in Xen | 15:16 |
jamespage | smb, zul has other magic for xen | 15:16 |
smb | jamespage, Just minus a little update to avoid an unnecessary error in libvirts log | 15:16 |
smb | zul, The LDFLAGS magic was gone in S (Debian made some fix to which flags are pulled when) | 15:18 |
zul | smb: hmm...ok | 15:18 |
zul | suck | 15:18 |
shellox | id anyone got a copy of The Official Ubuntu Server Book, 3nd Edition, July 2013 | 15:21 |
shellox | bought it a while ago, but I'm travelling now and would like to have a PDF of it | 15:22 |
dylanl | Can someone point me to the maintainer of the precise-updates apt repo that is hosted on Amazon S3? I am getting a signing issue running apt-get update and think there may be an issue with the repository | 15:26 |
sander^work | Why is lynx/curl not working to outside internet when I am logged in with su - username .. but it's working when I use sudo -u username -s | 15:32 |
sander^work | seems it's working when I have proper root enviroment only. | 15:35 |
Sentynel | dylanl: I've been trying to find out too, but no luck yet | 15:37 |
dylanl | Sentynel: thanks. I asked a question on the Ubuntu forums (https://answers.launchpad.net/ubuntu/+question/245627) and AWS forums (https://forums.aws.amazon.com/thread.jspa?threadID=148233&tstart=0). Do you mind commenting so people realize it isn't an isolated issue? | 15:38 |
RoyK | Am I right in guessing that 14.04 will use a strange mix of sysv+upstart+systemd? | 15:39 |
Sentynel | dylanl: commented | 15:40 |
RoyK | http://paste.ubuntu.com/7108777/ <-- "System information disabled due to load higher than 1.0 | 15:40 |
RoyK | but the load is <1 | 15:41 |
dylanl | Sentynel: thanks. I figured an apt repository used by AWS customers would be a carefully watched thing but I guess not... | 15:41 |
=== markthomas_away is now known as markthomas | ||
dylanl | Sentynel: it looks like this might be isolated to us-east-1. If I create a brand new instance in us-west-2 I can run 'sudo apt-get update' successfully. Not sure if that helps you at all | 16:20 |
Sentynel | dylanl: yeah, there's separate mirrors for each ec2 region | 16:20 |
Sentynel | it's not causing me any problems just yet; it's just it's refusing updates on my established ec2 server | 16:21 |
dylanl | Sentynel: Yeah, wasn't sure if this was impacting all mirrors or just us-east-1. We provision a new box each time we deploy so this is blocking us from deploying at the moment. | 16:22 |
rbasak | Sentynel: dylanl: are the other references you found current, or are they historical? | 16:52 |
Sentynel | rbasak: somebody else asked in #ubuntu a couple of hours back | 16:52 |
Sentynel | when I first noticed it | 16:52 |
rbasak | There's a race condition which can get apt stuck into that situation I think (it'll cache the bad or old file). | 16:52 |
rbasak | OTOH, it could be a problem with the mirror. | 16:53 |
rbasak | utlemming: ^^ including backscroll going back ~90 minutes. | 16:53 |
utlemming | rbasak: ugh | 16:54 |
dylanl | rbasak: Pretty sure this is an issue with the us-east-1 repository mirror. us-west-2 works fine. And sudo rm /var/lib/apt/lists/* -vf followed by a sudo apt-get update doesn't fix the issue | 16:57 |
rbasak | dylanl: thank you for the confirmation. I think utlemming is looking into it. | 16:58 |
utlemming | rbasak, dylanl: yes, indeed we are on it :) | 16:59 |
utlemming | rbasak, dylanl: sorry, and thank you for your patience | 16:59 |
dylanl | utlemming: Great, thank you! | 16:59 |
dylanl | Sentynel: fyi - utlemming is looking at this | 17:08 |
Sentynel | dylanl: yup, I saw, thanks | 17:08 |
dylanl | Sentynel: np | 17:09 |
utlemming | dylanl, Sentynel: DNS has been updated. As soon as the DNS cache times out things should start working | 17:09 |
dylanl | utlemming: Fantastic, thanks. Also, for my info, are you with Amazon/AWS or Ubuntu? It would be helpful for me to know where to report issues like this in the future | 17:10 |
utlemming | dylanl: I work for Canonical/Ubuntu. | 17:11 |
dylanl | utlemming: thanks. | 17:11 |
utlemming | dylanl: generally AWS lets us know pretty fast about mirror issues, but in the future #ubuntu-mirrors is a great place. Our IS team watches that IRC sub. | 17:12 |
Sentynel | utlemming: I asked in there | 17:12 |
utlemming | Sentynel: hrm, well normally that works. | 17:13 |
dylanl | #utlemming: got it, thanks. I opened a question on Launchpad as well (https://answers.launchpad.net/ubuntu/+question/245627). I didn't see a way that I could close that. Not sure if you can. | 17:14 |
toyotapie | I added a startup script to /etc/rc2.d It has the executable bit but isn't executed when the server boots. Where can I see a log of why it wasn't executed ? | 17:26 |
toyotapie | ubuntu 12.04 LTS | 17:26 |
sarnold | toyotapie: did you add the corresponding S??name symlinks too? | 17:27 |
toyotapie | yeppers | 17:27 |
toyotapie | S99myscript | 17:27 |
toyotapie | I added the script to /etc/init.d/ and the symlinks in rc2.d | 17:27 |
toyotapie | runlevel says I am in 2 | 17:27 |
toyotapie | if I call it myself, /etc/init.d/myscript start, it stats immediately | 17:28 |
toyotapie | README says I might need the LSB style header | 17:29 |
toyotapie | So the question is where is init logging too ? | 17:34 |
toyotapie | to* | 17:34 |
sarnold | toyotapie: there's a /var/log/boot.log -- I suspect it isn't as useful as you'd like though | 17:36 |
toyotapie | Just my luck, I don't have boot.log | 17:36 |
sarnold | toyotapie: and the 'upstart jobs' are logged din /var/lor/upstart/* -- but that doesn't appear to have the sysv compat jobs | 17:37 |
toyotapie | yea, for some reason my ubuntu 12.04 doesn't seem to have upstart | 17:37 |
toyotapie | I am looking at syslog right now. fingers crossed... | 17:37 |
RoyK | toyotapie: 12.04 uses upstart | 17:38 |
toyotapie | something is horribly wrong with this machine. All my other 12.04 machines have upstart. THis one doesn't... | 17:38 |
toyotapie | lol | 17:38 |
toyotapie | it's not ubuntu | 17:38 |
RoyK | hehehe | 17:39 |
toyotapie | All my servers except 2 run ubuntu | 17:39 |
toyotapie | one runs centos and the other debian | 17:39 |
toyotapie | this one is debian | 17:39 |
toyotapie | I feel like a complete idiot | 17:39 |
toyotapie | sorry to have wasted your time. | 17:39 |
RoyK | debian just uses sysv | 17:39 |
RoyK | so does centos | 17:39 |
toyotapie | I only use centos because of proprietairy software | 17:40 |
toyotapie | and debian for t38modem | 17:40 |
RoyK | oh | 17:40 |
RoyK | t.38 | 17:40 |
sarnold | toyotapie: well now, that just raises new questions :) whyu isn't that machine's sysv-init working? :) | 17:41 |
RoyK | I've had nightmares about that | 17:41 |
toyotapie | sarnold I wish I knew. I am checking now. | 17:41 |
raj__ | when I logged out of a ssh connection on remote server, I got message : Received SIGHUP or SIGTERM, what does this mean ? | 17:45 |
toyotapie | I deleted all the /etc/rc?.d/S99myscript files. I did this instead "update-rc.d t38 start 2 3 4". Now when I reboot, the t38 service starts fine. thanks for your help even though it wasn't debian | 17:47 |
toyotapie | ubuntu* | 17:47 |
toyotapie | I created a new motd script and distributed it to all my servers, now it says which O/S is on the machine when I log in :) | 18:04 |
RoyK | hehe | 18:09 |
sarnold | toyotapie: haha, nice :) | 18:09 |
RoyK | I usually know, or I can run a uname -a or lsb_release -a or something to find out if I'm curious ;) | 18:09 |
toyotapie | In my case, it's easy. It's always Ubuntu unless the ssh takes more than 10 seconds to connect, at which point it's CentOs. | 18:10 |
sarnold | raj__: SIGHUP is sent to processes when their controlling terminal is disconnected -- e.g., closing an ssh connection. you might have had a background task running or suspended or similar. | 18:10 |
toyotapie | I always forget that I have a machine running on debian | 18:10 |
RoyK | toyotapie: if so, it's probably a dns reverse issue, or there's ipv6 in dns and the server isn't configure correctly | 18:11 |
toyotapie | http://pastebin.com/MvfPjEJn | 18:11 |
toyotapie | I know why centos is slow, it activates GSSAPIAuthentication by default. Once I disable it and 'UseDNS no', it's as fast as ubuntu | 18:12 |
raj__ | sarnold: so that should be normal when i exit an ssh conn to remote server .. right ? | 18:12 |
RoyK | toyotapie: then fix your dns | 18:12 |
sarnold | raj__: I wouldn't say 'normal' but 'not unexpected' anyway | 18:13 |
RoyK | toyotapie: I have rather a few rhel/centos machines running at work, and it takes a fraction of a second to login | 18:13 |
raj__ | okay.. | 18:13 |
toyotapie | once GSSAPIAuthentication is off, it takes less than 1 second to login. | 18:13 |
RoyK | toyotapie: never disabled that on any of my machines | 18:14 |
toyotapie | do you have a dns resolver on each machine or do you have one for all of your servers or do you use ISP provided DNS servers ? | 18:14 |
RoyK | we have our own dns servers | 18:15 |
=== _KaszpiR___ is now known as _KaszpiR_ | ||
toyotapie | I am looking for a command that will handle a line of input similar to PHP's preg_match. I want to give a regular expression, and the values that are in brackets are each assigned to a bash variable. | 19:10 |
toyotapie | Is there any command that can do this ? | 19:10 |
toyotapie | I think I may have found my answer | 19:12 |
toyotapie | n/m | 19:14 |
toyotapie | http://stackoverflow.com/questions/2624300/save-part-of-matching-pattern-to-variable | 19:14 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
=== mjohnson15_2 is now known as mjohnson15 | ||
thumper | hallyn: ping | 20:56 |
hallyn | . | 20:56 |
thumper | hallyn: I have an intersting lxc issue | 20:56 |
thumper | I'm following bug 1293549 | 20:56 |
thumper | trying to skip past the unknowns | 20:56 |
thumper | I have an lxc container | 20:57 |
thumper | cloned from a precise ubuntu cloud | 20:57 |
thumper | I have done the following: | 20:57 |
thumper | sudo chown ubuntu:ubuntu /etc/ssl/private | 20:57 |
thumper | $ ll /etc/ssl # output snipped | 20:58 |
thumper | drwx------ 2 ubuntu ubuntu 4096 Jun 4 2013 private/ | 20:58 |
thumper | $ ll /etc/ssl/private | 20:58 |
thumper | ls: cannot open directory /etc/ssl/private: Permission denied | 20:58 |
thumper | any idea why? | 20:58 |
raj__ | for a service although a pid file exists but still on attempt to start service, it fails saying "* could not access pidfile for Cassandra"... checked folder permissions under /var/run(owner: root) , the subfolder cassandra is owned by cassandra user but still serivice cannot access pid file.. & the file exists as well..(as pid is shown in cat)..so why says it can't service access pid file? | 20:58 |
hallyn | if you can put a short set of lxc commands to reproduce it in the bug, that'd be useful | 20:58 |
thumper | logged in as ubuntu user | 20:58 |
raj__ | & running the service as a standalone process just works.. but not using "service <service-name> start"..! | 20:58 |
thumper | hallyn: ok, let me see | 20:58 |
hallyn | thumper: it could be apparmor messing up (has happened before), overlayfs (has happened before esp with apparmor), | 20:59 |
thumper | hallyn: my gut tells me it is aufs | 20:59 |
hallyn | d'oh | 21:00 |
thumper | I just have a call now | 21:00 |
thumper | but will try to get a short list of commands after that | 21:01 |
hallyn | thx | 21:05 |
sander__ | Some how the enviroment variable $http_proxy is set for normal users(not root).. I've checked with bash -lx and figured out bash didnt set it.. How do I figure out where it's set? (I want to remove it). | 21:19 |
qman__ | sander__: grep -R http_proxy /etc | 21:20 |
qman__ | should point you in the right direction | 21:20 |
sander__ | qman__, thanks alot.. It was /etc/environment | 21:21 |
=== Guest25821 is now known as jrgifford | ||
ilhami | Hey | 21:38 |
ilhami | anybody here? | 21:38 |
ilhami | I have a question. We have a school project where we have to setup servers and all that so I thought about using Ubuntu Server. | 21:39 |
ilhami | And I want to use my old laptop or desktop as my server | 21:39 |
ilhami | how fine will that work? | 21:40 |
ilhami | and is it easy to stress test? does Ubuntu Server have those tools? | 21:40 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
sarnold | ilhami: there are many ways to stress a machine; if you run a full compile cycle for something huge, like the linux kernel, you'll have some amount of faith in the hardware, kernel, and toolchain | 21:53 |
sarnold | ilhami: one machine that I thought was rock-solid for a few years showed trouble when I started asking it to run hour-long compile and package tasks (that was qt4-x11) -- after some way into the process, the machine would either log a non-fatal machine check exception or it would instantly reboot, having suffered from a fatal machine check exception | 21:54 |
=== markthomas is now known as markthomas_away | ||
ilhami | dude sarnold: I just have a database and a web service I am going to host | 21:59 |
=== markthomas_away is now known as markthomas | ||
sarnold | ilhami: if you want to stress-test a web service, probably the 'ab' tool can be made to help you out | 22:04 |
ilhami | I think it will be a hard enough to setup the server hehe :D | 22:05 |
RoyK | sarnold: if the server can't handle the load, just use varnish | 22:05 |
mekon | ilhami: its very easy | 22:05 |
ilhami | yeah we will use varnish I think | 22:06 |
sarnold | RoyK: I think he wants to stress test the machine a bit to make sure it's sane before relying on it | 22:06 |
ilhami | we would like it to be able to handle 50 requests per second? Is that fine? | 22:06 |
Sprocks | has anyone here used byobu? | 22:07 |
sarnold | ilhami: depends upon what those requests do... | 22:08 |
ilhami | like buying some products and also entering website | 22:09 |
ilhami | buying products from the website that is | 22:11 |
sarnold | ah, okay, nothing too fancy, it feels like the kind of thing that should work fine | 22:12 |
ilhami | i hope so. | 22:12 |
ilhami | Can I write the ISO to my USB? | 22:13 |
ilhami | .iso file | 22:13 |
ilhami | in FAT format? | 22:13 |
ilhami | and I should go for the LTS version right? | 22:14 |
RoyK | ilhami: 50 requests per second would be easy for most static work. if it's active pages, use caching like varnish | 22:14 |
sarnold | ilhami: depends upon what you're trying to do; if you want the USB stick to install ubuntu, you should use dd to -overwrite- the filesystem on the USB stick with the iso | 22:14 |
ilhami | I am on Windows now sarnold. :) | 22:14 |
sarnold | ilhami: oh.. | 22:15 |
ilhami | I can't use Unetbooting now? | 22:15 |
ilhami | oops I mean for this | 22:15 |
sarnold | ilhami: maybe you can? I've not looked into it. a pal wrote this, it may also be able to help http://sourceforge.net/projects/win32diskimager/ | 22:15 |
ilhami | yeah I have that tool actually :D | 22:16 |
ilhami | We are yet to find the hardware we want the server to be installed | 22:16 |
ilhami | we are thinking about an old laptop or desktop. | 22:16 |
ilhami | is there a huge difference between the LTS and the new 13.04 version? | 22:17 |
bekks | 13.04 isnt new, it is EOL. 14.04 will be released in April. | 22:18 |
sarnold | ilhami: 13.04 has already reached end-of-life; 13.10 release is still supported. The newer release is using apache 2.4 | 22:18 |
ilhami | oh yeah I meant 13.10 sorry | 22:19 |
sarnold | ilhami: sticking with 12.04 LTS would be a fine choice, it'll give you the opportunity to upgrade to 14.04 whenever you'd find it convenient, rather than being forced into upgrading soon | 22:19 |
ilhami | sarnold but I guess I can just update to 2.4 from the LTS version? | 22:19 |
sarnold | ilhami: if you choose to compile your own apache, yes, but that's an annoying hassle :) | 22:20 |
bekks | ilhami: No. There are no version bumps within a release of Ubuntu. | 22:20 |
ilhami | sarnold: when upgrading do I have to do a fresh install or is it now possible to upgrade without breaking packages? | 22:20 |
* hallyn tears out his hear and throw half of it at libdbus and half at pthreads | 22:21 | |
thumper | hallyn: oh? | 22:21 |
* sarnold throws rocks at libdbus | 22:21 | |
* thumper gets popcorn | 22:21 | |
sarnold | ilhami: we expect that you can upgrade from release to release with a minimum of fuss; I understand some apache 2.2 configuration options have changed and are no longer available in apache 2.4; this is of course a possibility with most programs, but in general it works quite well | 22:22 |
sarnold | ilhami: (I've upgraded machines through seven or eight ubuntu releases, and upgraded through a decade of debian releases before switching to ubuntu; the history of safe upgrades is strong :) | 22:23 |
ilhami | sarnold I am really excited about this. :) | 22:24 |
ilhami | if it will work as we expect. | 22:24 |
ilhami | and if we can manage to set it all up | 22:24 |
ilhami | I just chose the LTS version merely because it is supported for much longer | 22:24 |
sarnold | hehe, reminds me of the first linux servers I deployed ages ago, on discarded hardware that was no longer useful for windows.. and got a clever little webserver for free out of dicsarded machine :) | 22:25 |
ilhami | hehe we can just use Xampp for what? | 22:25 |
* hallyn appreciates the backup :) | 22:25 | |
ilhami | that* | 22:25 |
ilhami | sarnold did you use xampp as well? | 22:25 |
sarnold | thumper: I'm not sure popcorn is going to hurt, no matter how hard your throw it.. | 22:26 |
sarnold | ilhami: no, I just installed apache by hand | 22:26 |
hallyn | it might be that stuff that smells bad enough to maek it feel nautious | 22:26 |
ilhami | sarnold hehe yeah that is possible too. | 22:27 |
ilhami | this server world is really new to me. :) | 22:27 |
ilhami | I hope I can come here to ask questions daily. | 22:27 |
sarnold | ilhami: sure can :) we also have a helpful guide that I refer to often: https://help.ubuntu.com/12.04/serverguide/ | 22:28 |
ilhami | bookmarked! | 22:28 |
ilhami | thanks for the answers guys. I will maybe be back tomorrow. Have a good night | 22:29 |
sarnold | have fun ilhami :) | 22:29 |
thumper | hallyn: http://pastebin.ubuntu.com/7110917/ | 22:31 |
thumper | hallyn: want a bug for that? | 22:31 |
hallyn | it's not good when _dbus_cmutex_lock itself can segv | 22:33 |
hallyn | thumper: pls just add that info to th eexisting bug and mark as affecting lxc | 22:34 |
hallyn | after all that's the root cause right? | 22:34 |
thumper | kk | 22:34 |
hallyn | and then i'll mark as affecting the kernel and apw will drop aufs from trusty | 22:34 |
hallyn | (hopefully not :) | 22:34 |
thumper | hallyn: https://bugs.launchpad.net/lxc/+bug/1293549 | 22:35 |
hallyn | thx! | 22:35 |
thumper | np | 22:36 |
=== thumper is now known as thumper-gym | ||
=== Ursinha is now known as Ursinha-afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!