/srv/irclogs.ubuntu.com/2009/03/23/#ubuntu-server.txt

moz_guys do you know any usb wireless devices i cant go wrong with, with ubuntu-server00:06
Kamping_KaiserCould someone give me the name of the command line version of ubiquity? I know i've seen it meantaioned on the ubuntu-server list, but I cant find anything about it on the net00:13
twbKamping_Kaiser: there isn't one.00:14
twbKamping_Kaiser: however you may be thinking of debian-installer (d-i), which is completely different software that is both more powerful and more flexible.00:14
Kamping_Kaisertwb, i'm pretty sure there is. it wasnt an ubuntu project, but was meantioned on the list.00:14
Kamping_Kaiserand no, its not d-i00:14
twbOK, perhaps I am not possessing all the facts.00:15
Kamping_KaiserI'll lurk a while, and if no one knows, I'll have to grave dig my maildir :l00:16
=== Deevz_ is now known as Deevz
=== mib_zau58pfd is now known as tommy_nmw
tommy_nmwhi04:07
tommy_nmwlet me ask about ubuntu04:07
tommy_nmwhello04:07
tommy_nmwwho knows how to set up active directory like Ubuntu domain controller ?04:08
twbtommy_nmw: that would be OpenLDAP and Samba, I guess04:25
twbI don't know much about it04:25
tommy_nmwso who knows well?04:29
treykeegood evening all04:29
tommy_nmwyes04:41
llragsllI want sshd to check the ssh_known_hosts file for all connections and no the .ssh/known_hosts file that is created for each user...04:58
=== llragsll is now known as rags
ragscan I have two gateways configured...with 2 different metrics?? I want it to switch whenever the other one drops..Is this possible?05:32
Kamping_Kaiseryes, and theres tools packaged for that purpose05:37
Kamping_Kaisercant give personal experiance though05:37
=== Noah0504|away is now known as Noah0504
Noah0504Anyone around?05:51
_rubenhmm .. im starting to experience more and more "issues" with cronjobs lately .. some work as expected, others down run at all, or dont do anything .. guess it's time to do some more investigating07:22
rst-uanic_ruben: have you tried to start those jobs manually?07:24
_rubenmanually they work fine07:24
_rubencould be an $ENV problem i guess07:25
rst-uanicmaybe, try exporting needed variables in the job script07:25
rst-uanicalso, did you run those jobs as the user specified in the crontab or as yourself?07:26
_rubenboth as root, which does have some effects on the $ENV (sudo versus cronjob)07:30
rst-uanic_ruben: and you use full paths in the cronjobs?07:34
Alex_21Hi, All,07:39
Alex_21In Ubuntu is .HTaccess access enabled by default? The release I am using is 8.04 Hardy. Please07:39
_rubenrst-uanic: yes07:39
Alex_21Odd, because I can't install Drupal from source for some reason07:40
rst-uanic_ruben: and what $ENV variables do you think you use?07:40
_rubenAlex_21: the allowoverride setting configures what stuff you can put in .htaccess sites07:40
Alex_21Does anyone have experiance with instaling Drupal from source?07:40
_rubenrst-uanic: none specifically .. i havent researched it very much yet .. was about to do so07:40
SkaagCan I safely remove console kit somehow? It wants to remove dbus as well07:53
SkaagWhy do I need that stuff on a server that will never do gnome sessions?07:53
_rubendbus depends on consolekit, for whatever reason07:55
_rubenit was a $PATH issue .. my cronjob calls /sbin/ipvsadm .. which turns out to be a shell script which then calls ipvsadm-1.24 and apparently /sbin/ isnt in the $PATH for (root) cronjobs08:20
Skaag_ruben: I know dbus depends on it, do I need dbus?08:42
_rubenSkaag: how should I know? :)08:43
Skaagis it required for proper functioning of an ubuntu server?08:44
Skaag;-)08:44
_rubenSkaag: I dont know what apps you got installed which might need it08:44
SkaagApache, MySQL...08:44
_rubenmy servers dont have dbus08:44
Skaagok great08:44
SkaagI assume if an app will need dbus it will say so08:44
SkaagI was just afraid it's required for the basic operation of the OS itself08:45
_rubenit should yeah08:45
Skaagok removed that stuff...08:46
Skaagit's just that sometimes console kit takes 100% CPU for no reason08:46
Skaagand I noticed it's a known bug08:46
Skaagthanks :)08:46
_rubennice08:47
rst-uanic_ruben: is it working now? :)08:49
_rubenrst-uanic: this specific one, yes .. i added a "PATH=/sbin:$PATH" to my script :)08:49
rst-uanicthat's good08:50
uvirtbotNew bug: #345470 in bind9 (main) "Please sync bind9 1:9.5.1.dfsg.P1-3 (main) from Debian unstable (main)." [Wishlist,Fix released] https://launchpad.net/bugs/34547008:51
_rubeni wonder if i should file a bug wrt the ipvsadm behaviour08:52
rst-uanic_ruben: my $PATH has /sbin08:53
_rubenrst-uanic: but also in a cronjob?08:54
rst-uanicdon't know08:54
rst-uanicI think cron scripts declare their own parameters or just use full paths :)08:56
_rubenrst-uanic: well .. i did use a full path to ipvsadm, but that doesnt work, because /sbin/ipvsadm is a wrapper script, which doesnt use full pathts08:59
rst-uanic_ruben: maybe :)09:02
_rubenfiled a bug for completeness sake .. at the very least it is now "documented" behaviour :)09:05
rst-uanic:)09:06
infinityrst-uanic: Crontabs can have a PATH declared at the top.09:07
rst-uanicinfinity: yes they can09:09
infinity02:56 < rst-uanic> I think cron scripts declare their own parameters or just use full paths :)09:10
infinityMy point is that the crontab itself (not what you run from it) can have PATH and SHELL and other such things declared before the periodic entries.09:11
infinityman 5 crontab09:11
rst-uanicinfinity: ok, and my point is that it is better to use full paths and have no problems09:12
infinityGenerally not...09:12
rst-uanicinfinity: why not09:13
rst-uanic?09:13
infinityScripts that use full paths (and worse, compiled code with full paths compiled in) aren't very resilient to the whole reason the UNIX filesystem hierarchy exists.09:13
infinity /usr/local/bin:/usr/bin:/bin <-- That's arranged like that for a reason.  So you can override what's in /usr/bin with /usr/local/bin ... And if you don't want that behaviour, you remove local from your path, not recompile or hardcode.09:14
rst-uanicinfinity: And if I want to write a small scripts for my system? I should think of how this will work on other systems too?09:17
infinityrst-uanic: Why would you bother hardcoding paths on your own system?  You know what you have installed, surely?09:18
infinityrst-uanic: But even small projects, I tend to write to the same standards as something I'd write for public release, based on the realisation that a good 75% of my "small projects" end up deployed to dozens of machines, at the least, and publically released to thousands/millions, at the worst.09:19
rst-uanicinfinity: I am not saying that declaring $PATH is wrong. I saying that if I want to write some quick script using full path is quite ok.09:20
infinityrst-uanic: Well, sure, whatever you want to do is "okay for you", by definition.  It's your system.  I'm just arguing it's not actually "best practice" to hardcode full paths to binaries.09:20
infinityWhat if we move something from /bin to /usr/bin or from /usr/sbin to /usr/bin between releases, and your script breaks because of it?09:21
infinityNo hardcoded binary locations, no problem.09:21
rst-uanicinfinity: for sure :)09:21
_rubengood point09:24
rst-uanicinfinity: thanks for your explanations :)09:25
=== cjwatson_ is now known as cjwatson
=== CaTeYe is now known as cateye
uvirtbotNew bug: #347206 in bacula (universe) "bacula in dapper (2.2.8) catalog upgrade from hardy (1.3.6)" [Undecided,New] https://launchpad.net/bugs/34720611:06
sparky_I'm trying to mount my back-up disk to upload on to my server but it can't mount it using "sudo mount -t hfsplus /dev/sdf1" it kicks back saying "wrong fs type, bad option, bad superblock on dev/sdf1.  Any help?12:25
sorensparky_: Anything in dmesg?12:30
sparky_[  511.957477] hfs: unable to find HFS+ superblock12:31
sorenWell, there you go.12:31
sparky_i don't know anything about superblock....12:32
sorenThe superblock is where the filesystem puts information about itself.12:33
sorenIt's created by mkfs.12:33
sparky_is there a way to fix without lossing my data12:33
sparky_oh so just run the mkfs and it will create the superblock?12:34
sorenNono!12:34
simplexioi dont think so12:34
sorenno!12:34
sorensparky_: No!12:34
sparky_ok12:34
sorenmkfs is what you use to *create* the filesystem to begin with.12:34
simplexiosparky_: are you 100% sure that your device name is right ?12:35
sorenSo if you run it on a block device that already has a filesystem, you'll delete the current contents.12:35
sparky_yes, it is the only one that is 1Tb in size12:35
sorensparky_: Try "sudo vol_id /dev/sdf1"12:35
soren...and tell me what it says.12:35
sparky_http://www.pastebin.ca/136906512:37
sorenWhy do you think it's an hfs+ filesystem?12:38
sparky_I thought that is what i created it as on my mac, but it looks like its fat32 correct?12:39
sorenYes.12:40
sparky_so i would us -t fat3212:41
sparky_use*12:41
sorenJust mount it.12:41
sparky_it's not showing anything in the dir12:43
sorensparky_: What did you expect to see? Did it mount correctly?12:54
Giddionhello12:54
sparky_i expected to see all my back-up'd files over 600 Gb worth12:54
Giddionive got a spare server laying around and im thinking of putting ubuntu server on there, im curious to know what i could use a box which has 32gb HDD space, P4 1.66 and 512mb ram for?  im currently running a mail server, web server, file server and mssql. but this is all windows based so i couldnt transfer it to linux.   any ideas?12:55
orudieivoks, hi thanx for helping me last night i got working it looks decent12:59
sorenGiddion: Not sure. Perhaps you could make it a mail, web, file and mysql server? :)13:04
ivokssoren: have you seend apache directory studio?13:06
ivoksseen13:06
sorenivoks: Nope.13:07
ivokssoren: it's ldap browser13:07
ivokssoren: it even has scheme editor and ldif editor13:07
ivoksit's a perfect tool for managing ldap13:08
ivoksthe only bad thing - it's for eclipse13:08
* soren really wishes we didn't have to deal with JAva.13:08
ivokssoren: it's a workstation-side app13:09
ivokssoren: on server, we wouldn't have java13:09
sorenivoks: Right, right, I was just looking at the other Apache Directory stuff.13:09
ivokssoren: ah, apache directory - ldap implenetation13:09
ivoksgrr... keyboard13:10
ahasenackhey, they have triggers :)13:10
sorenahasenack: I'm almost sure that doesn't outweigh the Java thing.13:11
ahasenacksommer: correct :)13:11
sparky_soren, thx for the help I got it going13:30
sorenCool.13:31
uvirtbotNew bug: #347098 in samba (main) "Samba crashes Windows XP Home" [Undecided,New] https://launchpad.net/bugs/34709813:36
AlexC_g'morning13:38
AlexC_we've just sent a server off to a data centre, however we've ran into quite a problem that was not noticed before we sent it off. The partition that mounts as / is 250mb in size! Is there a way to somehow move the data that is current on the / partition somewhere else, re-mount that temporarely, increase the size of the partition, then move it back?13:40
ivoksyou could create new partition13:42
ivoksof the same size13:42
ivoksdd data to it13:42
ivoksfix boot loader and fstab to boot from the other partition13:43
ivoksfix the first partition13:43
ivokscopy data back13:43
ivoksfix boot and fstab and reboot13:43
ivoksof course, be carefull and don't come looking for me if it doesn't work :D13:44
AlexC_:P13:44
sorenAlexC_: Is it the only partition on the system?13:46
AlexC_ok, so we've 5 partitions - one each for /home /tmp /usr /var and /. Trouble is we have no more space left to make a new partition, so I'm going to have to kind of do this 'on-the-fly' /home is 213GB, so maybe I could move all partition data into there and only mount that, then delete all others, fix sizes, copy data back over?13:47
sorenAlexC_: Can I see you partition layout, please?13:47
ivokswell, then copy everything to /home13:47
AlexC_soren, sure13:47
giovani3oh LVM13:48
giovani3why we love the13:48
AlexC_soren, http://paste2.org/p/16969813:48
giovani3thee*13:48
sorenAlexC_: Where's sda1 and sda2?13:48
giovani3and sda413:49
ivoksswap?13:49
ivokssda4 would be extended13:49
scope006when i create a new user in ubuntu server auto complete and bash history doesn't seem to work out of the box as opposed to the first created user13:49
giovani3and sda713:49
sorengiovani3: There doesn't have to be a sda4.13:49
AlexC_soren, they do exist, just not mounted. They are some recovery partitions that ideally we could get rid of (I want to), though boss wants them to be kept there13:49
scope006anything special i should look at in /etc/profile or something like that13:49
giovani3why was this not LVMed?13:49
sorenAlexC_: That's why I wanted to see your partition layout. The output of fdisk -l or parted print or something.13:50
AlexC_soren, ok13:50
ivokswell, having / on 260MB partition in this case isn't that bad13:50
domaswhen will people learn to use single big partition for system, and then big big partition for service data :)13:50
domasI just have 10G / and huge /a ;-)13:50
AlexC_soren, http://paste2.org/p/16970213:50
ivoks /usr is separate, /var is separate...13:50
sorendomas: Hopefully never :)13:50
AlexC_ivoks, it sure is, as I can't do any updates to the server due to it running out of disk space13:51
ivoksi guess kernel is creating problems13:51
sorenAlexC_: Shame. I was hoping we could just extend your root partition.13:52
ivokshaving boot bind-mounted to directory in /var would help :)13:52
AlexC_soren, same here. If I was to delete sda1 and 2, that would be possible?13:53
AlexC_though they are very small, but it would give us something to play around with13:53
sorenAlexC_: Technically, yes. I wouldn't, though.13:53
ivoksAlexC_: if i were you, i would delete sda1, sda2, sad3 and sda513:53
sorenAlexC_: sda2 is several GB.13:53
domassoren: why? :)13:53
ivoksAlexC_: and then create / on top of all of them13:54
ivoksi'm not sure that's possible, since three of them are primary and one extended13:54
sorendomas: Why on Earth would you do something like that?13:54
Deepssda1 is marked type dell utility, sda2 is fat32, so i'm guessing server's recovery partition?13:54
Deepsoh, hmm, was scrolled up13:55
Deepsignore me13:55
AlexC_Deeps, correct13:55
domassoren: why on earth would you constrain yourself in /var, /tmp, etc ;-)13:55
AlexC_though I see no need for them (recovery partitions)13:55
domassoren: i understand ubuntu has specific philosophy (like storing essential database files in /var/run ;-))13:55
ivoksright...13:55
ivoksthat's very stupid :)13:55
ivokswe should fix that13:55
sorendomas: Eh?13:56
domasI can give you 10 things that are idiotic about mysql package on ubuntu13:56
domasI filed one of them, and nobody even looked at the bug :)13:56
ivoksdomas: pid in /var/lib/mysql? :)13:56
giovani3is there a reason you can't just dump all the data on a drive, and start over?13:56
domasivoks: binlogs in /var/run13:56
ivoksdomas: that's right13:56
domasivoks: what is right in that?13:56
AlexC_giovani3, server is physically few hundred miles away from us now, though with the RAC we have it *may* be possible, however I would not like to do this13:57
domasanyway, mysql writable ~mysql is as bad =)13:57
ivoksnothing, i ack on that bug13:57
domas"CHECK TABLES" at restart is _extremely_ annoying on terabyte tables, you know.. ;-)13:57
domaswell, even on 100GB databases it is quite bad. ;-)13:57
domassoren: see, people put arbitrary limits where they don't need them, and don't have proper setup for anything else13:58
AlexC_soren, what are the technical reasons for not deleting sda2 and extending sda3 into that space?13:58
giovani3AlexC_: your datacenter doesn't offer kvm?13:58
giovani3you could ask to borrow a usb drive, backup your stuff13:58
ivoksdomas: could you summarize all those pitfalls?13:58
AlexC_giovani3, I don't know tbh13:58
ivoksdomas: so that we can fix them all13:58
giovani3then ask them to put some install media in the cd drive, and start over with LVM!13:58
giovani3AlexC_: well I'd be asking if I were you13:58
domasivoks: as long as someone will listen, sure13:58
ivoksdomas: i will listen13:58
domasivoks: lately I find out that people who pay me listen to me way more than whose who don't ;-))13:59
domasivoks: ok!13:59
sorenAlexC_: The fact that sda2 is located *before* sda3.13:59
sorenYou can't extend backwards.13:59
AlexC_ah13:59
sorendomas: The problem isn't that people contrain themselves. The problem is that it's too tedious to move stuff around.14:00
ivoksdomas: if you file a bug on LP, add me (ivoks) as surbscribed14:00
ivoksdomas: or, if you'd preffere to send an email, ivoks at ubuntu com14:00
domasivoks: oki14:00
AlexC_soren, would formatting sda2, then copying all data from sda3 to 2, then delete 3, extend 2 into 3 work?14:01
domasivoks: e.g. https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/293258 - is there for quite some time already14:01
uvirtbotLaunchpad bug 293258 in mysql-dfsg-5.0 "mysql user has home directory writable by mysqld" [Undecided,New]14:01
sorenAlexC_: Yes.14:01
AlexC_soren, is that a yes, it is a good idea, or a technically possible yes - but shouldn't really, yes?14:02
domasivoks: it isn't critical, but quite bad practice (used by many.. ;-)14:02
ivoksi know14:02
sorenAlexC_: Probably a good idea, yes.14:02
=== scfh is now known as scfh_
ivoksi have to fix conf on couple of my installs14:02
ivoksand i forgot to fix all that14:02
ivoksso, once you have a list, we'll fix all of them in one go14:03
domasoki!14:03
AlexC_soren, ok cool, could dd handle the difference in partition sizes if I was to do a direct copy of sda3 to sda2?14:03
domasputs some pressure on me now!14:03
AlexC_or, should I format sda2, resize that to the same as sda3 - then copy, then extend?14:03
ivoksbbl14:03
=== scfh_ is now known as scfh
domasivoks: there're also few bugs, mysqld_safe loops at 100% after mysqld restart, etc14:04
sorenAlexC_: Sort of.14:04
sorenAlexC_: It won't break. :)14:04
ivoksdomas: i've seen that one, too :/14:04
AlexC_but ... ? :P14:04
domasivoks: I just really have to sit down and review that, maybe should ask my managers to approve this to do that on my payroll14:04
domashehe, I have separate big /tmp only on boxes that have LVM snapshot roundrobin configured14:06
domasdoes 50G /tmp sound ok?14:06
domasivoks: kudos though for having apparmor profile14:07
domasivoks: I'm giving 'mysql security' talk soon at MySQL Conference, and it will be one of hilights in it =)14:07
sorenAlexC_: Sorry, I was on the phone..14:07
AlexC_soren, no worries14:07
sorenAlexC_: Just dd it over. The filesystem will still be those 200-300 MB, so once you've joined the partitions, you should resize2fs it.14:08
soren...as that will extend it to be the size of the underlying block device.14:08
ivoksdomas: well, mysql's apparmor isn't my work :)14:09
AlexC_soren, ok, so: 1) Format sda2, 2) dd sda3 to sda2, 3) delete sda3, 4) extend sda2 5) resize2fs ?14:10
sorenAlexC_: don't bother formatting sda2.14:10
AlexC_oh really?14:11
AlexC_would I not then end up with half of sda3, and half of sda2 on the sda2 partition?14:11
sorendd'ing sda3 onto it will overwrite that anyway.14:11
sorenYou would anyway.14:11
ivoksbbl14:11
sorenmkfs doesn't go through every bit of the block device zeroing it out.14:11
sorenIt just puts a superblock there.14:11
AlexC_ahh ok14:11
domasivoks: hehe, now that hardy will fix my apparmor bug soonish, I'll be able to deploy it widely \o/14:11
AlexC_soren, ok, I'll start on it =) This could be fun, since if I can't boot into the server I'm fecked =314:12
sorenAlexC_: Be careful. Make sure grub know where to look for stuff.14:12
uvirtbotNew bug: #293258 in mysql-dfsg-5.0 (main) "mysql user has home directory writable by mysqld" [Undecided,New] https://launchpad.net/bugs/29325814:12
sorenOr lilo or whatever you're using.14:12
AlexC_soren, yes, indeed. Just to confirm: 'dd if=/dev/sda3 of=/dev/sda2' is correct?14:13
sorenThat looks about right, yes.14:13
AlexC_ok, cool - thanks for all this btw14:13
AlexC_and it is ok to do while sda3 is mounted?14:14
sorenI would probably remount it readonly.14:16
soren...make sure you have a root terminal open ready to remount it rw.14:17
AlexC_soren, hum, and the server would still boot up ready for me to SSH in if I was to edit fstab, change to readonly, and restart server?14:21
sorenOh, you can remount while running.14:22
sorensudo mount -o remount,ro /14:22
AlexC_mm, interesting =)14:22
AlexC_soren, I'm so hesitant to do this, as it's a long trip to London if I mess up. I am currently SSHed in, so I remount, dd, then do same command once finished (though changing 'ro' to 'rw') ?14:24
AlexC_if you've not got time just say and I'll poke someone else14:25
sorenAlexC_: Again: Make sure you've got a root prompt somewhere else, ready to remount rw.14:26
soren..in case something goes bad.14:27
AlexC_soren, I'm not quite sure I understand you, I can only login via SSH - would that do?14:27
Deepshave another ssh session open at a root prompt14:28
sorenOpen up another terminal, ssh into the server, "sudo su -".14:28
AlexC_ok14:28
sorenWhich boot loader are you using?14:28
AlexC_grub14:29
sorenAlright. Tell grub that your root partition is /dev/sda214:30
soren...since sda2 and sda3 will have identical UUID's, so I'm not sure which one will be chosen.14:30
AlexC_ok, I shall do that now. One thing I have just thought, we'll need to make sda2 bootable, or will dd copy that data across?14:30
sorendd won't copy it across, no.14:31
AlexC_ok14:31
sorenIt's a flag in the partition table.14:31
sorenNot in the filesystem superblock.14:31
AlexC_ok that makes sense, and is something we'll need to do once dd has completed then14:32
AlexC_ok, I did the remount - though 'mount' says it is still rw14:34
sorenmount looks at /etc/mtab14:34
AlexC_ahh ok14:34
AlexC_time to dd14:34
AlexC_right, dd finished14:37
AlexC_mount / back as rw, mount sda2 just to see if data has been copied correctly is next step?14:38
AlexC_ok that appears to have worked, though I am a bit concerned fdisk still says it is a FAT32 partition - is that because it just hasn't updated, or has everything been copied to fat32 (and more importantly, will that be 'ok')?14:41
sorenfdisk doesn't know about the contents of partitins.14:41
sorenIt just sees that the partition's type is that. You can just change it to "Linux".14:42
soren(type 83)14:42
AlexC_ah ok, so that is just a ... 'label'/name for it?14:43
sorenSort o, yes.14:43
=== cateye is now known as CaTeYe
AlexC_soren, is it worth changing it to 83? Also, how do I make this partition bootable? Btw I shall send you a donation once I have done all this, as your help is extremely appreciated14:46
sorenAlexC_: I would probably change it to avoid confusion.14:46
sorenI don't know if the bootable flag really makes any difference, but it's something you do from fdisk as well.14:47
AlexC_I thought bootable was quite essential, other wise grub couldn't boot it?14:47
sorenI doubt grub cares, to be honest, but seeing as there's very little margin for error, you should probably set it :)14:48
AlexC_ok, awesome - that's done14:52
AlexC_technically I should now be able to reboot and everything *should* work, on the new partition? Then after that I simply delete sda3 and increase sda2 size?14:53
sorenThat's the idea, yes.15:00
rgreeninganyone here familiar with openerp? trying to run the server in jaunty and it fails. comp15:30
rgreeningcomplains about xpath15:30
rgreeningERROR: Import xpath module15:31
rgreeningERROR: Try to install the old python-xml package15:31
rgreeningScottK: ^ any ideas?15:31
ivoksinstall python-xml package?15:31
giovani3heh15:31
giovani3the instructions are a clue15:31
rgreeningivoks: its installed, obviously.15:31
giovani3jaunty is also ... not stable15:31
rgreeninggiovani3: Im not a n00b :P15:31
giovani3rgreening: file a bug report?15:32
ScottKrgreening: By design python-xml is not in the default path.15:32
ScottKgiovani3: I'd rather he fix it.15:32
rgreening:)15:32
rgreeningScottK: and I am capable, with a hint...15:32
rgreeningas you know15:32
ScottKrgreening: I don't recall what you have to add to the path to see the old python-xml stuff, but that's what's needed.  The python-xml package should yield sufficient clues.15:33
rgreeningSo ScottK, does that mean, I need to mod the openerp server script to update the PYTHONPATH?15:33
ivoks/usr/share/pyshared/oldxml/15:33
ScottKrgreening: I think so.  As ivoks says.15:33
ivoksjust ignore me :)15:33
rgreeningcool.15:33
rgreeningScottK: I'll take a look15:34
rgreeningthanks ivoks15:34
ivoksdpkg -L python-xml might help15:34
ScottKGreat.  IIRC it's in Universe so you can upload it.15:34
ivoksi'm not sure my answer is correct15:34
rgreeningcool15:34
rgreeningnp, I'll look around see if I can work it out.15:34
AlexC_soren, still alive? It's booted up into sda2 =) So far so good, what did you say I needed to do to make sda2 as big as I needed?15:36
AlexC_just use fdisk to change it? (well, mount sda2 as ro first I would assume?)15:36
sorenAlexC_: No need.15:37
sorenAlexC_: Just remove sda2 and sda3, recreate sda2 with the start sector of the old sda2 and end sector of the old sector3.15:37
sorenErr... s/sector3/sda/3/g15:37
AlexC_soren, I can't remove both, if I do that I loose all data on them. Currently sda2 is the copy of sda315:38
sorenYes, you can.15:38
rgreeningScottK: prob this path... /usr/share/pyshared/oldxml15:38
sorenRemoving the partition does not touch the data on it.15:38
sorenAlexC_: ^15:38
ScottKrgreening: Since that's the one ivoks suggested, I'd tend to think yes.15:39
rgreeninghmm. tried exporting it. no go..15:39
AlexC_soren, ok, that makes sense. And I do this all with fdisk, right?15:39
sorenAlexC_: Yes.15:40
domasivoks: heh, I see intrepid has a bit better scripts than hardy :)15:43
ivoksdomas: still, we should fix it in hardy too15:43
sorendomas: For what?15:43
ivoksmysql15:43
uvirtbotNew bug: #347361 in net-snmp (main) "libsnmp-python segmentation fault" [Undecided,New] https://launchpad.net/bugs/34736115:46
AlexC_soren, ok, that is done. I know have '/dev/sda2   *          12         307     2377620   83  Linux'. However, 'df -h' is still showing /dev/sda2 as 260mb, what is the next step after this?15:48
ScottKrgreening: sys.path.append('/usr/share/pyshared/oldxml/_xmlplus') will get you started, but then import xpath dies in progress leading to more clues.15:50
rgreeningScottK: yeah. They import boolean (which is part of python 2.6.. and other mess...)15:51
ScottKSo I think that leads to more work worth doing.15:51
rgreeninghehe15:52
ScottKrgreening: It's actually xpath that imports boolean.15:52
rgreeningI wanted to demo this software to someone today... no go for Jaunty...15:52
ScottKIntrepid will be similar probably as python-xml is out of the path there too.15:52
domasivoks: damn you people, quite a few problems have been fixed in intrepid :)15:54
domasivoks: I was looking at all init scripts and saw "oh, they changed this, they changed that" :)15:54
domasivoks: I'm tempted to set up PPA for hardy with intrepid packages15:55
rgreeningScottK: right from the python intrepreter, importing xpath is broken, so it leads me to believe there's either some voodoo needed or the oldxml stuff is just broken..15:55
ScottKI would tend to suspect an incomplete python-xml update for Python 2.6.15:56
AlexC_am I right in thinking,  resize2fs /dev/sda2  will resize the filesystem to  take up all the partition15:57
rgreeningoh my, whats a rats nest i've uncovered....15:58
rgreeningScottK: Bug 33775915:58
uvirtbotLaunchpad bug 337759 in openerp-server "openerp-server depends on python-xml and is therefore uninstallable ATM" [Undecided,New] https://launchpad.net/bugs/33775915:58
* ScottK was looking for In Progress -> rgreening....15:59
rgreeningScottK: its an existing bug report15:59
ScottKYes, and?16:00
AlexC_g'bai16:00
ScottKrgreening: You're allowed to fix ones you didn't report.16:00
rgreeningI know, I was just indicating I found an open one to work against :)16:00
rgreeningScottK: seems to me, modifying the oldxml to not load boolean may be whats necessary.16:02
ScottKrgreening: From what little I know about this, that seems likely.16:03
ScottKIt's dead upstream, so don't feel bad about patching it.16:03
rgreeningthough what breaks outside of that, is unknown16:03
rgreeningok16:03
rgreeningI'll give that a shot16:03
rgreeningScottK: I expect a big patch to remove boolean may fix this. It's in 44 places in the package.16:09
ScottKThat's not so bad.16:09
rgreening:) just time consuming.. but hopefully this is all thats required to fix openerp16:09
broheemhello everyone. noob question: i need to add php-imap support to a current ubuntu server setup. if i run "sudo apt-get install php5-imap" will that leave the current setup intact and just add on imap? or do i need to run that command with all the modules/addons i currently have enabled?16:23
giovani3broheem: it will install the module, it doesn't remove your other modules16:24
broheemgiovani3: perfect, thank you! i wasn't sure if that was replacing php5 with the new module or just adding it on. that answer my question. take care.16:24
giovani3broheem: no problem -- that goes for all modules in debian/ubuntu -- in some cases, though, there will be multiple packages that replace one another such as xxx-mysql versus xxx-pgsql16:25
giovani3because only one kind of support is built in at a time, for example16:25
broheemgiovani3: ah, yes, that makes sense. thanks for the info. much appreciated!16:26
giovani3np16:26
ivoksdomas: sorry, i wasn't here16:27
ivoksdomas: if you are really eagar to do it, of course, you can set up ppa16:27
ivoksdomas: we could then just pull the diff and review it16:27
domasivoks: nah, I mean, I'd just pull package from intrepid and make it compiled for hardy16:28
domasivoks: intrepid resolves most of bad stuff16:28
ivokshehe ok16:29
domasthats good16:29
domasexcept that we run mostly LTS :)16:29
ivokswell, LTS isn't sealed16:29
ivoksfixes are always welcome16:29
=== hessml|away is now known as hessml|away|away
=== hessml|away|away is now known as hessml|away
mathiazsoren: did you push your opennebula modifications to my iso_testing scripts somewhere?16:53
=== MohammadBoozary is now known as Mohammad[B]
sorenmathiaz: No, I didn't, sorry.17:20
rgreeningScottK: I think I figured out how to make the rdepend on python-xml for openerp-server go away :)17:34
ScottKrgreening: That's an even better solution for openerp-server.17:35
rgreening:)17:35
rgreening1 file to fix17:35
rgreeninga couple of small changes to osv/orm.py ScottK17:36
ScottKIdeally we want python-xml to go away ....17:36
rgreeningand it then uses internal python xml (xpathEval)17:36
ScottKPerfect.17:37
rgreeningIm testing here. Will let you know how it all goes.17:37
MHS_Hello. I am setting up a server for a number of computers. The server will hand out an IP address however I am having trouble in getting it to accept the server as a router to the internet. Can anyone help me?17:37
cemcMHS_: what do you mean 'accept the server as a router' ?17:44
=== apw is now known as cafetiere
MHS_The computers can't access the internet through the server17:45
cemcMHS_: is ip forwarding enabled? check cat /proc/sys/net/ipv4/ip_forward17:48
MHS_I think you meant type in that to the terminal. If you did then after I typed it in it said 017:49
MHS_I also went directly to the file and it also shows nothing17:50
giovani3MHS_: then that means that ip forwarding isn't enabled17:50
giovani3so your server isn't acting as a router17:50
MHS_How can I change this?17:51
giovani3did you ever try to set it up as a router?17:51
MHS_No.17:51
Tuxisthi17:51
giovani3ok -- it's not the most simple of tasks17:51
Tuxisti have problem with nfs, pam and kerberos17:52
giovani3I wouldn't advise it if you don't feel pretty comfortable with linux17:52
Tuxistwhen i ount the nfs volume i can't login via pam kerberos17:52
MHS_I'm comfortable enough that I believe I can at least try. If you could possibly help me that is.17:52
giovani3MHS_: https://help.ubuntu.com/community/Router17:52
giovani3that's ONE guide -- there are many17:53
giovani3I don't know if it's complete17:53
MHS_Thank you17:53
Tuxisthave anybody solutions for this problem17:53
giovani3google is your friend17:53
Tuxisti think nfs overwrite the krb5cc_017:53
MHS_Thank you for all the help. I know. An I've looked but I just couldn't find the right wording I suppose.17:53
=== cafetiere is now known as apw
rgreeningScottK: Im having a diff time getting postgres properly setup to test out the openerp changes...18:50
* ScottK hasn't set up postgres in a very long time.18:51
* ScottK would just say ask here ....18:51
rgreeningI have set up in the past... but never had much difficulty...18:52
rgreeningI think its openerp related.18:52
Hans67521hello all19:18
Hans67521how do i remove the login warranty message for each user?19:18
_rubenedit /etc/motd19:20
ivokserr19:20
ivoksedit /etc/motd.tail19:21
Nafalloedit /dev/ivoks19:21
ivoks:)19:21
_rubenoh .. right .. forgot about that one :p19:21
Hans67521thanks19:28
Hans67521dont have a /dev/ivoks19:28
giovani3Hans67521: 'twas a joke, disregard19:30
uvirtbotNew bug: #347503 in samba (main) "Samba/Winbind: INTERNAL ERROR: Signal 11" [Undecided,New] https://launchpad.net/bugs/34750319:42
Jeeves_Hi all!19:55
moz_my system is having trouble booting20:02
moz_it seems to hang after "loading hardware drivers.."20:02
moz_there is a message saying [8.8xxxxxx] header request #820:02
moz_then there is no hard drive activty, anyone know whats happened?20:03
Jeeves_moz_: Try booting without 'quiet' at the bootloader20:03
Jeeves_That will give you more output20:03
moz_[8.847701] header request #1 is actually the message20:04
moz_Jeeves_: how do I do that sorry?20:05
Jeeves_moz_: When it's starting grub20:05
Jeeves_hit escape20:05
moz_yup20:05
Jeeves_and than you can edit the boot-options20:05
Jeeves_someone figured that it is better to boot a server silent20:05
Hans67521can i run fetchmailconf from terminal without X20:08
giovani3Hans67521: you can't ... fetchmailconf is a GUI20:09
giovani3it just edits .fetchmailrc though, so you can do that manually20:09
slops17hey all20:10
Hans67521i have a fetchmailrc file for a user20:10
Hans67521how do i run it20:10
Hans67521or if i have 10 users how do i run it20:10
moz_Jeeves_: it seemed like when i changed that it loaded ok, i guess that is just coincidence it couldnt have fixed it ?20:10
slops17i am trying to do an install of ubuntu server on my server but after the install it takes me to a grub command line but i cant do anything20:10
giovani3Hans67521: I don't know what you mean by "run it" -- the .fetchmailrc file is a preferences file20:11
Hans67521ok20:11
slops17i am using the server cd iso20:11
Hans67521but how to i run to to download mail for a users20:11
Hans67521user20:11
User777hello20:14
cemcHans67521: you run fetchmail, which uses the .fetchmailrc file for options20:14
Jeeves_moz_: hmm, might be a coincidence20:15
User777okay so i just downloaded and installed ubuntu server with LAMP..(its actually a turnkey Joomla appliance) and although Everything seems set up correctly in interfaces and resolve i cant resolve..any ideas?20:15
Jeeves_only one way to find out :)20:15
Hans67521mmm.. i am lost20:15
Jeeves_User777: cat /etc/resolv.conf20:15
Hans67521i a put in set daemon 60 in the users fetchmailrc file will it then automaticaly check mail every 1min?20:16
User777cat /etc/resolve.conf list the 2 nameservers i put and they are correct20:16
oly562question - does the ubuntu - server run gui-less by default?20:17
Jeeves_User777: And they are reachable?20:17
Jeeves_oly562: Of course20:17
oly562why of course?20:17
slops17any one?20:18
User777they are reachable20:18
Jeeves_slops17: type enter20:18
slops17i did20:18
oly562why does the ubuntu server take so long to boot?20:18
slops17i am trying to do an install of ubuntu server on my server but after the install it takes me to a grub command line but i cant do anything20:18
oly562vs desktop and gui, actually the desktop and gui load faster than the gui-less server20:18
oly562is there a way to fix that?20:19
Jeeves_oly562: That depends what the reason is20:19
oly562im speaking from a default install no real services added yet...20:19
oly562no reason, its default settings im concerned with20:19
oly562try to follow what im saying, it will make more sense20:19
moz_my wireless USB stick is disconnect very frequently, sometimes after 5 mins of use sometimes 20 mins, is it possible is it over heating, the device is still being recognized on my laptop that is running unbuntu-server, but it will not ping anything, could this be overheating20:19
moz_or with overheating should it not be recognized20:19
User777Jeeves_ ?20:20
moz_if i replug it in, it will usually work again for a while20:20
slops17jeeves_ i am trying to do an install of ubuntu server on my server but after the install it takes me to a grub command line but i cant do anything20:20
oly562ok, i will try this again... the gnome ubuntu desktop loads 10x faster than the ubuntu - server os. why is this? note, i haven not loaded any services on the server, other than the defaults... and.... is there a way to fix this? if you know how to speed up the default server great, if not, i dont need to type extra kystrks.20:20
Jeeves_Ok20:21
Jeeves_so now there are three peope asking me 6 questions20:21
oly562im asking the room20:21
Jeeves_User777: are you firewalling stuff>20:21
User777im only asking one question as such20:21
Jeeves_?20:21
User777i havent touched any firewall settings20:22
Jeeves_User777: That's not the question20:22
Hans67521does anyone know fetchmail20:22
Hans67521i need help20:22
Jeeves_oly562: Try finding out what needs time during booting20:22
Jeeves_Hans67521: man fetchmailrc20:22
oly562ill wait for a few, then i will try back later, nothing i can find on docs tell me why it takes longer than a window 2000 server to boot up20:22
henkjanoly562: you didnt install an tasksel like 'mailserver' or something?20:22
oly562no henkjan20:22
oly562i did not20:23
oly562although i would like to load services next20:23
henkjanoly562: i remember sendmail taking a longtime to start if not configured correct20:23
User777sorry, its address is behind a firewall yes, but other VM's with windows work fine out of the box20:23
oly562but if the server is going to take that long, i will simply use freebsd for my server needs20:23
oly562im trying out ubuntu this year20:23
Jeeves_oly562: Sure. Blame Ubuntu for your cluelessnes20:23
oly562well debian i mean20:23
User777other vm's on the same subnet20:23
User777i mean^20:23
Jeeves_User777: Still not answering the question20:24
oly562im not running a freeradius server Jeeves.20:24
henkjanoly562: in the grub menu you can edit the boot parameters20:24
Jeeves_User777: Hint: sudo iptables -L -n -v20:24
oly562or apache ssl that i can automajically get to boot with out halting20:24
oly562yesh....20:24
henkjanoly562: remove the 'splash' line20:24
oly562dont assume anyone is cluess from a few lines in a chat room20:24
oly562henkjan:  oh? you think that will work?20:24
henkjanoly562: er,, remove the 'slash' word and boot20:24
oly562i dont see any splash, are you saying in grub?20:25
Jeeves_henkjan: oly does not understand what he is doing20:25
Jeeves_I give up :)20:25
henkjanoly562: by removing splash your server wil show you whats starting up20:25
oly562Jeeves_:  is a dick20:25
oly562;)20:25
Jeeves_oly562: Indeed!20:25
oly562hmmm20:25
Jeeves_But at least i'm a smart dick!20:25
User777chain input (policy accept 0 packets, 0 bytes)20:25
User777err..sorry thats incomplete20:25
oly562where can i remove splash...20:25
henkjanreboot the server20:25
User777pkts bytes target  prot opt in  out  source    destination20:26
oly562it starts up in cmdline, there is no splash pic, gui, notta. i dont see where the splash line would be20:26
henkjanin the grub boot menu you should be able to edit the parameters20:26
Jeeves_!paste20:26
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)20:26
User777is the same for FORWARD and OUTPUT20:26
oly562the server is not on at this time, im just asking for furture ref..20:26
Jeeves_User777: See !paste20:26
henkjanoly562: if the servers is starting up in cli. on which line is it 'hanging' ?20:26
User777ah, yes sorry, thanks20:26
oly562yah, i need to find that out... henkjan20:27
oly562its been a month since i messed with it20:27
oly562ill do that. and return later20:27
henkjanoly562: okay20:27
oly562i sorta remember, something, but not definitive20:27
Jeeves_henkjan: that's about the same I said before :)20:27
henkjanoly562: and don't call jeeves a dick again!!!!!20:27
Jeeves_henkjan: It seems to help when you repeat stuff I say :)20:27
oly562but one more thing, where would i remove this splash entry? in grub.conf?20:28
Jeeves_oly562: #kopt in /boot/grub/menu.lst20:28
oly562i call'em as i see'em20:28
oly562ic.. menu.list got it20:28
henkjanJeeves_: its my authority!20:28
Jeeves_henkjan: Ah!20:28
Jeeves_Enlighten me!20:28
Jeeves_oly562: No, menu.lst20:29
oly562one last little question, about wireless ;) oh and Jeeves how bout just in grub dir20:29
henkjanJeeves_: recoverd from an busy saterdayafternoon? ;)20:29
Jeeves_henkjan: Almost :)20:29
Jeeves_oly562: Try writing a phrase20:29
User777here it is    http://paste.ubuntu.com/136238/20:29
Jeeves_That might help people understand what you try to say20:30
oly562ok,  can i manually change my wireless nic signal, such as 2.4. to say, something higher, manually? i do not know if the nic is 5.x ghz but i do know its 2.4. its a wireless G nic20:30
Jeeves_User777: Ok, so no firewalling20:30
oly562im thinkin i can change the freq20:30
Jeeves_User777: Now paste what's in /etc/resolv.conf20:30
oly562any suggestions? if not, not big20:30
Jeeves_oly562: No clue20:31
oly562i will want to set up a wireless net on my server, is why20:31
User777ahhhhh!20:32
oly562henkjan: ? ur thoughts on wireless change of nic strength20:32
User777lol..Thanks so much Jeeves!20:32
User777i dont know what file name i typed in but nano must have created something elese20:32
oly562ok, ill be back at a later time.. Njoy... l820:32
User777that resolve was blank so i filled it in and now reolving is happening20:32
Jeeves_User777: coolio20:32
Jeeves_have fun20:32
henkjanolcafo: no thoughts on that. wireless is for homi!20:33
Jeeves_:)20:34
henkjanhmm, sorry olcafo. that wasnt for you20:34
domashi!21:05
Jeeves_Hi!21:08
_rubenho!21:08
Jeeves_Wat nou!21:13
rgreeningScottK: ping21:19
ScottKrgreening: Pong21:19
rgreeningScottK: I really hate postgres21:19
mathiazkirkland: you mentionned that kvm 84 supported kvm-in-kvm.21:19
mathiazkirkland: is this also true for the hardy backport?21:19
rgreeningI still cant get postgres + openerp running21:19
kirklandmathiaz: true, if you have an amd64 cpu21:19
ScottKrgreening: Don't hate postgres.  It's not mysql after all.21:19
kirklandmathiaz: and if you're running the kvm-source module21:19
mathiazkirkland: is there any specific options to be passed to kvm?21:20
kirklandmathiaz: yes, i actually done that on my hardy backport test machine21:20
kirklandmathiaz: yes, there is ...21:20
rgreeningScottK: I have no idea where to go... I've read everything I can to see about getting this running.21:20
mathiazkirkland: I've been some beta testing and there is the last test case that deals with a virtual host - http://testcases.qa.ubuntu.com/Install/ServerWhole21:20
kirklandmathiaz: -enable-nesting enable support for running a VM inside the VM (AMD only)21:20
mathiazkirkland: ah - and libvirt in hardy doesn't support that?21:20
kirklandmathiaz: oh, hmm, probably not21:21
ScottKrgreening: There are probably people here who can help you with the postgres stuff.21:21
kirklandmathiaz: i got a post on my blog that makes me think that we might need to backport libvirt too, if we go this route21:21
mathiazkirkland: ok - I'll give a try using the command line then.21:21
mathiazkirkland: that wouldn't suprise me - we should think about the whole stack21:22
mathiazkirkland: and backporting the same version as in jaunty21:22
mathiazkirkland: so that we can be a more confident that things are stable in hardy21:22
kirklandmathiaz: agreed21:22
rgreeningScottK: this is the bug I am running into... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=51634821:22
=== hessml|away is now known as hessml|away|away
uvirtbotDebian bug 516348 in openerp-server "openerp-server: server cannot connect to database" [Important,Open]21:22
mathiazkirkland: at least we know that the combination of the different packages (version wise) work on Jaunty.21:23
ScottKSo at least it's not just you.21:23
kirklandmathiaz: right21:23
mathiazkirkland: anyway - thanks for the pointer to the kvm option. I'll give it try later.21:23
ScottKrgreening: Were the last comments helpful?21:25
kirklandmathiaz: sure thing21:25
rgreeningScottK: nope. not really...21:25
ScottKrgreening: I've got no great ideas for you.21:26
rgreeninghe21:26
rgreeningheh21:26
rgreeningstupid package being packages and not properly tested!21:27
* rgreening needs to kick someone21:27
Jeeves_rgreening: ask someone to bend over21:27
rgreening:)21:27
rgreeningvolunteering?21:27
rgreening:P21:27
Jeeves_Nope :)21:27
Jeeves_btw21:28
User777hello again21:28
Jeeves_why do we boot servers without any usefull output?21:28
Jeeves_Why not remove splash and quiet from the grub commandline?21:28
Jeeves_User777: Hi21:28
mathiazkirkland: the RAID bug (boot from degraded raid) is still there?21:28
kirklandmathiaz: yes, that's what i'm working on21:29
User777so..on this ubuntu server..i just installed and (i think) configured correctly proftpd....however i cant connect from filezilla on a windows machine....any ideas?21:29
kirklandmathiaz: the latest mdadm release in debian solves the problem21:29
kirklandmathiaz: i'm trying to isolate the fix21:29
kirklandmathiaz: otherwise, i have a merge prepared21:29
Jeeves_User777: Did you select inetd or standalone?21:29
User777inetd21:29
kirklandmathiaz: what do you think would be preferred?21:29
Jeeves_User777: Is inetd installed?21:29
Jeeves_User777: By default, it isn't21:30
User777ah21:30
User777i did not know that21:30
Jeeves_which is kinda dumb in the proftpd package21:30
Jeeves_User777: it's because of the 'no open ports by default' policy, i believe21:30
User777will installing inetd now make it work..or will i have to then redo proftpd?21:30
Jeeves_User777: The install should do the trick21:30
User777inetd isnt in repository?21:31
mathiazkirkland: hm - looking at the changelog.21:32
mathiazkirkland: would the fix be included in 2.6.7.2?21:32
kirklandmathiaz: the changelog entry seems to indicate so21:33
kirklandmathiaz: i cherrypicked the one non-documentation patch in that release21:33
kirklandmathiaz: this did NOT solve the problem21:33
mathiazkirkland: merging 2.6.7.2 would be easy since it's a bug fix only release21:33
kirklandmathiaz: so i merged 2.6.8-12-gb47dff6-221:33
kirklandmathiaz: which did solve the problem21:33
User777okay su just installed inetutil-inetd and am rebooting21:34
kirklandmathiaz: this one looks tasty too: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=2b4ca8f079335c1b3f345ec13da58699aaa0269d21:35
kirklandmathiaz: let me try a merge of 2.6.7.221:35
User777thanks you so much21:38
User777inetd did it21:38
User777your the man (and or woman)21:39
mathiazkirkland: hm - according to ANNOUNCE-2.6.8: Release 2.6.8 contains various bug fixes and minor enhancements.21:41
mathiazkirkland: It seems like that fits the criteria for a FFexception.21:42
mathiazkirkland: I wouldn't upload 2.6.8 with an Exception as 2.6.8 is not a bug-fix *only* release.21:42
kirklandmathiaz: right21:42
mathiazkirkland: I wouldn't upload 2.6.8 *without* an Exception as 2.6.8 is not a bug-fix *only* release.21:42
kirklandmathiaz: i'm trying to merge 2.6.7.221:42
=== hessml|away|away is now known as hessml|away
cellofellowchanging the system password doesn't change the courier password. How do I change the courier pop/imap password? I've tried restarting the courier daemons but to no avail.21:45
cellofellownever mind, I just didn't actually change my password :P21:48
mathiazkirkland: hm - regarding the RAID bug - booting a degraded RAID5 array works21:50
kirklandmathiaz: okay, got a 2.6.7.2 merge building21:50
kirklandmathiaz: lemme test21:50
mathiazkirkland: the RAID5 array boots with only 2 disks active.21:50
kirklandmathiaz: with the mdadm that's in the archive?21:50
mathiazkirkland: however a RAID1 array doesn't boot21:50
mathiazkirkland: yes.21:50
kirklandmathiaz: \o/21:53
kirklandmathiaz: sweet, a merge of 2.6.7.2 works21:53
kirklandmathiaz: let me upload the source to p.u.c21:53
kirklandmathiaz: would you mind building/testing to confirm this?21:53
mathiazkirkland: no problem.21:53
mathiazkirkland: http://people.ubuntu.com/~mathiaz/raid5_boot.png21:53
mathiazkirkland: ^^ this is the degraded raid5 array booting.21:54
mathiazkirkland: the same error message is still there - however the system is able to boot.21:54
kirklandmathiaz: right, same here21:55
mathiazkirkland: http://people.ubuntu.com/~mathiaz/raid5_boot_2.png <- the following messages21:55
kirklandmathiaz: i get the error message21:55
kirklandmathiaz: http://people.ubuntu.com/~kirkland/mdadm21:57
kirklandmathiaz: you should be able to dget the source21:57
kirklandmathiaz: note that i haven't sufficiently documented the merge in the changelog yet21:57
mathiazkirkland: http://paste.ubuntu.com/136289/22:02
mathiazkirkland: is the error message about MAKEDEV normal?22:02
kirklandmathiaz: hmm, that doesn't look right22:03
kirklandmathiaz: and i just ran it here, same thing22:03
olcafois ethereal not in the repositories?22:04
giovani3olcafo: ethereal changed its name to wireshark in 200622:05
mathiazkirkland: 2.6.7.2 doesn't fix the RAID bug.22:06
olcafooh, thanks. Odd that I could'nt find this info online.22:06
mathiazkirkland: the system fails to boot from a degraded RAID1 array.22:06
kirklandmathiaz: fark22:06
giovani3olcafo: what were you searching for?22:07
mathiazkirkland: http://people.ubuntu.com/~mathiaz/raid1_boot.png22:07
giovani3olcafo: the second google result for "ethereal" is wireshark22:07
mathiazkirkland: do you have an idea why a degraded RAID5 array would boot while a degraded RAID1 wouldn't?22:08
kirklandmathiaz: i don't ...  but i almost want to throw this back to kernel space22:10
kirklandmathiaz: b/c we're still getting that gnarly kernel message22:10
kirklandmathiaz: which simply cant be right22:10
kirklandmathiaz: okay, i've verified that the /dev/MAKEDEV problem has been around for before the current changes22:11
kirklandmathiaz: not that it's right, but it's been there for a little while22:11
ScottKSDGathman: Right.  I understand that.  I don't think the pypolicyd-spf is packaged for Fedora.  That's likely easy enough.22:12
ScottKSorry.  Wrong channel.22:12
kirklandmathiaz: try this ...22:13
xyberpixHi all22:13
kirklandmathiaz: sudo dpkg-reconfigure mdadm22:14
kirklandmathiaz: choose the boot-degraded=yes22:14
xyberpixI really hope that someone can help me out here22:14
kirklandmathiaz: see if that gets you to boot degraded22:14
xyberpixI'm getting major slow responses when copying files to my 8.10 samba server22:14
xyberpixhas anyone got any pointers?22:14
xyberpixI've added the default socket options as well22:14
xyberpixso no one's had problems with samba on Ibex then?22:17
kirklandxyberpix: https://bugs.edge.launchpad.net/ubuntu/+source/samba22:18
xyberpixkirkland: tnx22:19
mathiazkirkland: nope - I'm still dropped to a busybox prompt.22:20
* Jeeves_ is gone22:20
Jeeves_see ya22:20
mathiazkirkland: that's with mdadm 2.6.7.2 and after having run dpkg-reconfigure mdadm with boot degraded set to yes.22:20
kirklandmathiaz: jeebus22:20
mathiazkirkland: I didn't get the question on reboot and got dropped directly to the busybox prompt22:21
mathiazkirkland: I can see the same error messages22:21
kirklandmathiaz: right22:21
kirklandmathiaz: that's the expected behavior when you answer the question ahead of time22:21
kirklandmathiaz: okay, try this ...22:21
kirklandmathiaz: install an upstream 2.6.29 kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29-rc8/22:23
kirklandmathiaz: in my experience, that made the error messages, as well as the problem go away22:24
mathiazkirkland: ok.22:24
mathiazkirkland: I also noticed in the mdadm 2.6.8 changelog entry mention about adding support for kernel 2.6.2822:24
kirklandmathiaz: oh really ....22:24
kirklandmathiaz: do you want to try my 2.6.8 merge too?22:25
kirklandmathiaz: before updating your kernel?22:25
rgreeningScottK: The docs for setting up openerp v5 are all wrong.22:25
mathiazkirkland: sure -22:25
mathiazkirkland: let's try 2.6.822:26
ScottKrgreening: Sounds fun ....22:27
rgreeningScottK: not really. Just found the correct way, and it crashes in building the db22:27
rgreeninggo figure.22:27
kirklandmathiaz: http://people.ubuntu.com/~kirkland/mdadm22:27
=== hessml|away is now known as hessml|away|away
kirklandmathiaz: any better luck with 2.6.8?22:35
kirklandmathiaz: fwiw, i just tested 2.6.29 and it boots degraded very cleanly, exactly as expected, no nasty error messages22:37
mathiazkirkland: \o/22:37
mathiazkirkland: 2.6.8 boots22:37
mathiazkirkland: http://people.ubuntu.com/~mathiaz/raid1_boot_success.png22:37
=== hessml|away|away is now known as hessml|away
mathiazkirkland: there is the same error message though.22:38
kirklandmathiaz: right22:38
kirklandmathiaz: but 2.6.8 is definitely an improvement22:38
mathiazkirkland: but the system boots from the degraded RAID1 array.22:38
kirklandmathiaz: i can clean up the merge changelog entry and try to get an FFe approved22:38
kirklandmathiaz: can you also try the 2.6.29 kernel?22:38
kirklandmathiaz: you should see no error message at all there22:39
mathiazkirkland: FYI I have oopses on dmesg22:39
mathiazkirkland: probably related to the error message22:39
kirklandmathiaz: yeah22:39
mathiazkirkland: I'm going to try 2.6.29.22:39
mathiazkirkland: I though I tried your 2.6.8 merge22:40
mathiazkirkland: hm - nm.22:40
kirkland?22:41
mathiazkirkland: yeah - I was reading the scrollback22:41
kirklandmathiaz: what version of mdadm did work?22:41
mathiazkirkland: 2.6.822:41
kirklandmathiaz: k22:41
mathiazkirkland: the one currently in http://people.ubuntu.com/~kirkland/mdadm/22:41
kirklandmathiaz: k22:41
kirklandmathiaz: yeah, that's 2.6.822:41
kirklandmathiaz: fwiw, 2.6.7.2 also worked for me22:41
kirklandmathiaz: but you reported that that one did not work for you22:42
mathiazkirkland: yes - 2.6.7.2 didn't work for me.22:42
kirklandmathiaz: okay, i'm glad you're around to double-check these22:42
mathiazkirkland: what are you test cases?22:42
mathiazkirkland: I'd like to know why your tests are successful while mine aren't22:43
kirklandmathiaz: boot with both disks22:43
kirklandmathiaz: make sure they're sync'd22:43
kirklandmathiaz: reboot once with both disks, make sure that works22:43
kirklandmathiaz: install some version of mdadm22:43
kirklandmathiaz: poweroff22:43
kirklandmathiaz: boot with one of the 2 disks attached22:43
kirklandmathiaz: rejoice on boot, cry on initramfs22:44
mathiazkirkland: I've just rerun dpkg-reconfigure mdadm on a system that is already running a degraded RAID1 array.22:46
mathiazkirkland: and ask to not boot from a degraded array.22:47
kirklandk22:47
kirklandmathiaz: now you'll get the prompt22:47
mathiazkirkland: however on boot the system still boots without asking a question22:47
kirklandmathiaz: oh, right22:47
kirklandmathiaz: note the wording of the question ...22:47
kirklandmathiaz: "newly degraded"22:47
mathiazkirkland: yes :) - so it's the expected behavior.22:48
kirklandmathiaz: once a system has booted a degraded raid, it expects that that is the current behavior22:48
mathiazkirkland: ?22:48
kirklandmathiaz: we've discussed this before ....22:48
mathiazkirkland: ok.22:48
kirklandmathiaz: this is why my test case includes this step:22:48
kirkland<kirkland> mathiaz: make sure they're sync'd22:48
kirklandmathiaz: so after i'm done with a round of testing, to "reset", i boot with both disks attached22:49
kirklandmathiaz: re-add to the array if necessary, and wait for the sync to complete22:49
kirklandthen22:49
kirkland<kirkland> mathiaz: reboot once with both disks, make sure that works22:49
mathiazkirkland: right.22:49
mathiazkirkland: BTW 2.6.29 doesn't show any error message22:50
kirklandmathiaz: \o/22:50
kirklandmathiaz: would you confirm that in https://bugs.edge.launchpad.net/ubuntu/jaunty/+source/linux/+bug/334994 ?22:50
uvirtbotLaunchpad bug 334994 in linux "Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory" [High,Confirmed]22:50
kirklandmathiaz: i *firmly* believe this is a kernel issue22:50
mathiazkirkland: 2.6.8 is able to boot from degraded RAID1 array - with 2.6.28 there are messages in the kernel log, while 2.6.29 is quiet22:50
kirklandmathiaz: yes22:51
kirklandmathiaz: that's exactly my experience22:51
mathiazkirkland: wrt to you tests - I'm not doing the reset step when the system was failing to boot from a RAID1 array.22:53
mathiazkirkland: Multiple reboot would still lead to have the question asked.22:54
mathiazkirkland: I guess this is the expected behavior.22:54
kirklandmathiaz: right, until you successfully boot with one disk22:54
kirklandmathiaz: which you hadn't really done before you used the 2.6.8 package22:54
kirklandmathiaz: once you've done that, you've told the system, "It's cool--we can boot with one disk"22:54
* mathiaz nods22:54
mathiazkirkland: so why 2.6.7.2 was working for you but not for me?22:55
kirklandmathiaz: and it says, "Okay, cool.  Degraded is now the known state of your array."22:55
kirklandmathiaz: that's a good question22:55
mathiazkirkland: bug 334994 updated23:06
uvirtbotLaunchpad bug 334994 in linux "Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory" [High,Confirmed] https://launchpad.net/bugs/33499423:06
mathiazkirkland: I've added the kernel oops from /var/log/kern.log23:06
mathiazkirkland: hm - I may have found a regression with kvm 84 on hardy. It seems that the shutdown command doesn't send the proper ACPI signal to the guest23:09
mathiazkirkland: I used to be able to do a clean shutdown on the guest with the command virsh shutdown vm-id.23:09
mathiazkirkland: that doesn't seem to work anymore.23:10
mathiazkirkland: (at least with a jaunty guest)23:10
mathiazkirkland: are you aware of this?23:11
kirklandmathiaz: i am not23:11
mathiazkirkland: I'll do more testing to make sure it's kvm 84 and not jaunty that is broken23:12
mathiazkirkland: I'll file a bug against kvm if needed.23:12
kirklandmathiaz: okay23:12
=== asac_ is now known as asac
moz_at the moment i am setting the key and essid of my wireless usb device by using "iwconfig" and dhclient to connect to it, is there a way fro mthe terminal I can set all those things to happen automatically instead of doing it each itme23:29
moz_*time23:29
kirklandmathiaz: https://bugs.launchpad.net/bugs/33776323:31
uvirtbotLaunchpad bug 337763 in virt-manager "[jaunty] regression: virt-manager reboot action is non-functional" [Medium,New]23:31
kirklandmathiaz: that might be your acpi issue?23:31
mathiazkirkland: let me try with a hardy guest and see if the shutdown command is sucessful23:35
mathiazkirkland: hm - seems like it.23:35
mathiazkirkland: virsh shutdown hardy-base is able to sucessufuly shutdown the guest23:36
kirklandmathiaz: so hardy shuts down, but jaunty does not?23:36
mathiazkirkland: yes.23:36
mathiazkirkland: and this is with kvm 84 on a hardy host23:36
kirklandsounds like a bug in jaunty kernel, right?23:36
olcafoI have this problem with Intrepid host running 8.10 and 7.10 clients.23:36
olcafohavent' tried hardy guests.23:37
mathiazkirkland: yes I don't think it's the same bug as reported by jdstrand23:37
mathiazolcafo: do you have the acpid daemon running in your guests?23:37
mathiazolcafo: and did you boot your guest with acpi enabled (from the host)?23:38
olcafo7.10's is not. I'm not sure about 8.1023:38
mathiazolcafo: you need acpid running in your guest other wise the ACPI shutdown signal is not process by your guest.23:38
=== hessml|away is now known as hessml|away|away
olcafothat machine is not available to me at the moment. I'll have to check that later.23:39
olcafomathiaz, that makes sense. I didn't really think of it as a problem that needed fixing though :P, just an inconvinience at the moment.23:40
orudiehi, anyone familiar with zoneedit? i need some help with their nameservers, its kind of confisuing23:58
kirklandmathiaz: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blobdiff_plain;f=Assemble.c;h=3ee028b461619a1379827e1bfce84c245a1aebfc;hp=1d3787022adec681aec9ddbb3e3ef98e2dfcfb35;hb=4e9a6ff778cdc58dcc6897e74cf5ee1d3f73e1f7;hpb=22eba5121632c4b26541fbb04209a90b93c24bcc23:58
mathiazkirkland: this is a very simple fix :)23:59

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