/srv/irclogs.ubuntu.com/2010/10/28/#ubuntu-server.txt

=== NG_ is now known as ng_
=== ng_ is now known as NG_
=== NG_ is now known as ng_
=== ng_ is now known as NG_
b0gatyr_has anyone every used mailcleaner?00:54
b0gatyr_ever*00:54
=== _TechAway_ is now known as _Techie_
=== _Techie_ is now known as _TechAway_
=== NG_ is now known as ng_
=== ng_ is now known as NG_
twbHow do you tell ISC dhcpd not to serve an IP to a particular MAC?02:29
sorrellanyone know anything about phpmyadmin? I installed it through apt and it woun;t come up when I go to localhost/phpmyadmin03:23
sorrellit just tells me it doesn't exist.03:23
twbsorrell: did you read /usr/share/doc/<package name>/README.Debian?03:25
i_is_brokecan anyone point me in the direction on how to install a virtual desktop on a server with no gui?03:32
sorrelltwb, I will do that now, thank you.03:35
twbi_is_broke: we usually encourage people to learn to use a CLI instead03:36
i_is_broketwb, 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:37
twbi_is_broke: are you thinking of VNC, or what?03:38
i_is_broketwb: well i was told by someone that qemu, kvm would do it, but i cant really find anything on how to do it.03:39
twbqemu/kvm is for a "virtual desktop" in the sense of emulating a whole new system03:40
i_is_broketwb: yeah thats what i want to do.03:40
twbI don't know if you mean that or if you just mean something like Windows Terminal Services, where you remote desktop in03:40
i_is_broketwb: 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.:D03:41
i_is_broketwb, 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:42
sorrellyou can always03:43
sorrellapt-get install gnome-desktop03:43
i_is_brokesorrell, why run all of that for only needing a gui for like maybe 20 minutes a week?03:43
sorrellthe GUI won't run uless you call it up.03:44
sorrellalso having a VM won't give you a GUI.03:44
i_is_brokeso if i run a vm i cant use things that use a gui?03:45
sorrellYOU CAN'T RUN A gui ON A SYSTEM THAT DOESN'T HAVE A gui.03:45
sorrellsry for the caps.03:46
i_is_brokesorrell: i was going to say i can read small print to...lol. but ok thats all i wanted to know thank you.03:47
sorrelltwb, the file is compressed as a .gz and I can't find how to uncompress it.03:47
i_is_brokeuntar it03:47
sorrelli_is_broke, yeah sorry I had caps lock on and didn't know it. :(03:47
sorrellI'm stupid so how do I do that via the CL?03:48
i_is_brokesorrell: just tar -xvf file.gz or something like that.03:48
sorrellty03:48
i_is_brokeoh you have to have build-essentials installed.03:48
sorrellk03:49
i_is_brokei 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
twbsorrell: just run less (or zless) on it03:49
twbsorrell: if LESSPIPE is set (which it probably is), less will automatically recognize and decompress .gz documents.03:50
sorrellsweet03:50
sorrellthanks twb03:50
i_is_brokeor things like that...lol03:51
i_is_brokethats what i would need google for...lol03:51
i_is_brokeok, thanks and g/bye03:51
sorrellwhy don't you just SSH into the server?03:51
sorrellthen you can use the GUI on your system and still have a GUI less server.03:52
sorrelloh he left....03:52
sorrellshould have said something to him about links too.03:55
qman__he shouldn't be using the GUI to configure networking anyawy04:06
qman__that uses networkmanager, which is nothing but trouble on a server04:06
sorrellis that what he was trying to do?04:07
qman__I honestly have no idea04:08
qman__he apparently wanted a GUI on his server, and someone mistakenly guided him to install a virtual machine04:08
=== _TechAway_ is now known as _Techie_
=== _Techie_ is now known as _TechAway_
uvirtbotNew bug: #667597 in openldap (main) "conf.d directory not a configuration directory" [Undecided,New] https://launchpad.net/bugs/66759705:31
=== _TechAway_ is now known as _Techie_
whalesaladHey guys... I am pretty good with unix in general but I've never been able to completely understand file permissions, particularly groups stuff07:03
whalesaladI 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 dir07:03
twbwhalesalad: that's because posix dac semantics are retarded07:04
whalesalad??07:04
twbwhalesalad: re "unix file permissions"07:04
whalesaladah07:04
whalesaladyeah its kinda confusing to me07:04
whalesaladboth users have the same primary group07:04
whalesaladthe folder is owned by that group, staff07:05
whalesaladall sub folders are owned by that group07:05
rbniknejthe files would then just need to be made group-writeable by that group. They may need to chgroup them to that group07:06
whalesaladmmk07:06
whalesaladhmm... I just did a "chgrp -R staff foldername" and it isn't helping07:09
rbniknejtry 'chmod g+w foldername07:10
rbniknej*'chmod -R g+w foldername'07:10
whalesaladokay07:11
rbniknejdid that help any?07:12
whalesaladthanks!07:12
whalesaladfixed07:12
rbniknejnp :)07:12
whalesaladI actually have umask g+w in my .bash_profile ;)07:12
=== _Techie_ is now known as _TechAway_
twbHuh, I had no idea umask could take a symbolic argument07:14
=== _TechAway_ is now known as _Techie_
twbwhalesalad: rather than changing primary groups to all be "staff", suggest just making the directories in question set-gid.07:15
twbIf a dir is sgid, new children get the dir's group by default07:16
=== _Techie_ is now known as MalkavianManiac
=== MalkavianManiac is now known as CPK
=== CPK is now known as C|P|K
jmazaredowhere shuld i put this rule SecRule REMOTE_ADDR "^192\.168\.1\100$" phase:1,nolog,allow,ctl:ruleEngine=Off,ctl:auditEngine=Off07:34
jmazaredomodesecurity07:34
jmazaredodont know where to put this in my server07:34
=== C|P|K is now known as _Techie_
drcodehi all07:46
drcodeI have setup and working hp allinone07:46
drcodeI can print from xp to ubuntu, but I can't send fax from xp -> samba ->cups ->hp any idea?07:47
gorkhaanhey. Does anyone know an remote update/upgrade tool based on apt-get? Like  apt-dater. WebGUI should be great.07:59
twbjmazaredo: what service are you talking about?08:11
twbgorkhaan: define `remote'08:12
jmazaredomodsecurity08:13
gorkhaanManaging update for softwares. Let's say I have plenty of server, so I want to see what updates can be installed centrally08:13
jmazaredoi need to white list an ip08:13
gorkhaanlike apt-dater + over ssh08:13
jmazaredoin their site doesnt say what file to edit just the code08:13
twbapt-dater's package description impies it works over ssh08:14
twbjmazaredo: do you perhaps mean apache-mod-security?08:14
jmazaredoyes08:14
twbEr, libapache-mod-security.08:14
twbjmazaredo: sorry, I don't know much about apache.  Presumably somewhere in /etc/apache208:15
twbjmazaredo: of course, you can always blacklist a host using simple tcpwrappers, i.e. /etc/hosts.deny08:15
jmazaredohttp://www.modsecurity.org/documentation/faq.html#d0e400 this is their docs they say to put the code but dunno where08:16
jmazaredoi need to allow but mod_security is blocking it08:16
twbjmazaredo: try looking through /etc/apache2 for existing SecRules08:16
twb(Personally, I wouldn't trust anything that's using regular expressions to match IPv4 addresses...)08:17
jmazaredoyep done that but whenever i paste the code, and restart nothing happes ;)08:17
jmazaredotheir channel is sleeping hehehe08:17
=== rmk_ is now known as rmk
sander^workINFO: task apache2 ... blocked for more than 120 sec <-- I get this on 2.6.35-22-server kernel..08:27
twbsander^work: maybe because your I/O is through the roof?08:28
sander^worktwb, It was several days earlier.. but I got this message after I just rebooted.08:29
twbShrug08:29
sander^workMaybe its related to the hyper-v drivers i'm using?08:32
sander^workhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/27647608:34
uvirtbotLaunchpad bug 276476 in linux "Idle-priority scheduling bug blocks tasks" [Medium,Fix released]08:34
sander^workIf you scroll down to the bottom.. it says its happening with ppa kernel 2.6.35-22-server08:34
twbsander^work: I can't comment on Microsoft products, sorry.08:34
sander^worktwb, I guess its not related to that.. since other people also got it.08:35
twbShrug08:35
twbI don't run apache, either :-)08:35
sander^workIt's happening to other processes aswell.. as you see in the bug report.08:41
twbThat says if your kernel is up to date, it's not that bug08:44
alvinsander^work: This has been happening for a long time now. I stopped using LVM snapshots and it helped somewhat.08:53
garymcHi, 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_tmwhats the error?10:21
garymcin the bottom right of the browser on the paddlock10:22
garymcWarning: Conatians unathenticated content10:22
garymcI spoke to godaddy and they said ive installed the certs incorrectly10:23
garymcbecause its a private server they cant help me10:23
garymcAlso when i restart apache it now asks me for Key passphrase10:24
overlord_tmmaybe you load some images via http, not https10:24
overlord_tmu got to remove pass from key ;)10:24
overlord_tmotherwise you have to enter key on every reboot10:24
garymcoverlord_tm : How?10:24
overlord_tmhttp://www.madboa.com/geek/openssl/10:25
overlord_tmsearch for passphrase10:25
garymcAhh all images got to be on https server?10:25
overlord_tmif you dont want to get warning :)10:26
garymcoverlord_tm : you was right about the images. Thanks10:41
garymcJust need to remove the passphrase. DAMN!10:41
overlord_tmgarymc, http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#removepassphrase10:41
garymcThanks :)10:42
garymcYes cool overlord_tm thanks for the help :)10:54
garymcIm a happy guy now10:54
garymcspeak later10:54
uvirtbotNew bug: #667700 in mysql-5.1 (main) "Simple MySQL queries return wrong result after update from 5.1.41 (10.04, Lucid Lynx) to 5.1.49 (10.10, Maverick Meerkat)" [Undecided,New] https://launchpad.net/bugs/66770011:46
=== aliverius_ is now known as aliverius
MorkBorkanyone know why in /etc/shadow some of my ubuntu systems have * for root and others have !?12:32
MorkBorkwas that a change in the distro or did some random package make that change12:32
MorkBorkactually im only seeing one with *, the rest have !12:33
MorkBorkis there anywhere i can search to see what packages may have potentially manually modified /etc/passwd12:34
MorkBorkerr /etc/shadow*12:34
patdk-wk* means no password, can't login12:40
patdk-wk! means account locked, password optional, but still can't login12:40
ubottuError: I am only a bot, please don't think I'm intelligent :)12:40
MorkBorkyea12:41
MorkBorki know the differences12:41
patdk-wk! wasn't for you, you bot! :)12:41
ubottuError: I am only a bot, please don't think I'm intelligent :)12:41
MorkBorkbut im not sure why one system has * and the rest have !12:41
MorkBorki didnt manually modify them12:41
patdk-wkis it ! with something following it?12:41
MorkBorknope12:41
patdk-wkit just ! by itself?12:41
MorkBorkthe default seems to be just a !12:41
patdk-wkno idea, should give the same result, I believe12:41
patdk-wkas ! isn't a valid hash, of anything, so should do the same thing12:42
MorkBorkive 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
MorkBorkand i have a 10.04 system that was updated to 10.10 that has a *12:42
patdk-wkmy maverick/natty system has !, it started at karmic12:43
MorkBorkyea12:43
patdk-wkall my other systems have *, but they are all lucid or lower12:43
MorkBorkokay12:43
MorkBorkso lucid probably used *12:44
MorkBorksometime back in the 7.x or 8.x days it used !12:44
MorkBorkso basically in the 8.x-10.04 timeframe the default musta been * i guess?12:44
patdk-wkhmm, ya, my 8.04 systems are using ! too12:44
MorkBorki looked through bug reports, etc12:45
MorkBorknothing jumped out12:45
patdk-wkanoyher 8.04 system has lots of !12:46
MorkBorkim betting it was an installer change12:46
patdk-wkroot, ntp, lubuuid, mysql, tbd, dhcp, klog, sshd12:46
MorkBorki have a lot more ubuntu systems in random places12:48
MorkBorkseems to depend on when they were setup12:48
sobersabrehi. I've written an upstart script file based on hostname.conf13:24
sobersabreit is simply supposed to run another script (will paste the script in a moment)13:24
sobersabreit has "start on started network" clause13:25
sobersabreand the exec clause13:25
sobersabrethat's it.13:25
sobersabrewhat can make the script NOT to be run ?13:25
=== kobrien is now known as Guest61040
Guest61040greetings, 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.iso13:35
Guest61040where my drive is /dev/cciss/c0d1p113:35
mgolischif thats your disk device it should be fine13:42
Guest61040cheers13:42
mgolischbut dont name it iso its not a cd image..13:42
Guest61040what should it be called then13:43
mgolischand you probably want to specify a block size13:43
mgolischusing bs=something13:43
mgolisch1M or so for speedup13:43
Guest610401024 i think, sure13:43
mgolischhm i name them .raw or .dd but anything should be fine aslong as you remember what it is13:44
Guest61040kk, thanks13:44
J_Phi all13:46
J_Ppeople, ubuntu don't have package name glibc. What package correspond to this package?13:46
pmatulisJ_P: investigate 'libc6'13:53
k5673J_P: use "apt-cache search libc"13:55
J_Pk5673:  and pmatulis thanks!13:57
k5673J_P: the same "apt-cache search pmatulis"13:58
k5673J_P: apt-cache is your monochrome cli-based friend13:58
andreserl.win 413:59
mgolischor just browse packages.ubuntu.com14:00
k5673That's an option, too!14:00
kaushalhi14:03
kaushalis there a way to find out the Hardware is capable of 64 Bit or 32 Bit ?14:03
=== Barre_ is now known as Barre
shaunokaushal: if you look in /proc/cpuinfo, I believe the 'lm' cpu flag is x86_6414:08
kaushalshauno: ok14:08
kaushalso its 64 Bit capable14:09
shaunoif lm is present, yes.  if it's not .. it's not.  feel free to google X86_FEATURE_LM for the grizzly details :)14:11
patdk-wkhehe :)14:13
patdk-wkI have one system that is very odd14:13
patdk-wkI plugged in a 64bit cpu, used a 64bit os, and all is good14:13
patdk-wkbut the motherboard still has a 32bit memory limit :(14:13
patdk-wkstupid motherboard14:13
patdk-wkgood thing it goes in the trash in a few weeks14:14
=== kaushal is now known as supkrs
uvirtbotNew bug: #667793 in euca2ools (main) "euca-bundle-vol should copy filesystem label" [Undecided,New] https://launchpad.net/bugs/66779314:41
=== zul_ is now known as zul
JeffJasskyHey, 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:47
k5673JeffJassky: just type tasksel in console14:52
k5673JeffJassky: There is the option to install a LAMP server (Linux Apache MySQL PHP)14:53
JeffJasskyk5673: Thanks, man.. I actually just ran ... aptitude install apache2 php5-mysql libapache2-mod-php5 mysql-server14:53
JeffJasskyDoes that look about right?14:53
k5673JeffJasky: That's fine, too.14:54
sobersabrethis is the upstart conf file I created: http://pastie.org/125550115:00
sobersabrethe script runs properly if run by root manually15:01
sobersabreI mean /usr/sbin one.15:01
sobersabreshall I expect this job run by only creating such a file ?15:01
sheetzamgreetings all - I have a bug in Ubuntu Server 10.04 I'm trying to troubleshoot15:23
sheetzamI get a kernel panic on one of my servers when I run apt-cache search oauth15:23
sheetzamtried the same thing on another server (different hardware) and had no problem15:24
SpamapSsheetzam: can you paste the panic?15:24
sheetzamchecked the files, and they have the same md5sum.15:24
sheetzamhow do I capture the panic?15:24
SpamapSthat can be tricky ;)15:24
sheetzamno doubt15:24
SpamapShow different is the hardware?15:25
sheetzamit said "this is not a software problem"15:25
sheetzamvery15:25
SpamapSyeah its likely a badly behaving driver or broken hardware15:25
sheetzamso, what's next step, any idea?15:26
SpamapScan you look at the panic and see what failed? it does have some human readable information?15:27
sheetzamthe server that works is an older dell desktop machine15:27
sheetzamsome15:27
sheetzamhow about I take a pic and post it?15:27
sheetzamoh, and some of the info scrolls off screen very quickly15:27
sheetzamis there a boot switch to change the rows and columns of the console?15:28
sheetzammight help to capture more output15:28
SpamapSI seem to recall there's a way to get the SysRQ key to write the panic to kern.log if possible15:29
sheetzamok, I'll be back in a few15:30
SpamapSthe call trace is really whats important15:31
SpamapSthe top 3 or 4 items should help a lot15:31
sheetzamkk15:31
uvirtbotNew bug: #667817 in euca2ools "euca-bundle-vol should create target filesystem same as source" [Undecided,New] https://launchpad.net/bugs/66781715:36
sheetzamand now it works fine15:44
sheetzamgo figure15:44
=== _Techie_ is now known as _TechAway_
garymcHi guys. Anyone know how I get my website to display as http://secure.mysite.com instead of http://www.mysite.com ?16:07
=== oubiwann is now known as oubiwann-away
k5673garymc: you must register the subdomain to your noc.16:09
=== oubiwann-away is now known as oubiwann
garymcmy NOC?16:09
garymcwhats noc?16:10
jpdsgarymc: Surely if it was secure it would be using https:// instead?16:11
garymcsorry yes it is https16:11
k5673garymc: network operations center. Or the guy who assigned that domain to your IP16:11
garymcthat would be me :S16:11
Picisubdomains don't need to be registered, just setup in your apache/webserver config.16:11
sheetzamthey need to be registered with a dns someplace16:12
sheetzamhowever you pointed www.mysite.com to your server, you need to also add secure.mysite.com, and point it to your server16:12
garymcyeah apache config thats what i need16:12
garymcPici im on your level of thinking here16:13
garymcwhere could i get some help with doing that on apache etc16:13
sheetzamhttps://help.ubuntu.com/10.04/serverguide/C/httpd.html is a good place to start16:14
jpdsgarymc: You need to do something with mod_rewrite.16:14
garymci do?16:15
garymcOk what should i search for in google16:15
PiciWait, are we talking about setting up a subdomain, or pointing www.mysite.com to whatever.mysite.com?16:15
jpdsI appear to have lost my short note on how to do this.16:15
=== nuno__ is now known as slug
garymcI just want my secured domain to appear as https://secure.mysite.com instead of https://www.mysite.com16:17
jpdsPici: www.site.com → 301 → secure.site.com is what I thought it was.16:17
jpdsgarymc: http://www.cyberciti.biz/tips/howto-apache-force-https-secure-connections.html16:18
jpdsgarymc: "Force webmail login over SSL https session" bit, changing "%{HTTP_HOST}" to secure.site.com.16:18
=== luis__lopez is now known as luis_lopez
=== AStorm is now known as AstralStorm
garymcNo i dont think thats it16:23
garymcsee I dont even have secure.mysite.com setup anywhere16:23
sheetzamok, got another kernel panic16:26
sheetzamand I have a pic of the console output16:26
jpdsgarymc: So you'll need to give the subdomain an IP in DNS and point it at your server?16:27
sheetzamwould the trace help?16:27
garymcok16:27
garymcwould that affect my SSL certificate?16:27
jpdsgarymc: The IP? Don't think so, as long as the common name for the cert is valid.16:28
garymcok16:28
sheetzamso, the kernel panic starts by claiming a hardware error16:30
sheetzamcall trace:16:30
sheetzamprintk16:30
sheetzampanic16:30
sheetzammce_panic16:30
sheetzammce_reign16:30
sheetzammce_end16:31
sheetzamdo_machine_check16:31
sheetzam_wake_up16:31
sheetzamdo_machine_check16:31
sheetzamerror_code16:31
sheetzamany ideas where to start troubleshooting this?16:33
ppetrakisheetzam, hmm. run a memory check lately?16:44
sheetzamI have not.  Will do so16:44
sheetzamthough this was a recent upgrade to 10.04.  Was working fine in 8.0416:44
ppetrakisheetzam, well, time moved on as well, the machine isn't getting any younger :)16:45
sheetzamtrue16:45
sheetzamthe timing is interesting16:45
sheetzamthat's all16:45
sheetzamhowever, lunch time approaches, and it's a development box, so...16:45
sheetzamwill report back16:45
ppetrakicool16:46
sheetzamok, thinking that's not the problem - just completed one pass successfully17:21
sheetzamhow easy is it to enable netconsole in the ubuntu kernel?17:24
sheetzamI've also seen indications that this could be caused by a bad power supply?17:26
sheetzamwould it make sense to try a different flavor of the kernel?17:27
sobersabreguys, what is the way to determing what is run by upstart the last ?17:31
sobersabreI want to put something after it.17:32
sobersabreor maybe a way to display the whole list of what upstart runs in which order ?17:32
sobersabrehow can I do this ? (what tool to rtfm the man for)17:32
=== Wise_ is now known as MrWise
ppetrakisheetzam, not familiar with netconsole.17:58
ppetrakisheetzam, looking at the code path you triggered, the machine check was very real17:58
sheetzamah, doesn't matter really.   I need to solve the problem, not get more infomration17:59
sheetzaminteresting17:59
ppetrakisheetzam, if the HW is sounds them perhaps the intepretation of the platform has changed17:59
ppetrakisheetzam, acpi runtime has advanced considerably in the meanwhile17:59
ppetrakisheetzam, how many cpus do you have?17:59
sheetzamI forget, checking18:00
sheetzamit's a dual core Core Duo18:00
sheetzamalways feel stupid saying that18:01
=== NG_ is now known as ng_
ppetrakinah, dont be18:01
sheetzamso, one cpu, two cores18:01
sheetzamI think18:01
sheetzamhmm18:01
ppetrakiI don't even care anymore, I just ask QA to bring me one of those "things"18:01
sheetzamheh18:01
sheetzamand they are both listed as core 218:02
ppetrakisheetzam, so how frequent is this event? Say after you boot, time till failure18:02
sheetzamit doesn't seem time dependent, it seems action dependent18:02
sheetzamit's been up and stable since I ran the memtest18:02
sheetzamfirst triggered it when I did an apt-cache search18:03
sheetzamwas able to trigger it again doing the same apt-cache search after the machine had been up for only a few minutes18:04
ppetrakiso lets try a big hammer and if it works, try to dissect it from there18:05
ppetrakiim thinking to start by disabling acpi completely18:05
sheetzamwow18:05
ppetrakiwhich will make your system a uni18:05
sheetzamok, remind me how I do that?18:05
sheetzambios setting?18:05
* ppetraki looking up kern parama18:05
ppetrakino, kernel arg18:06
sheetzamok18:06
ppetrakiacpi=off18:06
sheetzamsimple as acpi=off at the boot prompt?18:06
sheetzamok18:07
ppetrakiadd that to your grub line, update-grub, reboot, cat /proc/cmdline, verify it's there, proceed with testcase18:07
sheetzamthere's a raid sync going on right now18:07
ppetrakitime for more coffee then :)18:07
sheetzamright18:07
sheetzamok, I'll report back in a while18:08
sheetzamand thank you very much for your help18:08
ppetrakiping me when you have something18:08
sheetzamwill do18:08
zygotada yang pakai puppy?18:35
RoyKhi all18:36
=== lamont` is now known as lamont
alcyfolks, 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/slapd18:50
jo-erlendalcy, have you checked this page? https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html18:56
alcyjo-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
alcyor I could simply copy paste one of my existing configs.18:58
zamaraxhi, q: I have ubuntu 9.04 server install, x64 and it doesn't seem to recognize my dual intel PT nic cards19:07
zamaraxatleast I don't see them in /etc/network/interfaces, is there a way to list all installed NIC cards?19:07
alcyzamarax: ifconfig -a19:09
zamaraxoh ok, they are there, I'm assuming that means that they are recognized?19:10
jo-erlendhave you just installed 9.04, or replaced your nics or something?19:11
zamaraxreplaced the nics19:11
zamaraxi remember playing with a version 6 ubuntu and it always had the nics listed under interfaces but just to auto19:12
jo-erlendzamarax, then you'll probably have to fix your udev rules. I usually just rm /etc/udev/rules.7/70-persistent-net.rules19:12
jo-erlendyou might want to back up the file before deleting it, or just renaming it to something else.19:13
Picizamarax: Please think about upgrading from 9.04 to something more recent, as it has reached its End Of Life.19:13
jo-erlendwhen 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
zamaraxunderstood, that's not an option right now, it's a custom captive portal that just had a nic kick out on it19:14
zamaraxso I need to quickly swap19:14
jo-erlend10.04 will be supported until april 2015 on the server.19:14
jo-erlendzamarax, ok. Just rename /etc/udev/rules.d/70-persistent-net.rules and reboot. That should fix it.19:15
zamaraxok appears to have worked19:19
zamaraxthanks alot :-)19:20
zamaraxI'll see about upgrading it, but it's going to be something to task for later.19:20
TrixboxerHi, May I ask a LTSP related question here ?19:20
uvirtbotNew bug: #666177 in samba (main) "Not able to use Network Printer" [Undecided,Incomplete] https://launchpad.net/bugs/66617719:22
RoyKTrixboxer: the general rule is 'don't ask to ask, just ask'19:25
TrixboxerRoyK:  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:27
RoyKTrixboxer: sorry - I don't use ltsp, but I guess there might be others using it19:28
RoyKthere's a channel for it as well - #ltsp19:28
Trixboxeryeah Im in it :)19:28
sheetzamppetraki - acpi is now off19:31
ppetrakisheetzam, so cat /proc/cmdline confirms it?19:32
sheetzamyes: root=/dev/md2 ro quiet splash acpi=off19:32
ppetrakisheetzam, and lscpu should only show one cpu19:32
sheetzamcorrect19:32
sheetzamhmm19:33
ppetrakisheetzam, ok, try and crash it :)19:33
sheetzamwait19:33
sheetzamroot@bounce:~# lscpu19:33
sheetzamArchitecture:          i68619:33
sheetzamCPU op-mode(s):        32-bit, 64-bit19:33
sheetzamCPU(s):                219:33
sheetzamThread(s) per core:    119:33
sheetzamCore(s) per socket:    219:33
sheetzamthat as expected?19:33
ppetrakihmm /proc/cpuinfo may be more accurate19:33
sheetzamit lists two processors also19:33
sheetzam:(19:34
sheetzamtop thinks there are two, as well19:34
ppetrakiperhaps it's noapic that turns you into a uni19:34
ppetraki:)19:34
ppetrakioh well, proceed with test #119:34
sheetzamwell, so far I've been unable to make it crash, but still trying19:35
RoyKsheetzam: pastebin cpuinfo output19:35
RoyK!pastebin19:36
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.19:36
sheetzamhttp://paste.ubuntu.com/521574/19:36
sheetzamcool feature19:36
RoyKtwo cores, one cpu, single thread per core19:37
RoyKshould behave like a dual-cpu system (somehow)19:37
sheetzamright19:38
sheetzamone minute, I'll give you more background19:38
ppetrakisheetzam, yeah, I just confirmed on an old laptop, your cpu count should be what it was19:43
sheetzamok19:43
ppetrakisheetzam, your interrupt routing however should have changed19:43
ppetrakibecause acpi isn't there to inform it anymore of it's preferences19:44
sheetzamok19:44
sheetzamhttp://imagebin.org/12070419:45
sheetzamRoyK - got the kernel panic in the image above when running apt-cache search earlier today19:46
sheetzamwas relatively reproduceable19:46
sheetzamnow, not so much19:46
RoyKmce_panic?19:47
RoyKwtf is mce?19:47
sheetzammachine check exception?19:50
ppetrakinote that it's citing memory banks19:50
sheetzamyeah, but memtest86 found no issues19:51
ppetrakihave you tried running the messages log through the tool it suggested?19:54
* ppetraki this is interesting19:54
sheetzamso, I have to capture more information during the crash, somehow, in order to use mcelog19:57
sheetzamwell, I may have it set up to get more info, I'm not sure19:59
sheetzamnow I wait...19:59
sheetzamno idea what to think if I can't get it to crash now19:59
ppetrakisheetzam, so you can setup crashdump to get a kernel core, which will have the dmesg buffer, though that takes some effort to configure20:00
ppetrakisheetzam, lets try a single cpu approach20:00
sheetzamok20:00
sheetzamnoapic?20:00
ppetrakiadd, 'nosmp' to the cli, keep acpi=off too20:01
sheetzamok20:01
ppetrakithis implicitly disables the io-apic20:01
sheetzammore /proc/cmdline:20:04
sheetzamroot=/dev/md2 ro nosmp acpi=off20:04
ppetrakisheetzam, alrighty then20:07
sheetzamnow we wait...20:07
ppetrakilet's break it again20:07
sheetzamyup, trying :)20:08
sheetzamwould using burnP6 be a good thing to try?20:09
sheetzamnot sure how to get it to crash, at this point20:10
ppetrakiiozone would be my choice20:11
ppetrakigood memory disk stress20:11
sheetzamlscpu reports a single cpu20:11
ppetrakigood20:11
ppetrakiif it doesn't break, then rollback the 'acpi=off' and retry20:12
ppetrakiif it's still stable, I believe there's a way to disable the advanced apic while maintaining SMP20:12
sheetzamok20:13
sheetzamthough, really, it'd be good to get it fixed without that20:13
sheetzamyou have an iozone set of switches to use?20:14
ppetrakisure20:15
ppetraki iozone -R -l 5 -u 5 -r 4k -s 100m20:15
sheetzamkk20:15
ppetrakijust run it in a loop. while true do... done20:15
sheetzamk20:16
sheetzamppetraki - you going to be on tomorrow?20:41
ppetrakisheetzam, every day20:41
sheetzamawesome, thanks!20:41
ppetraki:)20:41
=== _TechAway_ is now known as _Techie_
ppetrakiubuntu server is now part of job description so I thought I should start paying attention to irc :)20:42
sheetzamthat does seem logical, yeah20:42
sheetzamyour Linkedin profile lead me to believe you probably know what you're talking about20:43
ppetrakioh you googled me :-p20:46
ppetrakiyeah, I know a little bit about servers :)20:47
=== rbniknej is now known as jenkinbr
\shppetraki: ubuntu server a part of your job description? which company? ;)20:55
ppetraki\sh, gee I wonder :)20:55
\shppetraki: hrmpf...I should have known ;)20:57
osmosislibvirt is forgetting that guests have eth devices. is there a existing bug for this?20:57
uvirtbotNew bug: #667762 in net-snmp (main) "tkmib problem." [Undecided,New] https://launchpad.net/bugs/66776220:58
ppetrakiosmosis, not in the new bug list... the lucid or maverick?21:00
ppetraki^this21:00
uvirtbotppetraki: Error: "this" is not a valid command.21:00
osmosisppetraki, lucid21:01
osmosisppetraki, i guess I should file a bug then.21:01
ppetrakiosmosis, yeah, with a reproducible case please too21:02
osmosisppetraki, it drops out randomly... but frequently.21:02
ppetrakiosmosis, hmmm, euc should be seeing this then21:03
osmosisppetraki, i can provide how to test for it happening, but dont know what the trigger is.21:03
ppetrakiosmosis, well, its a good start21:03
sheetzamppetraki - so far so good, I'll see how it weathers the night21:47
sheetzamgood night21:48
osmosisppetraki, filed,  https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/66804221:55
uvirtbotLaunchpad bug 668042 in libvirt "target device info is not in dumpxml" [Undecided,New]21:55
ppetrakiosmosis, thanks21:59
=== ng_ is now known as NG_
Error404NotFoundI 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:05
ppetrakidpkg --get-selections > installed-software22:07
ppetrakithen remove the kernel from the list22:07
ppetrakidpkg --set-selections < installed-software && deselect22:07
ppetrakito install it22:07
patdk-wkcrashed after a kernel upgrade?22:08
patdk-wkwhy not just boot with the old kernel?22:08
ppetrakicmagina, busy I see?22:10
cmaginappetraki: always :)22:13
storrgieCan I install ubuntu to a disk that is plugged into my computer, while I am in ubuntu already?22:15
ppetrakihmmm22:17
ppetrakiperhaps using kvm22:17
osmosiswhat does Triaged mean?  does it mean fixed?22:17
ppetrakiosmosis, it means someone has looked at it, and priority and assigning it to someone comes next22:18
osmosisstorrgie, https://help.ubuntu.com/community/KVM22:18
osmosisstorrgie, or look into virtualbox22:18
storrgieno i dont mean i want virting22:19
storrgiei want to literally do a full install on disk22:19
ppetrakistorrgie, just make sure it emulates things like io-apic, or the image won't be able to talk to the bare metal22:19
storrgieyou saying I could simulate that though vbox or qemu?22:19
ppetrakiHaven't tried it, but you're basically doing the inverse of p2v22:19
storrgieI'ma just push it into the machine and plug another monitor in22:20
storrgiejust was trying not to move my hands from the keyboard22:20
ppetrakiso something like 'kvm -m 1024 -hda /dev/<external disk> -cdrom <isoimage>"22:22
Error404NotFoundppetraki, but that won't restore all configs, right?22:22
sobersabreneed help with upstart jobs order22:22
Error404NotFoundpatdk-wk, that was an option if another guy didn't mess up with old disk :(22:22
ppetrakiError404NotFound, nope, just installed packages, you can just tar up etc in that case22:22
* ppetraki which is what I do22:22
sobersabreQ: how do I determine the order of all upstart jobs ?22:23
sobersabreA:... no idea.22:23
ppetrakijust be careful when restoring your fstab22:23
ppetrakisobersabre, so there's supposed to be a tool that makes a graph for you22:23
ppetrakisobersabre, to determine dependancies22:23
sobersabrehm... ppetraki I don't mind CLI, just tell me the name. or where I can find it.22:24
sobersabreis it listed in the upstart homepage ?22:24
sobersabre(I prefer cli)22:24
ppetrakii'm looking right now22:25
ppetrakisobersabre, ugh, I don't have quick answer for you22:26
sobersabrehm :(22:27
ppetrakisobersabre, there's bootchart but that's overkill22:29
sobersabreppetraki: I don't want a chart.22:29
sobersabreA list would be enough.22:30
ppetrakisobersabre, me neither :)22:30
sobersabreI can't find my hands and feet with upstart.22:30
sobersabreis there a way to start a job AFTER all the others are done ?22:30
ppetrakirc.local22:30
sobersabrestart on started all ?22:30
ppetrakiunfortunetely trying to get someone's attention this week is kinda hard with UDS going on22:32
ppetraki/etc/rc.local would be a good start, if you just want to run a job22:32
ppetrakiI agree that we could do a better job illustrating dependantcies22:32
meonkeysis dbus-daemon needed on a server?22:35
ppetrakistrickly speaking, no22:37
osmosiscan anyone link me to the win2k3 virtio network and block drivers?22:42
meonkeysppetraki: cool, thanks22:42
ppetrakimeonkeys, 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
meonkeysok22:44
ppetrakihttp://pastebin.com/9q2DKLTs22:45
=== AstralSt is now known as AstralStorm
sobersabrehi. got kicked for some reason.22:59
ruben23hi guys tried to update my ubuntu-server and im getting this error-------> http://pastebin.com/4YzaZNHq23:04
TobuI had permission errors on http://packages.ubuntu.com/ for a while, someone must be working on those sites.23:07
TobuUse a country mirror23:07
ruben23Tobu: how do i used other mirrior..?23:08
TobuAh no, it's security.23:08
TobuYou could change security.ubuntu.com into use.archive, but remember to change it back23:09
sobersabreppetraki: I've found what I was looking for.23:11
ppetrakisobersabre, oh?23:11
sobersabreI simply dpkg -L on upstart.23:11
sobersabreand the result had executables.23:12
sobersabreman initctl23:12
ppetrakisobersabre, best answer I could get was add --debug and watch the log23:12
sobersabrenope. rtfm initctl23:12
sobersabre:)23:12
sobersabreinitctl list23:12
sobersabrelists the jobs.23:12
sobersabreas they were executed.23:12
sobersabreand this is good enough for me.23:12
ppetrakioh no kidding23:12
ppetrakisweet23:12
ppetrakinow I learned something   :)23:13
sobersabreindeed :-] took me 2 hours to discover, but it IS sweet.23:13
adacIs there a deb package with apt for openvpn-as?23:29
adacAccess server23:29
ehcahCan someone point me to a tutorial for assigning static names on top of static IP's for my network devices?  cName records maybe?23:41

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