/srv/irclogs.ubuntu.com/2013/02/04/#ubuntu-server.txt

=== andol is now known as Guest13386
=== Guest13386 is now known as andol
=== andol is now known as Guest37689
=== Guest37689 is now known as andol
azbyinhi all..00:24
azbyini've got a windows2003 virtual running within kvm. I have enabled remote desktop within the virtual machine. How do I now access this remote desktop when connecting from outside my linux box?00:25
azbyini tried rdp over an ssh tunnel, but am unable to get a connection to the internal vm00:26
=== Jon__ is now known as JonEdney
guideXI know this is a little off topic, but how do I point my ubuntu 12.10 lamp apache to a website on my hard drive? I did the etc/hosts, or maybe someone knows a good link01:31
guideXi've already done the etc/hosts part01:32
patdk-lapdunno what /etc/hosts has to do with it at all01:35
patdk-lapyou need to do something in /etc/apache/sites-enabled/01:35
guideXoh so I can type dev.mywebsite.com in the browser01:35
guideXah ok01:35
guideXi will check etc/apache/sites-enabled01:36
guideXhmm there is no apache folder in etc01:37
guideXI had this problem with a tutorial i found too01:37
virusuy_guideX: do you want to resolve dev.mywebsite.com locally, right ?01:48
virusuy_so, if you go to dev.mywebsite.com , will show your local lamp server01:48
virusuy_right ?01:49
guideXyes01:50
guideXI think I have that part working, but how do I setup the site too?01:51
guideXhow do I tell apache where my site is01:51
virusuy_where do you have it ?01:51
virusuy_in wich directory ?01:52
guideXhmm 1 sec..01:52
guideXlet me find the patrgh01:52
virusuy_apache by default looks at /var/www01:52
guideXI have it in /home/ubuntu/dev01:53
guideXand then a folder off of that01:53
virusuy_then just copy your folder to /var/www01:53
guideXoh01:53
guideXso only one at a time? I was hopeing to dev others from this server01:53
virusuy_oh01:54
guideXwas hopeing I could do like dev.whatev.com and dev.whatev2.com etc01:54
guideXpointing to different folders01:54
virusuy_and point those to diff folds?01:54
guideXyeah01:54
virusuy_oh, then take a look at this01:54
virusuy_http://httpd.apache.org/docs/2.2/vhosts/name-based.html01:55
guideXcool thanks01:55
virusuy_That will explain (even better than me) how set up what do you want01:55
guideXi'm checking it out now, thx01:55
virusuy_yw01:57
guideXah so just make new files in sites-available eh01:59
azbyinguideX, yes.. then just symlink them into sites-enabled as you need them or just use a2enmod (which does pretty much the same thing for you)02:01
azbyinerr.. a2ensite02:02
guideXin a gui?02:02
guideXI would much perfer that heh02:02
guideXI will check that out02:02
azbyinnah, its not a gui.. after you make the conf in sites-available you need to enable it02:02
guideXah ok02:03
azbyinthe process is really just: (i) make symlink in sites-enabled (ii) reload apache conf02:03
guideXhmm ok02:04
guideXheh I don't think it worked02:17
guideXbut I learned a lot more, thanks i'll keep trying02:17
Darm0khi02:21
Darm0kdo i need to re-compile a module with change from 3.5-0.22 to 23?02:21
Darm0khi02:22
Darm0ki hope no because i don't know to compile the module with another knerl02:22
guideXis there some way to troubleshoot when it's not working02:27
guideXwhen I put my virtual host in the url the page doesn't come up02:28
guideXis there a tool that does this for you?02:29
guideXfor noobs like me?02:29
guideXlike iis manager...02:30
guideXwhen I run 'service apache2 reload' i get these errors, do you know what to do? www.nomorepasting.com/getpaste.php?pasteid=3909302:51
azbyinguideX, did you run: sudo service apache2 reload   ? or did you run it without sudo?02:58
guideXafter sudo it's better, but not perfect.. I still get the namevirtual host error..02:58
guideXis there something wrong with my sites-available file? www.nomorepasting.com/getpaste.php?pasteid=3909402:58
guideXI still go to the "It works!" page when visiting dev.testsite.com03:00
guideXnot my test page03:00
guideXany ideas?03:04
azbyinguideX, change <VirtualHost *> to <VirtualHost *:80>03:05
guideXok03:05
azbyintry that, otherwise you need to /join #apache  and ask there :)03:05
guideXi'm there03:06
azbyinalso, just try sudo service apache2 restart03:06
azbyinjust to be sure there are no issues with simply reloading the confs. (there really shouldn;t be any issue with just reloading)03:06
guideXomg it worked03:07
guideXthanks!03:07
guideXI see my test page03:07
azbyinhttp://httpd.apache.org/docs/2.2/mod/core.html#virtualhost  if you read that page, it says: ... Addr can be: * the ip addr of vhost, * fqdn (not recommended), * the character '*', which is used only in combination with 'NameVirtualHost *' to match all IP addrs, or * the string _default_03:08
guideXoh i see03:09
azbyinand the first example actually uses *:80,  http://httpd.apache.org/docs/2.2/vhosts/examples.html03:10
azbyineven though it actually has NameVirtualHost *:8003:10
azbyinguideX, theres something called webmin, it provides a web interface for system management. not sure how good its apache conf integration is03:16
guideXhmm I will give it a shot, it might be quicker for me.. I'm more used to iis7 which has a ui you can deal with instead of these commands which for me are intimidating atm03:16
azbyinsure will be intimidating now, but trust me editing the conf file (and having this insanely good documentation) provides much more flexibility (+power) :)03:20
guideXdoes zend pages require an install?03:33
guideXor just lamp + mysql will do03:33
Deep6anyone here done ldap based layered autofs mounts?03:56
=== J2EE is now known as w0rmie
thomedyhelp help help please04:14
thomedyi have a  a lamp install and i idid it at xampp for linux... and when i started it i found that i had a webserver running already so istopped that an dhtne it said ihad a webserver with ssl running already so i followed the steps at the ubuntu website and now ican start it04:14
thomedybut i cant get localhost/xampp04:14
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
=== VD is now known as Guest33415
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
SpinningWheelsany weigh-ins on best method to mount a folder from a remote machine over a LAN (encryption not necessary).05:29
qman__sshfs is the simplest, since you probably already have ssh installed05:32
qman__other common options are nfs and cifs/samba05:33
SpinningWheelsawesome, thanks for the suggestions05:33
thomedyplease help05:34
thomedyi finally got lampp / xampp re running on my comp05:34
thomedybut they have  anew security concept that is ruining my day05:34
thomedyi googled it and followed a couple tuts and restarted /opt/lamp/lamp05:35
thomedybut still no access05:35
thomedyits gotta be local05:35
thomedyi am local05:35
qman__that's not a supported configuration05:35
thomedywhat one am i supposed to use05:35
qman__you should use the ubuntu server guide on LAMP to set up your web server05:35
thomedyi juwt want to right code here.. im getting frustraited05:36
qman__start over using the server guide, not the xampp setup05:36
thomedyokay... i know this is ubuntu and i should command line the shit  out of everything but ihave everything im doing already i just need my server im sorry .. your aamazing and awesome for helping05:36
thomedyis this going to be quic05:36
qman__yes05:37
qman__it takes about 15 minutes05:37
cfhowlettthomedy, it's a server.  Not likely to be "quic"05:37
thomedyokay thank you.. i can do 15 as long as i can see an end in site05:37
qman__you install from disc as normal, then at the end, you check the box next to LAMP05:37
Deep6SpinningWheels: autofs05:37
qman__drop your files in /var/www05:37
qman__that's all there is to it05:37
thomedywait i cant reinstall my ubuuntu... is that what your recommending?... am i being difficult... this was working 3 hours ago but i was tryi ng to set up mail and i have never done this im not so good at the admin stuff yet because my work doesn't cal for it all that much05:38
thomedydo i have to reinstall ubuntu to do this05:38
qman__yes, I am recommending you reinstall ubuntu, because you've installed third party software manually, which can (and probably has) break the built in software05:39
Darm0khow to depmod for a other kernel e.g instead 3.5.22 3.5.33 if running 3.5.2205:39
thomedyokay while i realize that what your recommending is absolutely right... thats just not an option for me.. so if that means your unwilling to help..‎ i understand and i still think your great05:39
SpinningWheelsautofs doesnt sound like what i need, but that does sound very useful. :P05:39
Darm0ki have to install a driver into 2305:40
SpinningWheelsi've got 8 different verions in my /boot, do i get rid of them by deleting them or is there some process that i need to use?06:37
cfhowlettSpinningWheels, I'm assuming you mean old kernels.  you can delete, but best practice is to keep at least ONE old version in case an upgraded kernel breaks your system06:38
SpinningWheelsyes, and okay. thx06:39
=== mysteriousdaren is now known as mysteriousdarren
=== Nigel_ is now known as G
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
=== ggg is now known as w0rmie
sword23any one use ksplice?08:35
=== smb` is now known as smb
=== railsraider_ is now known as railsraider
yolandahi, i tried to install mongodb package on raring, but service isn't starting, and doesn't write any logs, do you know if package is working ok in raring?10:34
PenguinCSCI have a small computer technicians lab. I want to install a server to serve as a VM Machines and file sharing11:46
PenguinCSCanyone can point me to a good step-by-step guide?11:46
melmothPenguinCSC, https://help.ubuntu.com/community/KVM/ for the vm part11:50
melmothPenguinCSC, for file sharing, it depends what you need. Easy option are nfs ,apache or ftp.11:51
=== th0mz_ is now known as th0mz
D0minat0rHello everyone! Does nyone know if its possible to make rar arhcive on ubuntu server?12:53
D0minat0rI got Sample.mp3 that i want to make to Sample.r1 Sample.r2 and so on, like a scene released is packed12:54
RoyKD0minat0r: 7z supports rar13:02
sandstromSomething on my machine is sending emails, `/var/log/mail.log` shows about 1 attempt per minute, how can I investigate?13:03
=== gary_poster|away is now known as gary_poster
RoyKsandstrom: can you pastebin some logs?13:06
sandstromRoyK: yes13:07
sandstromRoyK: http://pastie.org/private/cfamt4poa1mil8m3gjblg13:08
RoyKhm... dunno, sorry13:09
sandstromRoyK: there is a sendmail process started every minute, can I run some commmand that shows what script/process initiates sendmail?13:09
RoyKcheck cron13:10
sandstromRoyK: It's not a cron job13:12
melmothsandstrom, what does the logs says ? you should have a sender adress there.13:13
RoyKdunno, then - I don't use that MTA13:13
melmothas well as a recipient13:13
RoyKmelmoth: doesn't look like sSMTP even logs that13:13
* RoyK sticks to postfix13:13
melmothahh, ssmtp. this will not help :)13:14
sandstromI tried disabling the cron scripts under `crontab -e` and it keeps trying to send. But perhaps I shouldn't rule out cron entirely, it could be the cron job of some other user too.13:14
melmothcan you send mail with ssmtp ?13:15
melmothmay be it s doing this for each and every mail ?13:15
melmothand may be the error message that should be bounced got trap in an infinite loop this way or something ?13:16
sandstromI just got this `www-data 29488  0.0  0.1  32648  1960 ?        S    Apr02   0:00 /usr/sbin/sendmail -i -FCronDaemon -oem www-data` off ps aux13:16
melmothlooks like a web application is trying to send mail (www-data)13:16
melmothi wonder what the -F option is for13:16
RoyKsandstrom: check /etc/cron*13:18
RoyKor perhaps try to stop cron for a few minutes13:19
sandstromI've shut down the webserver, that didn't make any difference. I've also checked /etc/chron* and found nothing13:29
sandstrom(there are a few cron scripts, but nothing that would explain this)_13:29
RoyKdid you try to stop cron?13:30
sandstromI'll try13:30
sandstromStopping cron seems to shut it down13:33
RoyKthen there's a cron job running every minute :P13:33
RoyKcron is configured under /etc/cron* and /var/spool/cron/crontabs/13:33
_rubenprobably a crontab for user www-data .. got some devs who tend to put stuff there as well .. annoying as fuck13:39
IdleOne_ruben: No need for swearing.13:40
_rubenheh .. got me confused there a bit .. somehow i read that as "no need for answering" .. guess i need me some glasses :)13:41
sandstrom_ruben: RoyK I think you are right, I'll investigate further13:42
IdleOnehehe, no. Please answer allthe questions you like13:42
_ruben;)13:43
IdleOnesome of the ones you don't like also, just keep it clean :)13:43
sandstrom_ruben and RoyK Thanks, it was indeed a crontab for www-data, it's squelched now. Your help is much appreciated!13:48
_rubengood :)13:53
zulDaviey: im going to re-upload python-pecan with a fixed debian/copyright this ftbfs for ceilometer is starting to bug me14:03
D0minat0rAnyone knows any good video splitter for ubuntu server?14:04
Davieyzul: there is a new dep that yolanda is working on aswell14:04
zulDaviey:  w3m?14:04
Davieyhah, no14:05
Davieyit's in her PPA.. maybe she needs sponsorhsip?14:05
zulis the the one i reviewed on friday?14:05
Davieytalk of the devil14:05
yolandai reboot a minute and i loose all the fun :)14:07
yolandazul, yes, the python-wsme dep14:07
zulyolanda: cool which ppa is it in?14:07
yolandazul, it's only the source in my launchpad branch14:07
zulyolanda: heh url please im kind of lazy this morning :)14:08
yolandahttps://code.launchpad.net/~yolanda.robla/+junk/python-wsme14:08
zulcool thanks ill get it uploaded today14:13
yolandagreat14:34
=== slank_away is now known as slank
huttanAnyone here who are familiar with configuring ldap server/clients? I have some problem with shared sudo authentication14:51
therianthropeHey there. I am here to see if there is a way to report abuse and get information about a user of try.cloud.ubuntu.com who connected to my IRC network and compromised some NickServ passwords.15:20
therianthropeWe have dates and times of the attack, as well as IP and Hostmask. Who can we contact for an abuse report?15:21
patdk-wkthis is normally why there is an abuse address for ip addresses15:24
therianthropeThe user was using a try ubuntu cloud account. The abuse contact was AWS.15:25
patdk-wkah, it's hosted in ec215:26
therianthropeAWS provided no help, saying they don't control the IP in question.15:26
therianthropeDoes canonical have an address I can contact for people spawning these free trial servers and committing abuse against our IRC network? We have banned access from them, but this user needs to be delt with.15:27
therianthropeIs there any abuse address for the service?15:30
zultherianthrope: you might be able to use the feedback form15:41
=== matsubara is now known as matsubara-lunch
RoyKtherianthrope: I beleive #freenode is a good place to start15:44
therianthropethis has nothing to do with freenode.15:44
therianthropeThis user abused -my- IRC network, from -your- service.15:45
RoyKoh15:45
RoyK*your* network15:45
* therianthrope nods.15:45
Myrttifrom Canonicals service15:45
RoyKusually abuse@isp.tld15:45
Myrttinot "our"15:45
iljhi, I was wondering how to interpret {a} in linux-headers-3.2.0-34{a}. I see that when I do aptitude install linux-headers-3.2.0-34. When I was removing other kernels, aptitude sweeped 3.2.0-34 as well and showed it as linux-headers-3.2.0-34{u}. What do {a} and {u} mean?15:48
the_ratHello. I'm setting up a KVM machine with vmbuilder but I get a problem16:37
the_ratI run vmbuilder and it creates the qcow2 files, but it doesn't define a domain. I can't see it in virsh list --all16:38
the_ratThe command I run is something like: sudo vmbuilder kvm ubuntu --suite precise --flavour virtual --arch i386 -o --ip 192.168.42.180 --hostname davide --part vmbuilder.partition --user davide --name davide --pass pass16:39
the_ratI don't even know where to start debugging this. I see no error logs16:39
=== matsubara-lunch is now known as matsubara
the_ratOk, this is the output from vmbuilder: http://paste.ubuntu.com/1609761/17:19
zuljamespage:  ping https://code.launchpad.net/~zulcss/keystone/keystone-ftbfs/+merge/14648217:59
ruben231hi guys how do i install ldap dependency..? or development..?18:38
ruben231anyone have idea18:39
adam_gDaviey: jamespage i'd like to put together the next round of openstack SRUs today. was it decided whether we want new ubuntu bug tasks for upstream bugs? re-reading discussion in #Ubuntu-release last week, seems like it can still go either way18:51
ruben231hi guys how to install ldap dependency with ubuntu server 12.04 LTS18:53
jck77anyone with knowledge on Tandberg tape backups ? TS400 ?19:12
zuladam_g: ping https://code.launchpad.net/~zulcss/keystone/keystone-ftbfs/+merge/14648219:14
RoyKjck77: isn't that lto-2?19:18
hallynroaksoax: hey!19:19
hallynroaksoax: could I get you to take a look at, and consider sponsoring, http://people.canonical.com/~serge/spice-tests.debdiff ?19:19
jck77RoyK: yes19:20
jck77I thing I just figured out19:20
hallynroaksoax: this could be the last step in getting spice MIRd so we can watch beautiful video from qemu from main19:20
adam_gzul: thought i approved ?19:20
jck77think*19:20
RoyKjck77: what backup software?19:20
zuladam_g: ah ok i didnt see it19:21
jck77bat19:22
jck77but I can't see the tape on the GUI19:23
patdk-wkbat?19:23
jck77bacula19:24
RoyKtry #bacula19:24
jck77thx19:25
jamespageadam_g, new ubuntu bug tasks are not required.19:30
* jamespage looks at bug bug 106959719:31
uvirtbotLaunchpad bug 1069597 in juju "juju, zookeeper, and disk usage" [High,Confirmed] https://launchpad.net/bugs/106959719:31
adam_gjamespage: i know they are not required, but do we want them? im looking at the new stable nova release, there are 0 bugs with ubuntu tasks.19:32
adam_g(assuming we tag anything we open v-done)19:33
jamespageadam_g, no - under the terms of the MRE they are not required :-)19:33
jamespageit sufficient to generate the changelog and reference the bugs but not actually close them19:33
jamespageadam_g, if that makes any sort of sense19:34
Davieysmoser: Hey.. If i wanted to run cloud-init on first boot from a d-i install, with a preseeded config (nocloud).. [what work do you think would be involved?19:36
smoseryou'd have to buy me a beer.19:37
smoserare you asking how you woudl write the 'nocloud' datasource ?19:37
Davieysmoser: no.. I'm asking for a d-i preseed to JFDI ;)19:37
smoserso you want to input a blob of cloud-config to d-i ?19:38
Davieysmoser: I wonder how well cloud-init works with a d-i install19:38
Davieysmoser: No, i want to pre-declare during d-i some code to run on first boot.  With cloud-init being the harness19:39
adam_gjamespage: by that you mean, continue to include bot parsable bug references in the changelog?19:39
Davieysmoser: ie, run cloud-init on first boot, with a pre-provided datasource.19:40
smoserright. so this is essentially a combination of how maas interacts with cloud-init19:40
Davieysmoser: yeah!19:40
smoserand how i was invoking the fast path installer19:40
jamespageadam_g: yes - so if a end-user wants to check the openstack project bug report out thats fine19:42
jamespageso (LP: XXXXXX) rather than (LP: #XXXXXX) which would also generate a Closes19:42
jamespageadam_g: I think most ubuntu based terminals will understand how to link to that :-)19:43
adam_gjamespage: still unclear to me, sorry. we want bugs /w no ubuntu task to use the (LP: XXXXXX) format and those /w ubuntu tasks to use the (LP: #XXXXXXX) ?19:44
Davieyadam_g: If there is already a ubuntu bug task then give it a proper closes statement, if there isn't a ubuntu bug task... then use the fake format19:45
Davieyadam_g: Ie, don't open tasks purely for SRU procure  - creating noise19:45
Davieyadam_g: "Nova fails to properly initiate iptables on centos" wouldn't require a ubuntu task.19:46
Davieyjamespage: That is your understanding, right?19:46
Davieyadam_g: As we already poll LP with the tooling we wrote, it shouldn't be that complicated, right?19:47
smoserDaviey, it can work. and we can/should make the nocloud datasource be selectable all from config.19:47
=== matsubara is now known as matsubara-afk
Davieysmoser: do you have capacity to write a quick standalone preseed demoing this?19:48
jamespageadam_g, Daviey: yes that is my understanding19:48
smoserDaviey, i can. give me a minute to finish up what i was working on19:49
sweetteaAnyone know how to increase the number of written leases on a dhcpd server?19:49
Davieysmoser: thanks :D19:49
adam_gDaviey: right, its a tiny change. my concern is whether or not a proposed SRU with *no* related ubuntu bug tasks actually shows up on the SRU radar (except the meta-bug, if we still do that?)19:51
sweetteaI think my dhcpd server is not sending out more addresses b/c of a limitation the dhcp.leases file has19:52
sweetteadhcpd: Wrote 200 leases to leases file.19:53
sweetteathe range is much higher19:53
sweetteabut it always writes only 200 leases on this file19:53
RoyKjck77: bacula is a great backup system, but is has a rather steep learning curve20:02
DavieyI think we are still doing the metabug, jamespage ^ ?20:03
jck77RoyK: I can see20:08
jck77a lot of doc to read20:08
RoyKjck77: yes, or ask on #bacula - specific questions are usually answered quickly20:09
yolandai have a new nice template here: http://serverteam.ysoft.biz/ - comments, proposals? i will only accept the nice ones :)20:14
patdk-wkyolanda, sadly, that hurts my eyes20:18
TheLordOfTimewhat patdk-wk said20:18
hallynroaksoax: uh, on second thought, please DISREGARD my request about spice20:20
genii-aroundI thought perhaps someone in here may know... If I have some old telco stuff someone wants to pick up for free, is there a good channel to announce that in on freenode?21:00
genii-aroundeg: Norstar ( Meridian) NT5B20 wallmount with DR5 module.. Bayly OMNIflex 19" rackmount with T1 Quad card 051539, one PairGain HRU-402 HDSL endpoint card in single card enclosure box, one ADC H2TU-R-402 HDSL endpoint card in double card enclosure box.21:01
jaimevg123Buenas, sucede lo siguiente: Ando en la configuracion de una VPN utilizando openVPN sobre ubuntu 12.04, no es la version server pero ya esta adapatado y tiene un server funcionando sobre el. Para la configuracion de la VPN he seguido el siguiente manual (http://www.deigher.com/2012/07/instalar-openvpn-en-ubuntu-12-04-lts/), todo marcha bien, tanto el server como los clientes los he configurado y me generan la interfaz tun0, a la hora de llevar a c21:40
jaimevg123Correcion: he intentado solucionarlo pero sigo .... (Si he intentado)21:41
sarnoldjaimevg123: try #ubuntu-es ?22:00
jaimevg123sarnold, I tried that, no one gives me solution22:03
jaimevg123really, I need to fix this. If I have to speak in another language I'll try22:04
sarnoldjaimevg123: can you restate the problem in english? (your english is better than my spanish :)22:04
jaimevg123mmm ok wait22:04
jaimevg123I set up a VPN with OpenVPN. I follow the current system configuration of a server, given by the official documentation canonical, (https://help.ubuntu.com/11.10/serverguide/openvpn.html), I set the keys for the server and one client. When you reboot after changing openvpn server.conf and client.conf files generated tun0 interface. I try to initialize openvpn with the following in the terminal: openvpn server.conf and get the following: http://pas22:12
sarnoldjaimevg123: you were cut off at "get the following: http://pas"22:12
jaimevg123mmmm22:13
jaimevg123the following  http://paste.ubuntu.com/1610433/ . I tried to resolve it, but I could not. If anyone has any comments, ideas, or possible solution thank you very much22:13
jaimevg123when I try to make the connection between the server and the client, the client is trying to make the connections infinitely. Both are under Ubuntu 12.0422:15
sarnoldjaimevg123: rather than "openvpn server.conf" -- try /etc/init.d/openvpn restart22:17
jaimevg123I did that before openvpn server.conf22:18
sarnoldjaimevg123: why are you running "openvpn server.conf" by hand? you should let the initscript do everything for you..22:21
jaimevg123If you're right, but I have not been able to establish the connection and I'm trying everything.22:23
sarnoldjaimevg123: "TCP/UDP: Socket bind failed on local address [undef]: Address already in use"22:24
sarnoldjaimevg123: that says to me that the program is already running -- and trying to run another copy of it has failed22:24
sarnoldjaimevg123: I recommend, /etc/init.d/openvpn restart -- then try to connect with a client -- then look in the openvpn server logs for errors22:25
jaimevg123ok y try22:25
jaimevg123I try22:25
jaimevg123sarnold, look http://paste.ubuntu.com/1610574/22:29
jaimevg123but still can not make the connection between the server and the client.22:31
sarnoldjaimevg123: have you tried connecting a client yet?22:31
sarnoldjaimevg123: does the client provide any good logs? or an error message?22:31
jaimevg123tun0 interface generates me, but I have not looked at the syslog22:34
macoi followed this wiki page https://help.ubuntu.com/community/PostfixBasicSetupHowto and can now send and receive email from the command line (but haven't figured out how to specify which of my domains to use on the From when  using the "mail" command) or receive over imap to my phone, but i can't send from my phone through my server22:35
maconetstat only shows unix sockets for smtpd, not any tcp sockets22:35
macohow do i fix postfix to let me send email with my imap'ified phone?22:35
ikoniamaco: postfix is just an smpt server, it's not an imap server22:49
macoikonia: courier-imap is doing the imap side of things22:49
sarnold.. but not being able to send is still postfix's fault :)22:50
macomy attempt at sending from phone through postfix went belly-up22:50
ikoniaI may have missunderstood, what's the issue22:50
macophone autodetected 587 as the port22:50
ikoniamaco: what do you get, failed connection, a bounce etc22:50
macophone says "cannot connect to server (cannot connect to host)"22:51
zulhallyn: i figured out the cause of that kernel-oops with qemu-nbd its a race in openstack22:51
ikoniamaco: is postfix listening ?22:52
macommm nope apparently not. how do i make it listen then?22:52
ikoniamaco: in the config file is it set to listen on the default port 25 ?22:53
macoikonia: would that be main.cf or master.cf?22:54
ikoniaooh good question, I'd guess master.cf but I'd have to check22:54
macoi dont see anything about ports in either of them22:54
ikoniamaco: lets do an easy test, "telnet localhost 25"22:54
macoikonia: i did do that one yesterday and had it work, as i was going through the wiki page22:55
ikoniamaco: is it working now ?22:55
macoyup22:55
ikoniacool, so there is an smtp daemon listening22:55
ikoniamaco: so set your mail client to send via port 2522:55
ikoniawhat happens22:55
macoikonia: cannot connect to server. (no valid authentication mechanism found)22:56
macothat's with "authentication" set to "automatic"22:56
macoanything else says "authentication not enabled" if i try it22:57
ikoniahave you set up any auth22:57
ikonia(just scanning the wiki for what you've done)22:57
macobeyond setting a unix password?22:57
ikoniamaco: just reading won't be a second23:01
ikoniamaco: as I'm reading that guide, the only auth I see setup is the ip range locking23:02
ikoniamaco: looks like it's only going to respond to "mynetworks" in that example23:02
ikoniamain: have you set the internal network range correctly23:02
macoikonia: i left it at the default. it didnt make sense to me to set it to include all the internal ips in rackspace...23:04
ikoniamaco: that's valid23:04
ikoniamaco: so that config is only going to repond/relay mail from anything in "mynetworks"23:05
ikoniamaco: so you'd need to open it up, but then setup a user/auth system to stop it being relayed23:05
ikoniathrough23:05
macoto avoid having one of those open relays that scared me into not setting this up two years ago when i got the domain?23:06
ikoniamaco: ok, so there are two things here (apologies if I'm underestimating your mail awareness)23:06
ikoniathere is getting mail - and sending mail23:06
macomy mail awareness is "open relays are how your server gets blacklisted as a spammer"23:07
ikoniathe domain is good for "getting" mail, and for acting as a relay, eg: I'll only relay mail for that domain23:07
ikoniahowever in terms of acting as a sender authentication method on the public internet, a domain won't really work (in your setup)23:07
hallynzul: what was it?23:07
ikoniamaco: basically what you've got there (from reading that config)23:08
zulhallyn: nova was destroying the container while its still running23:08
ikoniamaco: is anyone can connect to your mail server to send mail to it....which is good, but only the people in mynetwork can connect to it to realy/send mail out of it23:08
macoikonia: i just mean i wouldve liked to have user@mydomain a while ago but shied away from it because id heard how easy it is to accidentally make an open relay and i didnt want to get in trouble23:08
ikoniaahhh23:08
hallynso actually doing rm -rf of the rootfs contents whiel it was running?23:08
hallynzul: but really libvirt-lxc should be asked to create the container without the rootfs being in the namespace on the host...23:09
ikoniasorry, thought you where suggesting using your domain as an auth model23:09
hallynzul: you have a fix then?23:09
zulhallyn: agreed...i need to think about it23:09
zulhallyn: probably umount the rootfs but not kill the qemu-nbd23:10
hallynzul: oh nova kills the qemu-nbd?23:10
zulyeah23:10
zulhallyn:  it umounts then disconnect the qemu-nbd soo still thinking23:11
hallynzul: there's no simple way to have nova not delete the container while it's running? :)23:11
zulhallyn: yeah23:11
zulit only affects qemu-nbd not lvm though23:12
hallynzul: right, without the qemunbd process, the container gets hung (i assume) not able to read from disk.  with lvm, you have pins to keep things from unreasonably going away23:13
zulhallyn: exactly23:14
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster

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