[01:15] SpamapS: around? [01:31] kirkland: here now, whats up? [01:31] SpamapS: hey man, working on my formula [01:32] SpamapS: i was wondering if I could build straight off of any of the php caching/acceletors [01:32] SpamapS: i mean, wondering if you had formulae for any of that yet [01:35] you mean like apc? [01:36] Anything that happens on one box is mostly handled by packaging policy already.. just throw it into an apt-get line and you're probably done. [01:37] SpamapS: yeah, that's what i was going to do, unless there was a more ensemble-like way of handling it [01:38] no, thats sort of one of my favorite things actually. :) [01:38] All the hard work people have done to make things work on one box really makes formulas *dead* easy to write. [01:39] I do feel that we should make more use of debconf when possible. [01:44] SpamapS: cool [01:52] SpamapS: looking at the wordpress start script, it's empty [01:52] SpamapS: but the wordpress stop script stops apache [01:53] SpamapS: sup with that? [01:53] kirkland: stop just gets run when you're destroying the service unit.. [01:53] kirkland: start gets run directly after install, and , IMO, is useless. [01:53] SpamapS: okay, so i should just dupe wordpress' behavior? [01:54] kirkland: so stop is useful in helping to not show a half-dead service. [01:54] SpamapS: cool [01:54] SpamapS: one more thing, sort of an aside... [01:54] SpamapS: IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'|head -n 1` [01:54] kirkland: the only diff is, you can have yours up and running as soon as install happens.. you don't have any hard external deps, right? [01:54] SpamapS: correct [01:55] SpamapS: i know of at least 7 different places in Ubuntu where we make that sort of determination in various different ways [01:55] SpamapS: I'm thinking we should get one good implementation of that function into a base Ubuntu package (or a new package in the default seed) [01:55] kirkland: Inoright? ;) I am working on pulling that into a "machine info" set of tools until ensemble grows what I want in that area. [01:56] Inoright? [01:56] SpamapS: what does Inoright mean? [01:56] kirkland: ideally the machine provider will provide that, and other things like external IP/hostname and instance ids that can be used agnostic of EC2 in formulas. [01:56] kirkland: Heh.. I-know-right .. but in 4chan / lolcats speak ;) [01:56] SpamapS: hah [01:57] icanhas laugh? ohai [01:57] SpamapS: :-) [01:57] SpamapS: so i know of that same assignment (by different pipes) in at least eucalyptus, byobu, cobbler, orchestra, and your formulas [01:59] kirkland: Teyo was suggesting that we start a "machine information" utility that would be useful for puppet too. [01:59] SpamapS: facter? [01:59] I thought thats what facter was. ;) [01:59] * SpamapS installs now ;) [02:00] kirkland: yeah, wtf, why don't we just use facter? [02:01] SpamapS: $ time facter ipaddress_wlan0 [02:01] 192.168.1.109 [02:01] real 0m0.837s [02:01] SpamapS: that's one reason (speed) [02:01] SpamapS: though in some cases, that might not matter [02:01] yeah, spin up ruby, spin up ifconfig.. [02:02] SpamapS: more importantly, we need to know *which* ip address to choose [02:02] SpamapS: i've done a lot of work on trying to logically guess that correctly in eucalyptus and byobu [02:03] SpamapS: interface=$(awk 'END {print $1}' /proc/net/route) [02:03] SpamapS: ipaddr=$(LC_ALL=C /sbin/ip -4 addr list dev "$interface" scope global) [02:03] in ensemble's case, we actually have a good chance at guessing [02:04] since we can potentially just have them shove *all* of the ips in, and say "pick the best route" [02:04] SpamapS: right [02:04] but thats ... complicated stil [02:04] l [02:04] wow.. facter started 109 processes to tell me the ip [02:06] so yeah, just starting over on that isn't a bad idea [02:06] anyway, my train arrives in 9 minutes.. will have to pick this back up tomorrow. Good luck! [02:06] SpamapS: k [02:06] SpamapS: fyi, ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'|head -n 1 is WRONG on my laptop here [02:07] SpamapS: it picks my tap0 interface, for my vpn ip [02:07] kirkland: laptops are *evil* ;) [02:07] SpamapS: hah [02:08] * SpamapS disappears [02:08] kirkland: ow [02:08] kirkland: "ip --oneline address" [02:09] If you must awk, awk that instead of ifconfig [02:09] twb: agreed, i'm advocating against ifconfig for this [02:10] twb: the method I prefer is in the guts of http://paste.ubuntu.com/626255/ [02:11] LC_ALL=C good idea, I forgot [02:11] What do you do if there is >1 iface? [02:11] Oh, you're using the default route? [02:12] Good idea [02:12] I was just doing head -1 :-) [02:33] Hi, I just performed some updates on my server. But when I restart, it shows that the same updates are still available. I tried to update and upgrade again, but there are no newer updates available [02:33] This is what I get when I log in via ssh: http://pastebin.com/k1rgAM1x [02:35] it would seem that the old welcome screen is still present [02:35] after a new one has been printed first === Datz_ is now known as Datz [02:41] Datz: Is that populated out of /etc/motd? [02:41] Might take a look there. [02:51] Datz: :>/etc/motd.tail [02:51] Datz: I don't know why that fixes it, but it does [02:53] So.... something in the upgrade from 2.6.32-31 to -32 broke my system. [02:55] humm, thanks [02:56] twb: so I should just delete /etc/motd.tail? [02:56] Specifically my LXC chroots didn't start... IIRC mkdir /var/cgroups/foo failed. [02:56] Datz: no, you should run what I told you [02:56] oh [02:56] I wasn't familar with that [02:57] worked great, thanks twb === rickspencer3_ is now known as GreatOldOne [03:33] jamespage: libpam4j got rejected fyi [03:35] What does java use currently instead of pam? eap? [04:13] Just installed 10.04 on a server, how can i add gnome desktop ? [04:13] Lobo29: apt-get install ubuntu-desktop [04:15] Cory; i get - E: Invalid operation ubuntu-desktop, tried it with sudo also [04:16] Doh, My bad :( [04:16] Lobo29: are you sure you typed apt-get install ubuntu-desktop [04:16] Also once you've done that's it's not supported here anymore. Support is in #ubuntu. [04:18] just getting to late for me, i left out "install" should go get sleep [04:20] yikes, 10 mins to install, i will be asleep by the time its done, TY tho === medberry is now known as med_out === NG_ is now known as ng_ [05:59] my ubuntu server hard drive space (25G) is now completely full. how do i track down the culprit (I think its likely logs) [06:01] arooni: du -hx / | sort -hr | less [06:01] If logrotate is working the log space (/var/log) should be negligible === ng_ is now known as NG_ [06:19] can anyone recommend a good cpanel alternative? [06:21] how do i change the time zone of the server to pst? [06:21] dougb: no [06:21] dougb: I can recommend CRAP alternatives [06:21] dpkg-reconfigure tzdata [06:21] got it!Q [06:22] dougb: puppet (or perhaps cfengine or chef) are the right way to manage sites. [06:22] dougb: if you want a wanktackular web interface, you can use ebox or Canonical's proprietary "landscape" solution. There is also webmin, which we emphatically discourage. [06:23] ok thanks twb, have you heard of ispconfig before? [06:23] Vaguely [06:24] But really, if you need a UI to administer your system, you are screwed. [06:25] You're better off investing time in learning than in trying to deploy a web UI [06:27] i have been administrating everything through SSH [06:27] but I just want to learn and see what is out there [06:28] Fair enough [06:29] why do you discourage wbmin? [06:29] err webmin even [06:30] twb^^ [06:30] !webmin [06:30] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [06:31] 15:31 Webmin is a lame web-based interface for unsafe system administration for Unix. Check it out at http://webmin.com/ Remember, dondelelcaro *hates* webmin. "i'd rather sit on the floor shoving table knives into live electrical outlets than run webmin on an exposed server." Removed from Debian post-Sarge, see http://bugs.debian.org/343897 . The Debian package from webmin.com is of poor quality. See ree whcp> for alternatives. [06:31] are you referring to upstart? [06:31] No [06:31] webmin modules have a tendency to completely rewrite config files, e.g. deleting all comments in them [06:32] webmin will also overwrite itself with newer versions -- even if it was originally installed from their checkinstall .deb [06:32] Which, incidentally, has three critical errors and over a hundred non-critical errors, last time I looked. That's errors that a script (lintian) can find -- a human would have bigger issues with it. [06:33] i do not consider the update function a bug, its a feature. the comment overwriting is bad though IF you're not aware of it [06:33] Some webmin modules also have problems if a human edits a config file directly after webmin has edited it. [06:33] but its still the best wanktackular web interface IMHO [06:34] That may well be the case [06:34] ebox is really crap. failed 2 times while installing on a testserver had to remove by hand [06:34] I think it's like IDE emulators for Emacs -- anyone that knows enough to write one, knows enough not to need an IDE [06:34] true that [06:34] The same applies to "WHCP"s, at dpkg calls them [06:35] So you only get ones written by utter idiots [06:35] What I wanted to do last time this came up, was to write a python-based web UI that read and wrote puppet manifests (pretend puppet manifests are JSON for a minute). [06:35] ok thanks for the info. could you suggest a good iptables tutorial? [06:35] Unfortunately I couldn't get funding from $boss [06:36] WinstonSmith: #netfilter for that. [06:36] WinstonSmith: follow the /topic link to "towards a better ruleset". [06:36] * WinstonSmith is a perl lover [06:36] WinstonSmith: you can also see my example http://cyber.com.au/~twb/doc/iptab [06:36] twb: thanks & have a very nice day :) [06:37] Oh, I don't *like* python. I've given up fighting to keep it off my systems, tho :-( [06:37] hehe [06:37] http://cyber.com.au/~twb/doc/grumbling.txt#python [06:38] heh me <3 rants [06:40] SpamapS: lp:~kirkland/+junk/principia-pictor and lp:~kirkland/+junk/principia-musica [06:40] SpamapS: pretty trivial, really [06:43] hahahaha i also got *@!? with the bloody vmware browser based console. switched to vbox never looked back [06:43] WinstonSmith: vmware-server 2? [06:44] WinstonSmith: note that vmware-server is vmware's "toy" product, it is to ESXi as MS Access is to MSSQL. You're not supposed to actually USE it for anything serious. [06:44] twb: dont remember the ver. tbh. was like ~4 years ago [06:44] twb: i am also a "toy" admin for my server & the servers of a couple of friends and clients ;) [06:44] Of course, I would strongly recommend kvm and libvirt instead, because vbox is owned by oracle, and they are an "enemy of your freedom" (as RMS would say) [06:45] yes oracle bad. but now i have over 15 installed VMs. and i dread the work of switching to another infrastructure [06:45] * WinstonSmith is lazy [06:46] It is not that hard, at least if the guests are linux [06:46] about half of them [06:47] but i am following the kvm discussion. it looks rather nice. maybe one of these days i try that out [06:47] hahah and a RH rant too! [06:47] * WinstonSmith chuckles [06:47] It's especially better if you have server guests on a server host. [06:48] vbox caters more for the desktop-in-desktop market [06:48] ahhh ok [06:48] but i have a couple of headless VMs running in vbox [06:48] Like "I have linux but I need to run " [06:48] there is wine for that [06:48] moar wine! [06:48] * greppy used vbox to run winxp to be able to get audible.com content onto his iPod [06:49] greppy: heh, the oldest mail in my mail archive is me asking them for documentation on their proprietary encoding [06:50] I ping them every couple of months and ask for linux support :) [06:50] * WinstonSmith uses vbox at clients who bought a 4000€ scanner and got a*al-raped by the manufacturer who just said: what drivers for vista/win7? nooo but we have this nice new machine that you can buy [06:50] for now I have been loving the android app [06:50] I don't want them to release binaries, I want them to document their codec [06:51] depending on how the DRM is applied, releasing that info could circumvent it. [06:51] proprietary software on linux is even more of a pain than same on windows or OS X, because on linux you have a heterogeneous base system [06:51] DRM-- [06:51] greppy: not my problem if their crypto is badly designed :P [06:51] DRM != crypto :) [06:51] DRM relies on crypto [06:51] Sony and friends all failed because they don't understand how to do crypto [06:52] sure but depending on how the DRM is applied [06:52] I should say: "DRM is a specific application of cryptography" [06:52] DRM is crypto applied by the devil ;) [06:53] A TPM, for example, is fundamentally just a ROM with shared secrets baked into it [06:53] well, sony also failed because they put intentionally broken images onto disks to cause copy software to freak, oh and put a rootkit on an audio cd :( [06:53] greppy: different case, I was talking PS3 [06:53] ah [06:53] I have a ps1 that hasn't even been powered on in a year. [06:53] greppy: but they got their karma for the rootkit hehe [06:53] before that my only console was an originaly NES [06:55] anyway nice chatting with you guys i am off [06:56] * WinstonSmith goes away to learn more about iptables [06:56] The game industry needs someone to save them from all that proprietary middleware :-( [07:02] does anyone know if there is a linode IRC chat? [07:03] someone know why i get java error3 when opening my site? (apache2 + Ubuntu 8.04) can it be a FW issue? port problem? [07:03] you were right twb, i should have never installed a control panel :-p [07:30] where are the file i have to change to do a do-release-upgrade [07:31] !upgrade [07:31] For upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade [07:31] LinSkyrate: I don't think there's anything [07:32] LinSkyrate: obviously there is if you're bypassing dru to do it by hand [07:38] oki.. found it /etc/update-manager/release-upgrades [08:00] i have a ubuntu-server hdd that i moved from one box to a completely new setup, and now it doesn't have an eth0 anymore. is there some command i need to run or something i need to do to get it to detect the new ethernet? [08:04] hmm.. cant get vmware server to work proper.. [08:05] dont get login prompt in web [08:05] LinSkyrate: sorry, not our problem. There is a #vmware [08:06] They are more into ESXi than vmware-server, tho [08:07] CppIsWeird: edit (or delete) /etc/udev/rules.d/*persistent-net.rules, then reboot. ifaces will be renumbered from zero. DO NOT delete the nearby net "generator" file. [08:07] ok, thanks :D, i was just reading about the persistent-net file. :P [08:07] your solution was much simpler :P [08:08] CppIsWeird: I know aaaaaall about that one :-/ [08:08] lol [08:14] hmm, doesnt seem to have solved anything. i rebooted and it created a new one, but no new ethernet interfaces. would any supported ethernet interfaces show up under ifconfig regardless? [08:15] Oh, sorry, I thought you had an eth1 but no eth0 [08:15] You're saying you have two physical interfaces, and only one is listed by "ip a" ? [08:20] ok, under ip a, eth2 shows up. not under ifconfig. and no, not two adapters, i moved the hdd from one system to a newer completely different system. [08:23] well i got eth2 up and working [08:29] ifconfig is legacy crap, don't use it [08:30] It would be better to have only "eth0", but if you're happy to go rename stuff in /etc/network/interfaces and so on, you can have just eth2 === joschi_ is now known as joschi [09:25] im trying to get my gpu's temp over ssh, i found this http://superuser.com/questions/234828/ati-temperature-monitoring but when i use it i get invalid MIT-MAGIC-COOKIE-1 key === NG_ is now known as ng_ [09:48] !paste [09:48] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [09:52] http://paste.ubuntu.com/626430/ << any idea?! === ng_ is now known as NG_ === NG_ is now known as ng_ [10:05] oi? === ng_ is now known as NG_ === NG_ is now known as ng_ [11:06] New bug: #797111 in amavisd-new (main) "package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück" [Undecided,New] https://launchpad.net/bugs/797111 === ng_ is now known as NG_ [13:09] <_johnny> hi. anyone know a thing or two about ircd's? specifically i'm wondering which encoding i'm suppose to use when pushing text to the users (i'm writing an ircd). anyone have an idea? :) [13:10] <_johnny> the rfc doesn't seem to advocate, recommend or force any [13:12] _johnny: i think there is no spec. but why not ask in #freenode? [13:14] <_johnny> WinstonSmith: i've gotten good responses in here, and it's the only place i could think of to ask such a question. is #freenode not a helpchan for freenode itself? [13:15] <_johnny> and right. and i could just relay the msg as it comes in from (a) user, but i'm just not sure if that's a "good" way to go, as one user may use utf8, and another latin1 or something. ultimately it should be a client problem, i was just wondering if maybe there was an obvious answer ;) [13:15] _johnny: i did not mean to bugger off :), and yes there be gurus here. i am also not sure about #freenode, but i know that they have staff who know about irc from the inside [13:15] <_johnny> good point. thanks :) [13:16] _johnny: i just remember a discussion we had in #perl not long ago about irc clients and if i remember correctly there is no clear definition of anything in irc [13:22] <_johnny> WinstonSmith: in case you/anyone wonders, the answer was simply to pass it along :) [13:22] _johnny: heh there you got it :D where did you get the answer? [13:54] so, i have no idea where to go to ask this, but here goes: i have several computers on a LAN that i'd like to access via various services (http, ssh, etc.), that oftentimes overlap with one another (thus ruling out static port forwarding). is there some way i can specify the internal address of my desired location? something like 49.285.72.09>10.0.1.5 [13:55] hello [13:56] is there any area to learn about hardware with linux ? [13:57] What's the file that generates the /etc/motd because I'm getting a double MOTD for a while now [14:01] Bilge: delete /etc/motd.tail [14:06] hi [14:06] shouldn't allow the entry "%sudo ALL = NOPASSWD: /usr/sbin/synaptic" in /etc/sudoers users of the group "sudo" to start synaptic without password? it still asks everytime for one [14:07] ping zul [14:14] greppy: that's what I needed, but how did I end up with that tail in the first place? [14:15] Bilge: a bug in the code that updates the motd, I've run into it a few times. [14:15] I know how to "fix" it but not what causes it :) [14:22] OK :3 [14:25] morning internets === med_out is now known as medberry === bibot is now known as bibabot [14:56] New bug: #797196 in setserial (main) "package setserial 2.17-45.3ubuntu1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/797196 [15:22] I have a 10.04 server with a cron job for user root that doesn't appear to be running. Two questions: Does root's cron jobs log to /var/log/syslog? Does this bug still affect lucid? (because root's crontab does not include a newline at the end) I just want to be sure making this change will enable the jobs to run. [15:22] Launchpad bug 118168 in cron "Crontab accepts files with no newline before EOL/EOF. Cron ignores file" [Medium,Fix released] === robbiew1 is now known as robbiew === robbiew1 is now known as robbiew === robbiew1 is now known as robbiew [15:57] SpamapS: howdy [15:57] shouldn't the entry "%sudo ALL = NOPASSWD: /usr/sbin/synaptic" in /etc/sudoers allow users of the group "sudo" to start synaptic without password? it still asks for one everytime i launch it === zul_ is now known as zul [16:11] hi guys i tried to do start on iptables but i get this error only----> /etc/init.d/iptables start -> -bash: /etc/init.d/iptables: No such file or directory [16:12] RoAkSoAx: got my PDU today :-) [16:13] kirkland: cool!! Which one is it? [16:13] kirkland: 5px? [16:13] RoAkSoAx: haven't opened it yet, but the box is bigger than I am :-) [16:14] kirkland: hahahaha yeah I almost break my back trying to open/install it xD [16:14] ping slangasek [16:14] er [16:34] kirkland: here now, haven't had a chance to look at your formula quiet yet. [16:34] quite even [16:34] SpamapS: no problem [16:34] SpamapS: i have two more in progress [16:34] SpamapS: AjaxTerm, as I've documented in https://help.ubuntu.com/community/AjaxTerm [16:34] SpamapS: and byobu-classroom (previously known as screenbin) [16:35] SpamapS: my question to you ... [16:35] SpamapS: is what's the contribution procedures? [16:35] SpamapS: ie, i want to give these to principia ... where is that process documented? [16:35] kirkland: I put a contribution procedure up here http://ensemble.ubuntu.com/Principia .. would be good to get some feedback. [16:36] kirkland: the fact that you're finding success and interest in formulas with no relations is very interesting to me. [16:36] kirkland: maybe ensemble can just be an awesome cloud-init de-obfuscator ;) [16:36] SpamapS: well, i'm not sure yet what the value is over just using cloud-init [16:37] SpamapS: heh, maybe that's it [16:37] SpamapS: moreover, I think there's room for either an ensemble command, or a principia-tool [16:38] SpamapS: for taking a generic, trivial package installation and making it into a no-relation formula [16:38] SpamapS: and you could see Principia with hundreds of auto-generated formulae [16:38] formulate + deploy probably works [16:38] maybe just an option to formulate [16:38] formulate --deployable foo [16:39] SpamapS: yeah [16:39] actually formulate produces a deployable formula [16:39] The relations are just inoperable [16:39] SpamapS: how do i tell ensemble to use t1.micro's instead of m1.smalls? [16:40] SpamapS: to save me some money developing these [16:40] kirkland: edit ~/.ensemble/environments.yaml and add something to the 'sample' object default-instance-type: m1.small [16:40] or [16:40] t1.micro, or w'ever [16:41] kirkland: Yeah we switched to m1.small because the t1.micro's were behaving as advertised, but very inconsistently.. didn't want users to have a bad default experience. [16:41] SpamapS: cool, done [16:41] SpamapS: one more thing ... environments.yaml is created with 644 permissions [16:42] SpamapS: and the ensemble docs show how to put ec2 keys in that file [16:42] SpamapS: i think that file should be 600 [16:46] kirkland: https://launchpad.net/ensemble/+filebug :-D === NG_ is now known as ng_ [16:46] kirkland: agreed that it should be 600 [16:46] and the dir should probably be 700 [16:46] SpamapS: doing it now [16:46] SpamapS: just looking for validation from you ;-) [16:48] SpamapS: done, https://bugs.launchpad.net/ensemble/+bug/797263 [16:48] Launchpad bug 797263 in ensemble "~/.ensemble permissions" [Undecided,New] [16:53] SpamapS: what's it take to join Ensemble Composers? === ng_ is now known as NG_ [16:55] kirkland: right now, you just have to promise to me that you won't accept formulas that are evil. :) [16:55] kirkland: s/me/~ensemble/ actually [16:56] SpamapS: i promise.... [16:56] SpamapS: so that team is who reviews formulae for principia inclusion [16:56] SpamapS: archive admins for principia? === NG_ is now known as ng_ [16:56] kirkland: they're basically like ubuntu core dev for principia [16:57] SpamapS: k [16:57] yeah I guess even like AA [16:57] SpamapS: oh, another thing ... [16:57] SpamapS: the sample shell scripts in all of the formulae so far use #!/bin/bash [16:57] anyone who can push to ~ensemble-composers/* can "create" a formula [16:57] SpamapS: i changed mine to #!/bin/sh [16:57] SpamapS: as that's a little more Ubuntu-like [16:57] SpamapS: but i wondered if there was any reason why the initial examples are bin/bash? [16:58] kirkland: I don't know if using dash in this context is all that crucial, but certainly I try to do that. [16:58] kirkland: the cool thing is, you get to pick! [16:58] SpamapS: cool [17:00] kirkland: that reason alone may make people who are anti-chef and anti-ensemble happier. :) [17:00] err [17:00] anti-puppet not anti-ensemble [17:00] hehehe [17:00] SpamapS: hehe [17:01] * SpamapS has puppet/chef/ensemble/openstack/wtf spinning around in his head... [17:02] SpamapS, kirkland, somebody: Is there a explanation of why make a new thing and not use one of the existing systems for this? [17:02] * jpds realizes that he doesn't have 'wtf' installed. [17:02] ScottK: http://fewbar.com/2011/06/so-what-is-ensemble-anyway/ [17:02] ScottK: that makes one argument.. basically that chef/puppet cookbooks/modules are not very sharable. [17:03] How about FAI? [17:03] * ScottK doesn't have an opinion, just curious. === lionel__ is now known as lionel [17:08] ScottK: FAI is nothing like ensemble. :) [17:08] ScottK: FAI would be a closer comparison to Cobbler [17:08] Right. [17:26] If a server freezes such that the console is inaccessible, what could that be, or where's the first place to look? (this is a vmware esxi guest, but esx is running fine, not sure if that's related) [17:29] I add ppa, but not show in sources.list right? where I found ppas added? [17:30] plm: /etc/apt/sources.list.d/ [17:31] Pici: are there some diference using add ppa via add-apt-repos... to add in /etc/apt/sources.list.d/ and just edit sources.list and add line there? [17:32] plm: No difference. [17:44] queso: I'd look at video .. try removing 'quiet' from the kernel commandline [17:47] hi everyone....is there another webalizer-like tool? [17:47] m_tadeu: awstats [17:48] m_tadeu: its worth noting that it has had serious security problems in the past. ;) [17:48] SpamapS: thanx...well if it's soved, no wories:) [17:49] m_tadeu: one time sec problems are normal.. 3 or 4 major problems show a lack of understanding by the developers. [17:49] SpamapS: but, are those problems still active? [17:51] m_tadeu: http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=awstats [17:52] m_tadeu: as I said, its not about the problems we know about, its about the endless stream of problems we don't know about [17:52] SpamapS: :) [17:56] hm.... anyone that knows if it's possible to start a screen(1) to automatically be backgrounded? I can't find anything in the manual for that [17:57] Guys how do you setup your domain to point to a ubuntu mail server? [17:57] RoyK: screen -d -m [17:57] google mx [17:57] ok [17:58] damn so much google junk [17:58] wikipedia mx :) [17:58] Daviey: thanks [17:59] zul: have you played with RabbitMQ? [18:00] zul: and any of the python libraries? [18:00] RoAkSoAx: just a tad :) [18:00] RoAkSoAx: It should be okay imho, there's a python ampq implementation [18:00] zul: did you play with pika? [18:00] zul: I didn't know you know rabbitmq ;) [18:00] lynxman: yeah I saw... though I was thinking on packaging pika [18:00] RoAkSoAx: nope [18:00] zul: I guess I'll package it then [18:00] xD [18:01] RoAkSoAx: :) [18:01] RoAkSoAx: ok [18:01] zul: what API did you use? [18:44] i forget, is using hostnames in fstab generally not the way to do things? [18:45] regarding nfs or...? [18:45] right, network resources [18:47] if it's mission critical and all set up with static IP#, use IP# [18:47] that way if DNS tanks the rest of your servers don't melt down with it. [18:47] or... [18:48] well, yeah, that's probably best unless you want to get much more complicated. === lullabud is now known as warzauwynn [18:52] New bug: #791839 in etckeeper (main) "etckeeper runs bzr without a locale set from cron script" [Undecided,Confirmed] https://launchpad.net/bugs/791839 [18:53] luite: if it's mission critical, use enough DNS servers [18:53] luite: sorry, wrong nick [18:54] :) [18:54] pmatulis: see above [19:23] one of my vm's is on ubuntu 10.04, i do a do-release-upgrade and it says theres no new releases found. what gives? [19:24] SpamapS: okay, 'nother ensemble question [19:24] SpamapS: how do i prompt the user running 'ensemble deploy' for input? [19:24] SpamapS: can i just do it in the install hook? [19:24] SpamapS: i think probably not, because that runs on the target machine [19:24] SpamapS: basically, i need the user to choose a password [19:26] New bug: #797339 in resolvconf "apparmor profile for bind. resolvconf error" [Undecided,New] https://launchpad.net/bugs/797339 [19:37] CppIsWeird, there are no new lts releases yet [19:40] CppIsWeird: if you want to upgrade to 10.10/11.04, edit /etc/update-manager/release-upgrades and set Prompt=normal [19:40] thanks :) [19:41] just keep in mind those aren't LTS releases [19:41] so for most servers, you wouldn't want to do that [19:41] but then - you may want to anyway :) [19:41] im probably needlessly upgrading, but im so noob im hoping upgrading fixes my problem [19:41] then don't [19:41] too late :P [19:41] try to fix the problems instead :) [19:42] oh well [19:42] i tried, i kept getting dead ends. [19:42] a non-lts upgrade will take you to the next release, being 10.10 [19:43] well about 5 minutes after i asked i ran across do-release-upgrade -d [19:43] whats that take me up to? [19:43] always the next release, but if on 11.04, it may take you to 11.10 alpha (if that's in the repos) [19:44] heh [19:44] CppIsWeird: what sort of issues did you have? [19:45] apt-get install python-pyopencl, the site said it should exist but it doesnt. everything i looked up involved getting sources and that never works well. [19:46] CppIsWeird: can't find that package on lucid [19:46] CppIsWeird: from http://wiki.tiker.net/PyOpenCL/Installation/Linux/Ubuntu it seems you need to add some custom repos [19:47] (that was first hit on google search for "python-pyopencl lucid") [19:48] guess "python-pyopencl package not found" was too noob? [19:49] did you add that repository? [19:49] cant, its in the process of upgrading [19:52] CppIsWeird: seems the package is in maverick and later [19:53] CppIsWeird: seems the package is in maverick and later [19:54] nice - never heard of opencl before [19:54] i hope its awesome, im fooling aroung with it for some ai dev [19:54] * RoyK has some 150 cpu cores chewing data at work [19:55] nice [19:55] from what i hear, on certain problems, GPU's can be about 10 or more faster than a cpu [19:55] the latest addition was a 2U box with 4 mobos, each with two 12-core opterons... [19:55] CppIsWeird: or more - depending on the load [19:55] nice, i want to play with one of those 12 core opterons [19:55] i just got a 6 core i7 [19:56] 96 cores in 2U is quite nice - each mobo with 24cores and 64GB RAM [19:56] oh nice [19:56] the downside for GPUs is memory size [19:56] take pictures, will pay for geek porn [19:56] :P [19:56] it's just a boring 2U box [19:56] oh they are never boring ;) [19:56] look at all the guys with porn addictions, are any tits just another set of tits? [19:57] shouldn't the entry "%sudo ALL = NOPASSWD: /usr/sbin/synaptic" in /etc/sudoers allow users of the group "sudo" to start synaptic without password? it still asks for one everytime i launch it [19:57] did you reboot? [19:58] yes [19:58] ironicum, works for me [20:00] maybe "%sudo ALL = (ALL)NOPASSWD: /usr/sbin/synaptic" [20:01] %admin ALL=NOPASSWD:/usr/bin/rsync [20:01] what I use [20:01] CppIsWeird: as for one, reboot after changing sudoers won't be needed [20:02] oh, i thought it was. [20:02] CppIsWeird: reboot is something you do after upgrading a kernel [20:02] CppIsWeird: hah - windoze noob [20:02] is my windows experience showing through? [20:02] :) [20:02] royk, or when mystery sets in :) [20:02] im a software developer and i've been running linux in some form for ~5 years. it still confuses me. [20:02] it always asks for a password when i launch it from the kde kicker [20:03] CppIsWeird: as for pics for that box, couldn't find any on my phone... [20:03] oh? from gui? [20:03] bummer. :( [20:03] CppIsWeird: I installed my first linux box in 1994 [20:03] doesn't that use a totally different kind of sudo program [20:03] i changed the command line to sudo synaptic with no success [20:04] ironicum: what happens if you try to run it manually as that user? [20:04] it starts without asking for a pass [20:04] ironicum: and that user is member of the sudo group? [20:05] ironicum: IMHO specific user access should be given to a user, not group [20:05] id shows me in that group [20:05] ok, i'll try [20:05] ironicum: log out and in again [20:06] group membership is updated by the shell [20:06] so if that changes while you're logged in, the shell won't notice [20:06] royk, see, cppisweird reboot (and again if 1 didn't fix it) might have worked [20:07] :P [20:07] your mouse moved - windows must be restarted for the change to take effect..... [20:07] poppy cott [20:08] your mouse moved - linux must be reconfid, recompiled, googled for 10 hours, for the change to take effect. [20:08] lol [20:08] luckily, the days where distro kernels were rather bad are (hopefully) over [20:09] sup guys :) [20:09] my first linux was actually gentoo. :P [20:09] some 8 years back or so [20:09] had to patch and recompile a driver the other day - the serial card wasn't supported at all, even though the producer claimed so - PCI IDs are still hardcoded... [20:09] CppIsWeird: slackware - in 1994 :P [20:10] havent touched slackware yet [20:10] no reason to do it anyway [20:10] lol, really :P [20:10] i hopped on the ubuntu train about 3 years ago or so and havent left sense :P [20:10] I went from slackware to redhat to debian to ubuntu === medberry is now known as med_out [20:11] away [20:11] * slyboots has moved from SUSE, to Slackware to Mandrake, to Redhat to... Uh.. Mandrava? I think.. [20:11] To Gentoo, to ubuntu [20:11] Oh, Debian was before ubuntu [20:12] ya, I started with slackware in 93-94 [20:12] moved to ubuntu like 3 years ago [20:12] Ubuntu: Ancient African word meaning "I'm too tired of compiling Gentoo" [20:13] I've often seen people maon about Ubuntu being "My first Linux" since it does a lot of the hard work for you [20:13] And.. That seems like such a insane thing to moan about haha.. [20:13] "Yea it suchs because it makes your life easier" [20:13] i actually liked starting out with gentoo [20:13] i learned a lot [20:13] though i've forgotten most of it cuz im lazy like that :P [20:14] Well, Yes. Yes I actually like for my computer to reduce my workload, not incrase it [20:14] *increase [20:14] me too [20:14] and LTS is good for servers [20:14] I never got the poitn of Gentoo.. [20:14] "Hey I cat compile EVERYTHING!".. Why? [20:15] "It makes everthing faster!" Does it? I've never seen actual objective benchmarks to prove its any better, or if it is are those speed-gains so great that they agument teh downtime compiling code [20:15] slyboots: you may get an increase of 1-2% load if you subtract the load created by compiling everything :) [20:15] RoyK: So people say, I've never seen benchmarks [20:16] or real-world tests, That would be quite intresting to see [20:16] those 1-2% won't account for the time spent compiling it.... [20:16] and as I said before.. if those gains dont give a noticable boost to agument teh downtime from compiling all that code.. well then [20:16] my point [20:17] Arch is supposed to be good.. But I like Ubuntu [20:17] cpu intensive tasks like data modelling should be compiled from source anyway [20:17] Totally stumpped :/ [20:17] RoyK: Perhaps, but for something like Firefox or KDE.. who cares [20:17] slyboots: yeah [20:18] apt-get install firefox-bin :P [20:18] I wonder what happens if I apt-get install \* ..... [20:18] The internet will explode. So please, dont do it [20:18] Not even as a joke [20:19] :) [20:19] * RoyK once tried to email *@*.* before he understood how SMTP worked [20:20] Does anyone have an idea why dhcp/dns services on a private network, would not work after restart? [20:20] RoyK: hehee.. [20:21] h4lfl1ng: rebooting the server? are dhcpd/bind running? [20:21] RoyK: I've rebooted the server and restarted the dhcp server [20:21] RoyK: nothing changed.. [20:22] h4lfl1ng: check the logs [20:22] New bug: #797336 in cloud-init "byobu-by-default cannot be disabled via cloud-config" [Undecided,New] https://launchpad.net/bugs/797336 [20:23] RoyK: where are the logs for the dhcp? [20:26] h4lfl1ng: /var/log/syslog iirc [20:26] h4lfl1ng: or just check /var/log [20:26] RoyK: i checked the daemon logs..the only thing i see maybe weird is kernewl time sync status change ..ntp [20:26] h4lfl1ng: is dhcpd running? [20:29] RoyK: how would i be able to tell if it's running in the logs? [20:29] h4lfl1ng: ps axf| grep dhcp [20:29] h4lfl1ng: the logs don't have realtime data - ps has [20:30] RoyK: it's running [20:31] and no complaints on the config in the logs? [20:33] What PATH is set up by default for root's crontab? If I look at the process's environ, it includes /usr/local/sbin, but when the crontab attempts to run a script in that directory, it says "command not found". Do crontab commands not inherit the same PATH from the cron process? [20:34] RoyK: no hint of errors. [20:35] RoyK: it assigns ips to the clients..unknown lease [20:35] synaptic starts now without password, the problem was that the kickoff entry linked to synaptic-kde.desktop instead of synaptic.desktop [20:35] RoyK: actually it dooesn't show up in the log [20:35] queso, AFAIK you can specify the path [20:38] raubvogel: like, /usr/local/sbin/mycommand ? Or PATH=... ; mycommand ? [20:39] RoyK: in sys log it just says that it wrote 4 leases to leases file [20:40] queso: just use the full path [20:41] RoyK: What about commands in scripts, should those specify the full paths to commands, too? [20:41] Apparently you can set PATH= at the top of the crontab. [20:44] queso, if you really want check /etc/default/cron [20:44] In my, say, cron.d files I call scripts to do my bidding by providing the full path [20:45] in the scripts themselves I define the path I want to use and off I go [20:45] Other ideas: http://linuxshellaccount.blogspot.com/2007/10/crontab-and-your-environment.html [20:47] raubvogel: great, thank you [20:48] I'm confused as to why the running cron process includes /usr/local/sbin in its PATH . . yet it still isn't looking in there when running a command. [20:53] queso: make a crontab job like "* * * * * echo $PATH > /tmp/path.tmp" [20:53] RoyK: Man that's a good idea :) === paul_ is now known as orudie === med_out is now known as medberry [21:56] <^Mike> Is there a metapackage for servers like ubuntu-desktop? I could have sworn that ubuntu-server existed... [21:57] ^Mike: google it [21:57] RoyK: Error: "Mike:" is not a valid command. [21:57] ubuntulo1: stfu === ng_ is now known as NG_ === PascalFR is now known as boxerjaune [21:58] <^Mike> RoyK: I did, why do you think I ended up here? O_o [21:59] ^Mike: there are a set of task but no single metapackage [21:59] stgraber: Error: "Mike:" is not a valid command. [21:59] tasksel --list-tasks | grep server [21:59] <^Mike> stgraber: How could I get a list of those to choose from? [21:59] ^Mike: https://help.ubuntu.com/community/MetaPackages <- first hit on google [21:59] RoyK: Error: "Mike:" is not a valid command. [21:59] <^Mike> psychic++ [22:00] someone should fix that bot [22:00] <^Mike> someone shoot that bot D: [22:00] RoyK: right, and you'll notice that except edubuntu-server (that I deprecated last cycle) there's no metapackage for server though there are tasks that server the same goal [22:01] RoyK: so I still think it was a good thing for ^Mike to come and ask here as it's far from being obvious [22:01] stgraber: sorry - did you mean a metapackage for "server"? [22:01] ^Mike: you can also run "sudo tasksel" which will show you the same dialog as you got at the end of your install [22:01] stgraber: Error: "Mike:" is not a valid command. [22:01] "server" is a subset of what's in "desktop" except perhaps another kernel [22:02] the basic "server" is a stripped down "desktop", but with a -server kernel [22:02] RoyK: err, that is way oversimplyfing it [22:02] Daviey: not really [22:02] RoyK: err ya realy. [22:02] RoyK: and that's also wrong [22:02] <^Mike> fight! fight! fight! [22:03] * ^Mike gathers all the other ruffians to gather 'round [22:03] tell me, what does a basic server install have that a desktop install lacks? [22:03] RoyK: for example "byobu" is part of the server task, so will get installed on a server. But it's not part of the ubuntu-desktop task or metapackage [22:03] RoyK: compare the seeds. [22:05] https://code.launchpad.net/~ubuntu-core-dev/ubuntu-seeds is where all the seeds are defined including their dependencies [22:05] stgraber: that's not a server thing - it's just another screen wrapper [22:05] stgraber: the base install for a server is still in desktop [22:06] even sshd isn't in server by standard [22:06] RoyK: please expand on that.. "base install for a server is still in desktop" [22:06] that doesn't make sense to me. [22:06] RoyK: if you install a minimal server (at least in oneiric), you'll have "byobu" installed. If you install a desktop on Oneiric you won't. [22:07] RoyK: so without even discussing what byobu is, it proves that your "server is a subset of desktop" assumption is wrong [22:07] Daviey: server is a minimal install - desktop has a lot more. sshd is in server only if you add it specifically [22:08] w3m isn't installed by default on the Desktop [22:08] now, I just hope that you realize that you are fighting (for lack of better words) on the definition of meta packages and seeds with two developers who happen to have the rights to change them and who (at least in my case) is responsible for quite a few of them :) [22:08] stgraber: byobu isn't very necessary for most server installs anyway - I don't see why it should be there by standard [22:08] or by default, even [22:09] stgraber: TBH, i was starting to rethink my life. Perhaps spending my working days maintaining something which clearly doesn't exist is pointless. [22:09] Daviey: hehe ;) [22:09] I guess that if people would want truly minimal servers, they'd run slack :) [22:09] all we need to do is convert the server iso is whack in a ost install script of apt-get remove --purge *-desktop [22:10] job done, we can all go home. [22:10] IIRC current "minimal" server is: ubuntu-minimal + ubuntu-standard + server task [22:10] though you could build your ultra-minimal ubuntu by just installing ubuntu-minimal (essentially what a debootstrap will give you) [22:11] install ubuntu-server without ticking off anything useful, and it'll be quite minimal, not even sshd willl be installed [22:11] hitting F4 and choosing minimal will make it even less useful :P [22:12] Pretty sure that's what I did last time I installed. [22:12] Everything excluded, then went back and pulled in the packages I needed by hand. [22:13] Must admit, not a fan of these huge meta-packages. === rsaidan is now known as nerens === giovani_ is now known as giovani [23:28] kirkland: re choosing a password, that will be handled by the settings API, which I think is about to land or just landed [23:28] kirkland: you should ask in #ubuntu-ensemble ... they'll know. :) [23:28] SpamapS: yup, talked to them [23:29] SpamapS: i'm just finishing a formula called byobu-web, that does a byobu web service using ajaxterm ;-) [23:30] kirkland: nice. I've been thinking about building an rsync formula to solve the "shared upload" problem until I can wrap my head around gluster/nfs [23:30] actually let me re-say that where the right people might see it [23:33] hi. haven't used ubuntu or apache in a while. installed LAMP stack, but when I browsed to /somesite, it downloads index.php. dir.conf is enabled. [23:34] browsing /somesite/index.php works [23:51] hello, im trying to setup a ubuntu server for the very first time (my first server) [23:52] basically I want to use to access music,videos and pics, nothing big or fancy, and I am thinking I should go with the samba file server to do so [23:54] selynda, yes, use samba [23:54] but what I am wondering is, what are the recommended hardware specs I would need to do this? [23:54] hmm, do you have a ti-83 calculator handy? [23:54] no [23:55] well i think thats the bare minimum specs :P [23:55] hehehehe nice [23:55] ok, so a normal desktop PC should work then? [23:55] lol, yes :) [23:56] whats the cpu & ram? [23:57] not exactly sure, basically my girl has a desktop they don't use, and decided to let me play around with it, and I thought about turning into a server [23:57] lol, w/e it is it will probably work :P [23:57] I am guessing somewhere around 2GB of ram, and 320GB HDD? [23:58] ls [23:58] wrong window [23:58] :P [23:58] :) === erichammond1 is now known as erichammond