[00:02] ok [00:25] wonder how long will it take to resize an ntfs disk from 1.2TB to 1TB [00:25] Depends on the disk [00:25] and the machine, of course [00:27] And how full the disk is. [00:27] That's what this meant: < monokrome> Depends on the disk [00:28] Oh. I interpreted that as disk type, rotation speed, interface, etc. [00:28] Yes, all of that + data. [00:28] close to empty [00:28] 3 disk raid 5 [00:28] Then not too long. [00:28] Maybe longer if it's a raid stripe. [00:28] Software raid or hardware raid? [00:29] hw [00:29] oh [00:29] Not too long. [00:29] :D [00:29] Assuming it really is almost empty, and it's a decent machine [00:29] more than decent machine, 30% ish empty [00:29] i mean full [00:29] ah [00:30] Basically it depends on how much data needs to be physically moved [00:30] strange thing is that last time it took like 12h [00:30] to move it by 2MB [00:30] cause there is a bug in parted [00:30] that stuff is not aligned to sector on creation [00:30] but is alligned when moving [00:31] :| [00:31] WAS bug [00:31] the latest parted bootable CD fixes it === jasonb_ is now known as jasonb === _TechAway_ is now known as _Techie_ [02:25] hey all. trying to figure out the best way to get a random selection of music onto my SD card... what would be the best method? === rberger_ is now known as rberger [03:21] hey guys, i'm having trouble with bash history in ubuntu server [03:21] it was working fine, but as of past day or two, history shows a ton of the same 2 commands, repeated [03:22] ls -al (repeated many times), then exit (repeated many times0 [03:22] ...and you didn't do that a whole bunch? [03:22] negatory [03:22] and if i type a new command, execute, then scroll back, it's not there [03:22] so it's like a ton of the same command was recorded, then it stopped recording? [03:23] huh [03:23] i'm going to restart, see if that clears up anything [03:23] restart the server that is [03:24] i was going to say what's in .bash_history [03:25] it's back up. bash history shows the same [03:25] looks like every command, it may still be recording, but then it appends a list of commands after? [03:26] so at least now it's recording, but then after cmd recording, appends the old junk [03:26] hrm [03:26] i don't think cron would dump crap in there... [03:26] perhaps cron jobs run as your user...? [03:26] was at 1464 cmds, run a cmd, it increments a bit over 100 cmds :-) using the ls -al & exit [03:26] have you checked your cron? [03:27] possible, checking [03:28] have svn up, rsync, and some stats tracking cmds in cron [03:29] and this shows the same pattern after each cmd i enter, does ls -al (ad nauseum), then exit (ad nauseum) [03:30] i'm not calling you a liar [03:30] i just don't know [03:30] lol [03:30] cron was my best bet [03:31] i've never heard of that. [03:31] what's more interesting, is .bash_history actually doesn't match history output [03:31] history output shows the pattern i described [03:31] bash history just shows tons of exits as remaining [03:31] with the same timestamp [03:32] and no new cmds logged [03:33] it's probably a bad config setting somewhere :-\ [03:33] huh [03:34] i uh... am not that much of a linux guru :P [03:34] haha, i'm typically decent, but not a guru either :-) [03:34] i actually came in here for help on something stupid that i can't wrap my head around lol. [03:34] hahaha [03:34] what's your issue? [03:35] trying to figure out how to fill an sd card with random songs from my 'music' folder haha [03:35] i was hoping for a command [03:35] since all the music is on the server anyways. [03:35] lmfao [03:36] i would think that would be a better question for standard #ubuntu, as they'd have more experience doing media. just mention that you need a cli cmd :-) [03:37] yea [03:37] i did [03:37] and i'm learning about awk [03:37] which i've heard of before, but honestly never used. [03:38] awk, ack (ack-grep), and sed are 3 powerful commands that are good to familiarize with [03:38] and find [03:38] :-) [03:38] yes [03:38] i've worked with sed [03:38] but usually when people much smarter than i give me the command lol [03:38] i usually don't branch outside of sed's straight string replacement [03:39] but i know it's more powerful than what i use it for :-D [03:39] oh yea. [03:39] one of the dudes i work with is a perl master. [03:39] he's saved me SO much time. [03:40] haha, nice :-D [03:41] just wish i knew half the crap he does. i try to learn it, but i don't use it all that often. [03:41] having reason to use it is the only good way to learn [03:41] i'm usually not doing things on such a big scale that require scripting crap out. especially for stuff at home... [03:42] hehe, exactly [03:42] yea... no better motivation than necessity. [03:44] i just need to buy a buch of o'reilly books haha [03:44] get a kindle or freakin get them on my phone so i can just read! [03:44] and then find the time to read :-D [03:44] those books always have the most messed up covers. [03:45] then find a way to apply it [03:45] haha seriously. [03:49] !support [03:49] The official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org [03:49] !eol [03:49] End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [05:36] New bug: #634671 in apache2 (main) "package apache2.2-common 2.2.14-5ubuntu8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/634671 [05:42] !info nginx [05:42] nginx (source: nginx): small, but very powerful and efficient web server and mail proxy. In component universe, is optional. Version 0.7.65-1ubuntu2 (lucid), package size 327 kB, installed size 800 kB [05:42] !info nginx maverick [05:42] nginx (source: nginx): small, but very powerful and efficient web server and mail proxy. In component universe, is optional. Version 0.7.67-3ubuntu1 (maverick), package size 332 kB, installed size 808 kB [07:40] uff [07:40] st [10:17] New bug: #628328 in eucalyptus "euca_conf --register-cluster is not idempotent" [Undecided,Confirmed] https://launchpad.net/bugs/628328 === _Techie_ is now known as _TechAway_ === twister004_ is now known as twister004 [10:27] How do I scp preserving symlinks? [10:28] try tar [10:28] tar without -h [10:29] or rsync with --links [10:43] is there a "elegant" solution to use iproute2 (instead of network/interfaces, ifconfig, etc) for ubuntu-server network config? [10:49] eferro: you can use `ip` on the up, down, preup, postdown etc. hooks in /etc/network/interfaces [10:51] eferro: http://manpages.ubuntu.com/manpages/lucid/en/man5/interfaces.5.html#toptoc2 [10:54] joschi, yes, but can I put the IP address only at the hooks??? [10:54] eferro: hm, you could try it [10:56] eferro: what do you want to achieve anyway? [10:56] joschi, As far as I know (all my tests fails) It is not possible to avoid to put the IP addresss.... [10:58] joschi, because we develop some kind of appliances and have a cisco like CLI, and the commands are more similar to ip route2 commands, so If there is an "elegant" way to do integrate this I avoid to develop all the code to parse/change the network/interfaces .... [11:46] I have a web server at my home network behind NAT. When I download something from the webserver from inside the local network, I cannot download more than my internet upstream. So it seems that traffic is routed out of my local network, to my ISP and back again. How do I fix this? I assume this happens, because domain names resolve to my server's public IP instead of the local IP. But shouldn't there be some way to configure NAT to handle this? [12:01] New bug: #634815 in samba (main) "package samba-common 2:3.4.7~dfsg-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/634815 [12:41] New bug: #634839 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/634839 [12:43] how can i list activated plugins for php? [12:52] Error404NotFound: execute a page that calls phpinfo()? [12:53] http://www.php.net/manual/en/function.get-loaded-extensions.php [12:53] twb, hmmm, ok, i was more sort of looking for a commandline method [12:53] You can execute PHP from the command line [12:54] echo '' | ssh fs php-cgi [12:54] Gods, I got a lot of information out of that considering I don't have root on that host... [13:00] the event of network card cable unplugged or plugged seems to be detected by ifup/ifdown... so, have any sense to continue using ifplugd at Lucid server??? [13:02] eferro: I don't believe you [13:02] eferro: add a line like "post-up date -Iseconds >/tmp/stamp", then see if "stamp" changes as you un/plug the cable [13:03] (Unless you're running NM or something, in which case all bets are off.) [13:06] twb, I test this yesterday and it seems to work... I'll retest... (I think I have ifplugd stoped, but maybe I have some trouble with the test)... I will retest [13:06] See, I basically have that problem with a USB wifi device that keeps resetting itself [13:07] My lucid system is too retarded to "ifdown wlan0; ifup wlan0" each time [13:07] ifdown --allow=hotplug, that is. You know, the thing that /lib/udev/net.agent is supposed to do [13:11] New bug: #634861 in qemu-kvm (main) "USB not working, because usbfs is removed from kernel" [Undecided,New] https://launchpad.net/bugs/634861 [13:55] hi, what is the name of the program that can output keyboard commands to multiple shells, at the same time please? [13:56] New bug: #634905 in tftp-hpa (main) "/etc/init.d/tftpd-hpa lacks quotes after OPTIONS=" [Undecided,New] https://launchpad.net/bugs/634905 === ivoks-afk is now known as ivoks [14:07] I'm getting a crap ton of these messages.. Any ideas what's up? Sep 9 09:19:17 repono kernel: [1968114.370179] type=1503 audit(1284041957.919:16436): operation="rename_src" pid=7863 parent=939 profile="/usr/sbin/smbd" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/var/log/samba/log.adam-pc" [14:07] the denied part makes me think this is why a user is fighting the samba shares.. === dendro-afk is now known as dendrobates === reggi_away is now known as reggi [15:29] hello is anyone on here? [15:31] anyone do ec2 ebs backed instances that *don't* have a load that jumps to 10.00? [15:31] I don't know what you're talking about Neoteric [15:34] Neoteric, I don't think anyone else is online [15:34] reggi: when i spin up any of the mekrat or lucid ami's and then install say postgres the load immediately jumps to something pretty high [15:34] and then stays there for ever [15:35] does it effect the other running services Neoteric ? [15:35] err... this is all on amazon ec2 [15:35] reggi: yes, badly [15:36] oh I've never used amazon [15:36] there's an open bug about this [15:36] reggi: so i was hoping to jump in here and hope that someone else had figured out a good work around for this bug [15:36] otherwise i have to create an ami w/ a karmic kernel running lucid userspace === X-Sleepy-X_ is now known as X-Sleepy-X [15:37] Neoteric, yeah usually there is at least 1 or 2 folks experienced enough to help [15:37] but it looks like they've all gone to the pub! [15:37] beer! [15:37] I want beer [15:37] i have beer! [15:38] hey Neoteric do you know much about bind? [15:39] reggi: https://bugs.launchpad.net/ubuntu-on-ec2/+bug/574910 [15:39] Launchpad bug 574910 in linux-ec2 "High load averages on Lucid while idling" [Undecided,In progress] [15:39] reggi: enough to know i hate using bind and have instead started to use unbound or powerdns [15:39] powerdns sorta is overkill unbound is better [15:39] unbound you say... [15:40] i might have to check it out [15:40] reggi: it's like the nginx of dns servers [15:40] oh i don't know nginx [15:40] Daviey, ping [15:40] i'm a noob to linux [15:40] but i'm just trying to share my 3G internet connection to my network [15:41] i've configured DHCP using dhcp3 [15:41] oh you just want a baby dns server [15:41] now all I need to setup is a dns server so my other machines on the network will automatically get the dns [15:42] ya [15:42] uh use pfsense [15:42] pfsense you say [15:42] wait isnt that like a firewall? [15:42] it has everything you want and you can stop putting the peices togetehr individually [15:42] hmm i will check it out then. [15:42] wait [15:42] isn't pfsense based on bsd? [15:43] so? [15:43] gets job done [15:43] it can be installed on ubuntu? [15:43] otherwise you just want to do a simple dns forwarder [15:43] and that's litterally one line in bind9 [15:43] ahah! [15:44] yep [15:44] i think that is what I'm after then. [15:44] you know what would I google to get the 'how to'? [15:45] http://www.ubuntugeek.com/dns-server-setup-using-bind-in-ubuntu.html [15:45] pay attention to the line that says forwarders { 4.2.2.2; 4.2.2.1; 8.8.1.1; } [15:45] tnx loolking [15:45] or some such [15:45] not yet king [15:46] Neoteric: Please have a look at the Ubuntu server guide (see /topic) and see if it provides sufficient advice for this case. We'd be interested in knowing what's missing from the maintained documentation that you recommend external sources of information instead. [15:46] reggi: also i believe this is what dnsmasq was for === Laverne_ is now known as Laverne [15:48] ScottK: no there's an open bug and i'm just hoping that someone in here has fixed the issue cause all i really want is lucid userspace https://bugs.launchpad.net/ubuntu-on-ec2/+bug/574910 [15:48] Launchpad bug 574910 in linux-ec2 "High load averages on Lucid while idling" [Undecided,In progress] [15:48] Neoteric: I was referring to the advice you just gave reggi. I've no idea about ec2 stuff. [15:50] ScottK: well reggi is no longer an issue it seems [15:51] Right. Still interested in if the docs can be improved. [15:52] test [15:53] ScottK: oh that's simple "docs always can be improved" [15:54] ScottK: but nope. you're right https://help.ubuntu.com/10.04/serverguide/C/dns-configuration.html has exactly what reggi needed [15:55] Neoteric: In the future, it'd be nice to point people at the maintained docs. [15:56] ScottK: don't tell me what to do, i'm an american [15:56] So? [15:58] ScottK: so Neoteric wants to ram democracy down our throats[tm]! [15:58] joschi: That's not helping. [15:58] ScottK: it's not hurting either [15:59] Yeah. It is. [15:59] hey guys, is there a way to limit ssh connections from the internet to only a single user? [15:59] dragon`: sure [15:59] AllowUsers parameter in sshd_config [16:02] pmatulis, so its 'AllowUsers dragon' in my sshd_config? like this it will only allow ssh from the user dragon and no one else? [16:02] dragon`: after you restart the sshd, yes. [16:03] cool.. this will affect local ssh connections too? [16:03] i mean from the local network not the local machine === twister004_ is now known as twister004 [16:06] dragon: this will affect all connections local or otherwise after you restart [16:09] dragon`: are you asking whether connections will be dropped? === twister004_ is now known as twister004 [16:32] I have a web server at my home network behind NAT. When I download something from the webserver from inside the local network, I cannot download more than my internet upstream. So it seems that traffic is routed out of my local network, to my ISP and back again. How do I fix this? I assume this happens, because domain names resolve to my server's public IP instead of the local IP. But shouldn't there be some way to configure NAT to handle this? === twister004_ is now known as twister004 [16:36] Neoteric, pmatulis, no, im asking if it will affect all connections after sshd restart and Neoteric answered that.. but hmm isnt there a way to allow any user to login localy? and use that with connections from outside the local network [16:37] what i want is to allow only 1 user to ssh to ubuntu from outside the network, im still reading the man on sshd_config to find out if its possible and how [16:47] the above doesn't make sense to me === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [17:38] Hi, is there a special channel on server clustering, ha, lvs ? [17:39] #linux-ha [17:39] hmmm [17:40] hi Bayles . . me again :p [17:42] patdk-wk: thanks but that channels seems to be only for heartbeat . . my question points more to lvs than to ha [17:42] hmm.. should Ubuntu-Server subscribe to bugs for lvm2? Its getting no triage these days.. seems rather fundamental to servers. [17:43] SpamapS: no thats foundations [17:43] Notscape, according to the lvs website, #linux-ha is the channel [17:45] zul: seems like foundations needs some triage help. [17:45] SpamapS: i bet they would love it [17:46] whoa.. server team has 18 untriaged... we need help too [17:46] * SpamapS gets a-triagin [17:46] SpamapS: wha? [17:49] mathiaz, your puppet should be fixed in maverick images now, right ? [17:49] smoser: absolutely! [17:49] cool. [17:49] smoser: works like a charm!!! :) [17:50] i'm glad you caught that and sorry i didn't test it. === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [18:31] New bug: #635147 in mysql-5.1 (main) "mysqld crashed with SIGSEGV" [Undecided,New] https://launchpad.net/bugs/635147 [19:05] smoser: you ever install cloud-init on a regular server? [19:06] generally no. [19:06] now is where you tell me it deleted your dat [19:06] a [19:06] or that you cant boot [19:06] I did on accident, then rebooted.. now I'm spinning forever on a DataSourceEc2 error [19:06] shouldn't it give up at some point? [19:06] it wont be forever. [19:07] couple days maybe? [19:07] been going for a few minutes now.. :-P [19:08] trying to boot in recovery mode... :-P [19:08] wait considerably longer (1050 seconds) for metadata service to come up [19:08] thats 1050 seconds + connection timeout [19:08] ugh thats 15+ minutes ;) [19:09] yes. i had made it shorter at some point. [19:09] and the eucalyptus folks cried foul [19:09] it was like 30 seconds, but there were times when it would time out before the MD would come up [19:09] I guess there's no way to detect, on install, that you're installing cloud-init on a non VM.. [19:10] why doesn't eucalyptus make sure the metadata service is up before they spawn vms? [19:10] i dont know. you'd think so. [19:10] we used to see similar issues on ec2 [19:11] but they've seemingly fixed things [19:11] so, yeah, the issue is that there is no way to determine "am I on ec2" easily [19:11] i guess i could put a dpkg config option [19:11] hm.. [19:11] * SpamapS fires up a maverick micro instance and forgets about his local server vm [19:11] and ask you "Hi, do you want to wait 20 minutes every boot?" [19:12] what about.. 300 seconds? [19:12] i should do that. you want to open a bug ? [19:12] i know its hard to believe [19:12] but seriously, there are times when the MD woudl appear after like 10 minutes [19:13] right, I think I'd rather have all my VM's fail to boot in that span.. but thats just me [19:13] Most people don't install cloud-init right, its just on VMs or not. [19:13] so not sure if debconf is the answer here [19:14] Hello ppl. I am lloking for a control panel for users of my server. I tried to install ispcp but failed now i have to remove it. Does anyone has something GOOD to suggest. [19:14] ? [19:14] SpamapS, in /etc/cloud/cloud.cfg, set [19:14] actually a debconf alert that warns you about the 20 minute timeout would be good. [19:14] cloud_type: nocloud [19:14] smoser: I'm just trying to boot into recovery mode at this point [19:15] actually thinking of just downloading a maverick mini iso and starting over [19:15] faster than waiting for this [19:15] SpamapS, why would debconf not be the way ? [19:15] and, if you have a vm, just mount the disk loopback (kpartx) and fix [19:16] smoser: vmware. ;) [19:16] anyone? [19:16] I'm still a lame-o with my macbook running mac. ;) [19:16] oh, yeah, the solution, SpamapS is to install linux on your macbook. [19:17] i know a good distribution if you want a suggestion === ivoks is now known as ivoks-afk [19:18] pfft ;) [19:18] SpamapS, if you are feeling nice, you could open a bug for me on this. [19:20] regarding "rather see it fail" then wait, that may be the case if you're watching something. but if something kicks off an instance to do some work in the middle of the night with no one watching, you generally would rather have the result, then have failed because something didn't wait longer [19:20] at least thats how i would feel. [19:21] Nah, I'd really still rather it fail and alert my operations team. [19:22] Even better, I'd rather use a job management solution that keeps trying until it succeeds. :) [19:22] cron just sucks horribly for job management, most people use it for just that though. :( [19:25] smoser: bug 635188 for your enjoyment :) [19:25] Launchpad bug 635188 in cloud-init "installing cloud-init on a non-ec2/UEC server results in a 20 minute boot wait" [Undecided,New] https://launchpad.net/bugs/635188 [19:25] meh. my feeling is that slow is better than broken, and if noone notices that something is slow and complains about it, then no one cared that it was slow. [19:25] thanks for the bug. [19:26] slow *is* broken [19:27] I do agree, it shouldn't "fail", I just think that low level systems like cloud-init *should* fail, causing high level systems to recover. [19:28] * SpamapS no longer cares, because the recovery menu has finally appeared [19:29] smoser: worst part of it is that the screen is *totally* blank [19:30] I was like "crap did I corrupt my disk or something?" === dendrobates is now known as dendro-afk [19:31] well, thats a bug in upstart/general server boot. [19:31] it *does* write messages to /dev/console [19:31] yeah, I think we need to have another conversation about that at UDS [19:31] if they're not getting there, its not really my fault :) [19:32] if there's a magic key combo that reveals /dev/console's output, that would be ideal [19:32] you may have it on alt-f7 or something [19:32] i recal that it is somewhere. [19:33] maybe if you ask steve jobs he'll tell you the key combination to vmware that will send 'alt-f7' to your vm [19:33] ;-) [19:33] Steve's not real happy that I'm using another server OS :) [19:34] He'd prefer if I'd just buy a brick of mini's I'm sure. [19:37] a brick [19:37] lol === tydeas_ is now known as tydeas === npope_ is now known as npope [20:22] New bug: #635235 in samba (main) "package samba 2:3.5.4~dfsg-1ubuntu3 failed to install/upgrade: subprocess new post-removal script returned error exit status 139" [Undecided,New] https://launchpad.net/bugs/635235 [20:53] alguem aqui ja trabalhou com um servidor de banda usando squid shaper (CBQ) e o Iptables? [20:54] !en [20:54] The #ubuntu, #kubuntu and #xubuntu channels are English only. For a complete list of channels in other languages, please visit http://help.ubuntu.com/community/InternetRelayChat [20:54] Ricardo, ^ [20:56] Oi Evil [20:56] vc pode me ajudar com umas duvidas? [20:57] !br | Ricardo [20:57] Ricardo: Entre em #ubuntu-br usando /join #ubuntu-br para ajuda em português. Obrigado. [20:59] Ja fui la me mandarem vi praca [21:00] Ricardo, here you need to write in english [21:01] !en | Ricardo [21:01] Ricardo: The #ubuntu, #kubuntu and #xubuntu channels are English only. For a complete list of channels in other languages, please visit http://help.ubuntu.com/community/InternetRelayChat [21:03] He wants to know if anyone works with ubuntu server band with squid shaper (CBQ) and iptables [21:04] ubuntu server "band"? [21:04] >.> [21:05] I think is it what he said... [21:14] I am not Ingles [21:14] Xauuu Pra todos [21:16] I do not speak English [21:20] bandwidth, perhaps === _TechAway_ is now known as _Techie_ [22:33] New bug: #635313 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/635313 [23:07] hello all, I have a problem with my server and would like to stop virtual box from starting on boot how would i go about this? thank you [23:10] hi how to check installed package in my ubuntu server [23:11] ruben23: dpkg -l [23:18] moin [23:20] i am trying to install ubuntu server on machine with raid 1 setup. it goes all the way through even sets up grub or so it seems, ejects disk but never boots :( [23:20] server 10.4 lts [23:21] raid 1 is setup via bios [23:24] anyone else ever run across this? Install worked fine on same machine without RAID 1 setup :( [23:27] what files would i need to edit to stop a start up script from running 10.04 [23:27] bobobob: via bios.. its probably a fakeraid? [23:28] bobobob: I'd suggest letting Ubuntu do the RAID w/ software [23:28] srainsdon: update-rc.d is probably the tool you want [23:28] thank you [23:29] SpamapS: not sure, it a gigabyte GA-EP45-UD3P [23:30] bobobob: for RAID1 .. unless you want to share the disk with some other OS somehow.. probably simpler to just setup software RAID and have the motherboard show it as two disks. [23:31] SpamapS: last night, before setting raid at bios, I don't remember seeing a option for software RAID 1, did i just miss it? [23:34] bobobob: its in the installer, use manual partitioning [23:34] okay...thanks [23:38] Hi All, [23:39] I'm looking further into Amazon EC2 service which provide cloud computing. I'm sure everyone know the service. Is someone may help trough the process of creating a new instance.