[01:14] <chroot> ciao
[04:43] <n2deep> Hi I just a did a new installation of 10.04.2  After install I did a aptitude update ; aptitude safe-upgrade
[04:44] <n2deep> after rebooting, it still says "40 packages can be updated" "21 are security fixes" when I login
[04:45] <n2deep> I've never seen the login dialog do that before on 10.04 server machine.
[04:45] <n2deep> any ideas?
[04:46] <RoyK> it's a big with motd uppdates
[04:46] <RoyK> seems to me canonical has less than sufficient resources these days
[04:47] <n2deep> RoyK: Hi! yes, seems like a bug to me too.
[04:47] <RoyK> I have 20+ servers and all of them have that thing
[04:47] <n2deep> it seems there is another bug with motd and the CPU/BIOS NXflag bit being disabled
[04:48] <n2deep> I enabled the NX bit in the bios, and motd still tells me, "hey enable that in the bios"
[04:49] <RoyK> it's rather alerming - a cron bug which affects a large number of users hasn't been fixe
[04:49] <n2deep> and now when I run the suggested check that motd tells me to do, it says all is well!
[04:50] <n2deep> RoyK: tell me about the cron bug. I already reported the root crontab bug in OI!
[04:53] <RoyK> n2deep: it's a startup issue - cron doesn't start with a lot of setups
[04:56] <n2deep> I see
[05:03] <n2deep> I'm looking at /etc/cron.daily/apt on a 10.04 desktop machine that does not have this motd issue
[05:03] <n2deep> though I'm not sure I'm looking in the right place
[08:49] <Daviey> Wooohooooo!
[10:58] <auscoder> list
[11:54] <pilleslife> Hello together...is S.o. here who can help me with mdadm?
[11:56] <pmatulis> !ask | pilleslife
[12:00] <pilleslife> Ok...I've got a soft-raid5. 2 out of my 6 drives degraded, but I think 5 devices are ok. Then I tried to assemble the raid and I got this messages (http://forum.ubuntuusers.de/topic/soft-raid-5-degraded/). After that I tried to create a new array over the old, but it doesn't work. If I set the disk-size mdadm says that the drive ist smaller than de given size. (I hope you understood it. If not I will try to explain it again.)
[13:43] <tdn> I do not beleive this is kubuntu specific
[13:43] <tdn> wrong channel :)
[13:43] <tdn> I have just installed kubuntu 11.04, when I start up, it says: error: no video mode activated. So nothing happens. I beleive it is already in grub it fails.
[13:52] <Henriquez> ok i have server a and server b in my LAN and i have 1 WAN ip adress. Server A has virtualhosts setup for webmail and a website. I wnat to have another subdomain to point from server a to server b with another web application. I that possible ? and if so how?
[14:09] <_ruben> Henriquez: mod_proxy
[14:30] <Henriquez> ok thank you _ruben\
[14:30] <Henriquez> so as far as i can see it is ProxyPassReverse
[14:46] <peta> hello guys
[14:49]  * RoyK wonders why the fuck the cron/upstart bug hasn't addressed yet - bug #592114
[14:51]  * IdleOne wonders why the only time I see cursing in here it is from RoyK 
[14:51] <RoyK> IdleOne: I generally don't curse too much, but this bug is rather bad, but still seems to be ignored
[14:52] <qman__> I had pretty much exactly that problem with squid after I upgraded to lucid
[14:52] <qman__> a couple reboots and manual start/stops fixed it
[14:57] <peta> I'm developing a distributed system that involves multiple independent machines. I'm developing/testing with virtual machines using VMWare Fusion on a Mac. Now I'm faced by the decision how to manage the machine images. Up to now I simply duplicated a cusotm vm image I set up. However, such an Image is 9GB in size (only the bare os from the ubuntu server install image). What would you recommend in order to reduce the size of the a
[14:57] <peta> (e.g. by stripping out all unnecessary packages, asf.) And is there a way to produce system "diffs" ... so that once the base vm image changed, I can simply move that "diff" to another base vm image?
[15:00] <RoyK> 9GB sounds rather a lot for a base install - it should be 10% of that or so
[15:00] <qman__> yeah
[15:00] <RoyK> perhaps a bit more
[15:00] <qman__> I've installed ubuntu server inside 2GB before
[15:00] <qman__> with not much extra room, but still
[15:01]  * RoyK runs Debian on a guruplug with 256MB flash and still has 100MB or so free
[15:02] <RoyK> ubuntu base includes a bunch of things you don't really need that much - in the install page, you can choose to install the minimised version
[15:02] <qman__> if you're trying to shave megabytes off a configured image, you can remove logs and /var/cache/apt/archives/*.deb
[15:02] <RoyK> or the JEOS version if you like
[15:03] <qman__> but if you're at 9GB, something is wrong
[15:03] <RoyK> apt-get clean
[15:03] <RoyK> 9GB is large for even a basic workstation setup
[15:04] <RoyK> a JEOS install should fit into 100-200MB
[15:04] <qman__> and a fresh off the disc, regular server install should be under 900MB
[15:04] <RoyK> peta: check the logs - du -sh /var/log
[15:06] <peta> Thought that too ... 9GB is pretty large. I just created a minimal vm in Fusion and did a default install from ubuntu server cd image.
[15:07] <RoyK> peta: is the image 9GB? whatdoes df say?
[15:09] <peta> RoyK: http://pastebin.com/NSA8CVwz
[15:10] <RoyK> so 3 gigs in use...
[15:10] <peta> RoyK:  strange ...
[15:10] <qman__> that's still a lot
[15:11] <qman__> did you update or install any extra packages?
[15:11] <RoyK> peta: try apt-get clean
[15:11] <RoyK> anyway - last I checked, vmware images grow when needed, but never shrink
[15:12] <peta> aah ... maybe its a Fusion-specific behaviour that the virtual hdds has a given size at minimum
[15:13] <peta> I'll try apt-get clean first ...
[15:14] <peta> great ... now I have a usage of ~900MB
[15:14] <RoyK> peta: most hypervisors allow for either pre-allocated images or growable ones
[15:14] <qman__> that's more like it
[15:15] <peta> RoyK: just checked the Fusion settings ... the virtual hdds are growable and chunked at 2GB parts
[15:15] <RoyK> peta: if you install JEOS (F6 and something in the initial grub menu IIRC), it'll be even lower
[15:17] <peta> RoyK: "Just Enough Operating System" .. sounds useful. WIkipedia says that its included in the vanilla server version since 8.10 ... must I select the JEOS option in the installer?
[15:18] <RoyK> make that F4 - "Install a minimal system"
[15:18]  * RoyK tests to see how large that one gets :)
[15:18] <aljosa> whats the device name for /dev/sda in natty for amazon ec2/ebs?
[15:18]  * RoyK has no friggin' idea
[15:19] <RoyK> I would guess /dev/vda, but I may be wrong
[15:23] <RoyK> peta: just tested 'minimal install' on a vbox vm here - 630MB
[15:23] <RoyK> vbox image size is 832MB
[15:24] <RoyK> that's with lucid
[15:24] <peta> okay. stupid question: how did you chose "minimal install" ... I don't have this option in my installer menu (10.04, 64bit image)
[15:25] <RoyK> press F4
[15:26] <peta> i did ... only the choice "Normal"
[15:27] <peta> I'll work that out by myself ... thanks for your help
[15:28] <RoyK> it really should show up....
[15:29] <RoyK> http://karlsbakk.net/ubuntu-install1.png
[15:33] <peta> wtf!? when language is set to german, only the option "Normal" appears :D
[15:33] <peta> now I chose english and it works
[15:33] <RoyK> lol - file a bug :)
[15:34] <RoyK> and btw, choose minimal _virtual_ system
[15:34]  * RoyK loves his mac - after the upgrade to an SSD instead of spinning rust, it's blazingly fast :D
[15:35] <peta> RoyK: I did
[15:36] <RoyK> ubuntu base install in 3 minutes :D
[15:36] <RoyK> minimum virtual (+ssh) is now down to 515MB
[15:37] <peta> Which SSD do you use?
[15:37] <RoyK> it's a Crucial C300
[15:37] <RoyK> make that Micron - they bought them recently
[15:38] <RoyK> not top-of-the-line, but still very much better than spinning rust ;)
[15:38] <peta> nice. performance values look good
[15:39] <peta> I'd like to buy one too, however, i need at least 500gb (using macbook pro) ... and its definitely too expensive
[15:40] <RoyK> indeed - I had to clean up some old stuff before going down to 256GB
[15:40] <peta> I saw a classic hdd that uses 4GB of integrated SSD cache ...
[15:40] <RoyK> it's well worth it, though
[15:40] <RoyK> just get a home server or something for the large stuff :)
[15:41] <RoyK> we have some QNAP boxes at work for that - small linux-based things
[15:41] <RoyK> stuff some 2TB drives in them and you have room enough for some time :)
[15:42] <shauno> my plan's to move the hdd into the optical bay, and ditch the dvdrom. have a fast drive for things that benefit from speed, and a slow drive for things that require bulk
[15:42] <RoyK> I know people that have done that - should work rather well
[15:42]  * RoyK still wants the optical for watching^Wripping movies etc
[15:43] <shauno> I used to think that, until I broke the dvd on my last laptop.  never bothered replacing it for 3 years
[15:44] <RoyK> my old MBP, 1st gen, eventually lost its optical - checked with the apple vendor and they told me a new one would cost NOK 5k from apple!
[15:44] <peta> sure, small fileservers at home/office are great for loading off data. some nas devices even offer media streaming capabilites ootb.
[15:44] <RoyK> got one from ebay for 6% that price
[15:45] <RoyK> peta: this qnap was rather nice - no limits - ssh directly into it and I was root :)
[15:46] <peta> yeah ... there are many ecosystems with 3rd party plugins for qnap atl.
[15:46] <RoyK> seems it's using raid1+0 for the system partitions (on the data drives) and whatever you choose for the data
[15:46] <peta> however, mature solutions (with redundancy and failure checks) are still a pricy affair
[15:47] <RoyK> for power redundancy etc, you'll need a bit more
[15:47]  * RoyK uses ZFS for big storage
[15:47] <RoyK> openindiana with a truckload of drives
[15:47] <RoyK> we have a couple of 80-drive boxes at work - 100TB net storage each
[15:49] <peta> wanted to buy me a thecus n4200 for some time now ... but as soon as i had the money anything else happened ^^
[15:49] <peta> RoyK: http://www.thecus.com/product.php?PROD_ID=41   this thecus even has an mini ups included
[15:49] <peta> and usb ports where one can plugin a usb stick and get them backed up automatically ..
[15:50] <RoyK> not badly priced either :)
[15:50] <peta> and no hdds included yet :D
[15:51] <RoyK> but with 2TB drives below the $100 mark, that shouldn't be much of a problem ;)
[15:54] <peta> hmm ... let's see. my next invest is definitely a larger hdd for my mbp (~15GB free space right now). maybe with internal ssd cache as said above.
[15:57] <RoyK> peta: better use external storage for the big stuff
[15:57] <RoyK> btw, anyone seen the pandaboard? http://www.pandaboard.org/
[15:57] <RoyK> looks rather amazing :)
[15:59] <peta> indeed. but check out "Raspberry Pi" a minimal platform for 18 bucks http://www.raspberrypi.org/
[16:01] <RoyK> wtf can I get that?
[16:04] <peta> dunno. the platform was released to the public this week. they should be broadly available soon.
[16:11] <peta> RoyK: haaa, my new minimal 10.04-64bit installations has 576MB :D
[16:17] <RoyK> :)
[16:17] <RoyK> why 64bit if it's minimal?
[16:17] <RoyK> not that it matters much...
[16:24] <peta> well, the later production machines will use 64bit os too and in order to replicate the production env in my vm for testing/developing it chose this
[16:24] <RoyK> k
[16:26] <Proz01d> Hi Guys, I installed ubuntu server 10.04 LTS 64bit and it completed successfully however when i try to boot i can't get passed the "Starting Apparmor profiles [OK]"  the system just seems to hang  (i do have encryption on my volumes enabled).
[16:35] <peta> Proz01d: The next service that should be initialized is cpufreq (cpu throttling, energy saving, asf.). So maybe its a problem related to that.
[16:37] <peta> At least in all 10.04 32/64bit versions i have installed. I know that because inside my vm supervisor cpufreq isn't supported and thus this service always fails on sys init
[16:38] <Henriquez> ok i am struggeling with mod_proxy from the apache package in ubuntu 10.04 server and have looked all over to find an answer. Where do i put the ProxyPass and ProxypassReverse? in the virtualhost file? in the apache2.conf file?
[16:38] <Henriquez> do i need to change something else like hostnames to point to the server that the request is forwarded too?
[16:39] <Henriquez> and do i need to create another virtualhost file on the server acceptin the request?
[16:39] <Proz01d> peta: is there a way to bypass it? How do i get around this?
[16:40] <peta> Henriquez: at the beginning of every directive sections, it is told where this directive may appear (vhost conf, server config): http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
[16:41] <peta> Proz01d: do you run your installation as vm or on a real box?
[16:41] <Proz01d> vm
[16:41] <peta> which one?
[16:41] <Henriquez> thank you i will examin the document more closely then (already found that one)
[16:42] <peta> Henriquez: np
[16:42] <Proz01d> peta: may i pm?
[16:42] <peta> sure
[18:26] <Proz01d> ubuntu server 64bit with encrypted partitions... should i still be able to run the CLI only?
[18:26] <Proz01d> (with only 128mb of ram
[18:26] <Proz01d> )
[18:27] <w00> 128ram? i have more on my phone ;/
[18:27] <pilleslife>  /msg frostschutz hi, jemand da?
[18:28] <Proz01d> yes... i'm running a vps. trying to keep cost down
[18:33] <jpds> Proz01d: I don't see why not.
[18:40] <peta> Proz01d: still the same problem?
[18:45] <RoyK> Proz01d: I just tested a minimal VM here - boots ok with 32MB RAM
[18:45] <RoyK> no encryption, though
[18:47] <peta> RoyK: it's weird, because he uses a vanilla default-vm provided by his hosting company. the system starts up, AppArmore is started (status message shown) but after that it freezes.
[18:47] <peta> I said that normally directly after AppArmor cpufreq is initialized ...
[19:11] <RoyK> peta: what hypervisor?
[19:11] <peta> xen
[19:12] <RoyK> no idea - sorry
[19:12]  * RoyK doesn't use xen
[19:12] <Superchicken> Where is the best place to get support for serial passthrough for the libvirt-bin/qemu-kvm versions on server 10.04 LTS? I have been unable to get my guest's fax software working with USB or serial passthrough.
[19:26] <RoyK> Superchicken: from virt-manager, it's rather trivial
[19:26] <RoyK> Superchicken: just add physical host device, choose the serial port and you should be done
[19:27]  * RoyK likes easy configs
[19:28] <RoyK> Superchicken: from there you can choose a PCI ID - you'll find that in lshw
[19:43] <Proz01d> Just an updated.... i had my hosting provider assign another 128mb and it started up correctly.
[19:43] <Proz01d> (total of 256mb)
[19:46] <RoyK> prolly the encryption part needing some ram
[19:46] <RoyK> not all can be swapped out...
[19:47] <Superchicken> I can connect it, but I've tried: USB passthrough with another USB fax modem, USB passthrough with a Keyspan, direct serial passthrough for the serial port on the host, and serial passthrough via the tcp option with ser2net running on the host for my USB modem, my serial modem, and with a Keyspan. I have differing results with differing methods and the TCP is most promising with what appears to be a perfect fax document (versus di
[19:47] <Superchicken> rect serial passthrough which causes artifacts and and fax job errors), unfortunately even with ser2net, something goes wrong and my fax program on the host reports an error from the modem. I believe it's a timeout issue, which seems to indicate that nothing is making it back to my host from the modem after the data part of the transmission.
[19:47]  * RoyK is currently programming a 16MHz processor with 4kB RAM and 16kB flash and is having good fun with it
[19:47] <Proz01d> i heard all vps providers have access to the HDs and can look at the files without your knowledge so to protect the data on there i encrypted it..
[19:48] <RoyK> theoretically, they can, of course
[19:48] <Proz01d> but not with encryption right?
[19:48] <RoyK> but then, as long as the VPS is running, they can always barge in and read the data from the mounted filesystem
[19:48] <Proz01d> so then this is pointless to have encryption
[19:49] <RoyK> depends - if you're paranoid, add encryption for certain parts and mount them when needed
[19:50] <RoyK> if a volume stays mounted, you can always get in, given console access
[19:50] <RoyK> that is - not really...
[19:50] <RoyK> you'll need passwords etc
[19:51] <jpds> Proz01d: If you don't trust them, move to something else. ;-)
[19:51] <RoyK> but if you're automounting the volume, you need to hardcode the key, and that's like hanging our doorkey at your door
[19:52] <RoyK> jpds: indeed - or get your own box :P
[19:52]  * RoyK has a private server
[19:52] <wmp> hello
[19:52] <RoyK> or two...
[19:52] <wmp> i looking for tool to make statistic what country my serwer have most connections
[19:53] <RoyK> web server?
[19:54] <wmp> no
[19:54] <wmp> shell
[19:54] <RoyK> perhaps you can hack awstats to do it
[19:54] <RoyK> it works well with other services
[19:55] <wmp> no, i havent logs to network
[19:55] <wmp> maybe vnstat?
[19:57] <jpds> wmp: That only does data traffic, not countries.
[19:57] <wmp> true, in this database isn't ip
[19:58] <wmp> maybe nestat?
[20:01] <wmp> maybe iptables? :)
[20:05] <RoyK> iptables???
[20:05] <RoyK> the lastlog should be sufficient for shell access
[20:06] <RoyK> as in /var/log/lastlog
[20:06] <wmp> RoyK: how to read lastlog?
[20:07] <wmp> RoyK: hmmm, ubuntu bug: May 15 06:38:20 cardinal rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="2735" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
[20:07] <wmp> RoyK: no, lastlog isn't good idea
[20:08] <RoyK> or /var/log/auth.log
[20:08] <RoyK> that should show the IPs etc
[20:08] <wmp> i have torrents on server, and i want to check this transfer ;)
[20:08] <RoyK> then you'll need some support in the app
[20:08] <RoyK> transmission or whatever you're using
[20:09] <wmp> but i have http, ftp... I need this on network level ;)
[20:10] <wmp> http://software.inl.fr/trac/wiki/EdenWall/NuLog
[20:10] <RoyK> well, I don't know
[20:10] <JanC> I'm sure there is a way to log all IPs with netfilter
[20:11] <wmp> JanC: netfilter generate big load?
[20:11] <wmp> i have 200mbps IO
[20:11] <RoyK> iptables -i INPUT --ctstate NEW -j LOG
[20:11] <RoyK> perhaps
[20:12] <jmarsden> I missed the initial question, but argus generates a summary of all network connections, ra is the client to view the info it creates... is that what you are interested in?
[20:12] <JanC> netfilter is the part of the kernel that you use to set up a firewall with iptables   ;)
[20:13] <JanC> it's basically a framework for inspecting IP packets & acting on their properties
[20:13] <wmp> ok, i must read about it
[20:14] <JanC> I'm pretty sure iptables can create logs that you can parse to generate the info you need
[20:15] <Proz01d> @royk and @jpds i'm just a little paranoid..... I have no reason not to trust them
[20:15] <JanC> but there might also be something that causes less load...
[20:15] <Proz01d> except i don't know them
[20:16] <RoyK> what sort of data is it there? planned terrorist atttack? :)
[20:18] <Calif> Anyone got experience running nagios on windows?
[20:18] <Calif> the nsclient++
[20:18]  * RoyK uses nsclient++ quite a lot
[20:18] <Calif> I keep getting an access is denied error when I try to edit the NSC.ini file
[20:18] <Calif> I'm an administrator, I've taken ownership of the entire directory and sub objects
[20:19] <Calif> I shut down the systray icon, and stopped the service in admin tool
[20:19] <Calif> s
[20:19] <Calif> Is there something I'm missing? Do I have to reboot into safe more to edit the file? I'm over RDP incase that matters
[20:19] <RoyK> try manually with setfacl or something
[20:20] <Calif> Its windows 7 too btw
[20:20] <Calif> I heard of cacls, not setfacl though
[20:20] <RoyK> there are some tools for showing which files are open too - don't remember their names, though, but available from http://www.sysinternals.com/
[20:20] <RoyK> erm - sorry - cacls, yes
[20:21]  * RoyK doesn't use windoze too much these days
[20:21] <RoyK> setfacl is linux/posix
[20:22] <Calif> ah, I see
[20:24] <JanC> yeah, I remember SysInternals had a good free tool to see open files in the past
[20:24] <Calif> that seems to have done it. I did it from cmd directly on the folder (I tried just program files it was giving an access denied error as well, but not the nsclient folder)
[20:24] <Calif> One thing I'm a bit uncertain about...
[20:25] <jmarsden> JanC: Process Explorer.  There is also an open source equivalent called ProcessHacker on SourceForge now.
[20:25] <jmarsden> But this is #ubuntu-server ... :)
[21:20] <Calif> I just got it to properly monitor my services on windows. Thanks for your help.
[23:27] <missil> hi
[23:27] <missil> i heard this was the kick ass chan for server help
[23:29] <missil> im getting an error running virtual servers - after getting the servers to start and run using virsh i cannont connet to them via ssh or virsh console any help would be apreciated
[23:30] <missil> virsh # console ubuntu
[23:30] <missil> Connected to domain ubuntu
[23:30] <missil> Escape character is ^]
[23:30] <missil> error: internal error cannot find character device (null)
[23:31] <missil> addict@TeraFora:~/virtual$ virsh 'list --all'
[23:31] <missil> Id Name State
[23:31] <missil> ----------------------------------
[23:31] <missil> 1 addicts running
[23:31] <missil> 2 ubuntu running
[23:31] <missil> any help would be awsome
[23:31] <missil> ty
[23:50] <Mean_Admin> anyone have experience with online backup services à la spideroak or crashplan ?
[23:54] <greppy> Mean_Admin: I'm using spideroak currently.
[23:55] <Mean_Admin> greppy: thumbs up?
[23:57] <Mean_Admin> greppy: or rather, have you any reason to not recommend it ? I'm happy if it just backs the data up, not looking for fancy interface (as it'll run on a server, obvioiusly)