/srv/irclogs.ubuntu.com/2011/01/11/#ubuntu-server.txt

sparcHey there.  I was following the automated deployment guide, but it doesn't seem to have a list of boot parameters I can provide to Linux, on boot.00:01
sparcI need to do things, like set a static ip, and choose a network interface00:02
sparcis there a place I can look for that documentation?00:02
zeknoxsparc: ubuntu.com00:03
screen-xsparc: is this so you can do a diskless netboot?00:03
sparcthe (first stage?) installer isn't able to download my kickstart file, without00:03
fluvvellDanny78, my parting shot -  use this template smb.conf instead     http://pastebin.com/aCsxbnEA00:03
sparcscreen-x: yes, that sounds right.  although the server does have disks00:03
sparci just want my kickstart to start, but it's stuck not being able to find an ip with DHCP00:04
screen-xsparc: no DHCP server?00:04
sparcnope, our servers are ip'd statically00:04
Danny78fluvvell:  I checked win and now I can see buddha!  now need to make it permanent.  Will look at your suggested conf and see any differences00:04
screen-xdoesn't mean you can't have a DHCP server ;-)00:04
fluvvellI'll be back on in about 4 or 5 hours, then probably tomorrow.   OK Thats good,  try mine as well, dont forget to restart samba each time you change it.00:05
fluvvellIt takes a couple of minutes to be seen on a winbox.  You may also try rebooting the winbox if all else fails.00:06
fluvvellcheers00:06
Danny78fluvvell:  thanks again for your help!00:06
fluvvellnp00:06
sparcIt's funny, you can specify the ethernet interface to use with: netcfg/choose_interface=eth100:18
sparcit looks like it's following a pattern00:19
sparcmaybe there are more netcfg/* options00:19
twbsparc: er, yeah.  preseeding works that way00:20
twbsparc: the installation guide has an appendix that covers preseeding in detail00:21
sparctwb: hah! excellent, thank you00:24
sparctwb: aah yeah, i just saw that, this is great01:21
sparcit mentions i can create a preseed/run file01:21
twbWhat of it01:22
sparcto run things before it fetches the preconfiguration files from the network01:22
sparcis that something i would put on the ftp server, or inside the initrd?01:22
sparchttps://help.ubuntu.com/10.04/installation-guide/amd64/preseed-contents.html#preseed-network01:23
sparc^-- for reference01:23
uvirtbotsparc: Error: "--" is not a valid command.01:23
sparcuvirtbot: shush bot :)01:23
uvirtbotsparc: Error: "shush" is not a valid command.01:23
sparcmaybe that's in the guide too and i missed it01:24
* sparc will google dilligently01:24
twbsparc: you should be reading the sparc one if you're on a sparc01:42
twbsparc: the document describes places you can put the preseed file; usually it's either placed on the CD, on an HTTP server, or inside the ramdisk01:43
sparcnaah, i'im on x86_6401:43
sparcluckily01:43
twbsparc: very very new d-i instances can also get it from TFTP, from the same place as the PXE server.01:43
twbSPARC was a good architecture, man01:43
sparcif only we had some sun here01:44
sparcwe're all IBM and HP01:44
sparcon x8601:44
sparci'm sure the sun jumpstart is well thought-out01:44
sparci'm on 10.04, so maybe i can put it on tftp01:44
sparcwell, i'd put it on an HTTP server, if i had a network interface configured01:45
twbI doubt 10.04 is new enough, but feel free to try it01:45
twbsparc: typically one passes "auto" to the ramdisk, so it brings the network up before prompting01:45
sparcmy issue, if that it's not configured by the time, it wants a kickstart file01:45
twbsparc: uh, preseed and kickstart do the same job, in different ways.  I don't think you can use both at once.01:46
sparcthe docs say that we have to, don't they01:46
sparcvery confusing01:46
twbThe installation-guide document is written by Debian, it probably doesn't mention kickstart at all.01:46
sparcthey tell us to put the preseed file in the same place as the kickstart01:47
twbThat doesn't make ANY sense01:47
sparcyeah, there's a big section on kickstart in it01:47
twbWhat are you reading01:47
sparcThe automated deployments white paper on Ubuntu.com, and the 10.04 installation-guide01:48
twbURL for the former?01:48
sparchttps://help.ubuntu.com/10.04/installation-guide/amd64/preseed-contents.html#preseed-network # for the preconfiguring network section01:48
sparcand..01:48
sparchttp://www.canonical.com/about-canonical/resources/white-papers/automated-deployments-ubuntu01:50
sparci do like the automated deployment guide01:50
twb*I* can't help much with kickstart, because it's a RHism that was backported to Ubuntu/Debian01:51
sparcit just assumes that you're gonna use DHCP to get an ip for the server01:51
sparcafter pxe boot01:51
twbpreseeding (as covered in installation-guide-amd64) is the native equivalent01:51
sparcthat's okay, i think i have my kickstart config already amde01:51
twbsparc: you can pass something like ip=... to force it to use static instead01:51
sparci ported mine from redhat01:51
sparctwb: that would be very nice01:51
twbThe installation-guide also mentions somewhere the options you can pass for that stuff01:51
twbapt-get install it and grep for it01:52
sparcit does mention boot params, but the network isn't included01:53
sparchttps://help.ubuntu.com/10.04/installation-guide/amd64/boot-parms.html01:53
sparcjust saying. i did try to do my homework before asking01:53
sparcmaybe DHCP is just the only way to do it01:53
twbhttps://help.ubuntu.com/10.04/installation-guide/amd64/preseed-using.html#preseed-auto ?01:54
twbI *think* I've done it before01:54
twbMaybe I'm thinking of live-boot/casper01:54
twbYou can preseed anything that debconf asks, so you might need to find the value in the d-i documentation01:54
sparc"This relies on there being a DHCP server that will get the machine to the point where autoserver can be resolved by DNS"01:54
twbsparc: that's only for url=autoserver01:54
sparchmm ok01:55
sparcredhat has the ip= netmask= network= gateway=01:56
sparcoptions, which are pretty nice01:56
twbDo those work?01:56
* sparc tries01:56
sparcHmm, i guess this is what commerical support is for01:59
twbhttps://help.ubuntu.com/10.04/installation-guide/example-preseed.txt shows static config as an example01:59
twbe.g. #d-i netcfg/get_nameservers string 192.168.1.101:59
twbbecomes netcfg/get_nameservers=192.168.1.101:59
twb...when passed directly by the bootloader to the kernel/ramdisk01:59
twb*some* of them have shorthand, e.g. fb=false is shorthand for something02:00
sparcOH02:00
sparcso i can lift some of these from the example file02:00
twbSure02:01
sparcand not have to put a special preseed file, somewhere in the ramdisk or on the tftp server02:01
twbOr RTFS02:01
twbsparc: well, you can only pass about 32 options from the bootloader02:01
twbSo more than that you'll have to go elsewhere02:01
sparcthat's okay, it shouldn't take too many to do the network02:01
sparcsweet, i'll give that a go, thank you twb02:01
twbAnyway, how can you be PXE booting without DHCP?02:02
screen-xdoes pxe support bootp?02:03
sparci do have a dhcp server, but i'd rather just use it for the pxe booted clients02:04
twbI don't remember02:04
twb(@screen-x)02:04
patdk-lapbootp doesn't support pxe02:04
twbUnless you're on an untrusted network, I don't see why you're avoiding DHCP02:04
sparci guess i can recognize installer dhcp clients by the "d-i" identifier?02:04
twbAnd if you're on an untrusted network, you need to turn off ARP, too02:04
twbsparc: you can, yes.02:04
screen-xwhat happens if you turn of arp? You have to manually map ip addresses to mac addresses? is that in etc/ethers?02:05
screen-xoh dear, too many questions for one line02:05
twbscreen-x: you distribute MAC to IP mapping out-of-band02:05
patdk-lapheh, na, your manually map the router mac and ip, and that is all it needs to know :)02:06
screen-xboth ideas make sense02:06
twbOr you switch to IPv6, where ARP is replaced by ICMPv6 and ICMPv6 requires IPSEC to guarantee trust02:06
patdk-lap:)02:06
Danny78anyone know of a tiny cpu monitor to add to taskbar?02:15
screen-xDanny78: Gnome has a system monitor applet, which can show CPU usage02:17
Danny78I changed my server name to buddha but somewhere it is still being referenced as Samba24...  where could that be?02:17
screen-xDNS?02:17
Danny78screen-x:  thanks will look for it02:17
Danny78screen-x:  how do I flush DNS?  or is that not right thing to do?02:18
screen-xDanny78: where are you seeing the old name of your server?02:19
Danny78in GADMIN Samba, security tab--  oh, wait, nevermind02:20
Danny78that's old data02:20
pmatulisanyone have experience access Microsoft Access database file over Samba?  initially it's fine but then performance degrades by 90%02:21
patdk-lapperformance gets better when you uninstall office :)02:23
twbDoes access use sqlite3 as its backend yet?02:29
Danny78do I remember right---  is fstab where you automount win shares?02:32
Danny78cd /etc02:32
Danny78sudo vim fstab02:32
Danny78oops02:32
screen-xDanny78: automount is a separate thing, that mounts dirs when they are accessed.02:32
screen-xfstab lists FSs that are mounted at boot time02:33
Danny78screen-x:  so is fstab a proper way to mount windows shares at boot?02:33
screen-xDanny78: yep02:33
Danny78screen-x:  here's my problem though.  I'm not familiar with finding network devices from the command line02:34
twbDanny78: ip link02:35
twbOr lspci -nn | grep -i ethernet, for 802.1 devices02:35
screen-xDanny78: fstab line should be something like //server/share  /mount/point cifs options02:38
screen-xthe options are explained in man mount.cifs02:38
Danny78twb:  that's totally new to me02:40
screen-x"ip" is a very useful command02:40
twbip(8) is the Right Thing.02:43
Danny78How do you specify section 8 when opening a man page?02:44
Danny78just as it's written?02:44
twbDanny78: man 8 foo02:45
Danny78brb, rebooting to test fstab02:49
twbHow tightly intertwingled are postfix and dovecot?02:57
twbI have a policy of running each service in its own LXC container, but I'm not sure there's much point separating postfix and dovecot.02:58
lamonttwb: they're pretty well integrated, but totally separate packages... postfix doesn't care if dovecot is there or not, dovecot mostly just wants an MTA under it02:58
twblamont: I mean, will they be significantly less happy if dovecot's running on one host, and postfix is running on another?02:58
twb(With, I guess, a shared /var/mail)02:58
lamontthe LDA part of dovecot probably wants to run in the postfix container, the IMAP beast could be separated into its own container - both need access to the mailboxes, of coures02:59
lamontpostfix is going to invoke dovecot as the local delivery agent, or dovecot is going to need its own MTA under it.02:59
twbHmm, that's a good point -- local delivery won't be supported on my satellites (msmtp-mta), only on the gateway/smarthost (postfix).03:00
lamontthat is, another MTA instance, regardless of which MTA it is03:00
twbOK, so I should be able to put dovecot-imapd in one container, and postfix + <other bits of dovecot> in the other container?03:01
fluvvelltwb, I think Danny78 was meaning finding other network servers (win shares) from the command line, as opposed to finding network devices (which is what he asked).03:01
lamonttwb: I suspect so.  to be fair, I haven't really played with dovecot much yet.  Gonna have to fix that now that I have more mobility03:01
twbfluvvell: oh03:02
twblamont: okey dokey03:02
lamonttwb: I would be interested in your findings03:02
twbI'll try to remember to tell you :-)03:03
=== sourcode_ is now known as sourcode
twblamont: incidentally, do you have an opinion on where mailman should run (i.e. which container)?03:37
EvilSushiso what is syslogf03:39
lamontmailman will either want to drop things in postdrop, or talk to port 2503:39
EvilSushisyslog*03:39
EvilSushihow does it differ from logging on a centos box?03:39
twblamont: eh, 25 will be open on the smarthost on the LAN side, so a separate container sounds OK.03:40
twbEvilSushi: from a user perspective, basic rsyslogd is identical to sysv syslogd03:40
uvirtbotNew bug: #701340 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/70134003:51
overriderMy RAID1 Ubuntu 10.04 worked fine until last night when i came to check it and it booted into initramfs console or busybox. Any ideas how i can make it boot again? Re-powering is no help, and taking one disk or the other off is no help either. Before it goes into initramfs it shows 'Could find dev/uuidxxxxx' or something along those lines.04:02
patdk-lapoverrider, what kind of raid1? 3ware? software? ....04:04
overriderpatdk-lap: no just software raid using mdadm, setup during the ubuntu install process04:10
patdk-laphmm, dunno then :(04:11
overrider:-)04:11
patdk-lapmy friend just had the same issue, but that is cause it refused to load the 3ware driver, very strange, but doing a modprobe 3w-9xxx fixed him up04:11
overriderbah...04:11
overriderits weird - this machine has been running great for a long time. Not sure whether maybe there was a power loss in some inconvinient moment or something that screwed it up...04:12
sven_oostenbrinkIs is possible to have a "mount during boot, but dont wait 10 minutes, and if it fails, no biggie" option in fstab? I have a server that upon reboot needs to mount an cfis filesystem that may or may not be there.. Its no biggie if it cant mount it during boot, I can manually mount it after.. if its not there, the server hangs for 10 minutes, and and after that stops because it cant mount... How can I fix this?04:30
twbsven_oostenbrink: in Ubuntu?  I don't think so.04:35
twbOther than a hack in e.g. rc.local04:35
twbOh, a network filesystem -- you could try -osoft04:36
sven_oostenbrinktwb: is it possible to interrupt the mount? Im waiting on the @*#($@* server now, its waiting for nothing, its not there...04:37
twbUnfortunately, no04:37
twbBack before upstart, you could interrupt arbitrary init jobs, but even Debian has removed that feature now :-///04:37
sven_oostenbrinktwb: why... ? and more, why is mount waiting a friggin 10 minutes for the mount? After 10 seconds it can be damned sure that there is nothing there.. the rest of the timeout is just to mess with people or what?04:38
twbBecause you can't support ^C with parallelized jobs04:38
twbIt will probably boot fastter if you ctrl+alt+del, then *unplug the network cable* for the next boot04:39
twbIME remote mounts will time out quickly if they know there's no network at all.04:39
sven_oostenbrinktwb: well, after the timeout I tried ifconfig, and I had no network.. if I have no network, and its still hangs on the timeout.. I guess unplugging the network won't make much of a difference, will it?04:40
twbI guess so04:40
=== sven_oostenbrink is now known as Phoenixz
patdk-lapPhoenixz, heh, I want that option for nfs, I can't find it at all either :(04:50
patdk-lapbut it doesn't hang for 10min for me, it hangs forever04:50
=== mbvpixies78 is now known as Danny78
Danny78Ubuntu server is still unable to mount windows shares on bootup.  here is my fstab:  http://paste.debian.net/104272 and here is my smb.conf: http://paste.debian.net/10427305:57
twbDanny78: maybe mountall doesn't realize they need to be mounted AFTER the network is up06:05
twbDanny78: /mnt is not the appropriate place for permanent mounts06:06
twbDanny78: your probably want /srv06:06
twbDanny78: also, does root have access to your .smbcredentials file?  Are you using ecryptfs for ~danny?06:06
Danny78twb:  yes, using encryptfs...  computer memory full, any way to increase sqwap...  really slow right now06:08
twbDanny78: well, that's why06:08
twbDanny78: root can't read your smbcredentials until you log in and provide a decrypted mount on ~danny06:08
twbDanny78: you can allocate more swap using a swapfile, although it would be better to isolate and kill off the broken proces06:10
twb*process06:10
gobbeif you want to mount windows-shares on boot you need to add credentials to fstab06:12
gobbeto work perfectly06:12
twbOr some file like /etc/cifs.secrets, I guess06:13
gobbethat's other option06:14
twbSince fstab is usually world-readable06:16
Danny78processor is ldle but everything is super slow06:17
Danny78I had to do a hard reset, I missed what you said, if you could please repeat06:36
Phoenixzmy ubuntu server is hanging during boot.. I see fsck checks that are ok, then nothing.. I had some network mounts, which were hanging (after some 1o mins I would have a cifs filesys mount failure, drop to shell), so I removed them from fstab (I commented them),  but after a reboot, its still hanging.. What could be causing this? I have no shell, no log data, nothing.. :(06:40
kaushalHi06:51
kaushalI am running ipsec on Ubuntu server 8.0406:52
kaushalI want to enable debug logging06:52
kaushalPlease suggest/guide06:52
delimiterhow can I upgrade to lucid from hardy ? do-release-upgrade only offers maverick even with prompt=tls in /etc/update-manager/release-upgrades07:00
Phoenixzmy ubuntu server is hanging during boot.. I see fsck checks that are ok, then nothing.. I had some network mounts, which were hanging (after some 1o mins I would have a cifs filesys mount failure, drop to shell), so I removed them from fstab (I commented them),  but after a reboot, its still hanging.. What could be causing this? I have no shell, no log data, nothing.. :(07:15
talatHi i want to learn ubuntu clod can do one vm use 2 physical computer hardware ?08:06
twbHa!  "clod"08:07
talattwb: pardon clod = cloud08:07
twbtalat: offhand, I suspect you'll run into problems because the cloud also wants to use virtualization08:08
HypoglybeticOh, theres only a 1/3rd as many people in here as #ubuntu.  You're all probably 3x smarter too ...08:17
twbHypoglybetic: I daresay you are working to ameliorate that difference.08:17
Hypoglybeticmaybe08:18
HypoglybeticI have a couple questions about ub-server and would like to be pointed in the right direction.08:19
twb!ask > Hypoglybetic08:20
ubottuHypoglybetic, please see my private message08:20
HypoglybeticI'm very new to Linux.  I want to setup a basic web server and a media server for my house as well as host virtual machines.  I need a little help installing the correct packages.  I'm sitting at the Server install menu (dns, lamp, mail, openSSH, etc).08:23
talattwb: i try creat a cluster but i want to my vm can use more than one computer. I need 64 core but my computers 24 core. in cloud can be do ?08:24
twb"media center" as in somewhere to dump videos, or "media center" as in a box hooked up to your TV, playing videos?08:24
HypoglybeticMy question is could someone help me get the basics setup because I don't want to corrupt my files (repository?) again.08:24
twbtalat: I don't understand the question.08:24
Hypoglybetictwb, Dump/host files, use PS3/Laptop/Windows  7 to watch the movies08:25
twbtalat: obviously you cannot make a 24-core CPU into a 64-core CPU.08:25
twbHypoglybetic: in that case you can probably just pick "file server" at that prompt08:25
talattwb: i have 4 24-core CPU computer. I want to use this computer for my 64 core vm. Do you understand ?08:26
twbHypoglybetic: the keyword you want to google for is "samba"; it's the open source implementation of Windows-style file sharing.08:26
twbtalat: nope08:26
twbtalat: what is your native language?08:26
talattwb: Turkish08:26
talattwb: one minute08:27
twb!tr08:27
Hypoglybetictwb, do Iwant to select LAMP server as well? (currently openSSH, Samba File, and Virtual Machine Host are selected)08:27
ubottuTurk ubuntu kullanıcıları, Türkçe yardım ya da geyik için #ubuntu-tr hizmetinizde.08:27
twbtalat: you can also ask them, they might understand better than me08:27
twbHypoglybetic: you do not need "LAMP"08:27
twbHypoglybetic: "LAMP" means "web server"08:27
Hypoglybetictwb But I do want a web server, do you suggest XAMPP? I used XAMPP on my windows machine.08:28
twbHypoglybetic: I do not know what XAMPP is.08:29
twbLooks like a bag of random apache/mysql/php/perl for Windows.08:29
Hypoglybetictwb, yes, similar to what LAMP is (i'm trying to google things on my own, but I'm still paranoid of messing/misreading something)08:30
twbHypoglybetic: don't expose it to the internet, and you'll be OK08:30
Hypoglybetictwb, wait, what? how do I make it work if it isn't on th internet to download/install things?08:31
twbHypoglybetic: it is possible to set up a firewall such that you the internet is allowed to respond to your requests, but not INITIATE connections to your host.08:33
twbIndeed, this is the normal way a "hard shell, gooey insides" corporate firewall works.08:33
twbObviously it means no one will be able to access your website, but if you don't know what you're doing, this is a GOOD THING.08:33
HypoglybeticJordan_U, are you awake?08:33
talattwb: ok last question. if you dont understand this can i ask turkish user. i Will create a virtual machine which can be use multi server hardware on my cloud. I dont want  onlt run on one server. this can be possible ?08:34
HypoglybeticI think I understand talat.  He wants to do something like ESXi does.  You have multiple machines and you "pool" their resources so if one machine fails none of the actual guest OS's fail.08:35
twbtalat: cloud allows you to run the same OS image on multiple hosts.  So you can have two hosts doing half of the work each.08:35
twbtalat: cloud IS NOT like plan9, where you can directly pool resources to make a single "super computer"08:35
twbNote that I am not a cloud expert -- I don't even use it.08:36
talattwb: ok thank you for help08:36
Hypoglybetictalat do you know of VMware ESXi ?08:36
talatHypoglybetic: i dont know08:37
Hypoglybetictalat, look into it -- I think you may find it useful08:37
twbtalat: sorry I could not help -- your English is better than my Turkish :-)08:37
sven_oostenbrinkEvery time my ubuntu (server) reboots, it hangs after fsck of all filesystems.. a check in /var/log/messages shows JBD: barrier-based sync failed on dm-6:8 - disabling barriers.. Anyone knows how I can fix this and get my server to boot  normally again?  Google shows this message not to be important, but on every freeze, this is the last message seen.. each freeze has alt-sysreq-* intact, so its not a panic, or complete freeze.. any ideas?08:38
talattwb: :)08:38
twbsven_oostenbrink: you'll need a live cd, first of all08:40
twbsven_oostenbrink: what's happening is that mountall(8) gets an exit status of 4 from fsck(8), so it just stops08:40
twbsven_oostenbrink: you need to do... SOMETHING... from the live cd, so that fsck doesn't fail.08:41
twb(and yes, I hate this feature.)08:41
sven_oostenbrinktwb: mount -a seems to mount all okay08:43
twbmountall isn't mount -a08:44
twbIt's a stupid upstart thing08:44
sven_oostenbrinktwb: a server not starting is a feature?08:44
twbsven_oostenbrink: in the sense that developers always claim bugs are "features"08:44
twbIMO it should *at least* shut down, not just hang08:44
sven_oostenbrinktwb:  I tried to upgrade from 9.10 to 10.04, see if that would fix it.. upgrade all okay, minus kernel.. (ahw crap..) linux-server debends on linux-image-server (....); however: package linux-image-server is not configured yet.. Any ideas on how to fix this one?08:45
sven_oostenbrinktwb: IMHO it should just fail to a shell with an error message so I actually would have a chance to fix things.....08:46
twbcan you pastebin the full transcript ?08:46
twbsven_oostenbrink: yeah, that'd be favourite.08:46
sven_oostenbrinktwb: http:.//pastebin.com/2h0vTitv08:47
sven_oostenbrinktwb: sorry, http://pastebin.com/2h0vTitv08:47
sven_oostenbrinktwb: wait.. thats not right08:48
sven_oostenbrinktwb: how can I route output and error to a file again?08:50
sven_oostenbrinktwb: 2>&1 ?08:50
bistongood morning. for a box running ubuntu-server running webmin+apache+mysqld+vncserver+vmware(all vms turned off) isn't the load avg 0.09, 1.39, 2.82 too high ?08:50
twbscript -c 'foo bar'08:51
twbpastebinit typescript08:51
sven_oostenbrinktwb: http://pastebin.com/Zz3w3d0X08:51
bistonwith top -d 1 i only see init using resources, the rest is 008:51
sven_oostenbrinkgis08:52
sven_oostenbrinkbiston: first number is avg of last minute, last is avg 15 mins, so the current load is practically 008:52
twbsven_oostenbrink: try again after "export TERM=vt100 LC_ALL=C"08:52
bistonoh, alright, thank you sven_oostenbrink08:52
twbbiston: you understand that load averages are AVERAGES over time?08:53
twbbiston: i.e. your ten-minute average was 2.82; but now it's just 0.0908:53
bistoni do now08:53
twbbiston: i.e. whatever you did in the last ten minutes, stopped the load08:53
bistonit was a virtual machine, got my load avg up to 908:53
twbShrug08:54
sven_oostenbrinkbiston: also, system load is over all processors.. you could more or less say that a dual core with load 2.00 has both processors working at 100%08:54
twbIf it's a bloat-tacular VM, not surprising08:54
twbsven_oostenbrink: good point08:54
sven_oostenbrinktwb: did the export, now no error, but seems to hang on Setting up console-setup (1.34ubuntu15)08:55
sven_oostenbrinktwb: its there for over a minute now....08:55
sven_oostenbrinkbiston: howmany cpus?08:55
twbcpus and/or cores08:55
twbsven_oostenbrink: oh christ, that one08:55
sven_oostenbrinkbiston: what twb says08:55
twbsven_oostenbrink: I forget how to stop that08:55
sven_oostenbrinktwb: uh oh.. bad?08:55
twbsven_oostenbrink: it drove us insane08:55
bistonchecking, i forgot which machine this one is08:56
biston2 cores, 1 cpu08:56
sven_oostenbrinktwb: its driving me insane....08:56
bistona core 2 du e8400, 3.00 ghz08:56
sven_oostenbrinktwb: if you remeber an ything... please please pretty please..08:56
twbsven_oostenbrink: echo ACTIVE_TERMINALS= >>/etc/default/console-setup ## Try that08:56
twbSorry, ACTIVE_CONSOLES08:56
sven_oostenbrinkbiston: load of 9 on a dualcore would say...  450% system load08:56
twbit's a shot in the dark08:56
sven_oostenbrinktwb: CTRL-C the current install?08:57
twbWhatever08:57
twbIIRC it fucks up the entire system when you hit that console-setup issue08:57
twbWhat it's trying to do is mess with the VGA font and such08:57
twbfucks up as in hangs it, not as in wipes the disks or whatever08:57
sven_oostenbrinktwb: eh, so echo ACTIVE_CONSOLES= >> /etc/default/console-setup ... any spaces anywhere?\08:58
twbNo08:58
twbsven_oostenbrink: hopefully that tells console-setup not to run08:58
twbsven_oostenbrink: it might be easier to just blow away the system and do a clean install08:59
sven_oostenbrinktwb: it says /etc/default/console-setup: 50: ACTIVE-CONSOLES=: not found08:59
twbsven_oostenbrink: no, ACTIVE_CONSOLES09:00
twbsven_oostenbrink: edit the file and remove the bad line; it's a _ not a -09:00
sven_oostenbrinktwb: yeah, got that09:00
sven_oostenbrinktwb: still hanging09:00
twbI give up09:01
sven_oostenbrinktwb: :( Anyone else who might know? Google isnt of much help here09:04
twbShrug09:06
twb19:59 <twb> sven_oostenbrink: it might be easier to just blow away the system and do a clean install09:06
bistoncan anyone recommend a vm host app other than vmware to run on ubuntu server 10.4 ?09:07
twbbiston: Ubuntu recommends KVM.09:08
bistonalrite, i'll try kvm and see if i still get same loads. thank you09:08
sven_oostenbrinkXEN uses paravirtualization which brings in a whole load of other crap..  last time I tried it it managed to corrupt all filesystems on my machine..09:09
sven_oostenbrinktwb: Im so close to finishing this, cant give up now!  ... you have no recollection of what you did when you had this?09:10
twbsven_oostenbrink: got drunk IIRC09:11
bistonthank you both so much for your help, i'll be off now. good luck with ur problem twb09:12
sven_oostenbrinktwb: can I not remove console-setup?09:20
twbsven_oostenbrink: I'm not stopping you09:21
sven_oostenbrinktwb: That doesnt sound very encouraging...09:22
sven_oostenbrinktwb: http://pastebin.com/baKjxU8V09:24
twbsven_oostenbrink: ICBF helping further, sorry09:24
sven_oostenbrinktwb: removed console-setup, I can now proceed with kernel, but now I have this09:24
sven_oostenbrinkICBF?09:24
sven_oostenbrinkwho's that?09:24
twbI Can't Be Fucked09:25
sven_oostenbrinkright :)09:25
sven_oostenbrinkanyone else?09:25
sven_oostenbrinktwb: well, just said fuckit, reboot... lets see howfar it gets09:35
ilrovatohallo11:08
ilrovatosomeone online?11:08
ilrovatoHow do I install ubuntu 10.04 server using a PXE server?11:11
ilrovato The online guides speak netboot installation via the package "netboot", but which distribution is installed? General or server?11:11
twbilrovato: 1) get a PXE server; 2) put the netboot kernel and ramdisk on it; 3) pxeboot.11:24
twbUbuntu only has one distribution.11:24
twbIf you have an existing Ubuntu server, you might try installing di-netboot-assistant, which will hold your hand for much of the process.11:25
ilrovatomine pxe server is a debian squeeze11:26
twbWell, di-netboot-assistant works there, too11:27
ilrovatoi will wach di-netboot-assistant11:27
xampartany idea if i can restrict a local user on a specific channel with ircd hybrid?11:28
twbxampart: I don't know; you might have better luck asking #oftc or #freenode (whichever one runs hybrid; I forget)11:59
twbNote that, as a rule, ircd won't be able to tell which users are local.  So you'd probably have to "default deny" all accounts, then allow a whitelist of registered users to connect to other channels11:59
xamparttwb: k12:11
\shmaswan: I fixed my problem with the FlexFabric nics (be2net) , replaced ipconfig with udhcpc inside initramfs and it works like a charm12:12
twbUgh12:25
twbsyslog-summary (which logcheck suggested), has an env trampoline12:26
twbWORSE, it trampolines to an obsolete version of python, that's not installed!12:26
=== JanC_ is now known as JanC
azertyuihello13:08
azertyuithere13:08
azertyuii got server with 6 disk one of the disk is failure, physically there is no physicall apperence, what the command on ubuntu show the disk in failure ?13:08
compdocone of your hard drives is failing?13:11
compdocor has it failed?13:11
patdk-wknext is it in some kind of raid? lvm? ..., hardware or software raid?13:12
azertyuifailed13:12
azertyuisoft raid13:12
xampartcat /proc/mdstat13:12
patdk-wkassuming it's software raid13:13
azertyuiwhat should display ?13:13
xampartsomething like this "md127 : active raid1 sda2[0] sdb2[1]"13:14
compdocsmartctl  can show you if the other drives are healthy13:14
azertyuiit gives raid1 raid0 raid613:15
azertyuicorrect xampart13:15
azertyuiand also got [faulty]13:15
xampartso it should read there also the faulty drive (sdX)13:16
azertyuimy question is how to determine the disk in fault ?13:17
xampartfrom the " blocks [2/2] [UU]" line. if it's [U_] then, in my case it would be sdb13:18
xampartunless i've understood it totally wrong13:19
azertyuiok13:19
azertyuithanks13:19
xampartbut smartctl gives good output13:20
azertyuiok thanks xampart13:21
AmivitI have a server that is freezing periodically and suspect either a defective harddrive in the array, or the actual raid controller is unstable. How do I find out the fastest? Btw, the raid array is listed as "optimal" in bios. I have no log entries indicating any fault and it even freezes booting from live OS's from different kernals.13:31
AmivitSo looks very much to be a hardware issue.13:31
compdocbest to look at the smart data - for reallocated sectors on any drive13:31
twbcompdoc: or just queue a self-test13:32
compdocwho makes the controller?13:32
compdoca customer has a failing drive that causes the server to lock up from time to time as the sectors go bad13:33
gobbeAmivit: is there anything on logs from the time of freezing?14:10
gobbeAmivit: i mean logs under /var/log14:10
AmivitUnfortunately nothing. Just a freeze. Cant queue self-test because that causes a freeze aswell.14:11
AmivitBasically anything requiring harddrive semi harddrive activity provokes the freeze. Maybe I should attempt moving the harddrive and pci raid controller to a different server?14:12
RoyKAmivit: what sort of controller?14:13
AmivitIt is an adaptec 2410SA14:14
RoyKAmivit: just a hunch, but I guess it's a controller driver issue14:16
AmivitRoyK, maybe. But even when the server has been running without problems for 5+ years? :S14:16
RoyKAmivit: which version of ubuntu is this?14:16
RoyKoh14:16
RoyKso bad hardware, then14:16
Amivitthe 2003 one :D14:16
gobbei would bet that problem is with hardware14:17
gobbeit acts just like broken hardware, mysterious freezes without any logs14:17
RoyKAmivit: if it has ben working for that long and just stopped, I'd bet my dime on hardware problems14:17
RoyKbad hardware can do that quite easily14:17
RoyK:P14:17
gobbeyep14:18
AmivitI agree, thinking it must be that. I'm just not quite sure how I should tackle the situation snice there are a total of 2x 2410sa's and 8x harddrives.14:19
AmivitPerhaps start by disconnecting one 2410sa and see if I still get the freezes.14:20
gobbeyes14:20
gobbethat's good way to do it14:20
AmivitOnce I identify the proper raidcontroller - I should probably move on to scanning each drive individually. Any recommendations as to which tool?14:27
gobbeit might be the controller14:29
gobbeor just disk14:29
gobbecontroller should be able to tell if the disk is broken14:29
RoyKI doubt it's  a disk14:30
AmivitExactly. Most likely is the controller in that case because when booting the raid is listed as "optimal" status.14:30
RoyKtry a new controller first - just make sure you get one that can read the RAID format14:30
AmivitYeah good idea. I'll see if I can use the first 5-10 minutes to identify exactly WHICH raidcontroller contains the problem (or IS the problem) and replace it with a fresh 2410sa, probably also the most time effective way to locate the problem since testing drives i could imagine will take a long time.14:33
AmivitAppreciate the help despite the fact the server is a 2003 :)14:33
gobbe:)14:36
gobbewell send you bill, don't worry ;)14:36
=== baggar11_ is now known as baggar11
=== jdstrand_ is now known as jdstrand
=== bigjools-afk is now known as bigjools
fullstopHi!  When does /etc/fstab get processed at boot time?16:52
shaunousually mountall in /etc/init/16:53
shaunoaltho it's largely just processed by mount itself (mount -a will mount most of what's in fstab)16:54
fullstopshauno: I'm in a pickle.  I would like to mount drbd volumes from /etc/fstab..16:56
fullstopbut I believe that it is attempting to mount before drbd is started.16:56
RoyKshouldn't be much of a problem16:56
RoyKoh16:56
fullstopI can't tell, though.  I never get an interactive shell and I have to boot from a usb stick and comment out the line in /etc/fstab16:56
RoyKpaste that line, please16:57
fullstop/dev/drbd_vmfiles/vmfilesxfsdefaults,noatime,nodiratime,logbufs=8,allocsize=512m0016:58
fullstopif I put it in there, mount / umount work fine as long as drbd is running.  drbd is started at boot time.16:59
gobbedrbd needs to be fully up, and gfs or other cluster-filesystem running17:00
RoyKfullstop: changing mount order from 0 to 2 might help17:00
gobbebefore you can mount it17:00
fullstopRoyK: I'll give it a shot.17:00
gobbei added my drbd-disk to rc.local to be sure that everything is up and running :)17:01
fullstopI'm not using any clustered filesystem.. just syncing to a 2nd system for redundancy17:01
gobbeso i run it manually from rc.local17:01
fullstopI thought of that..17:01
fullstopbut there is something nice about having it in /etc/fstab  :)17:01
gobbeokei17:01
gobbei use drbd in active/active17:01
shaunothere's a couple of lines in /etc/init/mountall-net.conf that send USR1 to mountall to get it to try fstab again.  I'd be tempted to try adding that to the end of the script that's starting drbd at boo17:02
fullstopgobbe: what filesystem?17:02
RoyKgobbe: iirc rc.local is run after the normal init scripts - just a wild guess here about mount order 0 is a bad thing for something relying on services started17:02
shauno(er, boot)17:02
gobbeRoyK: yep17:03
gobbefullstop: gfs217:03
shaunoI'm not entirely clear where mountall runs tho, or rather, when it stops running17:04
fullstopI'm not exactly sure why I never get a shell.. it should just fail to mount the device and move on.17:05
RoyKfullstop: do you still get that shell with boot order 2?17:05
fullstopRoyK: Which entry is that in fstab?  The last one?17:06
gobbeyes17:06
fullstopRoyK: I always thought that it had to do with what order they were checked for errors.17:06
fullstoprebooting now.. I'll know in a few minutes.17:07
RoyKerm - you're right17:07
RoyKbut perhaps fsck fails if it's run too early?17:07
fullstop_netdev?17:07
shaunoyeah.  the last two fields are dump and fsck, with the theory that you can fsck two disks in parallel, but you wouldn't want to fsck two slices on the same disk in parallel17:08
RoyKshauno: fsck fixes that itself17:09
RoyKthat field should be set to 2 for most filesystems17:09
RoyKsee fstab(5)17:09
fullstopWell, that didn't change a thing.  Unfortunately, it hangs before sshd starts so I have to reboot17:09
fullstopfrom a usb stick.  =/17:09
shaunoI'm sure it was relevant last time I paid attention to it.  get off my lawn, etc :p17:09
fullstopI still pipe gzip decompression to tar from time to time just for the memories.17:10
fullstopNew tar handles bzip2 and gzip without any extra flags.  tar -xf will do either.17:11
gobbefullstop: you could do it like i fixed it ;)17:12
RoyKfullstop: iirc last I setup drbd, it worked well with the volumes in the fstab17:12
RoyKfullstop: which ubuntu version is this?17:12
gobbemy old server with other distro worked also fine with setup i used in 10.04, however i didn't get any way to mount my drbd at boot17:13
gobbewithout doing it "manually" from rc.local17:13
fullstopRoyK: 10.04, but drbd was compiled from source.17:16
RoyKfullstop: what's wrong with the one in lucid?17:16
fullstopRoyK: I needed to build a custom kernel for this server17:17
gobbei used the one in lucid17:17
fullstopI needed patches for scst...17:17
fullstophopefully vlad and crew can get them into the mainline kernel.17:17
RoyKk17:18
RoyKisn't scst in kernel already?17:18
fullstopRoyK: no..17:18
fullstopRoyK: maybe you are thinking of iet?17:19
RoyKI thought scst was included - sorry - my fault17:19
RoyKI haven't used either, but scst looks far better17:20
fullstopI have been very happy with scst.  It's frustrating watching kernel politics sometimes, but I hope that they make it in.17:20
RoyKtell me about kernel politics :P17:20
RoyKit's a bunch of hard core nerds after all17:20
fullstopis there documentation on /etc/fstab and ubuntu options in there?17:20
fullstopI'm interested in giving _netdev a shot, but I'd like to see more about it first.17:21
RoyKfullstop: man fstab/mount17:21
RoyKmost of it is in mount(8)17:21
fullstopi was looking in fstab, didn't check mount17:22
fullstopdoes Ubuntu respect _netdev?17:22
RoyKfullstop: see mount(8)17:22
fullstopI swear, the more "enterprise" the server, the slower the boot.17:25
fullstopta-da!  _netdev worked.17:25
gobbeok :)17:26
RoyKfullstop: heh - tell me about it :)17:27
RoyKbtw, we have some rather nice supermicro boxes at work that boots in a matter of minutes, still with hw raid and 2x12-core CPUs and a truckload of RAM17:27
RoyKsome scientists are using those 24x7 with their models17:28
=== robbiew1 is now known as robbiew
compdocIm building a server with a supermicro board - theyre nice17:29
RoyKwhich mobo?17:29
compdocx7sbl-ln217:29
fullstopI believe that this machine actually has an asus MB.. 2x X5670 and 48GB of ram.17:30
fullstopand.. 14T usable storage.17:30
fullstoptimes 2, because there is an identical machine in the 2nd rack.17:31
RoyKfullstop: we're using these http://www.supermicro.com/products/motherboard/QPI/5500/X8DTH-6.cfm with 100TB net storage (158TB raw)17:32
SpamapSpeople still "build" servers?17:32
RoyKpretty damnd good I/O on those17:32
compdocsome do17:32
EvilSushiwho?17:32
fullstopwe do17:32
compdocI do17:32
RoyKSpamapS: I was wondering the same - especially when supermicro ships readily built systems quite cheap17:32
fullstopWe've been burned with under-performing servers from large 3 letter companies.17:33
gobbe:)17:33
gobbefullstop: I B and M ?-)17:33
RoyKAST?17:33
RoyK:)17:33
* RoyK wonders how long ago that was17:33
RoyKHAL17:34
fullstopgobbe: those may be the 3 letters... :-D17:34
gobbefullstop: which kind of servers from ibm?17:34
fullstopI forget the exact number, but they were opteron servers purchased in ... 2007.17:35
fullstopIBM X series, I think.17:35
gobbeaah, those old opterons17:35
RoyKfullstop: there's quite a few of those :P17:35
fullstopThe opteron part was fine.  It was the I/O which was awful.17:35
gobbei have one customer with new x3950, with 4x12 cores and 512 GB ram :)17:35
RoyKI used to run this x3850 - worked well back then17:36
gobbeyep17:36
gobbewe have x3850 in our own vmware-cluster17:36
fullstopHowever, after flashing the firmware on the discs, we had a 40% improvement.17:36
* Daviey quite likes supermicro servers17:36
fullstopand now we will never purchase another seagate again.17:36
fullstopThey were rebadged IBM, but you could tell from the serial number that it was really a seagate drive.17:37
RoyKfullstop: most drive producers have issues from time to time - I don't think seagate is worse than any other17:38
fullstopRoyK: Look into their 750GB drives and the problems they had with them.17:38
fullstopRoyK: I understand that they have bad runs from time to time, but this was more than that.17:39
RoyKI don't disagree with the problems, but blaming all seagate drivers, is like saying hitachi deskstars are deathstars because of those bad drives 8 years ago17:39
RoyKfullstop: btw, 750GB drives? sounds like SATA to me17:40
RoyK7k2?17:40
fullstopSATA, yes17:40
gobbe:)17:40
gobbeRoyK: i just thought to say hitatchi disks :-D17:40
fullstopRoyK: I have a hitachi at home, even though I had one of their deathstars.17:40
RoyKhit-hat-chi17:41
fullstopAnyway, the seagate drive problem happened shortly after they moved manufacturing to China...17:41
* RoyK found a few 60MB drives at work labelled things like DOS 5.0 and win 3.017:42
SpamapSRoyK: the day MS-DOS 6.0 arrived at my house I distinctly remember squealing with glee.17:42
RoyKlol ;)17:43
RoyKI remember DOS 4.0 wasn't very good17:43
RoyKsupported large drives, though17:43
RoyKthat is > 32MB partitions17:43
plmhi all17:44
EvilSushiwhat was the awesome windows version with the tiled windows17:44
EvilSushiwindows 2 i think17:44
fullstopWe had a bernoulli drive, once.17:44
plmpeople, where I find a updated page about servers supported by ubuntu. this site for example, about hp servers supported https://wiki.ubuntu.com/HardwareSupportMachinesServersHp  is very old17:45
pmatulisplm: http://webapps.ubuntu.com/certification/17:46
plmpmatulis: thanks17:47
=== ncampion is now known as ncampion_afk
nealmcb_Anyone know why openssl doesn't have cms compiled in?  https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/38042418:05
uvirtbotLaunchpad bug 380424 in openssl "Recompile with enable-cms" [Undecided,Confirmed]18:05
RoyKnealmcb_: no idea, but apt-get source that package, change the configure line, build a new package,install it, and you're done18:11
nealmcb_RoyK: Yeah - I did that, and it works.  And now I see that it was more or less an experimental backport first added in openssl 0.9.8h  The version in lucid is 0.9.8k.  Somehow I thought it was there earlier....18:18
robbiewsmoser: Daviey: can you have a look at https://blueprints.launchpad.net/ubuntu/+spec/cloud-server-n-desktop-images and let me know if the work items and milestones assigned make sense?18:32
nealmcb_Ahh - I see the question is now when openssl 1.0 is brought into Ubuntu, now that it is available in Debian.  Can we get it in natty?  Bug 67556618:38
uvirtbotLaunchpad bug 675566 in openssl "upgrade to the latest 1.0.0b with its security fixes" [Unknown,Fix released] https://launchpad.net/bugs/67556618:38
Davieyrobbiew, on it18:42
robbiewDaviey: thnx!18:44
=== erichammond1 is now known as erichammond
jdstrandwin 1919:01
=== jdstrand is now known as jdstrand_
=== jdstrand_ is now known as jdstrand
mdeslaurjdstrand: you win19:03
=== ncampion_afk is now known as ncampion
EvilSushican upgrading a server from 8.04 to 10.04 break anything?19:13
compdoca backup would be a good idea19:16
binBASHBackup is overrated :D19:17
gobbeEvilSushi: it could, every upgrade has risks19:22
gobbethere's no fail proof upgrades, but LTS to LTS is almost fail proof :)19:22
deadsmithcan anyone tell me about video support on an XServe2,1?19:30
gobbewhat do you want to know about it?19:30
gobbethere's page on ubuntu-wiki about apple+ubuntu19:30
deadsmithgobbe:  Trying to figure out 1)  if there's any support past fbdev for Xorg, and 2) if not, what kernel and EFI args and Xorg config options are needed to get minimal support.19:33
deadsmithgobbe:  I see some stuff on MBP, but nothing about the XServe2,1.  I'll try harder...19:33
resnohaving a bit of trouble settig up a user to access a samba share.19:34
resnothey can access their dirs, but cant access another users19:34
deadsmithgobbe:  to be clear, I've been through this: https://help.ubuntu.com/community/Xserve2-1 but there's no Xorg discussion, just that it may need to be limited to the fbdev driver.19:35
gobbeok :/19:36
resnowhats the best location to store files in linux?19:37
resnothat arent spefiic for a user19:37
RoyKanywhere, really19:37
resnoim having a problem setting up a samaba share. heres the setting im using: http://dpaste.com/307365/19:39
resnoive tried several configurations and still cant get the windows uses access19:40
resnoerr, cant get write access19:40
pmatulisresno: check filesystem permissions19:40
resnopmatulis: i figured thats where the issue was19:41
pmatulisresno: so why did you ask?19:41
resnook, then i  create a usergroup to allow access there. but im not sure i did it right19:41
resnoerr, i created the usergroup and then chmod on that dir to allow access to the group19:42
resnopmatulis: ^19:42
Danielc1234hi all, just setup a new VM using ubuntu as OS. Now trying to install Zimbra as mailserver. It states that it is imperative to have all DNS working properly before installing. If our DNS is being controlled by godaddy.com then are there special settings I need to do on the server side?19:45
compdocI think it just means you should be able to reach sites from your lan19:46
gobbeDanielc1234: well, you need to have mx-entry that points to your mailserver19:47
compdocor have the world be able to reach you by name19:47
pmatulisDanielc1234: there are many variants of "mailserver".  what do you really want to achieve with it?19:47
compdocmx records are the most important for mail19:48
* resno walks away and finds own answers19:48
Danielc1234gobbe: so I would need to define a nameserver on this VM like mail.oursite.com ?  We are trying to use this VM as a primary source for all our emails, etc.19:48
gobbeDanielc1234: you need to have mx-entries in your DNS_server19:48
gobbeand infact this has nothing to do with ubuntu in this case19:49
gobbeyou are using DNS hosted by godaddy, and trying to use software provided by vmware19:49
compdocresno, I dont use masks. I just set the permissions on the folder I share, and have a uid and gid for a user19:49
compdocdoes it not work?19:50
Danielc1234gobbe: well as you can tell I'm very new to this. However, isnt there a place on the server that I need to define the settings?19:50
resnocompdoc: it works everywhere except this dir. which is owned by another user. i have a user named media, and i want everyone to be able to write and change that folder through samba19:51
gobbeDanielc1234: well, i don't know what settings you mean19:51
compdocthe VM guest only needs dns for outgoing, and an ip address that mail ports are forwarded to from the outside.19:51
pmatulisDanielc1234: 'primary source?'  that doesn't mean anything to me.  but the others seem to understand so let them help19:51
Danielc1234gobbe: wouldnt I need to define the nameserver within the server? Sorry guys, like I said I am very new to all of this....19:52
gobbeDanielc1234: if you don't know how mailservers work you should try to start from finding out that, before you try to create one19:52
gobbeDanielc1234: and like i said, this really isn't ubuntu-issue19:52
gobbeso this channel is wrong19:52
Danielc1234gobbe: okay, thanks all.....19:52
gobbeDanielc1234: but you don't need nameserver in your server if you have already one19:53
compdocresno, I use 757 on the folder, and that usually works19:53
compdocallows everyone access19:54
niteriaHi19:58
gobbehi19:59
niteriaI'd like to have /boot on /dev/md019:59
gobbethat's ok if you use raid119:59
niteriabut I'm not sure what to tell grub19:59
niteriatitle ....19:59
niteriaroot (???) ?19:59
niteriaroot (md0) ?19:59
niteriai did update-initramfs -u20:00
gobbegrub is installed on both disks20:01
gobbeand you boot from hd20:01
niteriawill grub know if I give it root (hd1,0) of type fd that it should use it as raid partition?20:02
resnocompdoc: just change chomod 757 on it?20:03
gobbeniteria: grub boots directly from disks, not md20:06
gobbeniteria: so you need to have grub in both disks20:06
compdocresno, if you ls -al the directory the folder is in, whats the attributes now?20:06
pmatulisniteria: firstly, what version of grub are you using?20:06
compdocon the folder you want to share?20:06
resnodrwxr-xr-x compdoc20:08
niteriapmatulis: default one from debian lenny20:08
niteriamy kernel's root is already booting from it properly20:09
compdocresno, I think thats 757, so Others (outside the group) cant write, but only read20:09
niteriaand / is lvm partition on raid120:10
compdocerr, 755, sorry20:10
pmatulisniteria: you're not running ubuntu?20:10
compdocyou have it set to 755, I mean20:10
niteriapmatulis: no, not ubuntu, but question is more about grub and raid20:11
pmatulisniteria: maybe go to #grub?20:11
pmatulisniteria: but basically you install grub on both disks20:11
niteriaI have separate /boot partition20:12
pmatulisniteria: and ensure that the UUIDs for the arrays are properly set up.  where depends on the version of grub, hence my 1st question to you20:12
niteriawhich I want to have on /dev/md020:12
pmatulisniteria: it's not on an array now?  i'm missing something20:13
niteriaok, from the beginning20:13
niteriaI have 2 disks /dev/sda and /dev/sdc20:14
niteriathey're the same20:14
pmatulisniteria: gotcha20:14
niteriaon /dev/sda i have /dev/sda1 = /boot20:14
niteria/dev/sda2 + /dev/sdb2 = /dev/md1 (raid1)20:15
niteria/dev/sdb1 is /dev/md020:15
niteriai want /dev/sdb1 + /dev/sda1 = /dev/md020:15
niteriano it boots from /dev/sda120:16
niterianow*20:16
gobbeniteria: like i told, you cannot boot from md020:16
gobbeniteria: grub needs to be on disks20:16
fullstopYou can have grub on both sda1 and sdb1 and make it _feel_ like you boot from md020:17
gobbeniteria: so you install grub to both disks, if you use /boot, you create it to BOTH disks20:17
RoyKgobbe: no problem with that if /boot is on a separate partition20:17
gobbeRoyK: well, you want it to both disks still20:17
gobbeRoyK: or when you break the disk with /boot you cannot boot your machine20:17
gobbe:D20:17
RoyKgobbe: ubuntu installs fine on mirrored root disks20:17
gobbeyep20:17
gobbeand it creates it to both disks20:18
gobbebecause there's no idea to install boot-things to only one disks20:18
niteriahttp://www.linuxsa.org.au/mailing-list/2003-07/1270.html here is similiar setup20:18
gobbeif that disks breaks down, you cannot boot20:18
gobbeso basicly you have boot in both disks20:18
RoyKit creates an md device and install grubs on both drives20:18
gobbeyep20:19
RoyKgrub2 understands md20:19
gobbei use that kind of solution20:19
niteria# grub --version20:19
niteriagrub (GNU GRUB 0.97)20:19
gobbeniteria: which version of ubuntu you are running?20:19
RoyKiirc grub1 can't boot form an md20:19
gobbeno20:19
niteriaI'm running debian lenny ;p20:19
gobbeyou need to have it on both disks, like i have told20:19
gobbeniteria: eh..and you are asking here?20:20
gobbeniteria: this is meant for ubuntu-support20:20
gobbegrub needs to have boot on both disks, grub2 can boot from md020:20
niteriathey couldn't help me on #debian20:20
gobbeniteria: that's sad but we cannot either20:20
ScottKAlso the way Debian Lenny and recent Ubuntu versions boot is significantly different so even if it was on topic, this wouldn't be a great place to get answers.20:20
gobbeyes20:21
niteria:(, sorry20:21
gobbeniteria: but if you look my advice you will be able to do it20:21
RoyKniteria: just reinstall the OS - it'll save you some time20:21
gobbeniteria: grub needs to have it on both disks, grub2 can do it20:21
deadsmithWhat's the right way to boot into text login?  Some docs say Ubuntu doesn't support runlevel 3?20:22
niteriai did grub-install /dev/sda, grub-install /dev/sdc if that's what you mean20:22
niteriaI suppose I could forget about raid1'ed /boot and just create identical partitions /dev/sda1, /dev/sdc120:25
niteriabut then I have a problem in /etc/fstab20:25
RoyKniteria: grub1 doesn't support boot from raid20:25
RoyKniteria: just reinstall the box with something that supports root raid20:25
RoyKniteria: I know it's a bitch, but it's simpler than spending hours trying to fix something that's hard or impossible to do20:26
niteriaThat's a bummer20:26
RoyKit's the easy way out20:27
gobbeyes20:27
niteriaI don't understand why lenny uses grub120:27
RoyKgrub2 is quite new20:29
RoyKlenny isn't20:29
gobbewell20:30
gobbelenny is newer then 10.10 ;)20:30
gobbeit's release 27.11.201020:30
gobbethere arent many distros using grub2 still20:30
gobbemost of distros uses grub20:30
RoyKoh, lenny, sorry20:31
RoyKniteria: still, if your root filesystem isn't mirrored in the first place, even ubuntu might be hard to use for mirroring an existing one - I'd recommend reinstalling the box20:33
gobbeyep20:34
niteriamy / is mirrored20:35
niteriaand lvm'ed20:35
RoyKbut not /boot20:35
niteriano, /boot is another partition20:36
niteriait's weird how lvm on raid1 / works properly with grub120:36
RoyKthat's just linux20:36
RoyKgrub doesn't know about that20:37
niteriaok20:37
niteriai'm installing grub2 before I reinstall everything20:37
RoyKniteria: changing a partition into a mirror isn't trivial in linux20:37
RoyKit might be easier to reinstall20:38
RoyKwith grub2 on top of that, I'd recommend a reinstall - it shouldn't take too long20:38
niteriai've changed / into mirror20:38
niteriaso I kind of know the process20:38
niteriabut I'm stuck on grub20:38
niteriaand I've just found out I had no way of doing this with grub120:39
RoyKjust my hint - changing a fs into a mirror is like create a mirror with a dead drive, copy data, add the drive etc20:39
RoyKbut I'm not sure how that works with grub20:39
niteriathat's what I did with /20:39
RoyKyeah20:40
niteriaI guess grub2 detects partition type and if it is fd it acts accordingly20:41
niteriafd = linux raid autodetect20:41
RoyKhonestly, I don't know much about how grub2 works20:42
pmatulisgrub2 will notice the raid and know what to do (use the UUIDs for the arrays essentialy)20:44
niteriaokay, I hope ubuntu-server installator lets me create raid1 and lvm on top of it20:50
niteriabecouse you've convinced me to use ubuntu20:51
niteriabecause*20:51
smoserSpamapS,21:00
smoserst_dev=os.stat("/").st_dev ; print(os.major(st_dev),os.minor(st_dev))21:00
smoser(8, 8)21:00
SpamapSSWEET21:01
sparcHmm, when running automated installs, the error messages sometimes flash buy quickly, never to be seen again21:15
sparccan we get that sent to a remote syslog or something?21:16
sparcgotta scour the guide again21:17
savidMy server is 9.04,  and I'd like to have git>=1.7 installed (1.6 is the latest available for 9.04).  Is my only choice to either do a full dist upgrade, or install from src?  Or is there some ubuntu-ish way of upgrading a single package?21:24
MagicFabsavid, 9.04 has been EOL a few months already - I'd suggest full upgrade21:25
savidMagicFab: I'm generally paranoid about upgrading a production server :-|21:26
MagicFabsavid, there is, however a PPA which should also work for you: https://launchpad.net/~git-core/+archive/ppa21:26
savidgives me the willies21:26
sparcbest to have two, so you can fail over to the other, while you upgrade21:26
MagicFabsavid, well, you are missing security updates since October which is not better21:26
sparcShould the Ubuntu installer be stopping on "Partitioning Method:" if I specified partitioning info in my kickstart?21:28
sparcoh neat21:33
sparc\o_ hi eric21:34
zul!clone22:10
ubottuTo replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude  --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » - See also !automate22:10
AlanBellhi all, I have an Ubuntu server 10.04 running KVM and several ubuntu server 10.04 guests. When running a simple CPU benchmark on the server and guest the guest seems to outperform the host which puzzles me22:13
AlanBellit takes 28 seconds on the guest, but 40 seconds on the host to run this ->   time echo "scale=5000; 4*a(1)" | bc -l -q22:14
AlanBellcan someone help me to understand how this is possible?22:16
GatorAlliHello, is there any way for me to run a browser(firefox) on ubuntu server, and make a script that would have it load a webpage and return the rendered html?22:19
AlanBellGatorAlli: would the wget command do the job for you?22:20
GatorAlli:/22:20
GatorAllino22:20
GatorAllithe html has to be rendered22:21
AlanBellrendered to what?22:21
GatorAlli*and the javascript22:21
GatorAlligive the browser an html file ("<html><body><script>dicument.write("Hello World!")</script></body></html>")22:22
GatorAlliand the browser should give me back : <html><body>Hello World!</body></html>22:22
fallousdoes it need to be html as the result?   webkit2png can parse a page and spit out a png rendering of it22:24
GatorAlliit has to be html... :/22:24
GatorAllijust like you open up firefox22:25
GatorAlliput in the url, load the page22:25
GatorAllistart firebug, and get the interpreted source22:25
GatorAlliit might be too much22:25
GatorAlliill ask around on firefox ;)22:25
* RoyK just got the xkcd paper version :)22:36
air^\o/22:37
air^RoyK: does it include the "dead pixels in the sky" strip?22:37
air^(as it probably doesn't work very well on paper :P )22:38
air^http://xkcd.com/395/22:38
mrrrothhhcan I get the same feature or similar features of windows home server with ubuntu server22:48
air^depends on what the features you want are.22:49
mrrrothhhPlace for backups (storage), store pictures, store home videos, a place to handle my linux iso torrnet downloads22:50
mrrrothhhand do raid 122:50
jformanyes to all of those22:50
mrrrothhhis their a premade ubunt-home-server distro22:50
mrrrothhhor do i have to bulid it my self22:50
mrrrothhhI see this http://www.newegg.com/Product/Product.aspx?Item=N82E16859106058&cm_re=whs-_-59-106-058-_-Product <-- but 549 for a windows home server and no video output22:51
mrrrothhhLenovo IdeaCentre D400 Intel Atom 230 1.60 GHz 1GB DDR2 Windows Home Server22:51
jformanmrrrothhh: machines with linux pre-installed can be found, but you'll understand the system a lot more by grabbing a ubuntu server ISO and installing that, then configuring each of your desired services22:51
mrrrothhhI have a dell p4 wigh 3 gigs of ram22:52
mrrrothhhp4 3.0 ghz 3 gigs of ram22:52
jformanthat is quite powerful enough22:52
mrrrothhhwhat else should a home server have22:53
air^pr0n22:54
air^:D22:54
air^mrrrothhh: seriously, you gotta make that decision yourself.22:54
mrrrothhhoh, so samba, backup,  media, torrnet, and a nice webfrontend, and maybe email22:55
air^"a nice webfrontend".... for torrent?22:56
jformanmrrrothhh: you can normally find guides on how to setup by searching on google "ubuntu X" where X is what you would like (web server, mail, torrent, file server, etc)22:56
mrrrothhhubuntu Home server22:57
mrrrothhhoh I see https://wiki.ubuntu.com/UbuntuHomeMediaServer <--22:58
RoyKair^: don't think so...23:04
RoyKair^: btw, the page numbers are in the 3-number system :P23:06
air^:D23:06
air^RoyK: I might have to buy that one as well..23:06
RoyKit's well worth it :)23:06
air^the only thing against it is, I never read paper...23:07
air^so it will just end up in a bookshelf :D23:07
RoyKit's just good to have that on the bus.......23:07
RoyKbig, flat23:07
* RoyK likes books23:07
RoyKI wish I could share this book by Tor Åge Bringsværd with non-norwegians - IIRC it's translated to German and Dutch, but not to English23:09
Deepsanyone have any suggestions for a tool that can be used to compare the contents of two directories and verify that they're identical? other than rsync, that is23:40
air^diff is not good enough?23:41
Deepswell, it's 4TB of binary data23:42
air^:)23:42
air^Deeps: calculate hashes from the files, then compare that?23:45
Deepswell yes, worst case scenario i could script something up, but i was wondering if there were any tools that did it already23:45
Deepsbasically, got a sata card and the drivers for it aren't particularly great, had to backport the latest kernel module from 2.6.37 and it's still not great, resulting in errors like so: http://pastebin.com/ba7VqSxt every now and then, had about 8 of them with 460GB data transferred so far23:46
air^:/23:47

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