[00:02] <Calif> 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] <Calif> 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?
[00:22] <Gaming4JC> How can I make a new user into an administrator on the server?
[00:22] <Gaming4JC> I already have a user account, I just want him to be able to manage it without having to login as root
[00:23] <Gaming4JC> via sudo
[00:25] <pwnguin> any suggestions on choosing between libpam-ldap or libpam-ldapd?
[00:47] <sagaci> Gaming4JC, add the user to /etc/sudoers
[00:48] <sagaci> you can use visudo
[01:07] <vv116vv> hola buenas noches
[01:07] <vv116vv> hay alguien?
[01:09] <LinSkyrate> Hi guys :) Is there a good channel for Cloud Servers?
[01:09] <lifeless> this one :)
[01:10] <LinSkyrate> ahh nice :)
[01:10] <lifeless> theres possibly others, but we do cloudy stuff here
[01:11] <LinSkyrate> 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] <lifeless> what sort of thing are you looking for?
[01:13] <LinSkyrate> more the next step, and good tips on howto setup this in the best way
[01:14] <LinSkyrate> Private Clouds... Not the Amazoon stuff
[01:15] <lifeless> https://help.ubuntu.com/community/UEC
[01:15] <LinSkyrate> nice.. thnx alot :)
[02:42] <ntoombs> hey
[02:42] <ntoombs> i'm having a problem getting my server to show up on my router
[02:43] <Datz> router problem?
[02:43] <ntoombs> most likely no
[02:43] <ntoombs> networking problem
[02:44] <ntoombs> i keep having problem getting a static ip address to work
[02:44] <ntoombs> i've read/watched over 20 tutorials
[02:44] <ntoombs> i only came here as a last resort
[02:47] <ntoombs> 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] <ntoombs> nor can i ping the lan ip address i assigned to it
[02:51] <ntoombs> is anyone willing to help me?
[02:56] <pmatulis> ntoombs: eth0?
[02:57] <ntoombs> eth1
[02:57] <ntoombs> the server i'm running won't work with eth1
[02:57] <ntoombs> at least it wouldn
[02:57] <ntoombs> wouldn't*
[02:57] <ntoombs> is eth1 a problem?
[02:57] <ntoombs> i meant won't work with eth0 :P
[02:59] <pmatulis> ntoombs: best discover why "won't work with eth0"
[03:01] <ntoombs> i thought it may be because eth1 is the primary network device
[03:09] <benjgvps> 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).
[03:39] <sw0rdfish> hey guys is there a way to download multiple files via terminal from a server
[03:40] <sw0rdfish> I actually thought sftp would have "mget"
[03:40] <twb> Over what protocol, HTTP?
[03:40] <twb> Oh, sftp.
[03:40] <twb> If you have scp, there is scp -r.
[03:40] <twb> From the sftp manpage, looks like get -r
[03:41] <sw0rdfish> get -r would fetch me EVERY file on the directory I'm in
[03:41] <sw0rdfish> right?
[03:41] <twb> Apparently it globs by default.
[03:41] <twb> sw0rdfish: no, say "get -r foo/" would pull down foo and all its contents
[03:41] <twb> sw0rdfish: and "get *.txt" should get every file in the remote working directory that ends in ".txt"
[03:41] <sw0rdfish> but I think I can evade that by doing something like "get -r ./*loop"
[03:42] <twb> This is just from reading the manpage, you understand; I haven't tried it.
[03:42] <twb> I normally use scp or sshfs
[03:42] <sw0rdfish> 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] <twb> Ending in loop.
[03:42] <sw0rdfish> hmmm
[03:43] <twb> If you do "man 7 glob" it will explain how globbing works
[03:43] <sw0rdfish> I see.
[03:43] <sw0rdfish> I think I might as well get a gui
[03:43] <sw0rdfish> unless its possible to download multiple files from different directories?
[03:43] <twb> I recommend you learn how to use the CLI instead
[03:43] <twb> sw0rdfish: you mean like get -r *.d/ ?
[03:44] <twb> 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] <twb> Then you can just use commands like cp
[03:45] <sw0rdfish> hmmmmm
[03:45] <sw0rdfish> hey I saw someone somewhere saying we could use scp to queue files
[03:46] <sw0rdfish> something like scp sw0rdfish@server_ip:/home/sw0rdfish/dir1/file2:/home/sw0rdfish/dir2/file2
[03:46] <twb> I'm not sure what you mean by that.
[03:46] <Viper550> somebody better tell them, ubuntu server iso seems to still use the old logo
[03:47] <sw0rdfish> 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] <twb> That would be "scp you@host:foo you@host:bar ." -- the "." is the destination, the local working dir.
[03:49] <sw0rdfish> oh
[03:49] <sw0rdfish> I see.
[03:49] <sw0rdfish> cool.
[03:50] <twb> Note that if you aren't using agentized keys, you will have to type your password twice
[03:51] <sw0rdfish> I see.
[03:51] <sw0rdfish> so like
[03:51] <sw0rdfish> why didn't they include the mget
[03:51] <sw0rdfish> in sftp
[03:53] <twb> Presumably because they prefer -r.
[03:54] <sw0rdfish> oh but then again i couldn't use mget the way i wanna use it
[03:54] <sw0rdfish> anyways, right?
[04:17] <twb> Dunno
[04:17] <twb> The only reason I even know about mget is from smbclient :-/
[05:29] <astrostl> j #infra-talk
[05:29] <astrostl> oops :)
[07:10] <mkc> is it possible to tell the server to run init.d/<scripts> as regular user, without sudo?
[07:14] <twb> basically no
[07:14] <twb> However within those scripts, you can drop privileges using e.g. start-stop-daemon(8)
[07:16] <mkc> 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] <twb> I really doubt that's what you want
[07:17] <mkc> im looking for a quick hack to start passenger with web arguments on system boot
[07:17] <twb> This is for some shitty proprietary package that installs itself into /opt ?
[07:17] <mkc> i wrote a simple ruby script that does it for me, but when i run it as sudo it doens't work
[07:17] <twb> That's probably because sudo doesn't preserve $HOME and your script needs something in ~mkc
[07:18] <mkc> i gave it full paths but there errors are not coming from ruby directly. Not able to find gems, etc.
[07:18] <mkc> now*
[07:18] <twb> That's probably because they're installed in ~mkc/.ruby or whatever
[07:19] <mkc> OMG i can't write!!! It is too late for this.
[07:19] <mkc> yea, they are
[07:19] <twb> So: don't do that
[07:20] <twb> 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] <mkc> hmm, yea. I might have to rethink what im doing
[07:20] <twb> I guess you're talking about https://secure.wikimedia.org/wikipedia/en/wiki/Phusion_Passenger
[07:20] <mkc> yep
[07:22] <mkc> 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] <mkc> 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] <twb> I'm not convinced that you're going to get both "scalable" and "ruby"
[07:23] <twb> The ruby weenie sitting next to me suggested using unicorn rather than mod_ruby
[07:23] <twb> http://tomayko.com/writings/unicorn-is-unix
[07:25] <mkc> yea, ruby has issues just like any other language, but im sticking with it
[07:26] <twb> 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] <mkc> 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] <mkc> 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] <mkc> twb: anyways thanks for the help. I really appreciate it. I need some sleep time
[07:33] <mkc> thanks
[09:09] <amero> is it possible to find out the compile parameters used to compile a deb package?
[09:10] <jpds> amero: apt-get source <package>
[09:22] <amero> yeah then?
[09:22] <twb> amero: read the debian/rules file
[09:22] <jpds> amero: Look at the debian/rules file.
[09:22] <twb> If you're looking for something like a standardized set of USE flags, you will look in vain
[09:23] <twb> 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] <twb> Older and/or sillier systems will do things in arbitrarily icky ways
[09:27] <amero> got it :] thanks
[09:44] <Ursinha> apparently anyone can name an unnamed person, sorry person-purple-square
[10:27] <lynxman> hey zul o/
[11:16] <Ang3> 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] <raubvogel> Was https://bugs.launchpad.net/ubuntu/+source/request-tracker3.8/+bug/444046 ever dealt with?
[11:30] <frenzz> Hello, how create 'mysql' user in the machine ?
[11:31] <jpds> frenzz: sudo adduser mysql
[13:16] <hallyn> weird i didn't mean to leave this chan...
[13:18] <hallyn> jbernard: on bug 693594, did you ever decide whether you consider that fixed in natty?
[13:22] <lunaphyte_> 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] <hallyn> lunaphyte_: see /lib/udev/write_net_rules
[13:30] <lunaphyte_> hallyn: thanks, i was actually just looking at that.
[13:33] <lunaphyte_> is that something that should be run by hand though?  and why isn't the system doing it like it was before?
[13:33] <hallyn> should be done automatically, dont' know why it isn't.
[13:36] <hallyn> 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] <lunaphyte_> hmm, no luck.
[13:42] <lunaphyte_> 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] <lunaphyte_> 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] <lunaphyte_> sigh.  this is frustrating.
[13:48] <lunaphyte_> ah, a clue, maybe: 70-persistent-net.rules
[13:48] <lunaphyte_> bah
[13:48] <lunaphyte_> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492193
[13:53] <hallyn> lunaphyte_: if you're really seeing that bug (fixed in 2008?) pls open an ubuntu bug for it?
[13:53] <hallyn> are you on lucid?
[13:53] <hallyn> no
[13:53] <hallyn> you're not :)  sorry
[13:53] <hallyn> sounds to me like a bugfix may have gotten dropped in a sync
[14:14] <kirkland> zul: i can't get to cobbler_web on aussie
[14:15] <kirkland> zul: packaging issue?  problem with the last merge?
[14:16] <zul> kirkland: not sure
[14:28] <RoAkSoAx> kirkland: howdy!!
[14:28] <RoAkSoAx> kirkland: what's the cobbler issue?
[14:28] <kirkland> RoAkSoAx: howdy
[14:28] <kirkland> RoAkSoAx: http://hostname/cobbler_web is not working
[14:28] <kirkland> RoAkSoAx: can you take a look?
[14:28] <lunaphyte_> hallyn: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/802538
[14:30] <RoAkSoAx> kirkland: sure, let me get a fresh install
[14:33] <hallyn> lunaphyte_: thx
[14:33] <hallyn> (i gotta run out for a bit)
[14:46] <RoAkSoAx> kirkland: ok, seems to be a problem with django itself
[14:46] <RoAkSoAx> kirkland: tail -f /var/log/apache2/error.log
[15:00] <koichirose> Hello, I'm having trouble with mysql (related to upstart, I think). some info: http://pastie.org/2128975
[15:02] <Ursinha> Daviey: https://launchpad.net/+apidoc/1.0.html#team
[15:02] <Ursinha> Daviey: it's there
[15:02] <Daviey> bah
[15:02] <Daviey> thanks :)
[15:02] <Ursinha> :)
[15:02] <Ursinha> no problem
[15:02] <Ursinha> Daviey: I'm trying to fetch the tasks now, which's a bit tricky as it timeouts consistently :(
[15:03] <Ursinha> I'm digging a bit to see if that's a known bug
[15:03] <koichirose> 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] <Ursinha> if not, I"ll report it right away
[15:04] <Daviey> Ursinha: \o/
[15:05] <Ursinha> :D
[15:06] <Ursinha> koichirose: the problem there is not that the server isn't running, but a problem with permissions for the user root
[15:06] <Ursinha> that sucks
[15:06] <koichirose> Ursinha, any hints?
[15:06] <Ursinha> I've hit that before, let me find a reference for that
[15:06] <Ursinha> just a moment, please
[15:07] <Ursinha> hm wait
[15:07]  * Daviey waits
[15:09] <Ursinha> lol
[15:09] <jpds> koichirose: Shouldn't you be running those commands with sudo?
[15:10] <Ursinha> jpds: I thought there was a difference between mysql's root and system's root
[15:10] <koichirose> jpds, yeah, the pastie is a bit old. I'm running them with sudo below
[15:11] <koichirose> also, mysql seems to start if I reboot. then 'sudo service mysql stop', 'sudo service mysql start' -> system hangs
[15:11] <RoAkSoAx> kirkland: ok, found the issue in cobbler
[15:11] <Ursinha> koichirose: are the permissions ok for the socket file?
[15:12] <RoAkSoAx> kirkland: manually edit /usr/share/cobbler/web/settings.py and change TIME_ZONE = 'America/NewYork' to let's say 'UTC'
[15:12] <Ursinha> 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] <Ursinha> using my jetlagger brain
[15:12] <Ursinha> :)
[15:12] <Ursinha> *jetlagged
[15:13] <Ursinha> I can't even type
[15:13] <koichirose> Ursinha, /var/run/mysqld is now empty :O
[15:13] <Ursinha> koichirose: so the instance is gone, I presume
[15:13] <koichirose> yes
[15:13] <koichirose> I can't restart mysql
[15:14] <Ursinha> what's the error? it hangs?
[15:14] <Ursinha> that's weird
[15:15] <koichirose> Ursinha, http://pastie.org/2129212
[15:15] <lynxman> koichirose: any error on the mysql log?
[15:15] <koichirose> I can start it using the old init.d. Doesn't start with 'service mysql start'
[15:15] <koichirose> lynxman, how do I check that?
[15:16] <lynxman> koichirose: it should be under /var/log/mysql or /var/lib/mysql/instancename.err
[15:17] <koichirose> mysql.err: empty - mysql.log: empty -  /var/log/mysql/error.log: 13k lines. let me see
[15:17] <lynxman> koichirose: that'll be a good one to check :)
[15:17] <Ursinha> Daviey: I'll try to find launchpad guys to help me out with that timeout
[15:20] <koichirose> lynxman, http://pastie.org/2129232 - something like this
[15:20] <koichirose> let me empty it
[15:21] <lynxman> koichirose: looks like you're in deep trouble
[15:21] <lynxman> koichirose: either your innodb storage is corrupt
[15:21] <lynxman> koichirose: or you have bad memory on the server
[15:21] <koichirose> lynxman, it is a fresh install, I don't have anything
[15:21] <lynxman> koichirose: so bad memory then :)
[15:21] <koichirose> do you want root access? :D
[15:21] <koichirose> you mean bad ram?
[15:21] <lynxman> koichirose: yes, nad ram
[15:22] <lynxman> koichirose: no thank you :) I rather not have root in any machine that is not mine
[15:22] <koichirose> how do I check that? (it's a $19/year VPS, I don't really care but now I'm curious)
[15:24] <koichirose> anyway, lynxman, it's a fresh install, you'd have access to nothing
[15:25] <lynxman> koichirose: well... it's a hardware issue, being disk or ram, I'd rather just contact their support
[15:26] <koichirose> lynxman, I'll try with ubuntu 8.04
[15:27] <lynxman> koichirose: have fun :)
[15:27] <koichirose> :D
[15:28] <jMCg> O_o
[15:37] <koichirose> lynxman, /etc/init.d/mysql start -> * Starting MySQL database server mysqld                                                     [fail]  - nice :D
[15:37] <koichirose> also, empty logs
[15:38] <raubvogel> koichirose, nothing even on syslog?
[15:41] <koichirose> raubvogel, where do I find it?
[15:42] <Ursinha> koichirose: /var/log/syslog
[15:42] <Ursinha> omg irssi completed the path for me
[15:42] <raubvogel> Scary!
[15:42] <koichirose> found it
[15:42] <koichirose> mm yeah
[15:42] <koichirose> same stuff more or less as with 11.04: http://pastie.org/2129232
[15:42] <koichirose> I guess I'll open a ticket then
[15:43] <koichirose> thanks all
[15:43] <Ursinha> 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] <raubvogel>  koichirose, something ought to be smelly in your setup. I am running 5.1 here without a problem
[15:44] <Ursinha> I find it handy :)
[15:45] <koichirose> Ursinha, thanks
[15:45] <raubvogel>  koichirose, I wonder if the crazies at #mysql could help you more
[15:46] <koichirose> raubvogel, I have another vps and it's running flawlessly there, too - I already asked in #mysql
[15:46] <raubvogel> You could wipe all dbs and repopulate mysql
[15:46] <koichirose> anyway 192MB of ram should be enough for a basic lamp server right?
[15:46] <raubvogel> top should tell you that
[15:46] <koichirose> raubvogel, it's a fresh install (i had 11.04, switched to 8.04, same problems)
[15:46] <koichirose> top looks fine: Mem:    225280k total,    66348k used,   158932k free
[15:47] <koichirose> i'll open a ticket
[15:49] <Ursinha> Daviey: https://bugs.launchpad.net/launchpad/+bug/739063
[16:07] <Daviey> Ursinha: great, can't look atm as on a tty.  But will be back in the room shortly.
[16:19] <Ursinha> 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] <Ursinha> but I have to read more
[16:23] <Ursinha> sigh
[16:59] <Ursinha> Daviey: what's the name of that graphing site again?
[18:03] <Ursinha> Daviey: https://lp-oops.canonical.com/oops.py/?oopsid=2004EB41
[21:12] <evilsushi> I need to download the jaunty repository and host it from my lucid server for jaunty devices I still have.
[21:12] <evilsushi> will apt-mirror change my repo for the server as well ?
[21:18] <genii-around> 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] <evilsushi> how long will they be there genii-around ?
[21:21] <genii-around> evilsushi: Well, 4.10 is still there for instance, so a while :)
[21:22] <evilsushi> 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] <jpds> evilsushi: Upgrade the jaunty devices as they're not getting security updates anytime within the next... century.
[21:27] <genii-around> evilsushi: Basically to put the old-releases.ubuntu.com  urls in the /etc/apt/mirror.list file
[21:40] <evilsushi> genii-around: thanks for your help
[21:40] <evilsushi> genii-around: apt-mirror is going now =)
[21:40] <evilsushi> genii-around: looks like its going to take awhile to download the repo =)
[21:41] <genii-around> Yes, they are about 30-some-odd GB
[21:43] <evilsushi> genii-around: so I'm downloading this on my server to a mounted s3fs =)
[21:55] <lunaphyte_> hallyn: thanks for the clue, that was indeed it.
[21:56] <hallyn> lunaphyte_: np.  the q is, should that be like that or not.
[21:57] <lunaphyte_> yeah, indeed.  not wanting to second guess anyone to much, it seems quite clear to me it's likely a shortsighted action.
[21:58] <lunaphyte_> 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] <hallyn> yeah
[21:59] <hallyn> but...  your's isn't vmware right?
[22:00] <lunaphyte_> no, it is.
[22:00] <lunaphyte_> well - to be clear - it's a vmware guest.
[22:00] <hallyn> right
[22:00] <lunaphyte_> it's just a bit surprising that it would be so easily overlooked that this would break vmware guests.
[22:00] <hallyn> yeah
[22:01] <hallyn> 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] <lunaphyte_> oh, ok.  mind if i lurk?
[22:02] <hallyn> 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] <lunaphyte_> no worries
[22:08] <skrewler> 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] <axolx> 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] <axolx> is there one?
[23:01] <geekbri> axolx: http://uec-images.ubuntu.com/releases/10.04/release/
[23:01] <geekbri> us-west-1  32-bit  ebs  ami-831d4fc6
[23:04] <erichammond> 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] <geekbri> ^ that site is good