/srv/irclogs.ubuntu.com/2013/11/08/#ubuntu-server.txt

=== thumper-gym is now known as thumper-hacking
sondhowdy all - i have one of these: Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-52-virtual x86_64) that appears to have its /boot partition %100 full due to automatic security updates ... do i just delete the earlier ones and edit the grub ? or whats the "best" way to sort this ?01:44
sarnoldsond: best is to delete a kernel or two by hand, then use dpkg --purge to remove the corresponding packages for the kernels you've removed once dpkg will function again.01:45
sarnoldsond: best of course is to keep at least two kernels around -- whatever you're currently running, and maybe the newest kernel or the next newest kernel.01:45
sondsarnold: thanks.. its an interesting situation which i can foresee reoccurring on other VMs - there's approx 18 of them in there..  the /boot partition was automatically assigned 200mb during the install which is now of course full.. been trying to figure out why things wernt working01:52
sondapprox 18 kernels *01:52
sarnoldsond: it's frustrating, I know I've cleaned this up at least once or twice, but most of the time apt seems to prune /boot on its own without any manual intervention.01:53
sondsarnold: in my /boot should i delete all of these : abi-3.2.0-XX-virtual,  config-3.2.0-XX-virtual,   initrd.img-3.2.0-XX-virtual,  System.map-3.2.0-XX-virtual,  vmlinuz-3.2.0-XX-virtual ? for each unwanted kernel ?02:00
sarnoldsond: I only delete the 'big' things and let dpkg --purge clean up the mess02:01
sondsarnold: cool i was kinda hoping you would say that02:01
sarnold:)02:01
sondsarnold: i'll report back in a bit..02:02
sondsarnold: dpkg: error: --purge needs at least one package name argument ........ what do i give it ?02:07
sarnoldsond: it'll be linux-image-... ... check dpkg -l | grep "^ii  linux"  for a quick list of choices...02:08
BeatstreetI have a HDD giving me problems. sdd1 and sdd2 are both part of different RAIDs. the RAID with sdd2 is running strong but sdd1 keeps getting kicked out as failed device. How can I format just that partiton?02:10
sondsarnold: thanks..02:10
sarnoldsond: is dpkg happy again?02:10
sondbrb..02:11
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
sondsarnold: dpkg not happy yet .. having probs with the syntax .. want to do a dpkg -P --force --nodepends02:29
sarnoldsond: hrm :( what kinds of packages depend upon your linux packages?02:29
sondsarnold: ok.. i did this dpkg --purge linux-headers-3.2.0-45 and it didnt like it02:30
sondsarnold: possibly because i manually removed the ramdisk and vmlinz02:31
sond*corresponding02:31
sarnoldsond: I don't think that'd be it; I just did dpkg --no-act --purge ... on some of my linux-headers- packages -- linux-headers-version-generic required the linux-headers-version package02:33
sarnoldsond: in the end, also deleting linux-headers-generic and linux-generic did the job02:34
sarnoldsond: you can put linux-headers-generic and linux-generic back..02:34
sondsarnold: weird.. its working now02:36
sondi think.. brb02:36
sondsarnold: yep , its seems to be behaving now..  i appreciate your assistance : )02:38
sondsarnold: it would appear that i had to remove the linux-headers-3.2.0-XX-virtual   before  the linux-headers-3.2.0-XX02:41
sarnoldsond: aha! :) thanks02:42
sarnoldthere has been plenty of churn in the kernel packaging over the years, I forget some of the details :/02:42
sondsarnold: you mentioned earlier that you thought that apt may have / should have sorted out bloated /boot partition..02:43
sarnoldsond: yeah02:43
sondsarnold: coz if it doesn't this could be a major if you dealing with lots of VMs02:44
sarnoldsond: yeah :)02:44
sondBeatstreet: is it real raid or fake raid (mdadm) ?02:45
Beatstreetmdadm02:45
=== rockets is now known as zastern
=== thumper-hacking is now known as thumper
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
leif_greetings06:14
leif_greetings06:35
leif_:)06:56
leif_patdk-lap, by any chance danish07:08
LeMikehelloo. i got a server, that crashes every morning during backups and sometimes even turn off. the system.log has no hint what went wrong. any other things I can lookup?07:14
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
rbasakhallyn_: did you have any other fixes to SRU along with bug 1248394? I've prepared a debdiff for that one and attached to the bug. libvirt isn't in the precise server packageset so I can't upload it without poking Colin.09:52
rbasakhallyn_: looks like the previous SRU is still in flight?09:53
=== chmac is now known as chmac7
=== chmac7 is now known as chmac
xnoxAre there cloud images for trusty yet? https://cloud-images.ubuntu.com/query/trusty/server/released-dl.current.txt ?11:39
rbasakxnox: not released. Daily: https://cloud-images.ubuntu.com/query/trusty/server/daily-dl.current.txt11:45
rbasakxnox: the first "release" will be alpha-1 I think. Not sure.11:45
xnoxrbasak: but we have daily trusty images ? Ah, i guess i need to change to daily channel instead of using released on.11:47
xnoxyeap, daily stream works.11:49
=== andreas__ is now known as ahasenack
martinramehi, I need to create a new partition after /dev/sda5. My layout is this: http://pastebin.com/fGU2BA9u, can anyone help me?12:27
martinramemy problem is that if I create a new primary partition, it only has 1Gb, and I need to get at least 100Gb.12:28
martinramesorry it only creates 1Mb.12:28
gesermartinrame: your extended partition (sda2) isn't large enough to create a larger partition12:37
martinramegeser: what can I do, then?12:40
geseryou would need to resize sda2 first and make a backup first in case something goes wrong12:43
=== zz_Gurkenmaster is now known as Gurkenmaster
=== Gurkenmaster is now known as zz_Gurkenmaster
=== zz_Gurkenmaster is now known as Gurkenmaster
=== gary_poster|away is now known as gary_poster
hallyn_rbasak: i was going to sru 1245322 next week.  fix isn't yet upstream14:34
zetherooI would like to setup a secondary DNS server at the workplace using Ubuntu  -- is this simple to do?14:37
rbasakhallyn_: that's not for precise though, right?14:56
leif_grettings14:56
hallyn_rbasak: oh, no. saucy.  forgot you were doing precise14:59
=== mjohnson15 is now known as MalcontentMatt
leif_any one wana chat casual on severs / network stuufff15:15
leif_:)15:27
leif_hmmm'15:42
leif_damm this place is dead15:53
leif_gret16:01
leif_greetings16:01
hallyn_rbasak: so if you get a chance to verify bug 1190387 that'll speed along the precise libvirt sru i guess16:05
hallyn_(i can next week, but not this week)16:06
leif_evning hallyn_16:06
hallyn_leif_: hi - about to change locales, will be afk for a bit16:10
leif_ok16:10
leif_just borred16:10
hallyn_leif_: play around with juju+lxc :)16:11
rbasakhallyn_: np. AIUI, it's not quite that urgent. At least nobody has been chasing me about it. I think we'll care more by the next juju upstream release.16:11
leif_:)16:12
leif_still to new to launch juju16:12
leif_is still trying to learn apache and lamp16:14
leif_looking for a newbie friendly moneterig tool16:38
hallyn_leif_: monitoring?16:50
hallyn_if so, what do you want to monitor?16:50
leif_well is a newb but is rearly diiging the sever / nework stuff16:50
leif_so just a basic thing16:50
hallyn_rsyslog for local activity, and i guess nagios is the cool kids' tool16:52
leif_ok thanks16:52
leif_is that open source or16:52
hallyn_tail -f /var/log/syslog | ccze -A is my old standby :)16:52
hallyn_yes16:53
hallyn_SpamapS_ used to be a big nagios proponent iirc16:53
leif_thanks mate16:55
leif_hmmm maybe i should start whit firing up a game sever17:00
=== smb` is now known as smb
HiddenDjinnhow much room do i need in a vps for family mail, some personal cloud storage, and a couple of low traffic vhosted domains?17:39
patdk-wkHiddenDjinn, 20tb17:44
HiddenDjinnpatdk-wk, i doubt that17:44
patdk-wkwhy?17:44
patdk-wkthat is how much I'm using for the same stuff17:44
patdk-wkand since I am not you, I can't know how much YOU need, only how much I need17:45
HiddenDjinni'm basically pulling a "take back my data" moment, and i'm doing all but the mail and cloud storage with a 20Gig/512MB ram vps fine17:45
HiddenDjinni'm just wondering how much or if i need to upgrade17:45
patdk-wknot going be running spamass or clamd in there then17:46
patdk-wknot enough ram17:46
HiddenDjinnpatdk-wk, oh, upgrading is definitely an option atm17:47
HiddenDjinnpatdk-wk, how much ram do i need to run spamassassin and clamd?17:49
patdk-wkdepends17:49
patdk-wkI normally end up with 150megs for clamv or other virus program, and 200megs for spamass17:49
* hallyn_ is confused by thsi conversation (but that's ok)17:54
* patdk-wk is confused too17:54
hallyn_I occasinoally have my web and mail server on an efika mx, which has 8G disk and 512m ram17:54
hallyn_patdk-wk: just the switch from 20tb disk to ram requirements :)17:54
patdk-wkguess since he figured there was no way we could guess diskspace, ram is easier17:55
patdk-wkyou could get away with 512m ram, but you have to be careful17:55
HiddenDjinnpatdk-wk, so a gig would keep everything probably performing the same as it has been?17:55
hallyn_patdk-wk: yeah it's tight and sometimes slow.17:56
hallyn_but at 5W i can live with ti :)17:56
patdk-wka gig will give you enough room with alittle slack, sure17:56
hallyn_(right now it's in a container on a 2T/16G system)17:56
HiddenDjinnwell, i have 20 gig of disk, and that's more than enough17:56
HiddenDjinnhallyn_, even17:56
HiddenDjinnpatdk-wk, thanks17:57
HiddenDjinnand i'm guessing at that low level of ram, running a 64 bit os doesn't make any sense18:00
bekksHiddenDjinn: Having 64bit hardware and not running 64 bit OS is just a waste of resources with no savings at the power level, etc.18:01
HiddenDjinnbekks, well, the hardware is virtual18:01
bekksHiddenDjinn: The said still applies.18:01
HiddenDjinnbekks, if there's no real advantage in memory management or the like, i see no reason to do so18:01
bekksYou see no reason for not wasting resouces? Odd.18:02
HiddenDjinnbekks, i don't see it as a waste of resources unless there is a performance advantage18:02
HiddenDjinnbekks, and, iirc, the performance differences were minor below 4g18:02
bekksUsing only half if the registers of the CPU without any savings - is wastingvresources.18:03
HiddenDjinnor was that below 2 gig? i forget18:03
bekksHiddenDjinn: http://developer.amd.com/community/blog/2008/03/06/myths-and-facts-about-64-bit-linux/ :)18:04
hallyn_as i recall it was on powerpc that you really saw performance benefits to 32-bit18:05
sarnoldheh, I thought x86 32 bit was so register-starved that we couldn't have nice things18:10
=== mibofra- is now known as mibofra
=== peter is now known as Guest6391
CAPTAIN_CAPSLOCKtest20:01
MrSmithGerhi20:08
xibalbahow do i disable ipv6?20:10
bekks!ipv620:12
ubottuFor an introduction to IPv6 and information on tunneling IPv6 through IPv4 connections, see https://wiki.ubuntu.com/IPv6 | To disable IPv6 see https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv420:12
MrSmithGeri am wondering, why do kernel updates always get released on fridays?20:12
bekksMrSmithGer: Maintainers got some time to do so at friday night ;)20:14
MrSmithGerAnd leave the boxes unattended over the weekend?20:14
bekksMrSmithGer: Huh?20:16
=== wylde_ is now known as wylde
MrSmithGerbekks: i don't work at the weekend. Upgrading kernels and leaving for two days...20:17
MrSmithGernot a good idea.20:17
toabctlhow does canonical create the uec images for ubuntu? is there some documentation for that?20:19
bekksMrSmithGer: No one forces you to actually update your kernels over a weekend.20:20
MrSmithGerbekks: I know. But i hate leaving unfinished business :-)20:21
bekksMrSmithGer: I dont see unfinished business at that point at all. Updates have to be tested, planned, executed, controlled, rolled back if necessary, etc. - thats not done at a friday afternoon.20:22
MrSmithGerbekks: exactly. That is why i don't do that on fridays. Why not bundle updates up and release them on monday or tuesday?20:23
MrSmithGerbeeks: The last kernel update was in QA for over two weeks. A few more days won't hurt.20:24
bekksMrSmithGer: Why not releasing updates over the weekend and let people download it instead? Planning phase can begin at Monday then.20:24
bekksMrSmithGer: You should do your own QA, since you are administering your servers. Canonical/Ubuntu is not responsible for your non-testing ;)20:25
MrSmithGerbekks: Or that. The thing is, getting in important updates on fridays and then leaving for the weekend just feels bad.20:25
bekksI dont feelbad about that at all. It will take weeks to apply those updates even if they would have been released on a Monday.20:26
MrSmithGerDepends on the kind of updates20:26
MrSmithGerWouldn't you speed up the process for remote execution fixes?20:27
bekksNo. I would speed up ITIL processes controlling the application of fixes.20:27
jrwrenamd64 over i686 every time, because 4 times the register file  :)20:27
MrSmithGergranted.20:28
MrSmithGerI hope someone is going develop something similar to splice so that we can apply kernel updates without rebooting.20:30
MrSmithGerbekks: What is your ITIL process for applyinf fixes?20:31
bekksMrSmithGer: Get notified about fixes, setup a test environment, test the fixes, test dependencies to other required and optional applications, approve the fix, communicate a planned downtime, apply teh fix in the downtime, test it briefly, start up applications again, communicate the end of the downtime.20:33
AleksEstwhat is the difference between debian7 server and ubuntu server? I just don`t get it20:33
bekksMrSmithGer: You see, applying a fix is not a job for a friday afternoon, and it basically doesnt matter if it is released on a friday :)20:35
MrSmithGerbekks: hmm i disagree. We have a similar process for fixes. And if you spent all week getting system up to date it really pisses me off when i know that monday begins with the same stuff.20:36
MrSmithGerit's a psychological thing.20:36
MrSmithGertakes away the feeling of having accomplished anything.20:38
bekksMrSmithGer: ITIL doesnt care about psychologics ;) And since we have to plan downtimes, etc., we cant just spend a week for updating every bit and byte, since we are a bit... conservative, regarding updates.20:38
MrSmithGerbekks: Being conservative and careful is ok. But you how this works with the brass. Say you receive an update notification on friday, fix the test env and the leave for the weekend and someone hacks into your live boxes on sunday the suits will blame who? the admin of course who didn't fix live.20:41
MrSmithGerbekks: ITIL processes or not.20:41
bekksMrSmithGer: We run several hundred database servers, a lot of them mainatained and monitored 24/7.20:42
bekksMrSmithGer: And noone is directly reachable :)20:42
MrSmithGerbekks: my operation is bit smaller.20:42
MrSmithGerbekks: If noone in their right mind applies fixes on friday, why release them then? Why not wait one or two days?20:46
byprdcthow can I find out if the server is serving files via gzip?20:49
byprdctis there a web service I can use or an ubuntu command?20:49
byprdctterminal command20:49
bekksMrSmithGer: Why waiting when the fixes are ready, and why no allowing people to download fixed already? :)20:50
bekksMrSmithGer: Thats what weekends are for - unattended, not-monitor-worthy, large-data transfers.20:50
MrSmithGerbekks: simple. less liability for admins.20:51
bekksMrSmithGer: Yu still have to pay the admin to apply the monday-afternoon-released fix on monday night.20:52
bekksDoesnt matter for the business, actually.20:52
MrSmithGerbekks: Actually with proper load balancing, replication and such you can do that tuesday morning20:53
bekksAnd your admin still gets liable when someone hacks your server at monday night. Same game, different day.20:53
MrSmithGeryou're right.20:53
MrSmithGerbut it's only one night. less exposure :-P20:54
bekksIf you are afraid of that, hire some nerday students to watch out for updates and apply them hourly :P20:55
MrSmithGerLOL20:55
MrSmithGerwell. i'll be leaving.21:01
ph8ubuntu images in Microsoft Azure somehow manage to mount /dev/sdb1 to /mnt (an annoying mount indeed!). Now it's not in /etc/fstab and i've grepped /etc/init.d for it (trying to remove the auto mount) - do you have any idea where else i might look?21:18
ph8ah found it21:24
ph8there's a super secret mount config21:24
=== melter_ is now known as melter
=== Gurkenmaster is now known as zz_Gurkenmaster
=== HiddenDjinn is now known as Guest76993
=== freeflying_away is now known as freeflying
=== Guest76993 is now known as HiddenDjinn
=== freeflying is now known as freeflying_away
=== HiddenDjinn is now known as Guest95813
=== Guest95813 is now known as HiddenDjinn

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