[01:11] <flaccid> to enable root on 12.04 AMIs, is this the right practice? sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/
[01:39] <erichammond> flaccid: Yes, as long as you ignore that allowing ssh as root is not a recommended practice on Ubuntu.  That's the command I list in http://alestic.com/2009/04/ubuntu-ec2-sudo-ssh-rsync
[01:39] <erichammond> That article also lists a number of ways to do things without root ssh that you might normally think require ssh to root.
[01:40] <flaccid> erichammond: thanks, i just wanted to make sure the implementation had not changed i.e. we direct this http://support.rightscale.com/12-Guides/RightLink/04-Creating_RightScale-enabled_Images_with_RightLink/RightLink_Installer_for_Ubuntu#SSH_into_the_instance
[01:52] <flaccid> i think rs is working on non root support. there is limited support in some non ec2 clouds but it probably needs to be implemented via a tag on the MCIs
[02:00] <flaccid> erichammond: let me put a link to your page on this
[02:03] <flaccid> ok i linked it twice, thanks
[02:36] <JonEdney> Hey, anyone around by chance?
[02:36] <JonEdney> I just loaded Windows XP on an old PC, and I'm running VirtualBox, and I'm trying to install 12.04 LTS and I get this error:
[02:37] <JonEdney> Thsis kernel requires the following features not present on the CPU: pae - Unable to boot - please use a kernel appropriate for your CPU.
[02:38] <JonEdney> Answered my own question.
[02:38] <JonEdney> Sorry - long day :|
[02:39] <flaccid> this is ubuntu-server chan
[02:40] <JonEdney> I know, it is server 12.04 I'm installing.
[02:41] <Psi-Jack> Hmm
[02:42] <Psi-Jack> Anyone know anything about krb5-users, and why it doesn't like default_tgs_enctypes = des-cbc-md5, giving No supported encryption types?
[05:34] <_John-Doe_> hello everyone!
[05:35] <_John-Doe_> anyone know how to troubleshoot PTR records in BIND9?
[05:36] <_John-Doe_> need help with /etc/bind/db.xx records!!!!
[05:37] <_John-Doe_> plz help!!!!
[05:37] <cedr> !!!!!!!!!
[05:38] <_John-Doe_> hey cedr, help a buddy out!
[05:38] <cedr> i'm not sure with bind, but if you have patience someone might help you out
[05:40] <_John-Doe_> OK  thanks,   i'll wait
[05:45] <_John-Doe_> need help setting up reverse PTR records in bind9
[05:50] <flaccid> zomgz!
[05:50] <flaccid> rtfm
[05:52] <flaccid> _John-Doe_: sorry couldn't find an issue in your ramblings
[05:52] <flaccid> #bind also exists
[05:53]  * cedr stimulates flaccid 
[05:53] <cedr> (sorry that was horrible)
[05:53] <flaccid> unpossible :)
[05:54] <_John-Doe_> Im receiving an error on my "/etc/bind/db.127"  PTR zone file when i use named-checkconf.
[05:54] <_John-Doe_> it tells me i have a sintax error, and im really not sure what the correct syntax is
[05:55] <cedr> what's on line 127 for starters
[05:56] <_John-Doe_> its gonna take a while for me to get it, im running on a VM.  please hold. lol
[05:58] <flaccid> #bind
[05:58] <flaccid> or preferably the docs
[06:00] <cedr> oh, it's not line 127
[06:01] <cedr> what was i using that uses file.linenumber
[06:01] <flaccid> huh
[06:01] <_John-Doe_> /etc/bind/db.127
[06:01] <_John-Doe_> ;
[06:01] <_John-Doe_> ; BIND reverse data file for domain.local
[06:01] <_John-Doe_> ;
[06:01] <_John-Doe_> $TTl 604800
[06:01] <_John-Doe_> @	IN	SOA	localhost.	root.localhost.	(
[06:01] <_John-Doe_> 	2012050100	;Serial
[06:01] <_John-Doe_> 	604800		;Refresh
[06:01] <_John-Doe_> 	86400		;Retry
[06:01] <cedr> i thought "/etc/bind/db.127" was refering to /etc/bind/db line 127
[06:01] <_John-Doe_> 	2419200		;Expire
[06:01] <_John-Doe_> 	604800	)	;Negative Cach TTL
[06:01] <_John-Doe_> ;
[06:01] <_John-Doe_> @	IN	PTR	localhost.
[06:01] <_John-Doe_> 1.0.0	IN	PTR	localhost.
[06:02] <flaccid> no
[06:02] <greppy> _John-Doe_: pastebin would have been a better solution.
[06:02] <cedr> yeah that's my bad
[06:02] <cedr> some software i was using did it that way, can't remember which though
[06:02] <flaccid> fail x 2
[06:02] <cedr> anyways, i'm off to bed - night all
[06:03] <_John-Doe_> l8r cedr
[06:04] <_John-Doe_> sorry greppy, still getting the hang of this comand line only environment
[06:06] <flaccid> welcome to 'server'
[06:08] <greppy> _John-Doe_: can you pastebin the exact error that you are getting from named-checkconf?  or does it literally give you just "syntax error"?
[06:08] <_John-Doe_> yeah just looked it up thanks
[06:10] <flaccid> URI, _John-Doe_ ?
[06:11] <_John-Doe_> http://pastebin.com/UztZXEzv
[06:11] <flaccid> hooray
[06:11] <flaccid> _John-Doe_: fix your syntax error, done.
[06:11] <flaccid> its on line 10
[06:11] <greppy> _John-Doe_: looks like it is db.10 with the error and the error is likely on line 1
[06:11] <greppy> can you pastebin your db.10?
[06:12] <_John-Doe_> wow great answer!  thanks.
[06:12] <flaccid> sorry yes, line 1
[06:12] <flaccid> sweet, good luck with your DNS servings.
[06:12] <_John-Doe_> ok gimme a sec
[06:13] <flaccid> an error is sometimes hard to get. what is even harder to get is teh source. welcome to the life of a support engineer.
[06:14] <_John-Doe_> http://pastebin.com/pc1KfDBT
[06:14] <flaccid> Network 10.0.24.0/24
[06:14] <flaccid> whats this crap?
[06:14] <flaccid> did you not read the error?
[06:15] <flaccid> don't know how to do comments?
[06:15] <_John-Doe_> sorry no it start at the first ;
[06:15] <flaccid> or read documents
[06:16] <_John-Doe_> thats some extra stuff to help the process
[06:16] <flaccid> doesn't help us
[06:16] <yaboo> no matter what I do create passwordless ssh logins it always ask me for a password
[06:16] <_John-Doe_> so flaccid , what would you have done differently?
[06:16] <greppy> yaboo: are you using encrypted home directory?
[06:17] <yaboo> tried dsa and rsa to no avail
[06:17] <yaboo> greppy no
[06:17] <flaccid> yaboo: priv key could be wrong. either way run sshd in debug so you can get the log output
[06:17] <greppy> yaboo: did you put the contents of the .pub into ~/.ssh/authorized_keys ?
[06:17] <flaccid> _John-Doe_: configured a real forward zone with bind correctly that is not on domain.local which is a foobar zone.
[06:17] <yaboo> flaccid, done that and can see nothing wrong
[06:17] <greppy> yaboo: ssh -v -v $hostname may give you more info.
[06:18] <yaboo> grippy tried ssh -vvv hostname -p 2202 and same issue
[06:18] <flaccid> yaboo: you would see at least a permission denied which is wrong in my boooks.
[06:18] <yaboo> tried 12.04 and 10.04 had the gas issue, fixed that
[06:18] <twb> The SSH server *will not tell* the ssh client why access was refused.  This is for security.
[06:18] <twb> If your access is rejected, you must look at the sshd logs on the sshd server
[06:18] <yaboo> so same on both servers
[06:19] <flaccid> exactly, but the user claimes debug here heh
[06:20] <yaboo> debug2: we did not send a packet, disable method
[06:20] <twb> yaboo: on both hosts, pastebin the output of "find ~/.ssh -ls".  On the server, pastebin the output of "cat ~/.ssh/authorized_keys".
[06:20] <yaboo> only thing I can see from debug is this
[06:20] <_John-Doe_> any one know where to find a correct syntax format for a reverse PTR
[06:20] <flaccid> _John-Doe_: besides what i already said in addition there is no A record
[06:21] <flaccid> _John-Doe_: its in teh bind manual
[06:21] <_John-Doe_> nevermind
[06:21] <flaccid> _John-Doe_: don't think you did it right though
[06:21] <flaccid> i'll always mind, coz you wasted my time
[06:22] <twb> dig axfr 155.7.203.in-addr.arpa will show the correct syntax
[06:22] <yaboo> twb the local is ubuntu, the remote is cents 6.2
[06:23] <yaboo> http://pastebin.com/2N9Vy9ar twb
[06:23] <flaccid> it looks ok but has no bearing if the authoritive on the reverse is not applicable, e.g. db.127:1.0.    IN    PTR    localhost.
[06:24] <flaccid> oh no joh doe
[06:24] <twb> flaccid: huh?
[06:24] <flaccid> sorry that dude fucked off ages ago
[06:24] <flaccid> wasting my time here
[06:24] <twb> Sure, sorry to confuse you
[06:25] <twb> Really "/home/nagios"?
[06:25] <flaccid> now that  #ubuntu-cloud redirects to here, i don't think there is much point being here
[06:25] <twb> system accounts should live in /var/lib or something
[06:25] <flaccid> the question are just normal ubuntu stuff not related to cloud
[06:25] <twb> flaccid: I wish the cloud would FOAD
[06:25] <flaccid> i'm of no use and got out of helping normal ubuntu users years ago
[06:25] <twb> I am sick of hearing cloud/maas/saas/cobbler bollocks
[06:25] <flaccid> FOAD?
[06:26] <twb> flaccid: fuck off and die
[06:26] <flaccid> right
[06:26] <flaccid> not sure why
[06:26] <flaccid> thats what i do for a living
[06:26] <flaccid> and this chan got redirected from #ubuntu-cloud and is just full of non cloud crap
[06:26] <twb> Because it's boring buzzword gibberish and most people only want it because a trade mag told them they should
[06:26] <greppy> yaboo: grep nagios /etc/passwd, let's make sure /home/nagios is actually the home directory.
[06:26] <flaccid> to which i have no interest in
[06:27] <flaccid> sure thats the masses
[06:27] <twb> Right I don't care if you specialists want to keep doing it
[06:27] <flaccid> different story for the real users
[06:27] <flaccid> doing what?
[06:27] <twb> cloudy stuff
[06:27] <yaboo> greppy yes it is
[06:27] <flaccid> but this channel now looks after cloud
[06:27] <twb> IOW you and I both want the same thing -- for -server and -cloud chans to split up again so we can each get only one :-)
[06:27] <flaccid> so how twb will you support it?
[06:28] <twb> I'm not a canoical employee, I don't have to support anything
[06:28] <flaccid> do you know aws/ec2,openstack.eucalyptus,openstack,cloudstack,opennebula etc. etc. ?
[06:28] <twb> I'm here out of the goodness of my blackened and calcified heart
[06:28] <flaccid> then your support is limited twb
[06:30] <greppy> yaboo: pastebin: ssh -v -i ~/.ssh/id_dsa $remote_host
[06:31] <erichammond1> !language |  flaccid, twb
[06:32] <flaccid> erichammond1: sorry which word was not "family-friendly" ??
[06:32] <greppy> flaccid: f... for one.
[06:32] <flaccid> greppy: my text search couldn't find that
[06:33] <flaccid> i found this though, twb: flaccid: fuck off and die
[06:33] <twb> erichammond1: sorry about that
[06:33] <flaccid> none of which of you have pulled twb up on
[06:33] <greppy> flaccid: erichammond1 tagged both of you with it, not just you.
[06:33] <flaccid> still waiting to find out what language i used which was not acceptable
[06:33] <flaccid> i found no curse words in my scrollback
[06:33] <flaccid> erichammond1 is wrong until he quotes.
[06:34] <twb> yaboo: what is in the centos sshd logs re. nagios login attempts?
[06:35] <greppy> flaccid: this is a support channel, if you don't want to support, leave or keep quiet, opining about how you hate that another channel redirects here and being confrontational with people asking for help doesn't help.
[06:35] <erichammond1> flaccid: Not looking to get into an argument.  Just trying to remind you that the #ubuntu channels have guidelines that are not the same as the ##aws type channels.  fwiw, grep for "sorry that dude..."
[06:36] <yaboo> twb restarted ssh on cents for some reason and it works
[06:36] <twb> erichammond1: oh, this is getting hit on the head lessons
[06:36] <yaboo> twb wtf how can it just do that, no changes have been made
[06:37] <twb> yaboo: I do not know, but I suggest you run away before C falls over again ;-)
[06:37] <flaccid> greppy: o
[06:37] <flaccid> ve
[06:37] <flaccid> greppy: i've been helping all day, you probably havnt observed that
[06:38] <flaccid> erichammond1: i didn't breach any guidelines man, what are you talking about???????
[06:38] <bazhang> flaccid, lets move on
[06:38] <flaccid> no lets realize the facts.
[06:38] <greppy> flaccid: correct, I just joined the channel again a little while ago, and all I saw was you giving someone a hard time about dns setup.
[06:39] <flaccid> greppy: it wasn't a hard time. it was support.
[06:39] <twb> Guys, just drop it and get on with life.
[06:39] <bazhang> !ot | flaccid
[06:39] <flaccid> guidelines are not off topic
[06:39] <bazhang> well -server as well
[06:39] <bazhang> flaccid, #ubuntu-ops to discuss not here
[06:40] <flaccid> bazhang: i was an ubuntu op, sorry
[06:40] <flaccid> now that #ubuntu-cloud has been consolidated into this chan i really have no use here
[06:41] <flaccid> erichammond is your best man
[06:42] <erichammond1> flaccid: You have a lot to contribute.  I think everyone would welcome your patient and considerate help on this channel.
[06:42] <flaccid> not worth my time, thanks anyway Eric
[06:44] <footvilla> hey guys having a bit of a problem
[06:45] <greppy> footvilla: so ask your question, don't keep us in suspense.d
[06:45] <footvilla> i think im having a harddrive issue
[06:46] <footvilla> after about 10 min
[06:46] <footvilla> my ubuntu goes into read only
[06:46] <footvilla> and wont open anything
[06:46] <footvilla> is there any logs that i could look into this?
[06:47] <greppy> dmesg might show something.
[06:47] <greppy> footvilla: /var/log/syslog may show you something as well.
[06:47] <greppy> what kind of hdd is it and how old is it?
[06:49] <footvilla> http://paste.ubuntu.com/961807/
[06:49] <footvilla> two 128 SSD using softraid
[06:50] <twb> init: failsafe main process (812) killed by TERM signal -- what is that?
[06:50] <twb> An init job called "failsafe" ?
[06:50] <twb> And why is GDM killed off ten seconds after boot?
[06:51] <twb> footvilla: "softraid" as in mdadm, or as in fakeraid?
[06:51] <footvilla> fakeraid
[06:51] <twb> You would do better to use mdadm, although that's probably not your current issue
[06:52] <footvilla> i know today it made me to a check /fix disk
[06:52] <footvilla> when i rebooted
[06:57] <footvilla> would any other logs help me find the issue
[06:58] <twb> footvilla: is it wedged now?
[06:58] <footvilla> what do u mean by wedged
[06:58] <twb> footvilla: wait until it wedges, then examine /proc/mounts, dmesg, /var/log/syslog, /var/log/auth.log, &c -- before rebooting
[06:59] <twb> wedged as in broken, hung, not responding -- whatever
[06:59] <footvilla> gotcha
[06:59] <footvilla> should wedge --whatever in around 5 min
[06:59] <twb> rebooting will clear /proc/mounts and dmesg so you won't see what went wrong
[06:59] <twb> You might find it in /var/log/kern.log, but only if it could write to that file after the problem occurred
[07:00] <footvilla> i think when it wedges nothing is writable
[07:01] <twb> Exactly
[07:01] <twb> The most likely problem is filesystem corruption on the root filesystem, which causes the fs driver to lock it until the next reboot.  if that's the case, dmesg will show it
[07:06] <footvilla> what commands would i run
[07:06] <footvilla> when it wedges?
[07:06] <twb> dmesg and cat /proc/mounts
[07:07] <twb> And maybe other stuff after that -- depends what is wrong
[07:11] <footvilla> hmm its not wedging
[07:11] <footvilla> sigh
[07:11] <flaccid> flaccid: flaccid: beside the fact that they are ONLY guidelines, what did I breach, specifically??? https://wiki.ubuntu.com/IRC/Guidelines?action=show&redirect=IrcGuidelines
[07:11] <flaccid> [5:10pm] flaccid: i have done exactly that, so did you lie to me?
[07:11] <flaccid> [5:10pm] flaccid: or what is the go sir?
[07:11] <flaccid> [5:10pm] bazhang: I'm a bit busy at the moment, if it takes time between replies that is the reason
[07:12] <flaccid> trying to find out what guidelines i specifically breached
[07:12] <flaccid> bazhang is too busy atm, anyone sle?
[07:12] <flaccid> *else
[07:12] <bazhang> flaccid, this is not the place.  #ubuntu-ops please
[07:12] <flaccid> nah, i take it up here
[07:12] <flaccid> where it happened
[07:13] <flaccid> that is not against the guidelines
[07:13] <greppy> flaccid: please, take it to #ubuntu-ops, this is not the place.
[07:13] <flaccid> no
[07:17] <flaccid> twb: did you get lectured as well?
[07:17] <footvilla> i gatta get to bed its very late here seems like its not wedging crossing my fingers that it will be fine
[07:17] <bazhang> flaccid, lets move on, this is not the place, as you have been asked several times now
[07:18] <flaccid> bazhang: no lets not move on. how about you process the issue?
[07:18] <bazhang> flaccid, then join the appropriate channel to discuss, where we can gladly do so
[07:18] <bazhang> flaccid, which is #ubuntu-ops not here
[07:18] <flaccid> i already answered your question in PM
[07:19] <flaccid> there is no obligation for me to join another channel
[07:19] <footvilla> twb thanks for the help
[08:05] <DoomGuy> hello all
[08:05] <DoomGuy> I have some customized fonts installed in my web directory
[08:06] <DoomGuy>  ./var/www/project/web/fonts
[08:06] <DoomGuy> that fonts are not supported and wont work
[08:06] <DoomGuy> how can I fix that please
[08:11] <twb> DoomGuy: define "supported" and "won't work"
[08:12] <DoomGuy> twb ok when I access the website from my browser that fonts are not applied to the website's text
[08:12] <DoomGuy> but it work just fine in my local machine
[08:15] <twb> AFAIK if your website says something like "use font Arial for <P> blocks", unless Arial is already installed on the desktop, where the browser can see it, you won't get arial.
[08:16] <flaccid> font families
[08:16] <flaccid> bye bye sh1tbuntu
[08:16] <DoomGuy> twb I have no such errors
[08:16] <DoomGuy> just the font is not showed correclty
[08:16] <twb> DoomGuy: the browser won't give an error, it'll just fall back to the nearest font it can find
[08:17] <DoomGuy> twb ok, now how can I check that error and fix it ?
[08:19] <twb> I don't know
[08:19] <twb> You probably want a web dev channel
[08:19] <DoomGuy> ok thanks anyway
[08:28] <lynxman> morning o/
[09:38] <Talibu> hello - i nearly failed a dist-upgrade (10.04>12.04) because of 'fontconfig-config' can i consult other logs beside the /var/log/dist-upgrade stuff?
[12:09] <hughessd> hello
[12:10] <hughessd> if anyone can help, i would be very grateful
[12:10] <hughessd> i tried to upgrade from 10.04 to 12.04 but now my / isn't being recognized on boot
[12:17] <wonderman> its not recommended to upgrade distro right?
[12:17] <wonderman> New release '12.04 LTS' available.
[12:17] <wonderman> Run 'do-release-upgrade' to upgrade to it.
[12:17] <hughessd> yes, i did that
[12:18] <hughessd> but things didn't go as smoothly as i thought.
[12:22] <hallyn> hm, it's supposed to not recommend until 12.04.1
[12:22] <hallyn> hughessd: i don't know that i can help, but what was your root fs on?  was it raid+lvm?
[12:24] <hughessd> def on RAID 0
[12:24] <hughessd> but don't know about lvm
[12:24] <hughessd> i have it booting int a liveUSB now
[12:24] <hughessd> Dell PowerEdge 1950 Server
[12:26] <hallyn> cool, ifyou're booted of usb that should help to file a bug with good details
[12:33] <wonderman> well
[12:33] <wonderman> im not risking anything
[12:34] <wonderman> i dont agree with the notice though, if its only just been released
[12:34] <hughessd> from what I read, it's still possible to safely upgrade to 12.04
[12:34] <hughessd> you just have to make sure the dependancies are met
[12:34] <hughessd> however, i must have done something wrong
[12:35] <hughessd> bc my setup is busted as hell right now
[12:35] <hughessd> i have fscked al lthe disks, but everything is clear,
[12:35] <hughessd> they just won't mount when I boot
[12:36] <qman__> it's supposed to work, but bugs happen
[12:36] <hughessd> yeah
[12:36] <qman__> based on the number of people I've seen complain, this has actually been pretty smooth
[12:36] <hughessd> im just trying to get my set up back to normal
[12:37] <hughessd> does anyone have any suggestions for me?
[12:38] <qman__> well, without a more specific error message there's not a lot I can offer
[12:38] <hughessd> please
[12:38] <qman__> first make sure it mounts live, and that your grub is configured sanely
[12:38] <hughessd> tell me what information i can give you
[12:38] <qman__> and that your uuids match up
[12:39] <wonderman> qman__: is a release upgrade straight forward with fully encrypted install?
[12:39] <qman__> wonderman, far as I know
[12:39] <hughessd> ok, well, I boot and everything posts fine. the ubuntu sequence starts with the splash screen, but then after a sec it says "The disc drive for / is not member:ready yet or not present""
[12:39] <qman__> but I personally would not upgrade until at least a month after release, preferrably after .1
[12:40] <wonderman> ok
[12:40] <hughessd> it gives me the option of S (skip) or M (fix the error)
[12:40] <hughessd> so if choose S
[12:40] <hughessd> it skips /
[12:40] <hughessd> then /tmp
[12:40] <hughessd> then the swap partition and then hangs
[12:40] <hughessd> if i choose M
[12:41] <hughessd> i get dropped to a root shell, but i have to put in the password
[12:41] <qman__> ok
[12:41] <hughessd> then i can get around like (almost normal)
[12:41] <qman__> from that root shell, is your / mounted?
[12:41] <qman__> or is it a generic shell
[12:41] <hughessd> it is mounted, that's what's weird
[12:41] <hughessd> and it its mounted RO
[12:41] <hughessd> so there must have been an error (or it thinks so)
[12:41] <hughessd> and remounted it like that
[12:42] <qman__> ok
[12:42] <qman__> first, cat /proc/mdstat to make sure it's ok
[12:42] <qman__> then try to remount rw, `mount -o remount,rw /`
[12:42] <qman__> then exit the shell and see if it boots
[12:42] <qman__> it may just be a race condition
[12:43] <hughessd> ok, hang on while i try that
[12:43] <hughessd> im in a liveUSB right now
[12:43] <hughessd> fscking the discs
[12:43] <qman__> ok
[12:44] <xnox> any reason why python-software-properties is not part of default -server install? (it is part of cloud-image)
[12:45] <xnox> i was surprised to *not* have `add-apt-repository' on a server install =(
[12:47] <hughessd> cat /proc/mdstat
[12:47] <hughessd> Personalities:
[12:48] <hughessd> unused devices: <none>
[12:48] <qman__> so your raid isn't showing up at all
[12:48] <qman__> are you using software raid 0?
[12:49] <hughessd> hm
[12:49] <hughessd> yes i believe so
[12:49] <qman__> because hardware raid and fakeraid are different
[12:49] <hughessd> is there a way to check?
[12:49] <qman__> how did you set it up?
[12:49] <hughessd> i inherited the setup from the previous tech guy
[12:49] <qman__> ok
[12:49] <zul> good morning
[12:49] <hughessd> it says 1 VD found on host adapter
[12:49] <qman__> well, you can see if a fakeraid is running with `ls /dev/mapper/`
[12:49] <hughessd> 1 VD handled by BIOS
[12:50] <qman__> or you can fdisk -l to see what you've got
[12:50] <hughessd> ls /dev/mapper/
[12:50] <hughessd> "control"
[12:51] <qman__> no fakeraid then
[12:51] <qman__> fakeraids are assigned names in there, they look like random strings
[12:51] <hughessd> ok
[12:51] <hughessd> fdisk -l spit out a lot
[12:51] <qman__> if you fdisk -l, it'll show you what your server sees
[12:52] <qman__> you should see each hard disk, and then for the raid you should see an additional device
[12:52] <hughessd> /dev/sda1 sda2 sda5
[12:52] <qman__> or, if it's software raid, the disks will have partitions of type fd, linux raid autodetect
[12:52] <hughessd> its hardware im pretty sure. there is no type fd
[12:52] <qman__> ok, so it only shows one hard disk
[12:53] <hughessd> sda1 is linux, sda2 is extended, and sda5 is swap
[12:53] <qman__> but no sdb, sdc, or any other named things
[12:53] <hughessd> but sda2 has a + after the blocksize
[12:54] <hughessd> nope, the command 'fdisk -l' only outputs one chunk of data, and 3 lines of mounted devices
[12:54] <qman__> ok, looks like it's a real hardware raid presenting as one disk, with a guided partitioning setup
[12:54] <qman__> really simple
[12:54] <qman__> go ahead and try remounting rw
[12:56] <hughessd> ok
[12:56] <footvilla> hey guys, having a serious issue with my ubuntu server
[12:56] <hughessd> i did 'mount -o remount, rw'
[12:57] <qman__> no space after the comma
[12:57] <qman__> mount -o remount,rw /
[12:57] <hughessd> ok
[12:57] <hughessd> done
[12:57] <qman__> verify with 'mount', it'll be near the bottom
[12:57] <qman__> then see if you can touch a file, like /root/test
[12:57] <hughessd> hm
[12:57] <qman__> like /dev/sda1 mounted on / (rw)
[12:58] <hughessd> this is odd
[12:58] <hughessd> i can touch a file
[12:58] <hughessd> and it sticks
[12:58] <hughessd> touch /root/test
[12:58] <hughessd> ls -l /root/test
[12:58] <qman__> ok, looks like it's working then
[12:58] <hughessd> shows my file
[12:58] <hughessd> BUT
[12:58] <qman__> if you exit the shell it will attempt to continue to boot
[12:58] <hughessd> mount
[12:59] <hughessd> has sda1 still as RO
[12:59] <qman__> alright, try to edit the fstab
[12:59] <qman__> just open it with your favorite editor, then save and exit
[13:00] <footvilla> heres a recap of my issue http://paste.ubuntu.com/962314/
[13:01] <hughessd> should i just comment the line out and give it defaults? or are there special commands for RAID
[13:01] <hughessd> setups?
[13:01] <qman__> nothing special, you shouldn't have to make any changes unless it looks wrong
[13:01] <qman__> should have a UUID with a comment saying sda1
[13:02] <qman__> I just want to see if the file is writable
[13:03] <hughessd> there is a commented out line saying sda1
[13:03] <hughessd> but it says #commented out by dropbox
[13:03] <hughessd> file can be written
[13:03] <hughessd> just wrote it
[13:03] <hughessd> hm
[13:03] <hughessd> strange
[13:03] <qman__> yeah, I'd try exiting the shell and see what happens
[13:03] <hughessd> if i exit it will reboot,
[13:04] <qman__> no, it will resume boot
[13:04] <hughessd> but dollars to donuts it reverts
[13:04] <qman__> rebooting will probably not work
[13:04] <qman__> but exiting the shell doesn't reboot, it just continues where it left off
[13:04] <qman__> with your filesystem mounted rw
[13:04] <hughessd> i just typed exit, and it rebooted
[13:04] <hughessd> is it not supposed to do that?
[13:04] <qman__> no
[13:04] <hughessd> shit
[13:05] <hughessd> doesnt that point towards anything?
[13:05] <qman__> unless something changed with the new version, it's not
[13:05] <hughessd> ok, so it rebooted back to the same point
[13:06] <qman__> ok, drop to shell, remount rw, then exit
[13:06] <qman__> see if it does it again
[13:07] <qman__> actually, the last time I was working in a rescue shell, I tried to reboot and it intercepted it and continued booting
[13:07] <hughessd> it got back to the splash screen, and not finding /.
[13:07] <hughessd> asks for S or M
[13:07] <hughessd> i choose M
[13:07] <hughessd> get a shell
[13:07] <hughessd> cat /etc/mtab show sda1 mounted RO
[13:08] <hughessd> mount -o remount,rw /
[13:08] <hughessd> exit
[13:08] <hughessd> flashed a message about how ureadahead is busy
[13:08] <hughessd> but couldn't catch it all....
[13:08] <qman__> may not mean anything
[13:09] <qman__> did it get anywhere?
[13:09] <hughessd> grrr
[13:09] <hughessd> nope
[13:09] <hughessd> back to the same spash screen
[13:10] <qman__> ok, I'd check dmesg for anything that looks bad, like hardware errors
[13:10] <qman__> but that's probably not it
[13:11] <qman__> also, I'd try to manualy boot rescue mode from grub, hold shift while booting and it'll give you the menu
[13:12] <qman__> this really sounds like a race condition to me, like it's not waiting long enough for / to be ready, even though there's nothing wrong with it
[13:12] <hughessd> that's what i was thinking (but didn't know the right words for...)
[13:13] <qman__> when it reboots, does the raid re-initialize (full reboot)?
[13:13] <qman__> if so, next thing to try would be holding shift to get a grub menu, waiting about 30 seconds, then booting the normal kernel
[13:13] <hughessd> hang on, still checking dmesg
[13:13] <qman__> just to give it more time to be ready
[13:14] <hughessd> i see a spot where it mounts sda5, then 'EXT3 on sda1, internal journal'
[13:15] <qman__> and if that works, you can reconfigure grub to, instead of booting instantly, wait X seconds and show the menu, then autoboot
[13:16] <hughessd> hm, something else weird in dmesg.
[13:17] <hughessd> after it finds the hdd, it says "EXT3-fs: write access will be enabled during recovery"
[13:17] <hughessd> which suggests that it's turned off and they're already experienced soemthign that would break it
[13:19] <hughessd> does this mean anything?
[13:20] <hughessd> smbd respawning too fast, stopped
[13:20] <qman__> no, unimportant
[13:20] <qman__> I mean, it may be an issue later but for now it doesn't matter
[13:21] <hughessd> k
[13:22] <hughessd> can't get teh grub thing to work
[13:22] <hughessd> when do i start pressing shift?
[13:22] <qman__> the odd part is that, without doing anything else, remounting rw works
[13:22] <qman__> basically just before your bios screen goes away
[13:22] <hughessd> and it doesn't stick
[13:22] <qman__> use left shift, press and hold
[13:24] <hughessd> grub won't work
[13:24] <hughessd> it asks me to push f1
[13:24] <hughessd> or f2 to change settings
[13:24] <patdk-wk_> that isn't grub, that is your bios :)
[13:24] <hughessd> i know
[13:24] <patdk-wk_> probably cause you held the key down too soon
[13:24] <hughessd> grub only sits for 2 seconds
[13:24] <med_> utlemming, smoser : Looks like cloud-init is hardcoded to archive.ubuntu.com in cc_apt_update_upgrade.py . What's the best way to override that for an ARM cloud-init.  ARM needs to point at ports.ubuntu.com currently
[13:24] <patdk-wk_> so it thinks the keyboard is bad
[13:25] <patdk-wk_> so push f1, then hold shift
[13:25] <hughessd> i did
[13:25] <hughessd> and it just booted normal
[13:25] <hughessd> well
[13:25] <hughessd> normal back to the broken place it was before.
[13:25] <patdk-wk_> maybe try control? maybe your not on grub2?
[13:26] <hughessd> to fill you in, my /dev/sda1 isn't ready at boot time and is causing problems
[13:26] <hughessd> but there isn't any errors or anything....
[13:26] <patdk-wk_> how can it not be ready?
[13:26] <hughessd> i dont know
[13:26] <patdk-wk_> that sounds like a bios/firmware issue
[13:27] <patdk-wk_> your bios or hba firmware is suppost to make sure it's ready
[13:27] <qman__> it remounts fine immediately with no changes
[13:27] <qman__> so it sounds like a timing problem
[13:28] <qman__> but that's as much as I know
[13:28] <patdk-wk_> maybe, just for the hell of it, change your sata cable?
[13:28] <patdk-wk_> might be throwing errors or timeouts
[13:28] <hughessd> how do i check if the UUIDs are matching?
[13:28] <qman__> it's a hardware raid appearing as one disk
[13:29] <qman__> if the UUIDs didn't match you wouldn't get it mounted at all
[13:30] <hughessd> oh ok
[13:30] <qman__> if it's grub1 the keypress is escape, but it asks you to do it and gives you 3 seconds
[13:30] <qman__> and I really doubt it is since grub2 has been default since 9.10
[13:32] <qman__> well, I guess we need to reconfigure your bootloader from the rescue shell
[13:33] <hughessd> im editing menu.cfg right now
[13:33] <hughessd> but that's just for my own sanity
[13:33] <hughessd> there are a lot of old entries
[13:35] <hughessd> ok,
[13:35] <hughessd> how would i reconfigure the boot loader?
[13:36] <qman__> well, first find out what you have
[13:36] <qman__> if there's a /etc/grub.d, it's grub2
[13:36] <hughessd> ls /etc/grub.d/
[13:37] <qman__> got files in there?
[13:37] <hughessd> 00_header  10_linux   20_memtest86+    30_os-prober 40_custom README
[13:37] <qman__> ok
[13:37] <qman__> edit /etc/default/grub
[13:38] <hughessd> hm
[13:38] <hughessd> no file there
[13:38] <hughessd> touch it?
[13:39] <qman__> well, that's a problem
[13:40] <qman__> first, collect your UUID for / from /etc/fstab
[13:41] <hughessd> ok
[13:42] <qman__> and create /etc/default/grub containing this: http://pastebin.com/TKV4Qcvp
[13:42] <qman__> but with your UUID
[13:45] <qman__> after that, run update-grub
[13:47] <hughessd> ok
[13:47] <hughessd> reboot?
[13:47] <qman__> yes
[13:47] <qman__> it should now display the menu for 20 seconds before booting your default option
[13:49] <hughessd> hm
[13:49] <hughessd> that's odd
[13:49] <hughessd> it still stuck for 2 secs and then went into the sequence
[13:52] <IPDude> need help setting up pptp or l2tp vpn server on ubuntu server 11.10
[14:01] <IPDude> anyone here?
[14:02] <hughessd> i am here but i don't know anything about the things you asked
[14:02] <hughessd> im having troubles of my own getting my server to boot
[14:24] <footvilla> i have a softraid question
[14:27] <hughessd> qman_: any other ideas ?
[14:27] <hughessd> i got it to drop to initramfs
[14:28] <hughessd> but that might be because I disabled the hd....
[14:42] <footvilla> is there any way to transfer a raid 0 (mdadm) 2x 128gig sdd  ubuntu server to 1 large  1TB HD?
[14:42] <qman__> rsync
[14:43] <qman__> hughessd, initramfs is actually less useful
[14:43] <hughessd> yeah, im finding that out.
[14:43] <hughessd> the UUIDs match up
[14:43] <hughessd> but for some reason, grub isn't finding this time
[14:43] <qman__> if the grub menu didn't show up that means it didn't actually install
[14:44] <qman__> or update
[14:44] <hughessd> that was the only thing taht changed
[14:44] <hughessd> hm
[14:46] <hughessd> how can i get bcak to the other shell
[14:46] <hughessd> ?
[14:46] <hughessd> why is it dropping to initramfs now?
[14:46] <qman__> it does that when it can't load the kernel
[14:47] <hughessd> hm, so before it could load the kernel?
[14:47] <qman__> yes
[14:47] <qman__> usually means it can't find it, or can't access the disk it's on
[14:50] <qman__> honestly at this point I'd probably restore from backup, or if I don't have one, salvage my data and reinstall
[14:52] <hughessd> well, it's tricky
[14:52] <hughessd> this is an LTSP setup
[14:52] <hughessd> terminal server
[14:52] <hughessd> and so, remaking the system isn't just a reinstall,
[14:52] <hughessd> there is a bunch of stuff that I don't know how to do, bc i didn't help set it up
[14:53] <hughessd> and i don't want to have to reinstall everything
[14:53] <hughessd> however........
[14:53] <hughessd> i think you're right
[14:53] <hughessd> btw, this is so weird
[14:53] <qman__> if you're getting dropped to initramfs and don't know why, it's usually pretty bad
[14:53] <qman__> there are some simple mistakes that can get you there but if you don't know what changed
[14:54] <hughessd> it's not waiting the 20 secs that we wanted it to,
[14:54] <hughessd> but it's still going there
[14:54] <hughessd> says, 'gave up waiting for boot device'
[14:54] <hughessd> and lists some common problems
[14:55] <hughessd> the disk with the matching UUID isn't there in /dev/disk/by-uuid/
[14:55] <qman__> well, if you can get into the grub menu
[14:55] <qman__> you can manually specify /dev/sda1 instead of by uuid
[14:55] <hughessd> you mean in fstab?
[14:55] <qman__> no, in grub
[14:56] <hughessd> oh ok
[14:56] <hughessd> ill try to catch it before it times out
[14:56] <qman__> highlight the line you're booting, hit e, change root=UUID= to root=/dev/sda1
[14:56] <qman__> if that gets you booted again then the UUID in grub is wrong
[15:00] <hughessd> this is bad
[15:00] <hughessd> '/dev/sda1 does not exist!'
[15:00] <hughessd> hm
[15:07] <hughessd> so its going to initramfs, but if i mount /dev/sda1 in /tmp (or somewhere else), the old files are available.
[15:08] <hughessd> can't figure out why its not finding the hdds
[15:10] <qman__> well, you could try chrooting and redoing grub from a live environment
[15:14] <frankban> hallyn: hi, I was trying to make lxc-ip able to search intefaces. Unfortunately I don't have access to the sysfs mounted inside containers, so I can not retrieve the list of interfaces from /sys/class/net/. Maybe I could try using ioctl again.
[15:31] <hughessd> qman_ :
[15:31] <hughessd> thank you for the suggestions and all your help
[15:31] <hughessd> i don't know much about chrooting, and am not sure that i won't make things worse.
[15:32] <hughessd> i think that I'll just have to wipe everything and start clean.
[15:33] <hallyn> frankban: yes, ioctls would work, but are you sure you can't use /proc/<containerinitpid>/root/sys/class/net ?
[15:33] <hallyn> really, ioctls is probably better...  except harder to do through python :)
[15:35] <frankban> hallyn: cool, I was looking at /var/lib/lxc/[name]/rootfs/sys/... didn't know about  /proc/<containerinitpid>/root/sys/. Thanks!
[15:36] <frankban> hallyn: moreover, what do you think about this ui: lxc-ip -n name will search interfaces and show results like: eth0: ip\neth1: ip ...
[15:36] <frankban> while lxc-ip -n name -i eth0 will only show the ip address of eth0
[15:36] <hallyn> i think that's best, yes
[15:37] <frankban> cool hallyn, thanks again
[15:37] <hallyn> frankban: will you be sending that for upstream lxc inclusion? :)
[15:37] <hallyn> np, thank you!
[15:38] <frankban> hallyn: that would be great!
[16:32] <excalibr> Repository signed with key PGP key ID: 2EE7EF82
[16:32] <excalibr> ^ how do you add this key to apt?
[16:33] <Pici> excalibr: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EE7EF82
[16:33] <excalibr> thanks
[16:39] <ZenMaster> Anyone in here ever play with Cacti?
[16:40] <hallyn> unbelievable.  preallocated qcow2 gave me the fastest write times.  did not expect that.
[16:54] <fifthecho> Am I just missing something or has mkpasswd been removed from 12.04 LTS?
[16:56] <EvilResistance> !info mkpasswd precise
[16:56] <EvilResistance> guess its not there anymore
[16:57] <EvilResistance> according to packages.ubuntu.com, 'mkpasswd' only exists in Lucid right now
[16:58] <SpamapS> It probably has a better equivilent
[16:58] <fifthecho> I have a bunch of automated VM deployment scripts that use it…and just wasn't expecting a standard GNU util that I've used for like 10 years to disappear.
[16:59] <fifthecho> I guess I'll just copy the binaries from a Lucid box into 12.04.
[16:59] <SpamapS> I have it on my precise box
[16:59]  * SpamapS waits eons for dpkg -S to return
[16:59] <SpamapS> whois: /usr/bin/mkpasswd
[16:59] <sbeattie> fifthecho: it's in the whois package. it got split out for just lucid to a separate package for reasons that I don't recall.
[17:00] <SpamapS> sbeattie: ugh, and we didn't do a proper Replaces ?
[17:00] <fifthecho> …that is possibly one of the strangest places to put it.
[17:00] <SpamapS> Replaces: mkpasswd
[17:00] <SpamapS> we did
[17:01] <SpamapS> I don't know if its a "standard GNU utility"
[17:01] <SpamapS> since whois owns it ;)
[17:03] <Psi-Jack> Anyone here use Kerberos? I'm curious wether to go with MIT or Heimdal.
[17:08] <SpamapS> Psi-Jack: I haven't deployed kerberos i years, but "back in the day" heimdal was lauded for being more modern. I don't know if MIT caught up or surpassed it at some point though, that was maybe 6-7 years ago
[17:09] <Psi-Jack> Heh
[17:09] <Psi-Jack> I don't think it has, personally.
[17:09] <Psi-Jack> Heimdal still has all the fully integrated Samba support, MIT still doesn't.
[17:14] <jkyle> I'm running into an issue in my pxeboot installs for 12.04 where the first reboot after install sticks at the grub boot menu (timeout is ignored). subsequent boots work as expected
[17:22] <hattorihanzo> what might be a good channel to disscuss load balancing
[17:22] <hattorihanzo> load balancing a web app
[17:22] <fifthecho> hattorihanzo: Might depend on what you're using LB for and what you're using for LB.
[17:28] <hattorihanzo> a custom c written json rpc server
[17:32] <jkyle> hattorihanzo: paid or free as in beer?
[17:32] <jkyle> if you've already solved the problem of consistency in backend data (db replication or what what not), dns load balancing with health tests and failovers are dead simple in Dynect
[17:33] <hattorihanzo> paid if its not 1k
[17:33] <hattorihanzo> im looking at haproxy
[17:33] <jkyle> haproxy is not bad either
[17:33] <jkyle> however, what I like about the dns solution is you get failover as well as load balancing
[17:33] <hattorihanzo> but the app longpolls soo... configuring it to work without timing out is bugging me
[17:34] <hattorihanzo> but wont people who have dns cached still point to the failed server for a while
[17:34] <jkyle> but it depens on needs and intent, like fifthecho mentioned
[17:34] <Bilge> Is there some way I can get PHP 5.4 on Ubuntu 10.04.4 LTS
[17:35] <jkyle> hattorihanzo: perhaps, but a minute or two of temporary outtage with a few customers due to dns caching is better than a single point of failure requiring a new deployment or fixing the system ;)
[17:36] <hattorihanzo> so does dynect use very short ttl's
[17:36] <jkyle> you can configure dynect to serve multiple ip's too and set the ttl for what you'd like
[17:38] <hattorihanzo> have u used dynect?
[17:38] <jkyle> hattorihanzo: extensively...for a very high profile, very large user base scenario
[17:39] <hattorihanzo> how about dynect lite
[17:39] <hattorihanzo> 200 a month is pushing my budge
[17:39] <jkyle> they're solid. got a rest api for automating records that's solid. only down point is you can't do public/private views. seems like a hard problem though
[17:40] <jkyle> hattorihanzo: I've used lite personally, but can't do a hard core feature analysis. I jsut used it for janky personal blogs and such
[17:40] <jkyle> never dug into it. shoot their customer service an email, they're responsive
[17:40] <jkyle> hattorihanzo: it should be noted, you could do a lot of this yourself if you know bind9 well and a little scripting.
[17:40] <jkyle> but then you have a project, not a solution
[17:41] <hattorihanzo> yea
[17:52] <TboatBKK> Hey all! Just setup 12.04, new to Ubuntu Server, can SSH over my local network, have static IP set, have port-forward and DynDNS setup, but can't access my server through the web address.  I believe it is either in my host file, or somewhere in the setting up of portforward.  Do I need to setup SMB before I am able to access my box through the webz?
[17:53] <TboatBKK> Possibly in my resolv.conf file (DNS settings) also
[17:54] <SpamapS> TboatBKK: SMB has nothing to do w/ the web
[17:54] <SpamapS> TboatBKK: what would you expect to see at http://yourserver/ ?
[17:54] <TboatBKK> an interface to allow me/roomates to login and access our files
[17:54] <TboatBKK> when i "hostname -f" i get temporary name error
[17:55] <qman__> have you installed this interface?
[17:55] <TboatBKK> i should be able to also "ssh user@host.net" right?
[17:55] <qman__> if you have port 22 forwarded, and your host.net resolves correctly, yes
[17:56] <TboatBKK> i dont believe my host.net is resolving.
[17:56] <qman__> though not necessarily from inside your LAN
[17:56] <qman__> depends on your router
[17:56] <TboatBKK> ive portforwarded before, so it is something in my configuration/setup
[17:57] <TboatBKK> in the hosts file, would i use the external ip with the port, or the DNS address of my DynDNS host?
[17:57] <qman__> have you tried from the internet?
[17:57] <qman__> neither, the hosts file contains locally assigned addresses
[17:58] <TboatBKK> so just the local default 127.0.0.1 and then my static right my hostname right?
[17:58] <qman__> yes
[17:58] <TboatBKK> so X.X.X.X                hostname.host.net                     hostname?
[17:59] <qman__> it's a lot easier if you give us the actual values, it's not like anyone here is going to hack you, and we have your external IP anyway
[18:00] <TboatBKK> 10.0.0.66        bkkcollection.sytes.net          BKKollection
[18:00] <qman__> yes, that's a sane hosts entry
[18:01] <qman__> that name does not resolve to an IP for me, if that's your actual dyndns
[18:01] <TboatBKK> http://bkkollection.sytes.net/
[18:03] <qman__> ok, that one resolves but does not open
[18:03] <TboatBKK> its a fresh server, literally have SSH setup and nothing else
[18:04] <qman__> port showing open
[18:04] <qman__> so your application is probably broken
[18:04] <qman__> well, there is no web server unless you installed one
[18:05] <qman__> ssh is showing filtered
[18:05] <qman__> probably not forwarded
[18:05] <TboatBKK> oh no those are the next steps, was just trying to get ssh setup so i can stop plugging my keyboard in from one computer to the other, and before work tomorrow so i can work on it from how
[18:05] <TboatBKK> there*
[18:05] <qman__> you should be able to ssh 10.0.0.66 from your LAN
[18:06] <qman__> to do it from the internet though, you need port 22 forwarded
[18:07] <TboatBKK> can ssh locally, was trying to get the internet to work, haha sorry, was original question, poorly communicated.  just added the port forward for SSH, not working, but may take a minute to go through router and dns host
[18:07] <qman__> dns doesn't care about your ports
[18:07] <qman__> it's just name translation
[18:07] <qman__> port 22 is still filtered
[18:08] <qman__> getting 8.23.224.90 as the IP, is that correct?
[18:09] <qman__> the IP you're connecting from has SSH open
[18:09] <TboatBKK> How would I check my DNS hosts address, because that is what that is, not my actual router IP
[18:11] <qman__> I'm not sure what you're asking
[18:11] <qman__> but it seems to me your dynamic DNS is not configured correctly
[18:12] <TboatBKK> haha just had my router logon appear, so i know the dynDNS works, just have to get the config right I guess
[18:13] <qman__> huh?
[18:13] <qman__> unless your server is available at 8.23.224.90, your dynamic DNS is the problem
[18:18] <TboatBKK> hmm will keep playing around i guess.  If I am migrating a large bit of data from an old PC to this server, is git best? or should I just use an external HD?
[18:22] <qman__> only if it's already stored in a git repository somewhere
[18:22] <qman__> or you want it to be in a git repository
[18:22] <qman__> if you're just transferring files, use rsync
[18:22] <qman__> or scp, as appropriate
[18:23] <jkyle> TboatBKK: git is not want springs to mind for transferring data
[18:24] <TboatBKK> so HD over LAN?
[18:24] <jkyle> or the suggestions qman__ made
[18:24] <qman__> rsync works both locally attached and remote
[18:24] <qman__> it's probably what you want
[18:25] <jkyle> rsync avz /path/to/copy /path/copy/to
[18:26] <TboatBKK> ok cool will look into that, thanks, it also seems that when I added my DNS server to my hosts, I placed it over my default, so that would explain why we were getting no connection haha.  thanks for all the help!
[18:27] <qman__> that doesn't make any sense
[18:27] <qman__> the hosts file only affects the local host's ability to do name lookups
[18:27] <TboatBKK> I wasn't getting any internet connection on the server
[18:28] <TboatBKK> just have LAN access
[18:28] <qman__> and your DNS server doesn't need to be in your hosts file, it needs to be configured in resolv.conf, which these days is handled in /etc/network/interfaces
[18:29] <qman__> in fact, most of the time, you don't need to edit the hosts file at all
[18:31] <TboatBKK> even if I have a static IP set?  the hosts should say 127.0.1.1 BKKollection, not 10.0.0.66 BKKollection?
[18:32] <qman__> ideally it should say the latter, but it will work either way
[18:32] <qman__> apache will complain if it's set to 127.0.1.1
[18:32] <qman__> but still work
[18:33] <TboatBKK> my /interfaces BTW:
[18:33] <TboatBKK> address  10.0.0.66
[18:33] <TboatBKK> netmask  255.255.255.0
[18:33] <TboatBKK> network  10.0.0.0
[18:33] <TboatBKK> broadcast 10.0.0.255
[18:33] <TboatBKK> gateway 10.0.0.1
[18:38] <TboatBKK> unable to update, so seems I don't have internet access after setting the static
[18:49] <plm> Hi all
[18:50] <plm> people, I did a installation of 12.4 server, but in boot process I can't see anything, show just in monitor that not support that resolution and show nothing. after boot now show too.. how I change that?
[18:53] <qman__> plm, during boot, press shift to load the grub menu, then edit the boot line
[18:53] <qman__> and use nomodeset
[18:53] <plm> qman__: thanks!
[18:53] <qman__> as in, add nomodeset to the end of the kernel line
[18:53] <qman__> this will only boot it once that way
[18:53] <qman__> you have to change that in grub and save it
[18:54] <plm> qman__: is just a file edit and save ?
[18:54] <qman__> not exactly
[18:54] <qman__> you have to edit it in /etc/default/grub, then run sudo update-grub
[18:54] <plm> qman__: ok
[18:54] <plm> thanks :-)
[18:54] <qman__> that should do it but you may need other parameters
[18:55] <plm> ok, I'll test that first..
[19:21] <eutheria> i am currently using pfsense under kvm but i find freebsd based vm's a bit slow compared to running ubuntu, is there an ubuntu firewall type system like pfsense?
[19:28] <plm> qman__: I tried press shift and not works...
[19:28] <plm> qman__: show nothing.. not grub
[19:40] <Guest68993> I am using server 12.04 lts,  how do I keep my display from going dark??
[19:43] <resno> Guest68993: a server with a desktop?
[19:47] <Tzunamii> He probably means the screen blanking in the console
[19:47] <Guest68993> yes a server with GUI
[19:48] <Guest68993> would like to run a screen saver of the photos I have on the server
[19:48] <Guest68993> tzunamii, correct
[19:50] <Guest68993> I have turn screen off when inactive for:  "never"
[20:55] <Jeeves_> Hi
[20:56] <Jeeves_> How do I make grub skip iscsi disks while updating?
[21:02] <hallyn> is there a generic tag we can put on bugs to say they need translation?
[21:07] <ZenMaster> So Ubuntu can be used to administer group policy just like Windows Active Dir with Domain Controller?
[21:17] <SpamapS> hallyn: yes, its called 'translate.google.com' ;)
[21:18]  * Resistance glances at SpamapS
[21:19] <Resistance> google is evil
[21:19]  * Resistance returns back to what he was working on
[21:20] <hallyn> what he said :)
[21:20] <jkyle> ZenMaster: ldap
[21:20] <hallyn> but anyway, it's ok, a later bug by the same guy asks how to uninstall :)
[21:22] <Resistance> hallyn:  you could poke the bugsquad about questions like that, or the bugs team
[21:22] <Resistance> they might knkow what to do
[21:23] <Resistance> hallyn:  this is in the triage guide: https://wiki.ubuntu.com/Bugs/HowToTriage#Bug_reports_not_in_English
[21:23] <SpamapS> Right, google is super evil by giving us a free highly useful translation service which is perfectly usable in "incognito" mode.
[21:23] <Resistance> basically it says to ask the poster of the bug to translate, or if you think its a critical bug, have the translations team translate it
[21:24] <Resistance> SpamapS:  it gets the translations 50% wrong 95% of the time
[21:24] <SpamapS> Thats generally enough to figure out the problem / mark it as dupe
[21:29] <Dulcin> hi, I'm not sure where to ask this, but: if i were to set a A record, with mail.domain.com, and set this as my smtp server, would it then go to the ip and look for MX records? or does it not work like this?
[21:30] <Dulcin> set this as my smtp server* in my mail client
[21:30] <sarthor> I am trying to configure LSM, http://anilraut.blogspot.com/2007/07/installing-lsm-linux-socket-monitor-on.html , Do not know how to install it, where to put this directory? Any friend already familier with LSM please Guide me?
[21:31] <Resistance> Dulcin:  normally mailservers for domains need to have MX entries
[21:31] <Resistance> so in theory you could add MX entries for the mail.domain.tld
[21:32] <Dulcin> and if the mx records are set to domain.tld? does an A record with mail.domain.tld redirect it ?
[21:48] <murdock> I'm having trouble with accessing ports outside of my network. While on my home network, I can go to (servername):80 and access my webserver, but if I forward the port 80 to my server, it doesn't work with my dyndns domain (murderdock.dyndns.org:80). Is it possible to do this?
[21:54] <mand0> murdock, does it work with the IP address externally?
[21:55] <sarthor> I am trying to configure LSM, http://anilraut.blogspot.com/2007/07/installing-lsm-linux-socket-monitor-on.html , Do not know how to install it, where to put this directory? Any friend already familier with LSM please Guide me?
[21:56] <murdock> You mean the ip address my ISP is giving me?
[21:56] <mand0> ya
[21:57] <Resistance> mand0:  are you behind a corporate firewall or a router?
[21:57] <Resistance> oh wait
[21:58] <mand0> heh, it's murdock
[21:58] <Resistance> ah whoops
[21:58] <Resistance> i just hit m[tab] so...
[21:58] <mand0> he said home network
[21:58] <Resistance> well the router needs to forward external traffic on port 80 inbound to the server then
[21:59] <Resistance> otherwise you'll always get no traffic coming externally
[21:59] <Resistance> to the server
[21:59] <Resistance> bah, broken enter key
[21:59] <mand0> he said he did. tho that could very well be the issue
[21:59] <Resistance> that's more than likely the issue
[21:59] <Resistance> 95% of the time (and I see this in Corporate networks too), people don't open the ports and send traffic correctly
[22:04] <murdock> No, it's not corporate, it's my home setup. I had it working before on windows.
[22:04]  * Resistance points out Windows and Linux are different
[22:04] <Resistance> you still need to do port forwarding in your router for port 80
[22:04] <murdock> I understand, and the port is forwarded.
[22:04] <murdock> That's no different.
[22:04] <Resistance> the other possibiliity is your ISP blocks port 80 inbound
[22:04] <Resistance> some ISPs do that
[22:05] <Resistance> (mine doesn't, but hey i'm on a Business class internet since yesterday, so... :P)
[22:05] <mand0> try another port
[22:06] <murdock> That's what I'm going to do. Now, for some reason, ssh isn't working.
[22:06] <Resistance> sounds like your system may be dying
[22:06] <Resistance> or the internal ip is changing
[22:06] <Resistance> (which is entirely possible, given default home-router setups_
[22:07] <murdock> I can ping it, and it's the same IP as before.
[22:07] <murdock> It was an old computer I got for free, I just thought I'd have some fun with it. I guess I'll just wait until I can build a decent one myself.
[22:07] <murdock> Yeah, now the webmin isn't even working.
[22:08] <Resistance> ewww, did you say webmin?
[22:08] <Resistance> !webmin
[22:08] <Resistance> just to put that out there ;P
[22:08] <murdock> hah.
[22:09] <murdock> I used linuxhomeserverguide.com or something to set it up.
[22:09] <mand0> just reinstall with the latest iso
[22:14] <murdock> Is there a sort of GUI like webmin, or should I just do everything terminal style?
[22:14] <Resistance> terminal style is preferred nowadays, Linux sysadmins mostly need to know CLI
[22:14] <mand0> you're in #ubuntu-server. terminal style!
[22:17]  * Resistance is on a GUI right now :P
[22:17] <Resistance> but for remote administration I use CLI
[22:22] <mand0> i upgraded to 12.04 and now apticron is saying there are 144 packages pending an upgrade even tho they were already updated
[22:27] <jkyle> what's the name for the package previously known as libmagick9-dev in 12.04?
[22:35] <mand0> oh, i needed to do sudo apt-get dist-upgrade
[22:35] <leimon> Hey all, I have setup my server, but now I can't not update.  sources.list is fine, I can SSH into the server (only installed SSH on install)  Has a static IP address.
[22:36] <mand0> getting an error?
[22:37] <leimon> Failed to fetch, Temporary failure resolving 'us.archive.ubuntu.com'
[22:38] <leimon> route returns
[22:38] <leimon> Kernel IP routing table
[22:38] <leimon> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
[22:38] <leimon> default         10.0.0.1        0.0.0.0         UG    100    0        0 eth0
[22:38] <leimon> 10.0.0.0        *               255.255.255.0   U     0      0        0
[22:39] <leimon> ping: unknown host google.com
[22:40] <mand0> what are you using for DNS?
[22:41] <mand0> cat /etc/resolv.conf
[22:42] <leimon> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
[22:42] <leimon> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[22:42] <leimon> nameserver 127.0.0.1
[22:42] <leimon> search hsd1.va.comcast.net
[22:44] <mand0> nameserver 8.8.8.8 (or whatever DNS you want) needs to be in there
[22:44] <mand0> assuming your server is not running bind
[22:45] <leimon> 8.8.8.8? or what my ip is?
[22:45] <mand0> 8.8.8.8 is google's public DNS
[22:45] <mand0> and 8.8.4.4
[22:46] <leimon> if im running no-ip, how do i find the server address?
[22:47] <leimon> or can i just use the google one no matter which dns host?
[22:51] <leimon> i want to be able to access my server outside my LAN
[22:52] <leimon> is http closed by default?
[22:54] <leimon> Err http://us.archive.ubuntu.com precise-updates InRelease
[22:54] <leimon>   
[22:54] <leimon> Err http://security.ubuntu.com precise-security Release.gpg
[22:54] <leimon>   Temporary failure resolving 'security.ubuntu.com'
[22:55] <Pici> Did you update your resolv.conf?
[22:56] <leimon> yes added the google ones
[22:56] <leimon> is there any command to restart it, i did a network restart
[22:58] <qman__> you probably overwrote it with a blank one
[22:58] <qman__> resolvconf, as it says, overwrites it
[22:58] <qman__> you have to add them to /etc/network/interfaces
[22:59] <leimon> add what to interfaces?
[22:59] <qman__> your DNS servers
[22:59] <leimon> how do you add them to interfaces instead?
[23:00] <qman__> see man resolvconf   http://www.linuxcertif.com/man/8/resolvconf/
[23:04] <leimon> added them to interfaces, still not getting updates
[23:04] <qman__> do sudo ifdown eth0; sudo ifup eth0
[23:04] <qman__> provided eth0 is your interface
[23:05] <leimon> wont that disconnect my ssh link?
[23:05] <qman__> not if you do it quick enough
[23:05] <qman__> helps if you put it in a script
[23:09] <leimon> still nothing
[23:09] <qman__> can you ping 8.8.8.8?
[23:11] <leimon> yes i can
[23:11] <qman__> and if you cat /etc/resolv.conf, does it show the right nameservers?
[23:12] <qman__> if you run nslookup without arguments, it'll start interactively
[23:12] <leimon> im not sure, how do i figure my correct name server for my ISP?  I have gateway etc, is it just 10.0.0.X?  or is it the 75.75.75.75 i looked up for comcast?
[23:12] <qman__> 8.8.8.8 is open to the public
[23:12] <qman__> it's google's DNS
[23:13] <qman__> I don't know what your ISP's DNS servers are, they would have given you that information
[23:13] <qman__> I also don't know if your router does DNS caching, you'd have to find out
[23:13] <qman__> but if you set it to 8.8.8.8, it should work
[23:13] <leimon> for updating?
[23:13] <qman__> for internet access
[23:19] <leimon> still nothing
[23:20] <qman__> dig google.com
[23:21] <leimon> unknown host
[23:22] <qman__> more importantly, who did it ask
[23:22] <leimon> google.com
[23:22] <qman__> no, that's what it asked
[23:23] <leimon> should there be something in hosts for my isp?
[23:23] <qman__> no
[23:24] <qman__> if you can ping 8.8.8.8 you're online
[23:24] <qman__> you just don't have DNS
[23:24] <qman__> and if your nameserver is 8.8.8.8, you have a good configuration, and it's being blocked somewhere down the line
[23:24] <qman__> otherwise, your nameserver is not correctly configured
[23:25] <qman__> that's all there is to it
[23:26] <leimon> so i set my interfaces back to dhcp, still not getting anything
[23:27] <leimon> just going to wipe and start over
[23:51] <stgraber> hallyn: just started to work on a lxc python binding, looks like it's really quite easy to do and would be quite useful to write good management tools
[23:52] <stgraber> hallyn: only problem is that lxc upstream will need to make liblxc public and version the api changes, but that shouldn't be to difficult to do