[00:02] If i have a command I want to give a user access do, via sudoers, how can I accomplish it, in this case the commands able to run from any directory 'firewall start' but barring that I'm forgetting quotes (do I need them when its two words in sudoers?) - I'm not sure why I can't get it to work. [00:03] Do I have to give him access to the entire directory, or do I have to mod the file permissions to allow it? He's running sudo so shouldn't that be enough to execute the command to start the firewall? === julian is now known as alamar [00:22] How can I make a new user into an administrator on the server? [00:22] I already have a user account, I just want him to be able to manage it without having to login as root [00:23] via sudo [00:25] any suggestions on choosing between libpam-ldap or libpam-ldapd? [00:47] Gaming4JC, add the user to /etc/sudoers [00:48] you can use visudo [01:07] hola buenas noches [01:07] hay alguien? [01:09] Hi guys :) Is there a good channel for Cloud Servers? [01:09] this one :) [01:10] ahh nice :) [01:10] theres possibly others, but we do cloudy stuff here [01:11] oki :) do you know if there is any good tutorial sites for Ubuntu Cloud servers? In youtube there is only the install part.. [01:13] what sort of thing are you looking for? [01:13] more the next step, and good tips on howto setup this in the best way [01:14] Private Clouds... Not the Amazoon stuff [01:15] https://help.ubuntu.com/community/UEC [01:15] nice.. thnx alot :) [02:42] hey [02:42] i'm having a problem getting my server to show up on my router [02:43] router problem? [02:43] most likely no [02:43] networking problem [02:44] i keep having problem getting a static ip address to work [02:44] i've read/watched over 20 tutorials [02:44] i only came here as a last resort [02:47] however that said i the only symptom i can find of this not working is that it's not showing up in my routers attached devices [02:47] nor can i ping the lan ip address i assigned to it [02:51] is anyone willing to help me? [02:56] ntoombs: eth0? [02:57] eth1 [02:57] the server i'm running won't work with eth1 [02:57] at least it wouldn [02:57] wouldn't* [02:57] is eth1 a problem? [02:57] i meant won't work with eth0 :P [02:59] ntoombs: best discover why "won't work with eth0" [03:01] i thought it may be because eth1 is the primary network device [03:09] I installed natty on my server the other day and set a static IP on it. This is the /etc/network/interfaces file: http://pastebin.com/jrezu7hd . However, it seems like it somehow ignored that setting after a day or so of working just fine with the static IP, then used DHCP to get a different address (192.168.1.110). === alamar is now known as julian [03:39] hey guys is there a way to download multiple files via terminal from a server [03:40] I actually thought sftp would have "mget" [03:40] Over what protocol, HTTP? [03:40] Oh, sftp. [03:40] If you have scp, there is scp -r. [03:40] From the sftp manpage, looks like get -r [03:41] get -r would fetch me EVERY file on the directory I'm in [03:41] right? [03:41] Apparently it globs by default. [03:41] sw0rdfish: no, say "get -r foo/" would pull down foo and all its contents [03:41] sw0rdfish: and "get *.txt" should get every file in the remote working directory that ends in ".txt" [03:41] but I think I can evade that by doing something like "get -r ./*loop" [03:42] This is just from reading the manpage, you understand; I haven't tried it. [03:42] I normally use scp or sshfs [03:42] if I do that every file beginning or ending with "loop" will be downloaded? lol I'm just making this up I just read a similar thing on a guide somewhere [03:42] Ending in loop. [03:42] hmmm [03:43] If you do "man 7 glob" it will explain how globbing works [03:43] I see. [03:43] I think I might as well get a gui [03:43] unless its possible to download multiple files from different directories? [03:43] I recommend you learn how to use the CLI instead [03:43] sw0rdfish: you mean like get -r *.d/ ? [03:44] Or you could install sshfs on your client side, which will basically allow you to "mount" any directory from the remote host, on the local host [03:44] Then you can just use commands like cp [03:45] hmmmmm [03:45] hey I saw someone somewhere saying we could use scp to queue files [03:46] something like scp sw0rdfish@server_ip:/home/sw0rdfish/dir1/file2:/home/sw0rdfish/dir2/file2 [03:46] I'm not sure what you mean by that. [03:46] somebody better tell them, ubuntu server iso seems to still use the old logo [03:47] well it means there are two directories in the home dir. of sw0rdfish and each containing a file i'd like to grab for example [03:47] That would be "scp you@host:foo you@host:bar ." -- the "." is the destination, the local working dir. [03:49] oh [03:49] I see. [03:49] cool. [03:50] Note that if you aren't using agentized keys, you will have to type your password twice [03:51] I see. [03:51] so like [03:51] why didn't they include the mget [03:51] in sftp [03:53] Presumably because they prefer -r. [03:54] oh but then again i couldn't use mget the way i wanna use it [03:54] anyways, right? === Jasonn is now known as JasonnAWAY [04:17] Dunno [04:17] The only reason I even know about mget is from smbclient :-/ [05:29] j #infra-talk [05:29] oops :) [05:41] New bug: #802343 in mysql-5.1 (main) "package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/802343 === JasonnAWAY is now known as Jasonn === Guest47276 is now known as Adri2000 === Jasonn is now known as JasonnAWAY [07:10] is it possible to tell the server to run init.d/ as regular user, without sudo? [07:14] basically no [07:14] However within those scripts, you can drop privileges using e.g. start-stop-daemon(8) [07:16] i have to add a couple paths into the root bashrc file. I was avoiding that. Thanks for letting me know. I was going to waste more time looking for non-sudo running of init.d scripts [07:16] I really doubt that's what you want [07:17] im looking for a quick hack to start passenger with web arguments on system boot [07:17] This is for some shitty proprietary package that installs itself into /opt ? [07:17] i wrote a simple ruby script that does it for me, but when i run it as sudo it doens't work [07:17] That's probably because sudo doesn't preserve $HOME and your script needs something in ~mkc [07:18] i gave it full paths but there errors are not coming from ruby directly. Not able to find gems, etc. [07:18] now* [07:18] That's probably because they're installed in ~mkc/.ruby or whatever [07:19] OMG i can't write!!! It is too late for this. [07:19] yea, they are [07:19] So: don't do that [07:20] IMO it's pretty fucked up to be doing that with some ruby script in the first place, let alone one that relies on third-party gems installed into a $HOME [07:20] hmm, yea. I might have to rethink what im doing [07:20] I guess you're talking about https://secure.wikimedia.org/wikipedia/en/wiki/Phusion_Passenger [07:20] yep [07:22] I'm still pretty confused about this whole system admin thing...I'm trying to build a scaleable AWS infrastructure and it is not fun [07:23] I know i should be using something like puppet to configure my servers, but as of now im justt trying to get a working version manually [07:23] I'm not convinced that you're going to get both "scalable" and "ruby" [07:23] The ruby weenie sitting next to me suggested using unicorn rather than mod_ruby [07:23] http://tomayko.com/writings/unicorn-is-unix [07:25] yea, ruby has issues just like any other language, but im sticking with it [07:26] I disagree with "just like"; inasmuch as it's a mishmash of ideas from smalltalk, CL and perl, it has its own excitingly different issues. [07:27] i was getting pretty descent results last time i was running a set up. I was running a bunch of AWS micro app servers with a balancer on top and RDS with 3 read slaves and i was getting pretty good results considering i was hitting the database on every call. All that without a caching server [07:29] one complain that people keep bringing up, which i dont understand, is the fact that ruby waits for a respond from IO like a database in a busy state, but it seems like most other languages do that as well [07:33] twb: anyways thanks for the help. I really appreciate it. I need some sleep time [07:33] thanks [07:52] New bug: #802367 in net-snmp (main) "snmpd reports "truncating integer value > 32 bits" at ERROR loglevel, should be DEBUG" [Undecided,New] https://launchpad.net/bugs/802367 [08:17] New bug: #802372 in samba (main) "windows clients unable to connect to samba after KB2536276" [Undecided,New] https://launchpad.net/bugs/802372 === Ursinha-afk is now known as Ursinha === _ruben_ is now known as _ruben [09:09] is it possible to find out the compile parameters used to compile a deb package? [09:10] amero: apt-get source [09:22] yeah then? [09:22] amero: read the debian/rules file [09:22] amero: Look at the debian/rules file. [09:22] If you're looking for something like a standardized set of USE flags, you will look in vain [09:23] Usually there will simply be a call to "dh", which implies all defaults, or there will be a call to "./configure --foo" or "dh_auto_configure -- --foo", which indicates it's configured with --foo. [09:23] Older and/or sillier systems will do things in arbitrarily icky ways [09:27] got it :] thanks [09:44] apparently anyone can name an unnamed person, sorry person-purple-square [09:56] New bug: #802399 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/802399 [10:01] New bug: #802402 in image-store-proxy (main) "convert to dh_python2" [Undecided,New] https://launchpad.net/bugs/802402 [10:27] hey zul o/ [10:57] New bug: #802400 in maria "mysql help sends unchecked contents to mysqld" [Medium,Confirmed] https://launchpad.net/bugs/802400 === smb` is now known as smb [11:16] o/ - i'm trying to setup a OpenVPN on my ubuntu serv, it"s really pain in the ass. Somebody here tested it? [11:27] Was https://bugs.launchpad.net/ubuntu/+source/request-tracker3.8/+bug/444046 ever dealt with? [11:27] Launchpad bug 444046 in request-tracker3.8 "rt-setup-database-3.8 does not seem to work" [Undecided,New] === julian is now known as alamar [11:30] Hello, how create 'mysql' user in the machine ? [11:31] frenzz: sudo adduser mysql [13:16] weird i didn't mean to leave this chan... [13:18] jbernard: on bug 693594, did you ever decide whether you consider that fixed in natty? [13:18] Launchpad bug 693594 in libcgroup "cgroup-bin should not move kthreadd into a default cgroup" [High,Confirmed] https://launchpad.net/bugs/693594 [13:22] hi. my experience has been that [prior to 11.04] if deleted, the 70-persistent-net.rules file in /etc/udev/rules.d would be automatically regenerated upon a subsequent boot. this doesn't seem to happen anymore with 11.04 - how can i figure out why? [13:29] lunaphyte_: see /lib/udev/write_net_rules [13:30] hallyn: thanks, i was actually just looking at that. [13:33] is that something that should be run by hand though? and why isn't the system doing it like it was before? [13:33] should be done automatically, dont' know why it isn't. [13:36] lunaphyte_: hm, looking at the natty version, it seems to imply that if the file isn't writeable it uses a temp one. Maybe you should create a new empty one? [13:41] hmm, no luck. [13:42] the write_net_rules shell script seems to be expecting the $INTERFACES variable is set, but it's not quite clear to me where this variable is supposed to come from. [13:47] ok, exporting a shell var seems to have addressed that, although i'm not sure if that's really the way it should be done, but now it says "missing valid match" [13:47] sigh. this is frustrating. [13:48] ah, a clue, maybe: 70-persistent-net.rules [13:48] bah [13:48] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492193 [13:48] Debian bug 492193 in udev "write_net_rules fails to write udev rule" [Important,Fixed] [13:53] lunaphyte_: if you're really seeing that bug (fixed in 2008?) pls open an ubuntu bug for it? [13:53] are you on lucid? [13:53] no [13:53] you're not :) sorry [13:53] sounds to me like a bugfix may have gotten dropped in a sync [14:14] zul: i can't get to cobbler_web on aussie [14:15] zul: packaging issue? problem with the last merge? [14:16] kirkland: not sure [14:28] kirkland: howdy!! [14:28] kirkland: what's the cobbler issue? [14:28] RoAkSoAx: howdy [14:28] RoAkSoAx: http://hostname/cobbler_web is not working [14:28] RoAkSoAx: can you take a look? [14:28] hallyn: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/802538 [14:28] Launchpad bug 802538 in udev "/etc/udev/rules.d/70-persistent-net.rules not automatically generated" [Undecided,New] [14:30] kirkland: sure, let me get a fresh install [14:33] lunaphyte_: thx [14:33] (i gotta run out for a bit) === hallyn is now known as hallyn_afk [14:46] kirkland: ok, seems to be a problem with django itself [14:46] kirkland: tail -f /var/log/apache2/error.log [15:00] Hello, I'm having trouble with mysql (related to upstart, I think). some info: http://pastie.org/2128975 [15:02] Daviey: https://launchpad.net/+apidoc/1.0.html#team [15:02] Daviey: it's there [15:02] bah [15:02] thanks :) [15:02] :) [15:02] no problem [15:02] Daviey: I'm trying to fetch the tasks now, which's a bit tricky as it timeouts consistently :( [15:03] I'm digging a bit to see if that's a known bug [15:03] Hello, I'm having trouble starting mysql-server on my ubuntu 11.04. I'm willing to give sudo access to my server to help me solve it... some info: http://pastie.org/2128975 [15:03] if not, I"ll report it right away [15:04] Ursinha: \o/ [15:05] :D [15:06] koichirose: the problem there is not that the server isn't running, but a problem with permissions for the user root [15:06] that sucks [15:06] Ursinha, any hints? [15:06] I've hit that before, let me find a reference for that [15:06] just a moment, please [15:07] hm wait [15:07] * Daviey waits [15:09] lol [15:09] koichirose: Shouldn't you be running those commands with sudo? [15:10] jpds: I thought there was a difference between mysql's root and system's root [15:10] jpds, yeah, the pastie is a bit old. I'm running them with sudo below [15:11] also, mysql seems to start if I reboot. then 'sudo service mysql stop', 'sudo service mysql start' -> system hangs [15:11] kirkland: ok, found the issue in cobbler [15:11] koichirose: are the permissions ok for the socket file? [15:12] kirkland: manually edit /usr/share/cobbler/web/settings.py and change TIME_ZONE = 'America/NewYork' to let's say 'UTC' [15:12] I'm *far* from being an expert, I've just run through that situation before and trying hard to remember what I did [15:12] using my jetlagger brain [15:12] :) [15:12] *jetlagged [15:13] I can't even type [15:13] Ursinha, /var/run/mysqld is now empty :O [15:13] koichirose: so the instance is gone, I presume [15:13] yes [15:13] I can't restart mysql [15:14] what's the error? it hangs? [15:14] that's weird [15:15] Ursinha, http://pastie.org/2129212 [15:15] koichirose: any error on the mysql log? [15:15] I can start it using the old init.d. Doesn't start with 'service mysql start' [15:15] lynxman, how do I check that? [15:16] koichirose: it should be under /var/log/mysql or /var/lib/mysql/instancename.err [15:17] mysql.err: empty - mysql.log: empty - /var/log/mysql/error.log: 13k lines. let me see [15:17] koichirose: that'll be a good one to check :) [15:17] Daviey: I'll try to find launchpad guys to help me out with that timeout [15:20] lynxman, http://pastie.org/2129232 - something like this [15:20] let me empty it [15:21] koichirose: looks like you're in deep trouble [15:21] koichirose: either your innodb storage is corrupt [15:21] koichirose: or you have bad memory on the server [15:21] lynxman, it is a fresh install, I don't have anything [15:21] koichirose: so bad memory then :) [15:21] do you want root access? :D [15:21] you mean bad ram? [15:21] koichirose: yes, nad ram [15:22] koichirose: no thank you :) I rather not have root in any machine that is not mine [15:22] how do I check that? (it's a $19/year VPS, I don't really care but now I'm curious) [15:24] anyway, lynxman, it's a fresh install, you'd have access to nothing [15:25] koichirose: well... it's a hardware issue, being disk or ram, I'd rather just contact their support === kentb_ is now known as kentb_dell [15:26] lynxman, I'll try with ubuntu 8.04 [15:27] koichirose: have fun :) [15:27] :D [15:28] O_o [15:37] lynxman, /etc/init.d/mysql start -> * Starting MySQL database server mysqld [fail] - nice :D [15:37] also, empty logs [15:38] koichirose, nothing even on syslog? [15:41] raubvogel, where do I find it? [15:42] koichirose: /var/log/syslog [15:42] omg irssi completed the path for me [15:42] Scary! [15:42] found it [15:42] mm yeah [15:42] same stuff more or less as with 11.04: http://pastie.org/2129232 [15:42] I guess I'll open a ticket then [15:43] thanks all [15:43] koichirose: offtopic, but there's a tool called pastebinit that pastes the command output directly to ubuntu paste and gives you a link [15:44] koichirose, something ought to be smelly in your setup. I am running 5.1 here without a problem [15:44] I find it handy :) [15:45] Ursinha, thanks [15:45] koichirose, I wonder if the crazies at #mysql could help you more [15:46] raubvogel, I have another vps and it's running flawlessly there, too - I already asked in #mysql [15:46] You could wipe all dbs and repopulate mysql [15:46] anyway 192MB of ram should be enough for a basic lamp server right? [15:46] top should tell you that [15:46] raubvogel, it's a fresh install (i had 11.04, switched to 8.04, same problems) [15:46] top looks fine: Mem: 225280k total, 66348k used, 158932k free [15:47] i'll open a ticket [15:49] Daviey: https://bugs.launchpad.net/launchpad/+bug/739063 [15:49] Launchpad bug 739063 in launchpad "PillarNameSet:EntryResource:search timeout" [Critical,Triaged] [15:57] New bug: #802565 in php5 (main) "Arbitrary file limit in garbage-collection cron script causes loss of service" [Undecided,New] https://launchpad.net/bugs/802565 [16:07] Ursinha: great, can't look atm as on a tty. But will be back in the room shortly. [16:19] Daviey: I guess it just allows you to paginate a collection you already have, instead of allowing you to fetch the results every time you turn the page :P [16:19] but I have to read more [16:23] sigh === klaas_ is now known as klaas === JasonnAWAY is now known as Jasonn [16:59] Daviey: what's the name of that graphing site again? === hallyn_afk is now known as hallyn [17:32] New bug: #758072 in nova "nova compute cannot run radvd" [High,Triaged] https://launchpad.net/bugs/758072 [17:33] New bug: #752316 in nova "Package vlan should be included in nova-compute's dependencies" [High,Fix released] https://launchpad.net/bugs/752316 [17:38] New bug: #676026 in nova "Nova services do not log to new log file after log rotation" [Medium,Fix released] https://launchpad.net/bugs/676026 [18:03] Daviey: https://lp-oops.canonical.com/oops.py/?oopsid=2004EB41 === JGJones_ is now known as JGJones === lullabud is now known as warzauwynn === lborda is now known as lborda_afk [21:12] I need to download the jaunty repository and host it from my lucid server for jaunty devices I still have. [21:12] will apt-mirror change my repo for the server as well ? [21:18] Jaunty ( and other releases which are past End Of Life ) are still on the servers, just old-releases.ubuntu.com instead of country-code.ubuntu.com [21:20] how long will they be there genii-around ? [21:21] evilsushi: Well, 4.10 is still there for instance, so a while :) [21:22] genii-around: I would feel better just downloading the repo tho and hosting it locally .. how would I use apt-mirror to clone the old-releases repo? [21:23] evilsushi: Upgrade the jaunty devices as they're not getting security updates anytime within the next... century. [21:27] evilsushi: Basically to put the old-releases.ubuntu.com urls in the /etc/apt/mirror.list file [21:40] genii-around: thanks for your help [21:40] genii-around: apt-mirror is going now =) [21:40] genii-around: looks like its going to take awhile to download the repo =) [21:41] Yes, they are about 30-some-odd GB [21:43] genii-around: so I'm downloading this on my server to a mounted s3fs =) [21:55] hallyn: thanks for the clue, that was indeed it. [21:56] lunaphyte_: np. the q is, should that be like that or not. [21:57] yeah, indeed. not wanting to second guess anyone to much, it seems quite clear to me it's likely a shortsighted action. [21:58] presumably, as with the kvm reference preceding it, the goal is to ignore logical interfaces - e.g. cases in which the os is a vmware host. [21:59] yeah [21:59] but... your's isn't vmware right? [22:00] no, it is. [22:00] well - to be clear - it's a vmware guest. [22:00] right [22:00] it's just a bit surprising that it would be so easily overlooked that this would break vmware guests. [22:00] yeah [22:01] don't know how it was decided. Luckily platform is all in one place right now, so lemme provoke with the bug id in #ubuntu-devel and see if anyone bites [22:02] oh, ok. mind if i lurk? [22:02] heh, not at all. they're probalby at the bar right now, it'll be a few hours before anyone shows up to bite [22:02] no worries [22:08] i googled a bit but couldnt' find the answer. running 10.04.02 on ec2. mail.info and mail.log keep growing to 2GB a piece. they're being rotated, but I don't see an entry in logrotate.d .. anyone know where I can adjust this [22:27] hi -- i cant seem to find an official AMI for 10.04, EBS, for a m1.small instance running on us-west-1 [22:27] is there one? [23:01] axolx: http://uec-images.ubuntu.com/releases/10.04/release/ [23:01] us-west-1 32-bit ebs ami-831d4fc6 [23:04] axolx: I also list the official Ubuntu AMI ids in a format that I find easier to read at the top of: http://Alestic.com (pick an EC2 region) [23:09] ^ that site is good [23:09] geekbri: Error: "that" is not a valid command.