/srv/irclogs.ubuntu.com/2012/10/12/#ubuntu-server.txt

ziggyzeroHi. 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 ESX00:48
patdk-lapif you install a bunch of extra crap from vmware, sure00:57
patdk-lapand I think you need to give it vmi permission00:57
bookpageHi, 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 precise01:12
bookpageis there any reason why the http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise main repo doesn't support it?01:13
sarnoldbookpage: 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.deb01:17
sarnold200 OK01:17
=== matsubara is now known as matsubara-afk
bookpageOkay I'm confused now. it looks like it works for me now01:21
bookpagesarnold: is there any way I can browse the source without getting accessdened?01:30
bookpages/accessdened/accessdenied01:31
sarnoldbookpage: what do you mean?01:31
lifelesswhat source?01:31
bookpageLike how I can goto the http://us.archive.ubuntu.com/ubuntu/ and look at all of the packages from my browser01:31
sarnoldoh. That's an S3 server, unlikely you can do that.01:32
bookpageAh, should've realised01:32
sarnoldI 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
bookpageI take it there's no account setup for read access to the actual S3 bucket(s)01:32
lifelesssarnold: 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:35
lifelessbookpage: the archive is described by its metadata, apt-cache can get you the path to anything01:36
lifelessbookpage: there are 20K discrete packages, something like 100K package versions - manual browsing on static file servers isn't feasible.01:36
sarnoldlifeless: bookpage was trying to load from a specific ec3 mirror01:36
lifelessbookpage: and doing dynamic pages in a mirror network is tricky, to say the least.01:36
sarnoldlifeless: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/01:36
lifelesssarnold: or right.01:37
lifelesseven so, same rules apply ;)01:37
sarnoldit always did seem a bit rude the few times I've gone browsing through server directory listings01:37
sarnoldbut I was greatful for the times it worked when I needed it. :)01:37
gunnarflaxHi! I can't send mails via ssmtp, can someone help me troubleshoot?01:48
sarnoldlog messages? :)01:48
gunnarflaxhere: http://www.pasteall.org/3620101:49
gunnarflaxI can't get authorized01:49
gunnarflaxI'm trying to connect to gmails smtp01:50
sarnoldis this new? or did it work before?01:50
sarnold(did google drop rc4? sha-1?)01:50
gunnarflaxThis is new, I've never configured ssmtp before so it's a configuration error01:51
gunnarflaxdo 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:51
sarnoldmaybe. it may require wrapping with quotes?01:52
gunnarflaxI'll paste my conf... wait a sec, I shall just remove the private stuff01:53
gunnarflaxhere is my conf: http://www.pasteall.org/3620201:54
gunnarflaxsarnold, are you still here?01:55
sarnoldgunnarflax: yeah01:55
sarnoldgunnarflax: I thought I had ssmtp installed but it doesn't look like it now. confused. :)01:56
gunnarflaxsarnold: didn't want to rush you :) i'm just getting tired since it's 4 pm here where I live01:56
sarnoldhah, msmtp.. sigh :)01:57
sarnoldgunnarflax: _maybe_ UseTLS and UseSTARTTLS are mutually exclusive01:58
gunnarflaxI've tried with both, one at a time, no difference :/01:58
gunnarflaxmy 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 ssmtp01:58
sarnoldgunnarflax: 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:00
gunnarflaxsarnold: 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
sarnoldgunnarflax: one would hope it wouldn't be that broken...02:01
gunnarflaxby simple I mean that they don't provide any troubleshooting02:01
sarnoldgunnarflax: you could change the password to not have a space but I have little hope for that.02:01
gunnarflaxsarnold: I can try another gmail-account I have...02:02
sarnoldhrm, that's useful :)02:02
sarnoldgunnarflax: 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
gunnarflaxnope, I'm just using a password to authenticate02:03
gunnarflaxI'll try this alternate account I have now02:04
patdk-lapya, the two factor thing by google is really a joke02:05
patdk-lapyou get two factor, but then you totally compromise it using the passwords02:05
patdk-lapand 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 access02:05
sarnoldpatdk-lap: even to security questions, reset password?02:06
patdk-lapyep02:06
sarnoldhaha02:06
sarnoldoops02:06
=== n0ts_off is now known as n0ts
gunnarflaxsarnold: ...this time it worked... that means that I can't use my account if I don't change the password... great02:07
patdk-lapthat password google makes, spaces are optional02:08
sarnoldpatdk-lap: o_O02:08
sarnoldgunnarflax: replace the space with the word 'space' and it'll work :) hehe02:09
gunnarflaxhaha! that would take ages to type in x)02:10
sarnoldmost of my passwords are 12-18 characters long (depending upon the 'importance' of the resource), it's usually not much annoyance.02:10
sarnoldthough it's not as convenient as keys, of course.02:11
gunnarflaxsarnold: 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
sarnoldgunnarflax: glad it worked :)02:12
gunnarflaxgood night everybody! :)02:13
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
bookpagesarnold: it looks like the fault was mine.... apt-get update was my problem, after I did an aptitude update I could happily install libreadline5 ... :S02:44
sarnoldbookpage: 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
sarnoldbookpage: mirror networks are sometimes funny :/02:45
bookpagecheers for the  advice sarnold. At least it's fast and free. Heh02:47
sarnold:)02:48
=== Ursinha is now known as Ursinha-afk
=== dendrobates is now known as dendro-afk
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
brontosaurusrexhi, with apache2 i have redirection somewhere, like site.com/blog > newsite.com < where could that be?07:29
sarnoldbrontosaurusrex: 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
brontosaurusrexsarnold, i know i did it on server somehow07:30
brontosaurusrexmod_rewrite, hmm07:30
brontosaurusrexwhere is a conf for that?07:31
sarnolddepends on your local configuration :)07:31
brontosaurusrexeh, found it, sites-enabled conf07:32
sarnoldgrep -ri rewrite /etc/apache*   ought to find it07:32
brontosaurusrexthanks07:32
=== smb` is now known as smb
=== micahg_ is now known as micahg
=== lifeless_ is now known as lifeless
uvirtbotNew bug: #1065883 in nova (main) "ceph rbd username and secret should be configured in nova-compute, not passed from nova-volume/cinder" [Undecided,New] https://launchpad.net/bugs/106588309:01
uvirtbotNew bug: #1065901 in cinder (main) "cinder-volume should Suggest ceph-common, not python-ceph" [Undecided,New] https://launchpad.net/bugs/106590109:46
_utmzhi 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:47
xnox_utmz: you want both /dev/sda & /dev/sdb I believe09:48
xnox_utmz: just in case have ubuntu live cd ready and then do a reboot test.09:49
xnoxoh... ssh....09:49
xnoxhm.09:49
_utmzxnox: thanks ... i put in a support ticket over 3 hours ago with new provider . . .09:49
_utmzcheap but support sucks!09:51
uvirtbotNew bug: #994225 in qemu-kvm (main) "Windows virtual machine no longer starts after upgrade to Ubuntu 12.04 (Precise)" [Low,Confirmed] https://launchpad.net/bugs/99422510:12
uvirtbotNew bug: #1065926 in keystone (main) "can't seem to install keystone on quantal" [Undecided,New] https://launchpad.net/bugs/106592610:46
=== maxb_ is now known as Guest72551
ziggyzeroHi. 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:51
CrypticSquaredthe samba package has a few tools to work with10:54
=== dendro-afk is now known as dendrobates
CrypticSquaredhttp://www.samba.org/samba/docs/using_samba/ch07.html10:55
CrypticSquaredmight want to start with chap 1 and skim through10:55
rbasakziggyzero: nautilus manages to do it. I think a combination of nmblookup and smbclient -L can achieve it from the CLI10:59
CrypticSquaredjust out of curiosity, how many people install a gui of some kind on ubuntu-server?11:00
ziggyzerook. I installed smbfs but that doesn't include smbclient11:01
ziggyzeroShould I install smbclient or samba4-client package? smbclient is included in both packages11:02
CrypticSquaredapt-cache search samba; i would install the full set of tools11:03
rbasakI don't use a gui on server, but nor do I connect to windows shares from a server!11:04
rbasakziggyzero: you probably want smbclient rather than anything samba 4 related11:04
ziggyzerorbasak: 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 NFS11:05
ziggyzerorbasak: I may switch though because I just cannot get permissions to work properly at all11:06
=== mcclurmc_away is now known as mcclurmc
ziggyzerorbasak: 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:07
=== n0ts is now known as n0ts_off
rbasakI 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:08
rbasakIf you expect to fiddle with permissions then use NFS11:09
rbasakBut NFS does have its own set of issues11:09
rbasakNetwork filesystems just don't work well in general11:09
rbasakI avoid them11:09
rbasakExcept perhaps for bulk storage where the details don't matter11:09
rbasak(like permissions)11:09
ziggyzerorbasak: 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:11
rbasaksamba (server end) can be configured to create files with sensible permissions by default. No idea with your Solaris thing.11:12
rbasakConfigure your file server or get a better one :-)11:12
=== doko_ is now known as doko
DarkStar1Hi 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 machines11:30
=== cpg is now known as cpg|away
DarkStar1I keep getting a 550 error. "Can't change into directory11:30
pmatulisDarkStar1: sounds like a permissions issue11:35
DarkStar1pmatulis: Nope. Like I said I can login in from some machines but not others11:35
DarkStar1using the exact same details11:36
DarkStar1From my Mac it's ok. from my colleagues windows 7 machine using FF it's ok11:36
DarkStar1but from my boss's FF on another windows 7 it's not ok11:36
pmatulisDarkStar1: maybe a firewall thing on that machine11:38
DarkStar1pmatulis: Can't be the firewall. The machines get a dialog prompt for user details.11:40
jamespagezul, 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:41
pmatulisDarkStar1: ftp uses several ports, some being dynamically determined, depending on what kind of ftp you're using11:42
DarkStar1pmatulis: Nvm.. The 'admin guy' gave me a wrong link11:43
pmatulisDarkStar1: 'splain?11:43
DarkStar1He added a directory path to the link11:44
DarkStar1so to login in to the sub directory :)11:44
DarkStar1Some angry mail 'splaining has been sent :)11:45
DarkStar1lunch. hasta la vista11:45
pmatulisDarkStar1: ok, good11:45
zuljamespage: i think they are going to be SRUed11:48
jamespagezul, nah - we're not to late11:49
zuljamespage: okies then :)11:49
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
=== n0ts_off is now known as n0ts
zuljamespage:  did you do the ceph stuff for nova as well?12:47
drag0nzhey 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:50
zuljamespage:  the python-ceph stuff also effects nova btw12:52
Davieyzul / jamespage: either of you seen http://pb.daviey.com/cOMH/ ?12:52
zulDaviey: rabbitmq-server running?12:53
Davieyzul: well, supposedly12:53
Davieyzul: juju charmed12:53
zulDaviey:  you arent using a password on the rabbitmq-server are you?12:53
Davieyzul: I don't know, the point is, i don't have to know :)12:54
zulDaviey: also says its trying to connect to localhost12:54
drag0nzwould 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
drag0nzwould there be any issues doing this?12:57
jamespagezul, hmm13:00
zulsince the ceph-common stuff is reference as a suggests as well13:00
jamespagezul, nova is fine - ceph-common is the correct package for nova-volume13:01
zuljamespage: also you tested that patch right? no regressions right13:01
jamespageits only glance that uses python-ceph13:01
zuljamespage: ah ok13:01
jamespagezul, I have tested but I personally think its a little hacky13:02
jamespagezul, I can re-test if you want to stuff it somewhere else first13:02
zuljamespage: im just worried if it would cause problems with iscsi13:03
zulit shouldnt but im just want to be sure13:04
jamespagezul, iscsi uses a different driver - my change is isolated to the sheepdog and rbd integrations13:04
zuljamespage: ack ok im good with that then13:05
uvirtbotNew bug: #1065903 in glance (main) "glance should Suggest: python-ceph, not ceph-common" [Medium,In progress] https://launchpad.net/bugs/106590313:06
zuljamespage: if there is a regression ill poke you with a stick at the end of the month ;)13:07
jamespagezul, infact its isolated to rbd13:09
zuljamespage: yeah saw the new patch ill apply it now13:09
drag0nzany suggestions guys?13:24
drag0nzor opinions13:24
drag0nzanythoughts would be cool too13:24
zuldrag0nz: that should be fine you might have to adjust the ownership of the files when you do it13:33
rigorm0rtisHello, 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?13:33
=== tmclaugh[work] is now known as tmclaugh
zuladam_g_:  lemme know when you are around?15:07
=== micahg_ is now known as micahg
oxoocoffeeI 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:47
ikoniaoxoocoffee: really depends what happened between now and release.15:48
oxoocoffeeI understand that release is just few days away.15:48
=== micahg_ is now known as micahg
jcastro_yes15:58
uvirtbotNew bug: #1065763 in maas (main) "UI URL gives HTTP error 200 after CD install" [High,Confirmed] https://launchpad.net/bugs/106576316:18
=== Ursinha-afk is now known as Ursinha
=== n0ts is now known as n0ts_off
=== TheLordOfTime is now known as TLoT
=== glebihan_ is now known as glebihan
=== mcclurmc is now known as mcclurmc_away
thafreakquick poll, what's the most stable/widely used iscsi target implementation available on precise?18:22
thafreakIs it tgt?18:22
uvirtbotNew bug: #1063175 in mysql-dfsg-5.1 (main) "mysql 5.1.66 update" [Undecided,New] https://launchpad.net/bugs/106317518:41
uvirtbotNew bug: #1065766 in dovecot (main) "package dovecot-core (not installed) failed to install/upgrade: trying to overwrite '/etc/init.d/dovecot', which is also in package dovecot-common 1:2.0.19-0ubuntu2" [Undecided,New] https://launchpad.net/bugs/106576618:42
esuavehello, 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
mdeslaurhallyn: crud, my /dev/kvm doesn't have the right permissions on a newly installed quantal now18:57
mdeslaurhallyn: scratch that, I don't even have qemu-kvm installed...false alert, please ignore me18:59
sarnoldesuave: apt-file search can help you if you don't know which package provides which libraries18:59
esuaveso like this one for example: libpcre.so.0 <- thats one of the missing ones19:00
esuaveso i would just apt-search libpcre?19:00
uvirtbotNew bug: #1066084 in lxc (universe) "Permissions mangled when creating rootfs from cloud images" [Undecided,New] https://launchpad.net/bugs/106608419:00
hallynmdeslaur: phew.  yeah kvm_intel loading without qemu-kvm installed is a change, and could lead to problems...19:01
sarnoldesuave: either apt-cache search libpcre   or  apt-file search libpcre19:02
esuavewhat 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:05
sarnoldesuave: I'd much rather use the packaging system if you can19:07
sarnoldesuave: if you can't, then try /usr/local/lib/ first19:08
sarnoldthat shouldn't be touched by packages19:08
esuaveok thanks sarnold19:08
=== mcclurmc_away is now known as mcclurmc
=== cpg|away is now known as cpg
uvirtbotNew bug: #1006963 in cloud-init "sources.list configuration does not cover security" [Medium,Fix released] https://launchpad.net/bugs/100696320:21
=== hggdh is now known as hggdh_napping
uvirtbotNew bug: #1066144 in postfix (main) "arguments to dbus_server_disconnect() were incorrect" [Undecided,New] https://launchpad.net/bugs/106614421:41
JoseeAntonioRHello! I'd like to know if anyone here is interested in running a session about the Ubuntu Server Team for OpenWeek?22:06
=== hggdh_napping is now known as hggdh
=== n0ts_off is now known as n0ts
=== shantorn_ is now known as shantorn
=== Ursinha_ is now known as Ursinha

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!