/srv/irclogs.ubuntu.com/2012/05/05/#ubuntu-server.txt

hallynstgraber: i don't remember whether overlayfs based ephemeral contaienrs are actually working or not00:01
hallynwith apparmor anyway00:01
hallynpost looks great :)00:02
hattorihanzoso i need some advice01:00
hattorihanzoi have a custom c app server that crashes when its memcache connection to another box drops01:00
hattorihanzoim thinking of a simple proxy to just hold the connection on the localhost, and forward to the other box01:01
hattorihanzoand reconnect if it fails01:01
hattorihanzois there anything like this before I go an write my own01:01
Canadian1296I'm setting up a VPN server (L2TP authenticating with IPSec) for my iPod Touch, and I have it basically set up, but it fails. auth.log: http://paste.ubuntu.com/968185/01:44
Canadian1296I'm setting up a VPN server (L2TP authenticating with IPSec) for my iPod Touch, and I have it basically set up, but it fails. auth.log: http://paste.ubuntu.com/968185/ (Sorry if this is a double-post, the first isn't showing up in my client)01:51
Canadian1296 /exit01:59
Canadian1296oops01:59
=== guampa|2 is now known as guampa
=== cedr` is now known as cedr
=== pehden is now known as pehden-be-ridin
stgraberhallyn: just noticed a bug in lxc-ubuntu, my multi-arch trick hardcodes ":amd64" for most of the packages I'm installing instead of using ":${hostarch}" for all of them...03:22
stgraberhallyn: apparently everyone who tried it were on an amd64 system...03:22
stgraberhallyn: I'm pushing the fix to quantal now, but this should go as an SRU once the curent one (-3ubuntu54) hits -updates03:23
=== pehden-be-ridin is now known as pehden
rcsheetsin a vnc session using gnome (gnome.session, not ubuntu.session), my power menu is empty. is that normal?07:06
=== useist is now known as purpleist
intorehi, am configuring pam_mount on my client ubuntu to mount home directories on the client from the server samba-ldap. I fear to make mistakes. Someone knows this subject and could follow me please?08:33
=== Lcawte|Away is now known as Lcawte
sarthorHi, In ubuntu-server 11.04, I used to write my dns forwarders in /etc/bind/named.conf.options, and that use to work fine for me. Now in the 12.04 where ia m writing entry in /etc/resolv.conf "nameserver 127.0.0.1", So whith the next reboot, computer wash that entry and then my name.conf.option is useless, How to solve this problem, where to put the forwarders and how to tell to /etc/resolv.conf not to delete the manual entries.08:56
remix_tjsarthor: does the forwarders remain into the bind configuration?09:12
sarthorremix_tj, yes09:13
remix_tjso the problem is only resolv.conf that gets overwrited... are you using static ip'09:13
remix_tj-?09:13
sarthoryes. here is my network/interfaces file. I written dns later.. before it was not here, when i was asking.. http://paste.ubuntu.com/968661/09:14
sarthornow this machine is resolving, but i wan to use as route, and that clients can resolve via thish computer.09:15
remix_tjsarthor: i think the problem is dns-nameserver voice in interfaces overwrites resolv.conf09:15
remix_tjyou can remove the dns-nameservers voice, so the voices in resolv.conf does not gets overwritten09:16
sarthorHow?09:16
sarthorremix_tj, I am not expert09:16
remix_tjsarthor: you can disable that voice editing the file and putting a # before each dns-nameserver voice09:16
remix_tjthen you can insert the nameserver you want in the resolv.conf file09:17
remix_tjthen try rebooting, it should work09:17
sarthorwhich file to edit and where to put "#" sign?09:17
remix_tj/etc/network/interfaces ?09:18
sarthorthat interfaces file was like this http://paste.ubuntu.com/968672/ and then the /etc/resolv.conf was empty09:18
remix_tjyeah that's correct09:19
remix_tjyou can do things:09:19
remix_tj1) return with the interfaces file that you posted 3 rows ago09:19
remix_tj2) insert into that file the voice dns.nameservers 127.0.0.109:20
remix_tjsorry09:20
remix_tjdns-nameservers 127.0.0.109:20
remix_tjso the /etc/resolv.conf file gets populated with the correct nameserver09:20
sarthorhttp://paste.ubuntu.com/968679/ remix_tj  In this case my /etc/resolv.conf remain empty nameserver 127.0.0.1 use to del automatically09:21
remix_tjok sarthor09:21
remix_tjso insert09:21
remix_tjdns-nameservers 127.0.0.109:21
remix_tjin that file on the correct place09:21
remix_tjthen you'll get the correct content for /etc/resolv.conf09:21
sarthorremix_tj, http://paste.ubuntu.com/968684/ is good , this /etc/resolv.conf09:23
remix_tjno! dns-nameservers is an option for /etc/network/interfaces file!09:24
sarthorremix_tj, yes. i got now. I use to think sometime. but you guded me very soon09:25
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
koolhead17hi all13:22
SpamapSkoolhead17: howdy!13:22
SpamapSkoolhead17: you bound for the US yet?13:22
koolhead17SpamapS, am good. thanks :)13:22
koolhead17yes am in HK waiting for my flight13:23
koolhead17SpamapS, good morning to you sir. :)13:23
SpamapSkoolhead17: interesting place to stop over. :)13:24
* SpamapS reviews the latest updates to the SOLR charm13:24
koolhead17SpamapS, waoo. SOLR charm. :)13:24
* koolhead17 has owncloud upgrade pending 13:25
SpamapSyeah solr should be interesting13:29
airtonixsolr is kind of a pain in the rear to setup13:31
koolhead17airtonix, thats why we will have charm to use :)13:32
SpamapSairtonix: yeah, in theory, it will only be a pain for users who resist juju. ;)13:33
koolhead17SpamapS, :P13:33
koolhead17i see lots of Openstack+juju relative conversation for coming days :)13:34
koolhead17hola lynxman13:36
airtonixi don't really understand juju... does it spool up a new ec2 instance just for solr in this particular context of our conversation?13:37
koolhead17airtonix, juju does much more stuff. check juju.ubuntu.com it has detailed info13:40
SpamapSairtonix: It does have a tight coupling w/ provisioning right now yes. juju wants an infinite-ish cloud like EC2 to scale out your architecture. :) But it turns out its also pretty awesome for spinning up nodes on a more limited basis w/ MaaS or a private openstack cloud.13:45
airtonixi already use ec2 for our business13:46
SpamapSairtonix: one of the reasons it wants to spin up its own instances is that having a clean instance makes writing charms a lot easier13:46
airtonixi understand13:46
airtonixi'd like to use the concept, but it requires a restructure of how our code works13:47
SpamapSairtonix: right, its abstracting away the cloud API to allow cross-cloud operation13:47
blendedbychrisany pacemaker / stonithd users around?13:48
SpamapSairtonix: you wouldn't be the first person to ask for a way to just use juju w/ some other provisioning system13:48
blendedbychrisI dont have a kvm device for stonith to run power off on but i have an api from my provider… was trying to figure out how to make a script to run that instead13:49
SpamapSblendedbychris: I believe you'd want to write a stonith plugin13:52
blendedbychrisSpamapS: oh?13:53
blendedbychristhat does make sense heh13:53
blendedbychrisSpamapS: are you aware of documentation to write this?13:57
blendedbychrisooh found /usr/lib/stonith/plugins/external a bunch of scripts13:59
blendedbychris:)13:59
koolhead17SpamapS, see you soon14:25
* koolhead17 leaves for his flight :)14:25
blendedbychrishey SpamapS quick file organization question if you don't mind … where would you store something like http://sldn.softlayer.com/article/Perl for use in one of those stonith scripts?14:34
blendedbychristhe question is where do you store libraries like that14:34
blendedbychrison the filesystem normally14:34
SpamapSblendedbychris: no clue, its been *years* since I played with stonith14:41
SpamapSblendedbychris: usually something like /usr/lib/programname/libexec/foo.so14:41
SpamapSblendedbychris: but really, most of those types of systems will have some helper build tools for things like that14:42
blendedbychrisSpamapS: what do you mean?14:43
blendedbychrishelper build tools..14:43
blendedbychrisi'm having to write a stonith script with this http://sldn.softlayer.com/article/Getting-Started14:44
blendedbychrisso i was like well, step one, where to put the librar14:44
hallynstgraber: ok, thanks.  I need to sit down with paper and pen sunday night or monday and make a list of the things to queue up in SRU.  bc -54 is going to be 4 more days (i think) before clearing, and dont' want to serialize them all :)15:38
hallynstgraber: can you add a 'needssru' tag to that bug?15:41
hallyngotta go - ttyl15:41
clerkI didnt have a storage device available during the ubuntu server 12.04 installation. Can I add a 500gb drive as the /srv data storage device after the install ?16:56
=== jkyle_ is now known as jkyle
qman__yes16:57
clerkThats good to know thanks16:58
clerkIs there any documentation that could guide me through that process ?17:00
clerkI suppose I could add gparted to the server partition?17:00
qman__make partitions with fdisk or parted, format with mkfs, add to /etc/fstab17:01
qman__the manuals for each should contain all the info you need17:01
clerkare man available from the server os ?17:02
qman__yes17:02
pmp6nlHello all, is it safe to have the owner of files be www-data for a server?17:02
qman__pmp6nl, generally no17:02
pmp6nlqman__, ok, I have set wordpress files to that otherwise it wont let me upgrade modules via the web interface17:03
qman__well, wordpress generally isn't safe either17:04
pmp6nlqman__, oh?17:04
qman__pmp6nl, http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=wordpress17:04
pmp6nlqman__, good to know.thnaks17:05
qman__there are ways to mitigate the risk but it's just not written very securely17:05
qman__you're taking a chance with it17:05
qman__plan to get hacked17:05
pmp6nlqman__, ok, thnaks17:06
=== tohuw is now known as Guest23165
pmp6nlIf I create a new user should they automatically have access via sftp or do I need to do something special?18:18
greppypmp6nl: by default, they should have access, unless you have put some restrictions in /etc/ssh/sshd_config18:27
pmp6nlgreppy, what would I look for in /etc/ssh/sshd_config that may cause issues?18:28
qman__the default configuration allows it18:30
greppypmp6nl: look in the man page for the AllowUsers, DenyUsers18:30
qman__you must have specifically changed the settings with some match rules and permissions18:30
qman__if you can't SFTP with a default config, chances are the user's shell is not a valid shell18:30
qman__if you want them to be SFTP only, change their shell to /usr/sbin/nologin18:31
qman__ /bin/false will not work18:31
pmp6nlgreppy, qman__ ok. Thanks18:32
clerkI have a 500 gb drive that is 2 partitions ,one fat32 one ntfs. Each partition, has files that I would like to save . Essentially I would like to just add the disk as a /srv device. Can I do this?19:25
clerkMust I format to add a storaGE DEVICE ?19:26
clerkMust a storage device be formatted before it can be added as a /srv device I guess would be my question...19:27
jkyleanyone successfully creating 802.3ad bonds on 3.x kernels? e.g. 12.0419:34
chunk_I've followed the instructions from https://wiki.ubuntu.com/ServerTeam/MAAS/Juju evrythinks working fine into I deploy the mysql server it install fine but won't startup using ubuntu 12.04 server20:40
guntbertchunk_: no experience with juju here - but what does mysql say when you try to start it?20:42
chunk_2012-05-05 21:00:36,318 unit:mysql/2: hook.output ERROR:     except subprocess.CalledProcessError: NameError: name 'subprocess' is not defined20:43
guntbertchunk_: sorry, thats definitely beyond my depth - you might want to send that (complete) log to a pastebin though for the next one who tries to help20:46
virusuygents20:55
guntbertchunk_: I just had a look at the web site you mentioned: did you try to deploy (for instance) wordpress? (without mysql) - just to see if the deployment process works21:09
RoyKI just installed sympa from the repo, and it grabbed sendmail on its way - would it be hard to make it use postfix instead?21:11
guntbertRoyK: you could try to install postfix and then remove sendmail - or you could have a look at the dependencies21:13
RoyKI'd guess installing postfix will remove sendmail21:13
stgraberRoyK: sudo apt-get install sympa postfix21:14
stgraberthat works fine here, so it doesn't explicitly depend on sendmail21:14
stgraberit only depends on default-mta | mail-transport-agent,21:14
stgraberwhich is provided by all mtas providing the sendmail command (including postfix)21:14
chunk_yeah wordpress works21:15
wlan3Hi, I'd like to know how to have a bittorrent tracker up and running at my server.21:15
RoyKstgraber: thanks21:15
chunk_http://paste.ubuntu.com/970119/21:26
RoyK!ask21:28
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience21:28
Psi-JackMan alive!21:29
Psi-JackThese OpenLDAP AND KerberosLDAP docs on ubuntu's wiki REALLY needs some work.21:30
Psi-Jackheh21:30
RoyKyeah21:30
Psi-JackIt took forever to piecemeal it all together to get it all right.21:30
=== dendrobates is now known as dendro-afk
wlan3!patience22:59
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/22:59
Psi-JackCurious.23:15
Psi-JackWhen you have a few PPA's, is there any safe preparations to do to help insure a dist-upgrade is successful?23:15
Psi-JackLike, the only PPA I have on my storage servers (currently running 11.10 with the intention to upgrade to 12.04), is the ZFS PPAs because I use ZFS.23:19
cwilluPsi-Jack, "don't use dist-upgrade"23:21
cwilludo-release-upgrade handles quirks that would/could otherwise break a dist-upgrade23:21
Psi-JackRight.23:21
Psi-JackThat's what I was doing.23:21
Psi-JackIt just disables the PPA's it seems.23:21
Psi-JackMeaning, I'll have to manually update those after the system is already upgraded, to manually re-enable them and adjust them as needed before rebooting.23:23
cwilluI believe it also yes23:23
cwilluer, just yes23:23
Psi-JackOkay, well, here goes. ;)23:23
cwilluI mean, if you have backups, it's pretty easy to recover from just about any screw up23:23
Psi-JackThankfully, I trust my ZFS stuff. ;)23:23
cwilluand if you don't have backups, you have no business running a server23:23
cwilluzfs is not a backup23:23
cwillu(no, really)23:23
Psi-JackAnd yes. I have backups. heh23:24
cwilluif you can't take it with you to mexico while the server is still running, it's not a backup :p23:24
Psi-JackI actually got two little ReadyNAS boxes with 2TB Raid1's for the very purpose of backups.23:25
Psi-JackSo far, so good. It's updating the replacement packages now. :)23:38
Psi-JackStorage servers basically just has JEOS with some extras added for network file shares.23:39
Psi-JackHeh. it's actually my desktop I'm most worried about. LOL23:40
Psi-JackSweet!23:59
Psi-JackFlawless upgrade.23:59

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