[00:48] <ziggyzero> Hi. I have ubuntu-server 12.04 running as a guest on ESX. If I have a UPS can I monitor the UPS from ubuntu-server and then in the event of a power fail initiate a shutdown of all the other VM's on ESX
[00:57] <patdk-lap> if you install a bunch of extra crap from vmware, sure
[00:57] <patdk-lap> and I think you need to give it vmi permission
[01:12] <bookpage> Hi, I'm trying to install ruby1.8 on a ubuntu precise instance in ec2. The package libreadline5 isn't  able to be found as it looks like libreadline6 has replaced it. The strange thing is that libreadline5 is still supported on the official main repo for precise
[01:13] <bookpage> is there any reason why the http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise main repo doesn't support it?
[01:17] <sarnold> bookpage: hrm, are you sure?
[01:17] <sarnold> $ HEAD http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/r/readline5/libreadline5_5.2-11_amd64.deb
[01:17] <sarnold> 200 OK
[01:21] <bookpage> Okay I'm confused now. it looks like it works for me now
[01:30] <bookpage> sarnold: is there any way I can browse the source without getting accessdened?
[01:31] <bookpage> s/accessdened/accessdenied
[01:31] <sarnold> bookpage: what do you mean?
[01:31] <lifeless> what source?
[01:31] <bookpage> Like how I can goto the http://us.archive.ubuntu.com/ubuntu/ and look at all of the packages from my browser
[01:32] <sarnold> oh. That's an S3 server, unlikely you can do that.
[01:32] <bookpage> Ah, should've realised
[01:32] <sarnold> I built that pathname by looking in my /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages file for libreadline5 and appending the url in there to the url you gave me, and the 200 OK showed up. :)
[01:32] <bookpage> I take it there's no account setup for read access to the actual S3 bucket(s)
[01:35] <lifeless> sarnold: us.archive.ubuntu.com might be s3 if you're in the US, its not outside - I see all Canonical-DC addresses in `host us.archive.ubuntu.com`
[01:36] <lifeless> bookpage: the archive is described by its metadata, apt-cache can get you the path to anything
[01:36] <lifeless> bookpage: there are 20K discrete packages, something like 100K package versions - manual browsing on static file servers isn't feasible.
[01:36] <sarnold> lifeless: bookpage was trying to load from a specific ec3 mirror
[01:36] <lifeless> bookpage: and doing dynamic pages in a mirror network is tricky, to say the least.
[01:36] <sarnold> lifeless: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/
[01:37] <lifeless> sarnold: or right.
[01:37] <lifeless> even so, same rules apply ;)
[01:37] <sarnold> it always did seem a bit rude the few times I've gone browsing through server directory listings
[01:37] <sarnold> but I was greatful for the times it worked when I needed it. :)
[01:48] <gunnarflax> Hi! I can't send mails via ssmtp, can someone help me troubleshoot?
[01:48] <sarnold> log messages? :)
[01:49] <gunnarflax> here: http://www.pasteall.org/36201
[01:49] <gunnarflax> I can't get authorized
[01:50] <gunnarflax> I'm trying to connect to gmails smtp
[01:50] <sarnold> is this new? or did it work before?
[01:50] <sarnold> (did google drop rc4? sha-1?)
[01:51] <gunnarflax> This is new, I've never configured ssmtp before so it's a configuration error
[01:51] <gunnarflax> do you know if I should connect on port 465 or 578? My password contains spaces, maybe I'm specifying it wrong in the conf?
[01:52] <sarnold> maybe. it may require wrapping with quotes?
[01:53] <gunnarflax> I'll paste my conf... wait a sec, I shall just remove the private stuff
[01:54] <gunnarflax> here is my conf: http://www.pasteall.org/36202
[01:55] <gunnarflax> sarnold, are you still here?
[01:55] <sarnold> gunnarflax: yeah
[01:56] <sarnold> gunnarflax: I thought I had ssmtp installed but it doesn't look like it now. confused. :)
[01:56] <gunnarflax> sarnold: didn't want to rush you :) i'm just getting tired since it's 4 pm here where I live
[01:57] <sarnold> hah, msmtp.. sigh :)
[01:58] <sarnold> gunnarflax: _maybe_ UseTLS and UseSTARTTLS are mutually exclusive
[01:58] <gunnarflax> I've tried with both, one at a time, no difference :/
[01:58] <gunnarflax> my original issue is that I couldn't send mails through the contact form on my wordpress blog so I guessed I needed a mail server. I tried installing sendmail and postfix but both seemed overkill and I couldn't get them to work, that's why I chose ssmtp
[02:00] <sarnold> gunnarflax: and of course it's nearly impossible to tell if the failure is a gmail-specific-oddity or something more common. any chance you can find known-working configs on the internet at large?
[02:01] <gunnarflax> sarnold: I've looked at every single tutorial I've been able to find but all are very simple. I guess I get these errors because I use spaces in the password :/
[02:01] <sarnold> gunnarflax: one would hope it wouldn't be that broken...
[02:01] <gunnarflax> by simple I mean that they don't provide any troubleshooting
[02:01] <sarnold> gunnarflax: you could change the password to not have a space but I have little hope for that.
[02:02] <gunnarflax> sarnold: I can try another gmail-account I have...
[02:02] <sarnold> hrm, that's useful :)
[02:03] <sarnold> gunnarflax: have you opted-in to google's two-factor authentication contraption? I don't know if that is enforced for SMTP/IMAP or not (how could it?) but it might be an annoyance.
[02:03] <gunnarflax> nope, I'm just using a password to authenticate
[02:04] <gunnarflax> I'll try this alternate account I have now
[02:05] <patdk-lap> ya, the two factor thing by google is really a joke
[02:05] <patdk-lap> you get two factor, but then you totally compromise it using the passwords
[02:05] <patdk-lap> and it even warns you, the passwords give FULL access, tehy aren't even restricted to just email, or xmpp, or anything, they give full unrestricted access
[02:06] <sarnold> patdk-lap: even to security questions, reset password?
[02:06] <patdk-lap> yep
[02:06] <sarnold> haha
[02:06] <sarnold> oops
[02:07] <gunnarflax> sarnold: ...this time it worked... that means that I can't use my account if I don't change the password... great
[02:08] <patdk-lap> that password google makes, spaces are optional
[02:08] <sarnold> patdk-lap: o_O
[02:09] <sarnold> gunnarflax: replace the space with the word 'space' and it'll work :) hehe
[02:10] <gunnarflax> haha! that would take ages to type in x)
[02:10] <sarnold> most of my passwords are 12-18 characters long (depending upon the 'importance' of the resource), it's usually not much annoyance.
[02:11] <sarnold> though it's not as convenient as keys, of course.
[02:12] <gunnarflax> sarnold: I'll google around a bit and try to find out if there is some kind of workaround. Thank you for your help! :)
[02:12] <sarnold> gunnarflax: glad it worked :)
[02:13] <gunnarflax> good night everybody! :)
[02:44] <bookpage> sarnold: it looks like the fault was mine.... apt-get update was my problem, after I did an aptitude update I could happily install libreadline5 ... :S
[02:45] <sarnold> bookpage: depending upon when the data was pushed, it's possible to hit those even with apt-get update && apt-get -u upgrade commands.
[02:45] <sarnold> bookpage: mirror networks are sometimes funny :/
[02:47] <bookpage> cheers for the  advice sarnold. At least it's fast and free. Heh
[02:48] <sarnold> :)
[07:29] <brontosaurusrex> hi, with apache2 i have redirection somewhere, like site.com/blog > newsite.com < where could that be?
[07:30] <sarnold> brontosaurusrex: maybe mod_rewrite, maybe a CGI, maybe a mod_php or something doing header injection, maybe a meta tag in an HTML file.
[07:30] <brontosaurusrex> sarnold, i know i did it on server somehow
[07:30] <brontosaurusrex> mod_rewrite, hmm
[07:31] <brontosaurusrex> where is a conf for that?
[07:31] <sarnold> depends on your local configuration :)
[07:32] <brontosaurusrex> eh, found it, sites-enabled conf
[07:32] <sarnold> grep -ri rewrite /etc/apache*   ought to find it
[07:32] <brontosaurusrex> thanks
[09:47] <_utmz> hi all. I did an apt-get update and grub is asking to installed: The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique identifier has changed for some reason" i have a choice of /dev/sda /dev/sdb and /dev/md1. Its a brand new 12 ubunt server with raid set up and I am using ssh. Any suggestions?
[09:48] <xnox> _utmz: you want both /dev/sda & /dev/sdb I believe
[09:49] <xnox> _utmz: just in case have ubuntu live cd ready and then do a reboot test.
[09:49] <xnox> oh... ssh....
[09:49] <xnox> hm.
[09:49] <_utmz> xnox: thanks ... i put in a support ticket over 3 hours ago with new provider . . .
[09:51] <_utmz> cheap but support sucks!
[10:51] <ziggyzero> Hi. Is there anyway of searching for network shared drives on Linux. Much like the net view and net view <computer_name> commands in DOS?
[10:54] <CrypticSquared> the samba package has a few tools to work with
[10:55] <CrypticSquared> http://www.samba.org/samba/docs/using_samba/ch07.html
[10:55] <CrypticSquared> might want to start with chap 1 and skim through
[10:59] <rbasak> ziggyzero: nautilus manages to do it. I think a combination of nmblookup and smbclient -L can achieve it from the CLI
[11:00] <CrypticSquared> just out of curiosity, how many people install a gui of some kind on ubuntu-server?
[11:01] <ziggyzero> ok. I installed smbfs but that doesn't include smbclient
[11:02] <ziggyzero> Should I install smbclient or samba4-client package? smbclient is included in both packages
[11:03] <CrypticSquared> apt-cache search samba; i would install the full set of tools
[11:04] <rbasak> I don't use a gui on server, but nor do I connect to windows shares from a server!
[11:04] <rbasak> ziggyzero: you probably want smbclient rather than anything samba 4 related
[11:05] <ziggyzero> rbasak: Well I am using Solaris based NexentaStor for my file storage which does CIFS and NFS. However, as I access these from a Windows machine too as well as Linux clients I choose to use CIFS over NFS
[11:06] <ziggyzero> rbasak: I may switch though because I just cannot get permissions to work properly at all
[11:07] <ziggyzero> rbasak: When new files are written to the share they are created with 700 chmod. When I do a umask it shows 0022 so I am not sure why it won't work :-(
[11:08] <rbasak> I don't think CIFS does unix-style permissions. I think there's an extension to do it but it isn't widely used. It'll be mapped at the server end.
[11:09] <rbasak> If you expect to fiddle with permissions then use NFS
[11:09] <rbasak> But NFS does have its own set of issues
[11:09] <rbasak> Network filesystems just don't work well in general
[11:09] <rbasak> I avoid them
[11:09] <rbasak> Except perhaps for bulk storage where the details don't matter
[11:09] <rbasak> (like permissions)
[11:11] <ziggyzero> rbasak: It's a pain having to log on and chmod the files all the time to 755 so that all computers on the network can access them :-(
[11:12] <rbasak> samba (server end) can be configured to create files with sensible permissions by default. No idea with your Solaris thing.
[11:12] <rbasak> Configure your file server or get a better one :-)
[11:30] <DarkStar1> Hi there. I can't figure out what's wrong with vsftpd. I can login in on some machines and can't log in on other machines
[11:30] <DarkStar1> I keep getting a 550 error. "Can't change into directory
[11:35] <pmatulis> DarkStar1: sounds like a permissions issue
[11:35] <DarkStar1> pmatulis: Nope. Like I said I can login in from some machines but not others
[11:36] <DarkStar1> using the exact same details
[11:36] <DarkStar1> From my Mac it's ok. from my colleagues windows 7 machine using FF it's ok
[11:36] <DarkStar1> but from my boss's FF on another windows 7 it's not ok
[11:38] <pmatulis> DarkStar1: maybe a firewall thing on that machine
[11:40] <DarkStar1> pmatulis: Can't be the firewall. The machines get a dialog prompt for user details.
[11:41] <jamespage> zul, I have a couple of fixes in for cinder and glance in the proposed branches - are you planning any uploads or should I forge on?
[11:42] <pmatulis> DarkStar1: ftp uses several ports, some being dynamically determined, depending on what kind of ftp you're using
[11:43] <DarkStar1> pmatulis: Nvm.. The 'admin guy' gave me a wrong link
[11:43] <pmatulis> DarkStar1: 'splain?
[11:44] <DarkStar1> He added a directory path to the link
[11:44] <DarkStar1> so to login in to the sub directory :)
[11:45] <DarkStar1> Some angry mail 'splaining has been sent :)
[11:45] <DarkStar1> lunch. hasta la vista
[11:45] <pmatulis> DarkStar1: ok, good
[11:48] <zul> jamespage: i think they are going to be SRUed
[11:49] <jamespage> zul, nah - we're not to late
[11:49] <zul> jamespage: okies then :)
[12:47] <zul> jamespage:  did you do the ceph stuff for nova as well?
[12:50] <drag0nz> hey guys, i have a freebsd server with about 14-15 users, i want to install ubuntu server 12.04 and i want to migrate these users to the new install, whats the best way to do this?
[12:52] <zul> jamespage:  the python-ceph stuff also effects nova btw
[12:52] <Daviey> zul / jamespage: either of you seen http://pb.daviey.com/cOMH/ ?
[12:53] <zul> Daviey: rabbitmq-server running?
[12:53] <Daviey> zul: well, supposedly
[12:53] <Daviey> zul: juju charmed
[12:53] <zul> Daviey:  you arent using a password on the rabbitmq-server are you?
[12:54] <Daviey> zul: I don't know, the point is, i don't have to know :)
[12:54] <zul> Daviey: also says its trying to connect to localhost
[12:57] <drag0nz> would it work if i create the users manualy on my ubuntu server, then tar their directory in freebsd and just copy them over to the new user i created on my ubuntu?
[12:57] <drag0nz> would there be any issues doing this?
[13:00] <jamespage> zul, hmm
[13:00] <zul> since the ceph-common stuff is reference as a suggests as well
[13:01] <jamespage> zul, nova is fine - ceph-common is the correct package for nova-volume
[13:01] <zul> jamespage: also you tested that patch right? no regressions right
[13:01] <jamespage> its only glance that uses python-ceph
[13:01] <zul> jamespage: ah ok
[13:02] <jamespage> zul, I have tested but I personally think its a little hacky
[13:02] <jamespage> zul, I can re-test if you want to stuff it somewhere else first
[13:03] <zul> jamespage: im just worried if it would cause problems with iscsi
[13:04] <zul> it shouldnt but im just want to be sure
[13:04] <jamespage> zul, iscsi uses a different driver - my change is isolated to the sheepdog and rbd integrations
[13:05] <zul> jamespage: ack ok im good with that then
[13:07] <zul> jamespage: if there is a regression ill poke you with a stick at the end of the month ;)
[13:09] <jamespage> zul, infact its isolated to rbd
[13:09] <zul> jamespage: yeah saw the new patch ill apply it now
[13:24] <drag0nz> any suggestions guys?
[13:24] <drag0nz> or opinions
[13:24] <drag0nz> anythoughts would be cool too
[13:33] <zul> drag0nz: that should be fine you might have to adjust the ownership of the files when you do it
[13:33] <rigorm0rtis> Hello, I'm having trouble getting IP forwarding going in Ubuntu 12.04 server with UFW. I have two interfaces, eth0 and tun0, and they can't ping each other. I've made the interfaces promiscuous, net/ipv4/ip_forward=1 in /etc/ufw/sysctl.conf, and DEFAULT_FORWARD_POLICY="ACCEPT" in /etc/default/ufw. Is there something I am missing?
[15:07] <zul> adam_g_:  lemme know when you are around?
[15:47] <oxoocoffee> I am about to try ubuntu 12.10. After it is released will I be able to update to release with online update? Or will it be better to reinstall it then?
[15:48] <ikonia> oxoocoffee: really depends what happened between now and release.
[15:48] <oxoocoffee> I understand that release is just few days away.
[15:58] <jcastro_> yes
[18:22] <thafreak> quick poll, what's the most stable/widely used iscsi target implementation available on precise?
[18:22] <thafreak> Is it tgt?
[18:57] <esuave> hello, ive got a question about libs.  I have this application i am trying to run from command line, but when i run "ldd" on it, it returns some .so libs missing.  How can i find these libs and put them im place so this application can run?
[18:57] <mdeslaur> hallyn: crud, my /dev/kvm doesn't have the right permissions on a newly installed quantal now
[18:59] <mdeslaur> hallyn: scratch that, I don't even have qemu-kvm installed...false alert, please ignore me
[18:59] <sarnold> esuave: apt-file search can help you if you don't know which package provides which libraries
[19:00] <esuave> so like this one for example: libpcre.so.0 <- thats one of the missing ones
[19:00] <esuave> so i would just apt-search libpcre?
[19:01] <hallyn> mdeslaur: phew.  yeah kvm_intel loading without qemu-kvm installed is a change, and could lead to problems...
[19:02] <sarnold> esuave: either apt-cache search libpcre   or  apt-file search libpcre
[19:05] <esuave> what if i already have the file? can i just drop it in the /lib directory and run "ldconfig" to get the application to see it?
[19:07] <sarnold> esuave: I'd much rather use the packaging system if you can
[19:08] <sarnold> esuave: if you can't, then try /usr/local/lib/ first
[19:08] <sarnold> that shouldn't be touched by packages
[19:08] <esuave> ok thanks sarnold
[22:06] <JoseeAntonioR> Hello! I'd like to know if anyone here is interested in running a session about the Ubuntu Server Team for OpenWeek?