[00:54] <b0gatyr_> has anyone every used mailcleaner?
[00:54] <b0gatyr_> ever*
[02:29] <twb> How do you tell ISC dhcpd not to serve an IP to a particular MAC?
[03:23] <sorrell> anyone know anything about phpmyadmin? I installed it through apt and it woun;t come up when I go to localhost/phpmyadmin
[03:23] <sorrell> it just tells me it doesn't exist.
[03:25] <twb> sorrell: did you read /usr/share/doc/<package name>/README.Debian?
[03:32] <i_is_broke> can anyone point me in the direction on how to install a virtual desktop on a server with no gui?
[03:35] <sorrell> twb, I will do that now, thank you.
[03:36] <twb> i_is_broke: we usually encourage people to learn to use a CLI instead
[03:37] <i_is_broke> twb, ive tried, but im kind of thick skulled and am not getting some of it i read...and there for fubar my system from time to time.
[03:38] <twb> i_is_broke: are you thinking of VNC, or what?
[03:39] <i_is_broke> twb: well i was told by someone that qemu, kvm would do it, but i cant really find anything on how to do it.
[03:40] <twb> qemu/kvm is for a "virtual desktop" in the sense of emulating a whole new system
[03:40] <i_is_broke> twb: yeah thats what i want to do.
[03:40] <twb> I don't know if you mean that or if you just mean something like Windows Terminal Services, where you remote desktop in
[03:41] <i_is_broke> twb: that way i can have a gui when i need it so if i need to look for a clue on how to do something i can google it.:D
[03:42] <i_is_broke> twb, but i have tried to google this but i must be wording it wrong or something cause it takes me clear back the 8.04 way of installing it...and with a gui.
[03:43] <sorrell> you can always
[03:43] <sorrell> apt-get install gnome-desktop
[03:43] <i_is_broke> sorrell, why run all of that for only needing a gui for like maybe 20 minutes a week?
[03:44] <sorrell> the GUI won't run uless you call it up.
[03:44] <sorrell> also having a VM won't give you a GUI.
[03:45] <i_is_broke> so if i run a vm i cant use things that use a gui?
[03:45] <sorrell> YOU CAN'T RUN A gui ON A SYSTEM THAT DOESN'T HAVE A gui.
[03:46] <sorrell> sry for the caps.
[03:47] <i_is_broke> sorrell: i was going to say i can read small print to...lol. but ok thats all i wanted to know thank you.
[03:47] <sorrell> twb, the file is compressed as a .gz and I can't find how to uncompress it.
[03:47] <i_is_broke> untar it
[03:47] <sorrell> i_is_broke, yeah sorry I had caps lock on and didn't know it. :(
[03:48] <sorrell> I'm stupid so how do I do that via the CL?
[03:48] <i_is_broke> sorrell: just tar -xvf file.gz or something like that.
[03:48] <sorrell> ty
[03:48] <i_is_broke> oh you have to have build-essentials installed.
[03:49] <sorrell> k
[03:49] <i_is_broke> i do know a little about the cli... just not good at doing a few things that im not sure about with it... like some networking.
[03:49] <twb> sorrell: just run less (or zless) on it
[03:50] <twb> sorrell: if LESSPIPE is set (which it probably is), less will automatically recognize and decompress .gz documents.
[03:50] <sorrell> sweet
[03:50] <sorrell> thanks twb
[03:51] <i_is_broke> or things like that...lol
[03:51] <i_is_broke> thats what i would need google for...lol
[03:51] <i_is_broke> ok, thanks and g/bye
[03:51] <sorrell> why don't you just SSH into the server?
[03:52] <sorrell> then you can use the GUI on your system and still have a GUI less server.
[03:52] <sorrell> oh he left....
[03:55] <sorrell> should have said something to him about links too.
[04:06] <qman__> he shouldn't be using the GUI to configure networking anyawy
[04:06] <qman__> that uses networkmanager, which is nothing but trouble on a server
[04:07] <sorrell> is that what he was trying to do?
[04:08] <qman__> I honestly have no idea
[04:08] <qman__> he apparently wanted a GUI on his server, and someone mistakenly guided him to install a virtual machine
[07:03] <whalesalad> Hey guys... I am pretty good with unix in general but I've never been able to completely understand file permissions, particularly groups stuff
[07:03] <whalesalad> I would like a few users to be able to collaborate in a folder... its a web app that justs serves files out of a dir, so a few users need to be able to access that dir
[07:04] <twb> whalesalad: that's because posix dac semantics are retarded
[07:04] <whalesalad> ??
[07:04] <twb> whalesalad: re "unix file permissions"
[07:04] <whalesalad> ah
[07:04] <whalesalad> yeah its kinda confusing to me
[07:04] <whalesalad> both users have the same primary group
[07:05] <whalesalad> the folder is owned by that group, staff
[07:05] <whalesalad> all sub folders are owned by that group
[07:06] <rbniknej> the files would then just need to be made group-writeable by that group. They may need to chgroup them to that group
[07:06] <whalesalad> mmk
[07:09] <whalesalad> hmm... I just did a "chgrp -R staff foldername" and it isn't helping
[07:10] <rbniknej> try 'chmod g+w foldername
[07:10] <rbniknej> *'chmod -R g+w foldername'
[07:11] <whalesalad> okay
[07:12] <rbniknej> did that help any?
[07:12] <whalesalad> thanks!
[07:12] <whalesalad> fixed
[07:12] <rbniknej> np :)
[07:12] <whalesalad> I actually have umask g+w in my .bash_profile ;)
[07:14] <twb> Huh, I had no idea umask could take a symbolic argument
[07:15] <twb> whalesalad: rather than changing primary groups to all be "staff", suggest just making the directories in question set-gid.
[07:16] <twb> If a dir is sgid, new children get the dir's group by default
[07:34] <jmazaredo> where shuld i put this rule SecRule REMOTE_ADDR "^192\.168\.1\100$" phase:1,nolog,allow,ctl:ruleEngine=Off,ctl:auditEngine=Off
[07:34] <jmazaredo> modesecurity
[07:34] <jmazaredo> dont know where to put this in my server
[07:46] <drcode> hi all
[07:46] <drcode> I have setup and working hp allinone
[07:47] <drcode> I can print from xp to ubuntu, but I can't send fax from xp -> samba ->cups ->hp any idea?
[07:59] <gorkhaan> hey. Does anyone know an remote update/upgrade tool based on apt-get? Like  apt-dater. WebGUI should be great.
[08:11] <twb> jmazaredo: what service are you talking about?
[08:12] <twb> gorkhaan: define `remote'
[08:13] <jmazaredo> modsecurity
[08:13] <gorkhaan> Managing update for softwares. Let's say I have plenty of server, so I want to see what updates can be installed centrally
[08:13] <jmazaredo> i need to white list an ip
[08:13] <gorkhaan> like apt-dater + over ssh
[08:13] <jmazaredo> in their site doesnt say what file to edit just the code
[08:14] <twb> apt-dater's package description impies it works over ssh
[08:14] <twb> jmazaredo: do you perhaps mean apache-mod-security?
[08:14] <jmazaredo> yes
[08:14] <twb> Er, libapache-mod-security.
[08:15] <twb> jmazaredo: sorry, I don't know much about apache.  Presumably somewhere in /etc/apache2
[08:15] <twb> jmazaredo: of course, you can always blacklist a host using simple tcpwrappers, i.e. /etc/hosts.deny
[08:16] <jmazaredo> http://www.modsecurity.org/documentation/faq.html#d0e400 this is their docs they say to put the code but dunno where
[08:16] <jmazaredo> i need to allow but mod_security is blocking it
[08:16] <twb> jmazaredo: try looking through /etc/apache2 for existing SecRules
[08:17] <twb> (Personally, I wouldn't trust anything that's using regular expressions to match IPv4 addresses...)
[08:17] <jmazaredo> yep done that but whenever i paste the code, and restart nothing happes ;)
[08:17] <jmazaredo> their channel is sleeping hehehe
[08:27] <sander^work> INFO: task apache2 ... blocked for more than 120 sec <-- I get this on 2.6.35-22-server kernel..
[08:28] <twb> sander^work: maybe because your I/O is through the roof?
[08:29] <sander^work> twb, It was several days earlier.. but I got this message after I just rebooted.
[08:29] <twb> Shrug
[08:32] <sander^work> Maybe its related to the hyper-v drivers i'm using?
[08:34] <sander^work> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/276476
[08:34] <sander^work> If you scroll down to the bottom.. it says its happening with ppa kernel 2.6.35-22-server
[08:34] <twb> sander^work: I can't comment on Microsoft products, sorry.
[08:35] <sander^work> twb, I guess its not related to that.. since other people also got it.
[08:35] <twb> Shrug
[08:35] <twb> I don't run apache, either :-)
[08:41] <sander^work> It's happening to other processes aswell.. as you see in the bug report.
[08:44] <twb> That says if your kernel is up to date, it's not that bug
[08:53] <alvin> sander^work: This has been happening for a long time now. I stopped using LVM snapshots and it helped somewhat.
[10:21] <garymc> Hi, I bought SSL certificates off Godaddy. All is well. But my certificates arnt working properly. Apparently ive installed them wrong on my server. I cant work out what ive done wrong... can anyone help me or do i need to visit a differnt channel?
[10:21] <overlord_tm> whats the error?
[10:22] <garymc> in the bottom right of the browser on the paddlock
[10:22] <garymc> Warning: Conatians unathenticated content
[10:23] <garymc> I spoke to godaddy and they said ive installed the certs incorrectly
[10:23] <garymc> because its a private server they cant help me
[10:24] <garymc> Also when i restart apache it now asks me for Key passphrase
[10:24] <overlord_tm> maybe you load some images via http, not https
[10:24] <overlord_tm> u got to remove pass from key ;)
[10:24] <overlord_tm> otherwise you have to enter key on every reboot
[10:24] <garymc> overlord_tm : How?
[10:25] <overlord_tm> http://www.madboa.com/geek/openssl/
[10:25] <overlord_tm> search for passphrase
[10:25] <garymc> Ahh all images got to be on https server?
[10:26] <overlord_tm> if you dont want to get warning :)
[10:41] <garymc> overlord_tm : you was right about the images. Thanks
[10:41] <garymc> Just need to remove the passphrase. DAMN!
[10:41] <overlord_tm> garymc, http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#removepassphrase
[10:42] <garymc> Thanks :)
[10:54] <garymc> Yes cool overlord_tm thanks for the help :)
[10:54] <garymc> Im a happy guy now
[10:54] <garymc> speak later
[12:32] <MorkBork> anyone know why in /etc/shadow some of my ubuntu systems have * for root and others have !?
[12:32] <MorkBork> was that a change in the distro or did some random package make that change
[12:33] <MorkBork> actually im only seeing one with *, the rest have !
[12:34] <MorkBork> is there anywhere i can search to see what packages may have potentially manually modified /etc/passwd
[12:34] <MorkBork> err /etc/shadow*
[12:40] <patdk-wk> * means no password, can't login
[12:40] <patdk-wk> ! means account locked, password optional, but still can't login
[12:41] <MorkBork> yea
[12:41] <MorkBork> i know the differences
[12:41] <patdk-wk> ! wasn't for you, you bot! :)
[12:41] <MorkBork> but im not sure why one system has * and the rest have !
[12:41] <MorkBork> i didnt manually modify them
[12:41] <patdk-wk> is it ! with something following it?
[12:41] <MorkBork> nope
[12:41] <patdk-wk> it just ! by itself?
[12:41] <MorkBork> the default seems to be just a !
[12:41] <patdk-wk> no idea, should give the same result, I believe
[12:42] <patdk-wk> as ! isn't a valid hash, of anything, so should do the same thing
[12:42] <MorkBork> ive looked at 3 ubuntu systems: i have a fresh install of 10.10 that just has a !, i have a system that started at like 8.10 and has been updated every step of the way and is running 10.10 now that has !
[12:42] <MorkBork> and i have a 10.04 system that was updated to 10.10 that has a *
[12:43] <patdk-wk> my maverick/natty system has !, it started at karmic
[12:43] <MorkBork> yea
[12:43] <patdk-wk> all my other systems have *, but they are all lucid or lower
[12:43] <MorkBork> okay
[12:44] <MorkBork> so lucid probably used *
[12:44] <MorkBork> sometime back in the 7.x or 8.x days it used !
[12:44] <MorkBork> so basically in the 8.x-10.04 timeframe the default musta been * i guess?
[12:44] <patdk-wk> hmm, ya, my 8.04 systems are using ! too
[12:45] <MorkBork> i looked through bug reports, etc
[12:45] <MorkBork> nothing jumped out
[12:46] <patdk-wk> anoyher 8.04 system has lots of !
[12:46] <MorkBork> im betting it was an installer change
[12:46] <patdk-wk> root, ntp, lubuuid, mysql, tbd, dhcp, klog, sshd
[12:48] <MorkBork> i have a lot more ubuntu systems in random places
[12:48] <MorkBork> seems to depend on when they were setup
[13:24] <sobersabre> hi. I've written an upstart script file based on hostname.conf
[13:24] <sobersabre> it is simply supposed to run another script (will paste the script in a moment)
[13:25] <sobersabre> it has "start on started network" clause
[13:25] <sobersabre> and the exec clause
[13:25] <sobersabre> that's it.
[13:25] <sobersabre> what can make the script NOT to be run ?
[13:35] <Guest61040> greetings, I want to make a backup of my disk to boot in virtualbox. Is this the advisable command for making the image:  sudo dd if=/dev/cciss/c0d1p1 of=/home/ken/server.iso
[13:35] <Guest61040> where my drive is /dev/cciss/c0d1p1
[13:42] <mgolisch> if thats your disk device it should be fine
[13:42] <Guest61040> cheers
[13:42] <mgolisch> but dont name it iso its not a cd image..
[13:43] <Guest61040> what should it be called then
[13:43] <mgolisch> and you probably want to specify a block size
[13:43] <mgolisch> using bs=something
[13:43] <mgolisch> 1M or so for speedup
[13:43] <Guest61040> 1024 i think, sure
[13:44] <mgolisch> hm i name them .raw or .dd but anything should be fine aslong as you remember what it is
[13:44] <Guest61040> kk, thanks
[13:46] <J_P> hi all
[13:46] <J_P> people, ubuntu don't have package name glibc. What package correspond to this package?
[13:53] <pmatulis> J_P: investigate 'libc6'
[13:55] <k5673> J_P: use "apt-cache search libc"
[13:57] <J_P> k5673:  and pmatulis thanks!
[13:58] <k5673> J_P: the same "apt-cache search pmatulis"
[13:58] <k5673> J_P: apt-cache is your monochrome cli-based friend
[13:59] <andreserl> .win 4
[14:00] <mgolisch> or just browse packages.ubuntu.com
[14:00] <k5673> That's an option, too!
[14:03] <kaushal> hi
[14:03] <kaushal> is there a way to find out the Hardware is capable of 64 Bit or 32 Bit ?
[14:08] <shauno> kaushal: if you look in /proc/cpuinfo, I believe the 'lm' cpu flag is x86_64
[14:08] <kaushal> shauno: ok
[14:09] <kaushal> so its 64 Bit capable
[14:11] <shauno> if lm is present, yes.  if it's not .. it's not.  feel free to google X86_FEATURE_LM for the grizzly details :)
[14:13] <patdk-wk> hehe :)
[14:13] <patdk-wk> I have one system that is very odd
[14:13] <patdk-wk> I plugged in a 64bit cpu, used a 64bit os, and all is good
[14:13] <patdk-wk> but the motherboard still has a 32bit memory limit :(
[14:13] <patdk-wk> stupid motherboard
[14:14] <patdk-wk> good thing it goes in the trash in a few weeks
[14:47] <JeffJassky> Hey, guys. Brand new to Ubuntu this morning (and linux) and I've been tasked with setting up a web server with apache, php, mysql, email, ftp, etc.. Could anyone point me in the direction I might need to go? Any tutorials on using apt-get, dealing with repositories, etc? Thanks, everyone :)
[14:52] <k5673> JeffJassky: just type tasksel in console
[14:53] <k5673> JeffJassky: There is the option to install a LAMP server (Linux Apache MySQL PHP)
[14:53] <JeffJassky> k5673: Thanks, man.. I actually just ran ... aptitude install apache2 php5-mysql libapache2-mod-php5 mysql-server
[14:53] <JeffJassky> Does that look about right?
[14:54] <k5673> JeffJasky: That's fine, too.
[15:00] <sobersabre> this is the upstart conf file I created: http://pastie.org/1255501
[15:01] <sobersabre> the script runs properly if run by root manually
[15:01] <sobersabre> I mean /usr/sbin one.
[15:01] <sobersabre> shall I expect this job run by only creating such a file ?
[15:23] <sheetzam> greetings all - I have a bug in Ubuntu Server 10.04 I'm trying to troubleshoot
[15:23] <sheetzam> I get a kernel panic on one of my servers when I run apt-cache search oauth
[15:24] <sheetzam> tried the same thing on another server (different hardware) and had no problem
[15:24] <SpamapS> sheetzam: can you paste the panic?
[15:24] <sheetzam> checked the files, and they have the same md5sum.
[15:24] <sheetzam> how do I capture the panic?
[15:24] <SpamapS> that can be tricky ;)
[15:24] <sheetzam> no doubt
[15:25] <SpamapS> how different is the hardware?
[15:25] <sheetzam> it said "this is not a software problem"
[15:25] <sheetzam> very
[15:25] <SpamapS> yeah its likely a badly behaving driver or broken hardware
[15:26] <sheetzam> so, what's next step, any idea?
[15:27] <SpamapS> can you look at the panic and see what failed? it does have some human readable information?
[15:27] <sheetzam> the server that works is an older dell desktop machine
[15:27] <sheetzam> some
[15:27] <sheetzam> how about I take a pic and post it?
[15:27] <sheetzam> oh, and some of the info scrolls off screen very quickly
[15:28] <sheetzam> is there a boot switch to change the rows and columns of the console?
[15:28] <sheetzam> might help to capture more output
[15:29] <SpamapS> I seem to recall there's a way to get the SysRQ key to write the panic to kern.log if possible
[15:30] <sheetzam> ok, I'll be back in a few
[15:31] <SpamapS> the call trace is really whats important
[15:31] <SpamapS> the top 3 or 4 items should help a lot
[15:31] <sheetzam> kk
[15:44] <sheetzam> and now it works fine
[15:44] <sheetzam> go figure
[16:07] <garymc> Hi guys. Anyone know how I get my website to display as http://secure.mysite.com instead of http://www.mysite.com ?
[16:09] <k5673> garymc: you must register the subdomain to your noc.
[16:09] <garymc> my NOC?
[16:10] <garymc> whats noc?
[16:11] <jpds> garymc: Surely if it was secure it would be using https:// instead?
[16:11] <garymc> sorry yes it is https
[16:11] <k5673> garymc: network operations center. Or the guy who assigned that domain to your IP
[16:11] <garymc> that would be me :S
[16:11] <Pici> subdomains don't need to be registered, just setup in your apache/webserver config.
[16:12] <sheetzam> they need to be registered with a dns someplace
[16:12] <sheetzam> however you pointed www.mysite.com to your server, you need to also add secure.mysite.com, and point it to your server
[16:12] <garymc> yeah apache config thats what i need
[16:13] <garymc> Pici im on your level of thinking here
[16:13] <garymc> where could i get some help with doing that on apache etc
[16:14] <sheetzam> https://help.ubuntu.com/10.04/serverguide/C/httpd.html is a good place to start
[16:14] <jpds> garymc: You need to do something with mod_rewrite.
[16:15] <garymc> i do?
[16:15] <garymc> Ok what should i search for in google
[16:15] <Pici> Wait, are we talking about setting up a subdomain, or pointing www.mysite.com to whatever.mysite.com?
[16:15] <jpds> I appear to have lost my short note on how to do this.
[16:17] <garymc> I just want my secured domain to appear as https://secure.mysite.com instead of https://www.mysite.com
[16:17] <jpds> Pici: www.site.com → 301 → secure.site.com is what I thought it was.
[16:18] <jpds> garymc: http://www.cyberciti.biz/tips/howto-apache-force-https-secure-connections.html
[16:18] <jpds> garymc: "Force webmail login over SSL https session" bit, changing "%{HTTP_HOST}" to secure.site.com.
[16:23] <garymc> No i dont think thats it
[16:23] <garymc> see I dont even have secure.mysite.com setup anywhere
[16:26] <sheetzam> ok, got another kernel panic
[16:26] <sheetzam> and I have a pic of the console output
[16:27] <jpds> garymc: So you'll need to give the subdomain an IP in DNS and point it at your server?
[16:27] <sheetzam> would the trace help?
[16:27] <garymc> ok
[16:27] <garymc> would that affect my SSL certificate?
[16:28] <jpds> garymc: The IP? Don't think so, as long as the common name for the cert is valid.
[16:28] <garymc> ok
[16:30] <sheetzam> so, the kernel panic starts by claiming a hardware error
[16:30] <sheetzam> call trace:
[16:30] <sheetzam> printk
[16:30] <sheetzam> panic
[16:30] <sheetzam> mce_panic
[16:30] <sheetzam> mce_reign
[16:31] <sheetzam> mce_end
[16:31] <sheetzam> do_machine_check
[16:31] <sheetzam> _wake_up
[16:31] <sheetzam> do_machine_check
[16:31] <sheetzam> error_code
[16:33] <sheetzam> any ideas where to start troubleshooting this?
[16:44] <ppetraki> sheetzam, hmm. run a memory check lately?
[16:44] <sheetzam> I have not.  Will do so
[16:44] <sheetzam> though this was a recent upgrade to 10.04.  Was working fine in 8.04
[16:45] <ppetraki> sheetzam, well, time moved on as well, the machine isn't getting any younger :)
[16:45] <sheetzam> true
[16:45] <sheetzam> the timing is interesting
[16:45] <sheetzam> that's all
[16:45] <sheetzam> however, lunch time approaches, and it's a development box, so...
[16:45] <sheetzam> will report back
[16:46] <ppetraki> cool
[17:21] <sheetzam> ok, thinking that's not the problem - just completed one pass successfully
[17:24] <sheetzam> how easy is it to enable netconsole in the ubuntu kernel?
[17:26] <sheetzam> I've also seen indications that this could be caused by a bad power supply?
[17:27] <sheetzam> would it make sense to try a different flavor of the kernel?
[17:31] <sobersabre> guys, what is the way to determing what is run by upstart the last ?
[17:32] <sobersabre> I want to put something after it.
[17:32] <sobersabre> or maybe a way to display the whole list of what upstart runs in which order ?
[17:32] <sobersabre> how can I do this ? (what tool to rtfm the man for)
[17:58] <ppetraki> sheetzam, not familiar with netconsole.
[17:58] <ppetraki> sheetzam, looking at the code path you triggered, the machine check was very real
[17:59] <sheetzam> ah, doesn't matter really.   I need to solve the problem, not get more infomration
[17:59] <sheetzam> interesting
[17:59] <ppetraki> sheetzam, if the HW is sounds them perhaps the intepretation of the platform has changed
[17:59] <ppetraki> sheetzam, acpi runtime has advanced considerably in the meanwhile
[17:59] <ppetraki> sheetzam, how many cpus do you have?
[18:00] <sheetzam> I forget, checking
[18:00] <sheetzam> it's a dual core Core Duo
[18:01] <sheetzam> always feel stupid saying that
[18:01] <ppetraki> nah, dont be
[18:01] <sheetzam> so, one cpu, two cores
[18:01] <sheetzam> I think
[18:01] <sheetzam> hmm
[18:01] <ppetraki> I don't even care anymore, I just ask QA to bring me one of those "things"
[18:01] <sheetzam> heh
[18:02] <sheetzam> and they are both listed as core 2
[18:02] <ppetraki> sheetzam, so how frequent is this event? Say after you boot, time till failure
[18:02] <sheetzam> it doesn't seem time dependent, it seems action dependent
[18:02] <sheetzam> it's been up and stable since I ran the memtest
[18:03] <sheetzam> first triggered it when I did an apt-cache search
[18:04] <sheetzam> was able to trigger it again doing the same apt-cache search after the machine had been up for only a few minutes
[18:05] <ppetraki> so lets try a big hammer and if it works, try to dissect it from there
[18:05] <ppetraki> im thinking to start by disabling acpi completely
[18:05] <sheetzam> wow
[18:05] <ppetraki> which will make your system a uni
[18:05] <sheetzam> ok, remind me how I do that?
[18:05] <sheetzam> bios setting?
[18:05]  * ppetraki looking up kern parama
[18:06] <ppetraki> no, kernel arg
[18:06] <sheetzam> ok
[18:06] <ppetraki> acpi=off
[18:06] <sheetzam> simple as acpi=off at the boot prompt?
[18:07] <sheetzam> ok
[18:07] <ppetraki> add that to your grub line, update-grub, reboot, cat /proc/cmdline, verify it's there, proceed with testcase
[18:07] <sheetzam> there's a raid sync going on right now
[18:07] <ppetraki> time for more coffee then :)
[18:07] <sheetzam> right
[18:08] <sheetzam> ok, I'll report back in a while
[18:08] <sheetzam> and thank you very much for your help
[18:08] <ppetraki> ping me when you have something
[18:08] <sheetzam> will do
[18:35] <zygot> ada yang pakai puppy?
[18:36] <RoyK> hi all
[18:50] <alcy> folks, how do I convert slapd.d to slapd.conf ? would have been nice if the devs could have provided a slapd.conf under /usr/share/slapd
[18:56] <jo-erlend> alcy, have you checked this page? https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html
[18:58] <alcy> jo-erlend: yes, I do have setup  a bunch of servers using that (pretty helpful !) doc, but since I have been used to slapd.conf for quite some time, I was wondering if there was a way to do the inverse, converting slapd.d to slapd.conf.
[18:58] <alcy> or I could simply copy paste one of my existing configs.
[19:07] <zamarax> hi, q: I have ubuntu 9.04 server install, x64 and it doesn't seem to recognize my dual intel PT nic cards
[19:07] <zamarax> atleast I don't see them in /etc/network/interfaces, is there a way to list all installed NIC cards?
[19:09] <alcy> zamarax: ifconfig -a
[19:10] <zamarax> oh ok, they are there, I'm assuming that means that they are recognized?
[19:11] <jo-erlend> have you just installed 9.04, or replaced your nics or something?
[19:11] <zamarax> replaced the nics
[19:12] <zamarax> i remember playing with a version 6 ubuntu and it always had the nics listed under interfaces but just to auto
[19:12] <jo-erlend> zamarax, then you'll probably have to fix your udev rules. I usually just rm /etc/udev/rules.7/70-persistent-net.rules
[19:13] <jo-erlend> you might want to back up the file before deleting it, or just renaming it to something else.
[19:13] <Pici> zamarax: Please think about upgrading from 9.04 to something more recent, as it has reached its End Of Life.
[19:14] <jo-erlend> when you've done that, reboot the server, and I think it should be ok. However, you should really consider upgrading it, as 9.04 is no longer supported.
[19:14] <zamarax> understood, that's not an option right now, it's a custom captive portal that just had a nic kick out on it
[19:14] <zamarax> so I need to quickly swap
[19:14] <jo-erlend> 10.04 will be supported until april 2015 on the server.
[19:15] <jo-erlend> zamarax, ok. Just rename /etc/udev/rules.d/70-persistent-net.rules and reboot. That should fix it.
[19:19] <zamarax> ok appears to have worked
[19:20] <zamarax> thanks alot :-)
[19:20] <zamarax> I'll see about upgrading it, but it's going to be something to task for later.
[19:20] <Trixboxer> Hi, May I ask a LTSP related question here ?
[19:25] <RoyK> Trixboxer: the general rule is 'don't ask to ask, just ask'
[19:27] <Trixboxer> RoyK:  I'm facing small problem while logging in a dumb ltsp terminal, daemon.log on server says nbd-server "Disconnect request received." , my image size is 540 mB and hence I think the nbd server is giving error.. how can I resolve this ?
[19:28] <RoyK> Trixboxer: sorry - I don't use ltsp, but I guess there might be others using it
[19:28] <RoyK> there's a channel for it as well - #ltsp
[19:28] <Trixboxer> yeah Im in it :)
[19:31] <sheetzam> ppetraki - acpi is now off
[19:32] <ppetraki> sheetzam, so cat /proc/cmdline confirms it?
[19:32] <sheetzam> yes: root=/dev/md2 ro quiet splash acpi=off
[19:32] <ppetraki> sheetzam, and lscpu should only show one cpu
[19:32] <sheetzam> correct
[19:33] <sheetzam> hmm
[19:33] <ppetraki> sheetzam, ok, try and crash it :)
[19:33] <sheetzam> wait
[19:33] <sheetzam> root@bounce:~# lscpu
[19:33] <sheetzam> Architecture:          i686
[19:33] <sheetzam> CPU op-mode(s):        32-bit, 64-bit
[19:33] <sheetzam> CPU(s):                2
[19:33] <sheetzam> Thread(s) per core:    1
[19:33] <sheetzam> Core(s) per socket:    2
[19:33] <sheetzam> that as expected?
[19:33] <ppetraki> hmm /proc/cpuinfo may be more accurate
[19:33] <sheetzam> it lists two processors also
[19:34] <sheetzam> :(
[19:34] <sheetzam> top thinks there are two, as well
[19:34] <ppetraki> perhaps it's noapic that turns you into a uni
[19:34] <ppetraki> :)
[19:34] <ppetraki> oh well, proceed with test #1
[19:35] <sheetzam> well, so far I've been unable to make it crash, but still trying
[19:35] <RoyK> sheetzam: pastebin cpuinfo output
[19:36] <RoyK> !pastebin
[19:36] <sheetzam> http://paste.ubuntu.com/521574/
[19:36] <sheetzam> cool feature
[19:37] <RoyK> two cores, one cpu, single thread per core
[19:37] <RoyK> should behave like a dual-cpu system (somehow)
[19:38] <sheetzam> right
[19:38] <sheetzam> one minute, I'll give you more background
[19:43] <ppetraki> sheetzam, yeah, I just confirmed on an old laptop, your cpu count should be what it was
[19:43] <sheetzam> ok
[19:43] <ppetraki> sheetzam, your interrupt routing however should have changed
[19:44] <ppetraki> because acpi isn't there to inform it anymore of it's preferences
[19:44] <sheetzam> ok
[19:45] <sheetzam> http://imagebin.org/120704
[19:46] <sheetzam> RoyK - got the kernel panic in the image above when running apt-cache search earlier today
[19:46] <sheetzam> was relatively reproduceable
[19:46] <sheetzam> now, not so much
[19:47] <RoyK> mce_panic?
[19:47] <RoyK> wtf is mce?
[19:50] <sheetzam> machine check exception?
[19:50] <ppetraki> note that it's citing memory banks
[19:51] <sheetzam> yeah, but memtest86 found no issues
[19:54] <ppetraki> have you tried running the messages log through the tool it suggested?
[19:54]  * ppetraki this is interesting
[19:57] <sheetzam> so, I have to capture more information during the crash, somehow, in order to use mcelog
[19:59] <sheetzam> well, I may have it set up to get more info, I'm not sure
[19:59] <sheetzam> now I wait...
[19:59] <sheetzam> no idea what to think if I can't get it to crash now
[20:00] <ppetraki> sheetzam, so you can setup crashdump to get a kernel core, which will have the dmesg buffer, though that takes some effort to configure
[20:00] <ppetraki> sheetzam, lets try a single cpu approach
[20:00] <sheetzam> ok
[20:00] <sheetzam> noapic?
[20:01] <ppetraki> add, 'nosmp' to the cli, keep acpi=off too
[20:01] <sheetzam> ok
[20:01] <ppetraki> this implicitly disables the io-apic
[20:04] <sheetzam> more /proc/cmdline:
[20:04] <sheetzam> root=/dev/md2 ro nosmp acpi=off
[20:07] <ppetraki> sheetzam, alrighty then
[20:07] <sheetzam> now we wait...
[20:07] <ppetraki> let's break it again
[20:08] <sheetzam> yup, trying :)
[20:09] <sheetzam> would using burnP6 be a good thing to try?
[20:10] <sheetzam> not sure how to get it to crash, at this point
[20:11] <ppetraki> iozone would be my choice
[20:11] <ppetraki> good memory disk stress
[20:11] <sheetzam> lscpu reports a single cpu
[20:11] <ppetraki> good
[20:12] <ppetraki> if it doesn't break, then rollback the 'acpi=off' and retry
[20:12] <ppetraki> if it's still stable, I believe there's a way to disable the advanced apic while maintaining SMP
[20:13] <sheetzam> ok
[20:13] <sheetzam> though, really, it'd be good to get it fixed without that
[20:14] <sheetzam> you have an iozone set of switches to use?
[20:15] <ppetraki> sure
[20:15] <ppetraki>  iozone -R -l 5 -u 5 -r 4k -s 100m
[20:15] <sheetzam> kk
[20:15] <ppetraki> just run it in a loop. while true do... done
[20:16] <sheetzam> k
[20:41] <sheetzam> ppetraki - you going to be on tomorrow?
[20:41] <ppetraki> sheetzam, every day
[20:41] <sheetzam> awesome, thanks!
[20:41] <ppetraki> :)
[20:42] <ppetraki> ubuntu server is now part of job description so I thought I should start paying attention to irc :)
[20:42] <sheetzam> that does seem logical, yeah
[20:43] <sheetzam> your Linkedin profile lead me to believe you probably know what you're talking about
[20:46] <ppetraki> oh you googled me :-p
[20:47] <ppetraki> yeah, I know a little bit about servers :)
[20:55] <\sh> ppetraki: ubuntu server a part of your job description? which company? ;)
[20:55] <ppetraki> \sh, gee I wonder :)
[20:57] <\sh> ppetraki: hrmpf...I should have known ;)
[20:57] <osmosis> libvirt is forgetting that guests have eth devices. is there a existing bug for this?
[21:00] <ppetraki> osmosis, not in the new bug list... the lucid or maverick?
[21:00] <ppetraki> ^this
[21:01] <osmosis> ppetraki, lucid
[21:01] <osmosis> ppetraki, i guess I should file a bug then.
[21:02] <ppetraki> osmosis, yeah, with a reproducible case please too
[21:02] <osmosis> ppetraki, it drops out randomly... but frequently.
[21:03] <ppetraki> osmosis, hmmm, euc should be seeing this then
[21:03] <osmosis> ppetraki, i can provide how to test for it happening, but dont know what the trigger is.
[21:03] <ppetraki> osmosis, well, its a good start
[21:47] <sheetzam> ppetraki - so far so good, I'll see how it weathers the night
[21:48] <sheetzam> good night
[21:55] <osmosis> ppetraki, filed,  https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042
[21:59] <ppetraki> osmosis, thanks
[22:05] <Error404NotFound> I have a freshly installed Maverick on this box, while a External USB harddisk is attached which contains my maverick setup from last night which crashed after a kernal upgrade. How can i clone exact same install from that hd except kernel?
[22:07] <ppetraki> dpkg --get-selections > installed-software
[22:07] <ppetraki> then remove the kernel from the list
[22:07] <ppetraki> dpkg --set-selections < installed-software && deselect
[22:07] <ppetraki> to install it
[22:08] <patdk-wk> crashed after a kernel upgrade?
[22:08] <patdk-wk> why not just boot with the old kernel?
[22:10] <ppetraki> cmagina, busy I see?
[22:13] <cmagina> ppetraki: always :)
[22:15] <storrgie> Can I install ubuntu to a disk that is plugged into my computer, while I am in ubuntu already?
[22:17] <ppetraki> hmmm
[22:17] <ppetraki> perhaps using kvm
[22:17] <osmosis> what does Triaged mean?  does it mean fixed?
[22:18] <ppetraki> osmosis, it means someone has looked at it, and priority and assigning it to someone comes next
[22:18] <osmosis> storrgie, https://help.ubuntu.com/community/KVM
[22:18] <osmosis> storrgie, or look into virtualbox
[22:19] <storrgie> no i dont mean i want virting
[22:19] <storrgie> i want to literally do a full install on disk
[22:19] <ppetraki> storrgie, just make sure it emulates things like io-apic, or the image won't be able to talk to the bare metal
[22:19] <storrgie> you saying I could simulate that though vbox or qemu?
[22:19] <ppetraki> Haven't tried it, but you're basically doing the inverse of p2v
[22:20] <storrgie> I'ma just push it into the machine and plug another monitor in
[22:20] <storrgie> just was trying not to move my hands from the keyboard
[22:22] <ppetraki> so something like 'kvm -m 1024 -hda /dev/<external disk> -cdrom <isoimage>"
[22:22] <Error404NotFound> ppetraki, but that won't restore all configs, right?
[22:22] <sobersabre> need help with upstart jobs order
[22:22] <Error404NotFound> patdk-wk, that was an option if another guy didn't mess up with old disk :(
[22:22] <ppetraki> Error404NotFound, nope, just installed packages, you can just tar up etc in that case
[22:22]  * ppetraki which is what I do
[22:23] <sobersabre> Q: how do I determine the order of all upstart jobs ?
[22:23] <sobersabre> A:... no idea.
[22:23] <ppetraki> just be careful when restoring your fstab
[22:23] <ppetraki> sobersabre, so there's supposed to be a tool that makes a graph for you
[22:23] <ppetraki> sobersabre, to determine dependancies
[22:24] <sobersabre> hm... ppetraki I don't mind CLI, just tell me the name. or where I can find it.
[22:24] <sobersabre> is it listed in the upstart homepage ?
[22:24] <sobersabre> (I prefer cli)
[22:25] <ppetraki> i'm looking right now
[22:26] <ppetraki> sobersabre, ugh, I don't have quick answer for you
[22:27] <sobersabre> hm :(
[22:29] <ppetraki> sobersabre, there's bootchart but that's overkill
[22:29] <sobersabre> ppetraki: I don't want a chart.
[22:30] <sobersabre> A list would be enough.
[22:30] <ppetraki> sobersabre, me neither :)
[22:30] <sobersabre> I can't find my hands and feet with upstart.
[22:30] <sobersabre> is there a way to start a job AFTER all the others are done ?
[22:30] <ppetraki> rc.local
[22:30] <sobersabre> start on started all ?
[22:32] <ppetraki> unfortunetely trying to get someone's attention this week is kinda hard with UDS going on
[22:32] <ppetraki> /etc/rc.local would be a good start, if you just want to run a job
[22:32] <ppetraki> I agree that we could do a better job illustrating dependantcies
[22:35] <meonkeys> is dbus-daemon needed on a server?
[22:37] <ppetraki> strickly speaking, no
[22:42] <osmosis> can anyone link me to the win2k3 virtio network and block drivers?
[22:42] <meonkeys> ppetraki: cool, thanks
[22:44] <ppetraki> meonkeys, the most you need I think is libdbus, because upstart can make dbus calls, but that doesn't mean the server has to be there to listen :)
[22:44] <meonkeys> ok
[22:45] <ppetraki> http://pastebin.com/9q2DKLTs
[22:59] <sobersabre> hi. got kicked for some reason.
[23:04] <ruben23> hi guys tried to update my ubuntu-server and im getting this error-------> http://pastebin.com/4YzaZNHq
[23:07] <Tobu> I had permission errors on http://packages.ubuntu.com/ for a while, someone must be working on those sites.
[23:07] <Tobu> Use a country mirror
[23:08] <ruben23> Tobu: how do i used other mirrior..?
[23:08] <Tobu> Ah no, it's security.
[23:09] <Tobu> You could change security.ubuntu.com into use.archive, but remember to change it back
[23:11] <sobersabre> ppetraki: I've found what I was looking for.
[23:11] <ppetraki> sobersabre, oh?
[23:11] <sobersabre> I simply dpkg -L on upstart.
[23:12] <sobersabre> and the result had executables.
[23:12] <sobersabre> man initctl
[23:12] <ppetraki> sobersabre, best answer I could get was add --debug and watch the log
[23:12] <sobersabre> nope. rtfm initctl
[23:12] <sobersabre> :)
[23:12] <sobersabre> initctl list
[23:12] <sobersabre> lists the jobs.
[23:12] <sobersabre> as they were executed.
[23:12] <sobersabre> and this is good enough for me.
[23:12] <ppetraki> oh no kidding
[23:12] <ppetraki> sweet
[23:13] <ppetraki> now I learned something   :)
[23:13] <sobersabre> indeed :-] took me 2 hours to discover, but it IS sweet.
[23:29] <adac> Is there a deb package with apt for openvpn-as?
[23:29] <adac> Access server
[23:41] <ehcah> Can someone point me to a tutorial for assigning static names on top of static IP's for my network devices?  cName records maybe?