[01:33] <lifeless> smoser: ping
[01:36] <petey> hey how do i change the permissions of a file?
[01:36] <petey> i want to change the ownership from root to peter but i cant quitoe get it
[01:37] <petey> peter ah got it, chown
[04:25] <elithrar> Hi all. Having issues with an EC2 instance + Ubuntu 12.10 + ufw. A `ufw default deny outgoing` breaks aptitude, ping & DNS, despite allowing
[04:25] <elithrar>                    53/80/443 out, and allowing established connections through modifying
[04:25] <elithrar>                    ufw.before.rules
[04:25] <elithrar> (excuse the line breaks!)
[04:27] <sarnold> elithrar: ping uses the icmp protcol; I don't think ufw does anything with icmp. Are you sure you aren't fighting the aws security groups?
[04:35] <elithrar> sarnold: You're right re: ping. Definitely not an AWS sec-group issue, as the problem disappears if I disable ufw/turn off the deny outgoing rule
[04:37] <sarnold> elithrar: aha :) that's a bit conclusive then
[04:38] <elithrar> Extremely similar to this issue: http://serverfault.com/questions/416727/ufw-blocking-apt-and-dns
[04:50] <sarnold> elithrar: ha! my mistake. ufw does do icmp: https://help.ubuntu.com/community/UFW#Allow_Access
[04:52] <sarnold> ... and out of battery, good luck :)
[06:25] <casemanspaceman> Hey y'all! First time ever on IRC... Have a question that is not easily answered by combing FAQ's/archives etc: I've been playing with Ubuntu variants for a couple of years now, and I'm just installing Ubuntu Server for my first time (on a hand-me-down rackmount server: HP/Xeon 2.8 ghz {x2} w 8gb ram, 2 36 gb ultrascsi's). Install was surprisingly easy, but here is my question: how many services/functions is it reasonab
[06:25] <casemanspaceman> le to run on a unit like that: ie; I'm interested in the following uses: hosting my own e-mail (citadel), hosting a wordpress site/blog, deploying an instance of mediagoblin, running mythbuntu and one or two other functions. Should I have a box for each service, or is combining any or all of these going to work? Suggestions?
[06:32] <casemanspaceman> Is it crazy to use an Ubuntu Server box for more than one function?
[06:32] <sw> casemanspaceman There's not a simple answer apart from to test yourself. You could host one blog with a couple of K hits day or a couple of K blogs with a handful of hits per day.
[06:32] <sw> No, not at all, depending on the scenario ...
[06:32] <sw> Or, if you don't have too.
[06:32] <sw> :b
[06:33] <casemanspaceman> I won't have a ton of hits by any means
[06:33] <sw> So you'll be fine.
[06:33] <sw> You could host that on a PC, without issues, probably, lol.
[06:33] <casemanspaceman> just playing around to learn my way around the system and personal use mostly
[06:33] <casemanspaceman> Sweet
[06:33] <sw> So just install them and test.
[06:33] <casemanspaceman> Experimentation it is then.
[06:34] <casemanspaceman> Sounds kile how I like to roll...
[06:34] <casemanspaceman> Thanks Ya'll.
[06:34] <casemanspaceman>  : )
[08:02] <feisar> hi, if my Nagios server is outside my LAN do I need a public IP for each NRPE client I want to monitor?
[08:04] <andol> feisar: Sounds like your LAN is doing that NAT thing? Well, without having any specific experience of NRPE it feels like an individual tcp port ought to do the trick?
[08:14] <feisar> andol: thanks, yeah only a couple of servers are natted to a public IP but I'd like to monitor them all... so your're saying maybe 1 public IP with a different port for each NRPE client?
[08:18] <andol> feisar: Well, that is what my gut is telling me at least.
[08:19] <andol> feisar: Or you could start doing the IPv6 thing, and not have to worry about NAT anymore :)
[08:27] <feisar> andol: yeah i'm planning on setting ipv6 set up later this year but I need it to work sooner... how about a tunnel between the remote server and the LNA?
[08:36] <andol> feisar: Individual tunnels between each clients, or one tunnel giving the Nagios server access to the NAT ip range? The later does actually sound like a potentially good idea.
[08:36] <feisar> andol: 1 tunnel giving the nagios server access to the ip range is what I was thinking
[08:37] <feisar> OpenVPN I guess? (it's not something I have done before)
[08:38] <andol> Would have been my choice.
[08:39] <feisar> andol: thanks
[09:29] <zetheroo1> how do I get something like this to work:
[09:29] <zetheroo1> echo "world" | mail -s "hello" me@email.com
[09:30] <zetheroo1> I am doing this with my email address in the path and it reports no errors but I am not getting any new email in my email account either
[09:30] <zetheroo1> do I need to configure some email SMTP settings on the server?
[10:11] <James_L> Hi I have a Windows 7 machine that I want to change in to a Ubuntu server, so I downloaded the Ubuntu server .iso, burned it to disc and selected boot from disc but then it just goes to Windows a couple of moments after.
[10:11] <James_L> Any help?
[10:16] <ogra_> "selected boot from disc" ... you mean you set your BIOS to boot from CD ?
[10:16] <James_L> Yes
[10:17] <ogra_> and you did a raaw burn of the iso to the CD ? not just drag and drop the iso file into a burning app ?
[10:18] <James_L> Erm, there's an .iso on the disc
[10:18] <James_L> Is that bad?
[10:18] <ogra_> yes
[10:18] <ogra_> thats wrong :)
[10:18] <James_L> Is that what's stopping this?
[10:18] <ogra_> your burning app should have an option to write the iso directly to the CD
[10:19] <ogra_> if you put it in afterwards you should actually see a lot of files and folders
[10:19] <ogra_> so burn it again (i think there are wikipages on the ubuntu wiki about how to burn an iso under windows)
[10:19] <James_L> Windows 7 and 8 just have built-in burning apps now don't they?
[10:19] <James_L> I think, anyway
[10:20] <James_L> I did that one on a Mac, but I'm on Windows now at work
[10:20] <ogra_> try right clicking the iso file, might be there is an option ...
[10:21]  * ogra_ hasnt used any windows since win 98 ... 
[10:21] <ogra_> look at the wiki, i'm sure there are pages describing how to do it right
[10:21] <James_L> Ok, thanks!
[10:21] <James_L> :D
[10:45] <thejoecarroll> can anyone help me more acurately identify an apparently troublesome device on a hosted VPS? some files from /sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:13/physical_node/ tell me the following:
[10:45] <thejoecarroll> vendor = 0x15ad (VMware)
[10:46] <thejoecarroll> device = 0x07a0
[10:46] <thejoecarroll> class = 0x060400
[10:47] <thejoecarroll> unfortunately i couldn't find the device or class information here: http://www.pcidatabase.com/vendor_details.php?id=391
[10:48] <thejoecarroll> path = \_SB_.PCI0.PE51
[11:06] <jotterbot1234> has anyone used carddav-php here? https://github.com/graviox/CardDAV-PHP
[11:06] <jotterbot1234> I would love an example of correct usage
[11:06] <Sander^work> Do anyone have any software to recommend to keep track of virtual and physical servers and they're IP adresses? I'm not sure if a spreadsheet is best to use.
[11:06] <jotterbot1234> I have setup a LAMP server but cannot seem to pass the right command to it?
[11:49] <zetheroo1> how do I get something like this to work:
[11:49] <zetheroo1> echo "world" | mail -s "hello" me@email.com
[11:49] <zetheroo1>  I am doing this with my email address in the path and it reports no errors but I am not getting any new email in my email account either
[11:49] <zetheroo1>  do I need to configure some email SMTP settings on the server?
[11:49] <ogra_> check your logs :)
[11:52] <zetheroo1> all mail logs in /var/log are empty
[11:52] <zetheroo1> and nothing pertinent in syslog
[11:54] <ogra_> well, your mail server daemon should definitely  log something to mail.info ...
[11:54] <zetheroo1> hmm ... mail server  ...
[11:55] <ogra_> is it actually running (whatever you installed for delivery, check its up)
[11:55] <zetheroo1> is there a default mail server package for Ubuntu?
[11:55] <ogra_> i think postfix is the default
[11:56] <zetheroo1> when I try to install postfix I am told that exim4 will be removed
[11:57] <ogra_> oh, so you installed exim4 already ... just configure and start it then
[11:57] <zetheroo1> ok
[12:00] <thejoecarroll> anyone here using the combination of backupninja and duplicity for backups?
[12:49] <BenyG> Some people should not even be allowed near a computer, let alone a server...
[12:53] <zetheroo1> very strange issue here ... I have a samba/cifs share on a server that was working perfectly on Windows and Linux clients (mounting the share with no issue), then I changed the disk that the share was on and now the share is no longer mountable in both Linux and Windows ... the only diff between the two disks was that the one that worked wast 1TB and the other that did not work is 2TB
[12:54] <zetheroo1> also the drive that worked was ext3 and the drive that does not work is ext4
[12:59] <Nico_O> Hi installing Ubuntu server 12.10 via CD-ROM but receive error 'Your installation CD-ROM couldn't be mounted'.
[12:59] <Nico_O> The CD-ROM is ok though, otherwise the installer wouldn't load!
[12:59] <Nico_O> Any suggestions?
[13:11] <Nico_O> Hi installing Ubuntu server 12.10 via CD-ROM but receive error 'Your installation CD-ROM couldn't be mounted'.
[13:26] <Nico_O> Hi installing Ubuntu server 12.10 via CD-ROM but receive error 'Your installation CD-ROM couldn't be mounted'.
[13:32] <a11235> Hi, I'm unable to connect to my webserver. Nginx is listening on port 80 and I have set up ufw to allow any connection to port 80. What can I do to diagnose the problem?
[13:42] <a11235> hem never mind, the problem seems to be my isp..
[14:01] <rigorm0rtis> Hello. I'm having issues with a freshly-upgraded 10.04 -> 12.04 Ubuntu server. I have a RAID1 device that is no longer assembling on boot. However, I can assemble it manually after boot if I stop the incorrect devices that are there and use MDADM to assemble manually. How can I get auto-assembly working again?
[14:01] <xnox> rigorm0rtis: what's the output of "ls /etc/udev/rules.d/65-mdadm.vol_id.rules" ?
[14:02] <xnox> does that file exist?
[14:02] <rigorm0rtis> No
[14:02] <xnox> ok, good.
[14:03] <xnox> rigorm0rtis: and you have all updates applied? there were mdadm updates released.
[14:04] <rigorm0rtis> xnox, aptitude shows no updates
[14:11] <rigorm0rtis> It's really strange. This system is supposed to have a RAID1 device md0 with devices sdb1 and sdc1. When it comes up, it has md0 with sdc1 as spare and md127 with sdb as spare. Neither devices can be activated. In order to get raid going, I have to stop md0 and md127, then use mdadm --assemble /dev/md0 /dev/sdb1 /dev/sdc1 and then everything works.
[14:12] <xnox> rigorm0rtis: so for some reason, it does not identify that raid as matching "homehost" hence it's punting it to md127. *sigh*
[14:13] <soren> hallyn_: I'm having trouble with kvm on Raring. I'm tryig to run the installer (using the quantal mini.iso) and it freezes when it gets to the "detecting hardware" stage. At 0%.
[14:13] <rigorm0rtis> xnox, so, what does that mean?
[14:13] <genii-around> rigorm0rtis: Does: raid1     exist in /etc/initramfs-tools/modules   ?
[14:14] <soren> hallyn_: Does that sounds familiar at all?
[14:14] <rigorm0rtis> genii-around, no, it doesn't
[14:15] <hallyn_> soren: i normally get that when mini.iso is out of date i think
[14:15] <genii-around> rigorm0rtis: I would suggest to add it there with admin priveleges, then sudo update-initramfs -u
[14:15] <hallyn_> (i.e. it downloads some kernel modules which don't match the kernel)  otherwise no.  i can give it a shot right now...
[14:15] <rigorm0rtis> genii-around, I will try that.
[14:17] <soren> hallyn_: Oh, hang on. I may be doig something silly.
[14:18] <hallyn_> soren: yeah i got past the partitioner just now
[14:19] <rigorm0rtis> genii-around, It is still not assembling on boot. Still comes up as md0 and md127.
[14:19] <soren> hallyn_: I just ran "kvm -hda blah -cdrom mini.iso -boot d".
[14:19] <soren> hallyn_: I'm guessing I may simply be out of RAM.
[14:21] <hallyn_> yeah it's too bad we lost that patch setting minimum ram.  I could re-add it, but have to make sure to do it only for x86 target builds.
[14:21] <soren> hallyn_: Yeah, adding a gig of RAM totally solved it.
[14:21] <soren> hallyn_: Sorry about the noise.
[14:21] <hallyn_> np :)
[14:24] <genii-around> rigorm0rtis: Apologies on lag, work is requiring me, plus trying to assist in another channel
[14:25] <rigorm0rtis> genii-around, No problem.
[14:30] <genii-around> rigorm0rtis: Can you pastebin result of sudo mdadm --detail /dev/md0       ?
[14:31] <rigorm0rtis> genii-around, do you want that in the broken (right after boot) state, or in the fixed state (after I stop the bad md devices and assemble manually)?
[14:31] <genii-around> rigorm0rtis: Both would be interesting... but the fixed state is what I would like
[14:32] <genii-around> rigorm0rtis: After you re-assembled it the first time, did you fsck it before mounting?
[14:33] <rigorm0rtis> genii-around, No, I didn't fsck it before mounting.
[14:34] <rigorm0rtis> genii-around, here's md0 in it's working state: http://pastebin.com/d5jFKW5U
[14:34] <rigorm0rtis> its*
[14:35] <genii-around> Meh, boss wants me for 5-10 minutes... url copied will view on return
[14:35] <rigorm0rtis> No problem, I'm gonna reboot and grab the broken state as well.
[14:36] <soren> hallyn_: Did we use to have a higher default RAM allocation on x86?
[14:44] <rigorm0rtis> genii-around, Here's mdadm --detail information in the broken state. I also included some other info. http://pastebin.com/MhEhbJxB
[14:44] <hallyn_> soren: yes, 386 or something - kirkland introduced that a long time ago
[14:44] <kirkland> hallyn_: ?
[14:44] <kirkland> hallyn_: qemu?
[14:46] <kirkland> soren: oh, yeah, once upon a time, I upped the default ram in qemu/kvm to whatever was needed to boot an ubuntu iso
[14:47] <kirkland> hallyn_: did that get dropped?
[14:49] <genii-around> rigorm0rtis: Please pastebin mdadm.conf
[14:50] <hallyn_> kirkland: yeah we kept it around a long time, but we can't just blindly apply it nwo bc the same source pkg builds other targets
[14:50] <hallyn_> kirkland: mjt even tried to push it upstream, but upstream pointedout that some arches have max 256M, and other problems
[14:50] <rigorm0rtis> genii-around: mdadm.conf: http://pastebin.com/VBqNrGQQ
[14:51] <hallyn_> so i do want to re-add it only for x86 target builds, but it's sort of low prio, and i don't wnt to get that wrong :)
[14:51] <kirkland> hallyn_: gotcha
[14:51] <kirkland> hallyn_: okay, thanks
[14:51] <kirkland> soren: if you use testdrive to launch your iso, it'll handle that for you
[14:52] <soren> kirkland: I'll keep that in mind.
[14:52] <mjeanson> Hi, anyone using cinder from the folsom-updates cloud archive with the nexenta driver?
[14:53] <hallyn_> kirkland: to be honest '-m 1024' is so reflexive i never don't type it, so i forget the patch is gone
[14:53] <kirkland> hallyn_: yep
[14:54] <kirkland> hallyn_: frankly, if I'm launching kvm to boot an iso, I use testdrive
[14:54] <kirkland> hallyn_: it handles all of the niceties
[16:04] <LargePrime> does Boot up manager work for Ubuntu server?
[16:04] <LargePrime> all the guides seem to assume a gui
[16:05] <LargePrime> how do you all do boot automation?
[16:09] <Pici> LargePrime: automation?
[16:10] <LargePrime> sutff starting at boot
[16:10] <LargePrime> automagically
[16:10] <LargePrime> Pici:
[16:11] <Pici> LargePrime: drop things in /etc/rc.local or make an upstart job for it.  For non admins, you can define a cronjob
[16:18] <LargePrime> NooB asks what is " upstart job "
[16:19] <LargePrime> Pici:
[16:46] <rigorm0rtis> Okay, so after running  mdadm --examine --verbose --scan, I see that /dev/sdb is being detected as a RAID device, how can I make sdb not be detected as RAID, but continue allowing sdb1 to be detected as raid
[16:47] <xnox> rigorm0rtis: sounds like superblock got messed up or is misread by the new mdadm.
[16:48] <xnox> rigorm0rtis: I'd recommend you to backup superblock and possibly seak linux-raid mailing list on how to "correct" the superblock. Very odd though.
[16:51] <LargePrime> Pici: it seems rc.local happens when you login, not on boot?
[16:53] <LargePrime> bah, that not right
[16:57] <rigorm0rtis> xnox: it looks like the drive has an old superblock on it that the old mdadm elected to ignore. The creation date is older than the correct superblock that is in the partition(s).
[16:59] <xnox> rigorm0rtis: interesting. If you take this dump of superblocks and if possible attach to launchpad bug & then maybe forward it to linux-raid mailing list. It's really a regression if we pick the "wrong" one.
[17:00] <rigorm0rtis> xnox: How should I dump the superblocks?
[17:04] <xnox> rigorm0rtis: do you have anything in /var/backups/ ?
[17:05] <xnox> rigorm0rtis: looks like $ mdadm -Esc path-to-backup.dump but I somehow thought there is more to it that just that.
[17:10] <rigorm0rtis> xnox: that command is just giving me my array list and not saving anything.
[17:18] <rigorm0rtis> xnox: I filed this bug earlier and have since added the bit about the old superblock being detected. https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1164008
[17:19] <rigorm0rtis> I'm thinking that if I zero the superblock on /dev/sdb that would stop the incorrect detection.
[17:25] <xnox> rigorm0rtis: sure, but you will need to recreate a new one.
[17:26] <xnox> rigorm0rtis: see https://raid.wiki.kernel.org/index.php/RAID_Recovery
[17:27] <rigorm0rtis> xnox: but it seems like there are two superblocks on /dev/sdb? One at /dev/sdb and another at /dev/sdb1. Are those not separate superblocks?
[17:36] <xnox> rigorm0rtis: sure. but I don't know what --zero-superblock will do. E.g. wipe all superblocks it can find, or not.
[17:37] <rigorm0rtis> xnox: I took a backup before messing with this, so I think we'll get to find out! :P
[17:39] <xnox> rigorm0rtis: good luck =D
[17:41] <rigorm0rtis> Perfect! I ran mdadm --zero-superblock /dev/sdb and after a reboot everything appears to work as it should.
[17:44] <xnox> rigorm0rtis: \o/
[17:48] <rigorm0rtis> xnox: Thank you for all of your help! genii-around too, but s/he seems to be gone.
[17:56] <genii-around> rigorm0rtis: I had a work emergency earlier :(    . Did you get anywhere yet with your RAID issue?
[17:56] <sarnold> genii-around: < rigorm0rtis> Perfect! I ran mdadm --zero-superblock /dev/sdb and after a reboot everything appears to work as it should.
[17:56] <sarnold> genii-around: < rigorm0rtis> xnox: Thank you for all of your help! genii-around too, but s/he seems to be gone.
[17:57] <genii-around> sarnold: Nice, thanks!
[17:57] <rigorm0rtis> genii-around: Basically there was an old superblock living on /dev/sdb that had to be zeroed. Ubuntu 10.04 mdadm was happy to ignore it, but in 12.04 it did not ignore it.
[19:30] <mjeanson> are there plans to update the folsom openstack packages to further point releases (12.2.x) in the cloud archive?
[19:39] <zul> mjeanson:  yes we are in the process of doing that
[19:39] <zul> mjeanson:  they follow the same SRU process
[19:43] <mjeanson> zul, are bugs related to cloud archive packages tracked in launchpad?
[20:06] <atdprhs> I just installed ubuntu 12.10 and my apache2 settings doesn't seem to enable "test.com/test" instead of "test.com/test.php" (I want to enable multiviews)
[20:07] <atdprhs> when I compare the settings for server 12.10 to a server 12.4, it seems same
[20:07] <atdprhs> but it doesn't work on 12.10
[20:07]  * RoyK has never used that
[20:07]  * RoyK neither uses non-LTS stuff on servers
[20:08] <Pici> atdprhs: Did you enable MultiViews explicitly?
[20:10] <atdprhs> s
[20:10] <atdprhs> yes
[20:10] <atdprhs> they are supposedly enabled
[20:10] <atdprhs> according to what I see
[20:10] <atdprhs> I"m restartin gthe server
[20:11] <atdprhs> You wanna see it?
[20:12] <atdprhs> and apt-get update doesn't work
[20:12] <atdprhs> err http://us.archive.ubuntu.com quantal-update InRelease
[20:13] <RoyK> atdprhs: please pastebin any errors such as from apt-get
[20:13] <RoyK> !pastebin | atdprhs
[20:13] <atdprhs> okayz RoyK, Sorry
[20:14] <RoyK> atdprhs: no problem - pasting a single line isn't an issue ;)
[20:14] <atdprhs> How can I pastebin from the server direct, because the server doesn't have gui
[20:14] <Pici> you could use pastebinit
[20:14] <RoyK> !pastebinit
[20:16] <atdprhs> it seems apt-get not working :S
[20:16] <atdprhs> failed to fetch
[20:16] <atdprhs> I tried to ping www.googe.com and it says unknown host
[20:16] <RoyK> dns issues?
[20:17] <atdprhs> let me check
[20:17] <RoyK> try "host google.com"
[20:19] <GrueMaster> Anyone here that can help woth oem-config on 12.04 server?  It seems to crash on me when I try to reinitialize it on a running system.  My steps are "apt-get install oem-config;oem-config-prepare" and reboot.
[20:19] <atdprhs> timout
[20:20] <atdprhs> where is the nameserver configurations?
[20:21] <RoyK> atdprhs: /etc/resolv.conf
[20:22] <atdprhs> OK, it says donot edit this file by hand -- your changes will be overwritten, I remember when I installed that server today, it wasn't like that
[20:22] <atdprhs> do I reinstall the server?
[20:22] <RoyK> then configure /etc/network/interfaces and add to your iface section "dns-nameservers x.x.x.x"
[20:23] <RoyK> atdprhs: no need for a reinstall ;)
[20:23] <atdprhs> iface is configured properly
[20:24] <RoyK> with dns-nameservers (ip.to.working.dns-server)?
[20:24] <atdprhs> Yes
[20:24] <atdprhs> I'm thinking about actually remove 12.10 and install 12.04
[20:24] <atdprhs> it seems less problems
[20:25] <RoyK> can you do a "host google.com ip.to.dns.server"?
[20:25] <atdprhs> Becaues I've been using google for 5 hours to fix the multiviews and it seems stupid
[20:25] <RoyK> atdprhs: networking works on my quantal machines
[20:25] <atdprhs> let me check
[20:25] <RoyK> atdprhs: first of all, check if /etc/resolv.conf contains the right values. if not, it won't work regardless of what /etc/network/interfaces has
[20:26] <RoyK> the values in /etc/network/interfaces are used during bootup to write /etc/resolv.conf
[20:26] <atdprhs> no values in resolv.conf, it says that I shouldn't edit it by hand because it will be overwritten
[20:26] <RoyK> reboot, then, and it should be written correctly
[20:26] <RoyK> or
[20:26] <RoyK> wait
[20:27] <atdprhs> I rebooted already 3 times
[20:27] <atdprhs> ok
[20:27] <RoyK> edit it manually - just add "nameserver x.x.x.x"
[20:27] <RoyK> to that file
[20:28] <RoyK> then you should be able to update and use pastebin, and perhaps we can find the real problem
[20:28] <atdprhs> that's completely work
[20:28] <atdprhs> what possibly edited that?
[20:29] <RoyK> nothing should have edited that
[20:29] <RoyK> pastebin /etc/network/interfaces
[20:29] <hallyn_> stgraber: on some of the arm platforms you're on, is 12k on the stack for pathnames and temp copy buffers too much to demand?
[20:31] <atdprhs> I installed pastebinit, and typed "pastebin /etc/network/interfaces" and it says pastebin not found
[20:31] <RoyK> pastebinit, not pastebin
[20:31] <atdprhs> 5674699
[20:32] <RoyK> no dns settings there
[20:32] <atdprhs> yes because the default gateway handles the dns
[20:32] <RoyK> you still need to tell linux which dns server to use :p
[20:33] <RoyK> you don't have smart anycasts on ipv4, you know
[20:33] <atdprhs> alright
[20:33] <atdprhs> dns x.x.x.x,x.x.x.x Right?
[20:34] <GrueMaster> Is there a different channel I should be asking in regarding oem-config and ubuntu 12.04 server?
[20:34] <RoyK> no, see above
[20:34] <RoyK> 22:22 < RoyK> then configure /etc/network/interfaces and add to your iface section "dns-nameservers x.x.x.x"
[20:34] <atdprhs> nameserver x.x.x.x then new live nameserver x.x.x.x ?
[20:35] <atdprhs> line*
[20:35] <RoyK> if you read what I type, this may take a wee bit shorter time...
[20:35] <atdprhs> okayz
[20:35] <atdprhs> done
[20:35] <RoyK> perhaps add dns-search mydomain.tld to that
[20:35] <atdprhs> 5674707
[20:36] <RoyK> please post full URLs
[20:36] <atdprhs> http://paste.ubuntu.com/5674707
[20:37] <RoyK> dns-nameservers - in plural - followed by the name servers available, separated by spaces
[20:37] <RoyK> 22:34 < RoyK> 22:22 < RoyK> then configure /etc/network/interfaces and add to your iface section "dns-nameservers x.x.x.x"
[20:38] <atdprhs> done
[20:39] <atdprhs> do you know how multiviews can be enabled in 12.10?
[20:40] <RoyK> 22:07  * RoyK has never used that
[20:40] <RoyK> !patience | atdprhs
[20:42] <atdprhs> Thank you Royk!
[21:07] <pythonirc101> Seagate Constellation ES.3 2 TB  vs Western Digital Caviar Black 2 TB  -- anyone with any experience here running them? I need to buy some and hence I ask. Planning to run ubuntu software raid.
[21:09] <sarnold> pythonirc101: storagereview.com (used to be?) the place to get drive reviews..
[21:10] <pythonirc101> sarnold: thanks. I've not gone to that site in ages.
[21:11] <sarnold> pythonirc101: the downside is that for every manufacturer, you can find someone whose opinion you respect who will never buy another one of their drives again, ever. heh.
[21:18] <RoyK> pythonirc101: most drives work. is it a 512 or 512e or 4096 sector sizedisk?
[21:18] <sarnold> "512e"?
[21:20] <keithzg> Hmm, I've been trying to upgrade an old VM running 10.04, but it's failing on "Failed to fetch ....groff-base_1.21-7_i386.deb Hash Sum mismatch".
[21:24] <yousaf> Hi all
[21:24] <yousaf> dmesg shows several [    0.000000] *BAD*gran_size: 256K 	chunk_size: 2G 	num_reg: 8  	lose cover RAM: -1G
[21:24] <yousaf> i am a complete beginner and I don't know what that means
[21:24] <yousaf> Google searches aren't returning helpful results either
[21:26]  * keithzg tried a third time and now there's no hash sum mismatch on the package, weird
[21:27] <yousaf> Anyone?
[21:28] <sarnold> yousaf: smells a bit like bad memory
[21:28] <yousaf> as in physical ram, right?
[21:29] <sarnold> yousaf: yeah
[21:29] <yousaf> phew
[21:29] <yousaf> thank you
[21:29] <sarnold> yousaf: .. or something broken in the memory controller or something related
[21:29] <yousaf> again, physical?
[21:29] <sarnold> yousaf: the linux kernel has the ability to ignore bad memory, if you want to go to that effort
[21:29] <sarnold> yousaf: yeah
[21:30] <yousaf> Can't believe that my host was refusing to even look at the physical stuff
[21:30] <yousaf> and was telling me it is software related
[21:30] <sarnold> yousaf: you could run memtest86+ from the 12.04 disc (not the 12.10 disc, that one is apparently broken) and keep note of the reported bad addresses, and then you can give a range of addresses at the kernel command line for it to avoid
[21:30] <yousaf> sarnold... tonight I learned what "dmesg" does
[21:31] <yousaf> I think what you are asking is a tiny bit beyond me :D

[21:31] <sarnold> yousaf: heheh
[21:31] <yousaf> Thank you though
[21:31] <yousaf> Helpful to know that my host should deal with it
[21:33] <sarnold> yousaf: here's a nice little guide.. "option 3" describes it: http://gquigs.blogspot.com/2009/01/bad-memory-howto.html
[21:34] <RoyK> pythonirc101: the Black disk has crippled firmware with scterc disabled, so it's not very good for raid
[21:35] <RoyK> sarnold: 512e is 512b emulation, it reports 512b sectors using 4k sectors under the hood
[21:36] <yousaf> sarnold that brings me to an interesting question
[21:36] <yousaf> how do I know that my host isn't cutting corners i.e. doing option 2 and option 3?
[21:37] <yousaf> they are running mem/cpu tests as we "speak"
[21:37] <sarnold> yousaf: nothing wrong with knocking out a few broken megabytes here or there...
[21:37] <yousaf> But shouldn't they use a new ram?
[21:37] <sarnold> yousaf: though it does mean you've to make sure that host's command line _always_ has those memmap= commands...
[21:37] <yousaf> given that i am paying for a dedicated server
[21:38] <yousaf> with 16GB ram?
[21:39] <sarnold> yousaf: well, that -is- different. I wouldn't notice one megabyte or two here or there, but it -is- a maintainence burden for you for as long as you have that machine. it might be better for them to rededicate the machine to VM use for someone else...
[21:39] <yousaf> actually, 24GB RAM
[21:40] <sarnold> on the other hand, 24 gigs RAM ought to be something like $100, right? :)
[21:40] <yousaf> so you are saying that I should ideally get a different server?
[21:40] <yousaf> roughly $200 a month
[21:42] <yousaf> I am trying to find some info your comment "make sure that host's command line _always_ has those memmap= commands..."
[21:43] <sarnold> yousaf: dunno if it is an option or not, but here's a 32 gb system that's 59EUR/mo: http://www.hetzner.de/hosting/produkte_rootserver/ex4s
[21:43] <yousaf> sarnold I started off with hetzner
[21:43] <sarnold> cripes I oughta get one. that's crazy.
[21:43] <sarnold> yousaf: oh? what'd you think?
[21:43] <yousaf> probably the worst experience ever
[21:44] <yousaf> infact it was that very server
[21:45] <yousaf> Support is obviously non-existent but so is their portal
[21:45] <yousaf> couldn't log into my portal for two days straight after I signed up
[21:45] <halvors> Anyone knows how to use the check_ifoperstatus command?
[21:46] <sarnold> yousaf: damn :/ thanks for the heads up :/
[21:47] <yousaf> Current server is with Incero
[21:47] <yousaf> And I might get this for another app https://www.datashack.net/cart/?id=191
[21:47] <sarnold> yousaf: anyway, the command line -- you'd need to have something in your grub configuration to ensure that memmap=.... is passed to the linux kernel at boot. you'd probably want to even write a little script to check /proc/cmdline to make sure it is there for every boot.
[21:48] <sarnold> that's a lot of IPs. wow.
[21:55] <Dovid> hi all. i am working on a project for a client. should i go with the latest and greatest (12.10) or stick with 12.04.2?
[21:56] <sarnold> Dovid: probably 12.04.2 -- it'll have longer support and give you more time before you have to do anything with it again.
[21:57] <Dovid> ok. but 12.10 will have latest drivers i assume? client orig. wanted 11.10. i have lots of issues that i think are driver related.....
[21:57] <sarnold> Dovid: 12.04.2 has a "hardware enablement" stack of kernel, xorg, and maybe a handful of other 12.10 things backported
[21:58] <sarnold> Dovid: those specific things (e.g., kernel) will end support when 12.10 ends support, iirc, so they'll need updating to whatever HWE stack replaces it, in about 13 months, but it'll probably be less drastic than everything new
[21:58] <pinPoint> GrueMaster:
[21:58] <pinPoint> oops
[21:59] <pinPoint> I need some advice
[21:59] <GrueMaster> heh, ok.
[22:01] <pinPoint> I have a system that has 6GB ram but it is running ubuntu 10.04.4 lts. Originally it had 2GB but I merged two computers into one. So now the assembled machine has 6GB, 2 HDDs(one ubuntu, one win server 2012), I don't need the windows drive's content anymore. Is there a way for me to upgrade to a 64bit Ubuntu 12.xx possibly and move my apache/mysql/php/etc to the new updated system?
[22:01] <pinPoint> and all of my /home too
[22:02] <pinPoint> main drive with ubuntu is 500gb, secondary drive is 640GB(it can be wiped).
[22:02] <pinPoint> my old system was a core2duo 1.8, now the new sys is core2quad, 6gb.
[22:03] <pinPoint> also 2gb on the old sys, now 6GB available
[22:03] <yousaf> Thanks for your help sarnold. need to get some sleep
[22:03] <yousaf> G'night
[22:03] <GrueMaster> pinPoint: I'd recommend installing 12.04 to the 640G then rebooting and migrating that way.
[22:03] <sarnold> g'night yousaf :)
[22:03] <GrueMaster> It's kind of what I plan on doing for my system (although I will need a spare 1T drive).
[22:04] <pinPoint> GrueMaster: is there a way for me to migrate all my server stuff without a lot of hacking/tweaking?
[22:04] <pinPoint> and all the stuff in /etc/init.d/*
[22:04] <pinPoint> sorta clueless about it all but I know I have messed around with stuff there before
[22:05] <GrueMaster> You shouldn't need to change the init.d stuff.  The configs for other things in /etc can be migrated/merged.
[22:06] <GrueMaster> One possible solution would be to clone the 500 to the 640, upgrade the 500 to 12.04 32bit, then go from there.
[22:06] <GrueMaster> Any way you look at it, plan on a few hours to go from 32bit to 64bit.
[22:07] <pinPoint> but if I upgrade the 500GB to 32bit, I still need to do some sort of move to 64bit
[22:07] <pinPoint> 12lts^
[22:07] <pinPoint> gawd, I should have seen this crap coming but this was almost 4years ago
[22:08] <GrueMaster> Right, but if you upgrade first, then do a fresh install on the other drive, you can migrate the configs over easily, as the upgrade will do most of the config migration to the later versions.
[22:09] <GrueMaster> What all are you running app wise that will need migrating?  Apache and what else?
[22:11] <turkey2013> TURK
[22:11] <turkey2013> varmý
[22:11] <turkey2013> onemli
[22:11] <pinPoint> GrueMaster: apache,mysql,php, wordpress, phpmyadmin
[22:12] <pinPoint> plus I play videos on this thing sometimes
[22:12] <GrueMaster> Apache and mysql should be fairly easy.  The rest are mainly web apps stored in your /var/www directory.
[22:13] <pinPoint> the apache is hacked up with dynamic hacks in /etc and a timer somewhere I setup from an online readup yrs ago
[22:13] <GrueMaster> Mysql stores it's data in /var/mysql iirc.
[22:13] <pinPoint> so clone 500->640GB, then move 500GB to precise, then?
[22:14] <GrueMaster> after cloning, upgrade one or the other.  Test it thoroughly.
[22:14] <GrueMaster> If it works fine, you can wipe the other with 12.04 64bit then migrate configs & data.
[22:17] <pinPoint> GrueMaster: someone recommended I move to server, would you agree?
[22:18] <GrueMaster> Only if you are running this as a dedicated server.  No reason it can't do both.
[22:18] <pinPoint> 64bit is the crucial one really
[22:18] <pinPoint> it is a private dedicated for me
[22:19] <GrueMaster> It all depends on usage model.
[22:19] <pinPoint> but I don't need it to be a server though
[22:19] <donvito2> i put this line on rc.local /var/etc/CCcam2.x86 -C /var/etc/CCcam2.cfg &
[22:19] <GrueMaster> Then there is no reason to move it to server only.
[22:19] <donvito2> but it reads only /var/etc/CCcam2.x86 -C /var/etc/CCcam2.cfg &
[22:19] <donvito2> not the line after -C
[22:20] <GrueMaster> My home desktop is a Qore2Quad with 8G.  Currently running 12.04 32bit with PAE (so I can at least use the memory).  It runs KDE (Kubuntu), but also has apache, mysql, postgresql, and many VMs.
[22:23] <pinPoint> PAE does what exactly GrueMaster ?
[22:24] <sarnold> allows 32 bit x86 to access up to 64 gigabytes of memory, though in practice anything beyond 16gigabytes might be "difficult" on 32bit...
[22:26] <GrueMaster> Exactly.  It works by setting up page tables for each 4G region.  It will not allow the system to address more than 4G at a time per app, but it does allow the kernel to move apps into larger memory spaces.
[22:32] <pinPoint> essentially it would utilize all of 6GB then?
[22:32] <pinPoint> why is there no possible way to upgrade in ubuntu or linux in general?
[22:34] <sarnold> converting from 32 to 64 bits is an odd one. I've had debian machines that I'd upgraded for seven or eight years from release to release without hassle. I've upgraded ubuntu machines for years without trouble, though probably only three or four years worth..
[22:36] <pinPoint> what is the limiting factor though? In different OSes it can be done.
[22:43] <GrueMaster> Different OS's???  I don't know of any that have a 32->64 bit migration path.
[22:51] <pinPoint> GrueMaster: you cannot install/upgrade a win machine from 32->64bt by just planting the install disk during bootup?
[22:52] <GrueMaster> Windows is a very different beast.  Until recently (Vista), a lot of the code was still 16 bit.
[22:52] <GrueMaster> Plus they have a huge amount of backwards compatibility layers built in.
[23:13] <pinPoint> ok
[23:18] <halvors> May anyone please help me out with the nagios-snmp-plugins package? :)