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

=== Manu is now known as Guest13916
=== Guest91934 is now known as Neozonz
Guest13916a00:11
=== Guest13916 is now known as Umanu
Teduardoanyone here have grizzly working on 13.04?00:39
LargePrimekevireilly: If you have a moment00:45
LargePrimecan i PM you00:45
izanagisanhi all. I have a quick doubt: just noticed Ubuntu-Server 12.04 installs the LAMP stack with php 5.3.10 instead of the latest php401:15
izanagisanerr01:15
izanagisanI mean01:15
izanagisanoh, ok, I misread01:15
izanagisaneverything's ok01:15
izanagisanthought it installed php4 instead of 501:15
LargePrimeThe following command is duplicating the final source dir under the destination dir.  can you say why?01:59
LargePrimescp -r /home/user/stuff/ auth@ip.that.i.have:/home/user/stuff/01:59
LargePrimeit ends up in /home/user/stuff/stuff/02:00
sonofzeusI just installed phpmyadmin on ubuntu desktop and at the configuration screen I just clicked ok without selecting apache2 or lightppd whereas I've to select apache2 now how shall I select apache2?02:01
sonofzeusAnyone?02:01
hachrethe menu?02:03
hachretry dpkg-reconfigure phpmyadmin02:04
hachrewith sudo if you arent root02:05
hachresonofzeus02:06
sonofzeusIm here02:06
sonofzeussorry02:06
hachrehehe no worried, just wanted to trigger your highlighting by saying your nick in case you were coming back later ;)02:07
hachreworries*02:07
tsimpsonLargePrime: -r copies directories, so you're asking it to copy over the /home/user/stuff directory02:07
sonofzeusTheres a red cursor and how shall I select apache202:08
sonofzeusIm kinda new to this stuff02:08
hachretab, cursor keys enter02:08
sonofzeusOh no its not working02:09
sonofzeusI cant select apache202:09
hachrespace if it is a checkbox02:10
hachreto check it02:10
sonofzeusThanks :-)02:10
hachre:)02:10
Teduardoanyone here built an openstack deploy on 13.04 yet?02:11
sonofzeusYay it worked love ya hachre02:12
hachrenp ;D02:12
=== LargePrime is now known as Guest78285
=== LargePrime_ is now known as LargePrime
LargePrimetsimpson: So it will append the Dir onto the end of the destination.  ok GREAT.  thanks02:52
LargePrimeI am doing a stupid file copy from one file server to another file server03:01
LargePrimevia ssh03:02
LargePrimeis there a way to do this so that if my connection is interrupted it will complete?03:03
mardraumuse rsync03:03
ia0001anyone know anything about webservers03:04
mardraumthey serve web pages03:04
ia0001yeah why cant i connect to it from my Android03:04
ia0001i did port forwarded03:04
LargePrimethanks mardraum03:05
sonofzeusHi there03:08
sonofzeusAnyone here uses phpmyadmin?03:08
sonofzeusI'm facing the privileges bug , any fix or workaround?03:08
ia0001i use phpmyadmin whats the problem03:45
ia0001dont let anyone use phpmyadmin but you03:46
ia0001refresh your browser and clear your data03:46
sonofzeusHey there03:58
sonofzeusI edited something in terminal using nano how shall I save it?03:58
=== TheLordOfTime is now known as LordOfTime
=== LordOfTime is now known as TheLordOfTime
=== Katafalkas_ is now known as Katafalkas
dan2077Hi, I'm trying to create a screen session with a bash one-liner. Can someone help me?11:13
RoyK!ask | dan207711:17
ubottudan2077: Please 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 !patience11:17
dan2077I'm trying to exec a bash one-liner while starting screen. After entering this cmd, no new screen seems to have been created: http://pastebin.com/v2hD8dH711:32
RoyKnot sure - sorry - perhaps others my know11:36
zastaphby default ubuntu has myserver in /etc/hostname and 127.0.0.1 localhost; 127.0.1.1 myserver in /etc/hosts .. I need a fqdn for Postfix though (just local network) so I do 127.0.1.1 myserver.local myserver .. however other computers on the LAN can only see myserver not myserver.local .. Naturally because the hostname is the only thing added to my routers DNS by default.. what would be12:16
zastaphthe natural way to make other computers see the fqdn too?12:16
=== Ursinha-afk is now known as Ursinha
rbasakzastaph: for .local? Install avahi-daemon to advertise your hostname with .local on your LAN. But note that this is Zeroconf, which is a slightly different concept from what your system's FQDN is (which it looks like you've done correctly).13:23
rbasakOr alternatively perhaps your router will do the right thing if configure your DHCP client to send the FQDN as its client identifier.13:25
bjensenI want to make it very easy to get a physical box up and running. I have chef configured. Once I get a fresh ubuntu 12.04 with network connectivity, its all non-interactive. But I need to get ubuntu lts 12.04 server installed from scratch. Im thinking usb boot non-interactive with predefined settings on partitions etc, does anyone have pointers on which tools / direction I should go?13:27
RoyKyou can't do an interactive install?13:28
bjensenRoyK: sure I can, but I want to be able to not do it.13:28
RoyKtried googling it_13:29
RoyK?13:29
bjensenThe best solution would be to be able to pop in a usb stick and hit reboot and select the  usb as boot device  and then done13:29
bjensenRoyK: Ive googled and found ubuntu-builder and remastersys (not being actively developed anymore). So I came here for advice13:30
zastaphrbasak, interesting. Didn't hear about avahi or zeroconf before now. I would like both myserver and myserver.local to be advertised on my LAN. usually I just access by myserver. myserver.local is only because some apps require a fqdn.13:31
=== Ursinha is now known as Ursinha-afk
zastaphrbasak, if I choose the alternative solution, where would I configure my DHCP client in ubuntu server ?13:35
rbasakzastaph: define "advertised on my LAN". If you want to advertise using Zeroconf, by spec the name ends in .local.13:35
zastaphwell advertised to my router13:36
rbasakAFAIK, you can't advertise just a hostname. But I suppose you could add .local to your search list at the client end13:36
zastaphyes but then I would need to do that on all my computers right? the point is to avoid that.. all my computers can ping whats in any other computers /etc/hostname as is13:36
rbasakDHCP client identifier configuration is in /etc/dhcp/dhclient.conf I think13:37
rbasakPerhaps its host-name that will help you, rather than dhcp-client-identifier13:38
rbasakbjensen: look into "preseeding".13:39
RoyKbjensen: https://help.ubuntu.com/community/Installation/UnattendedCD ?13:40
bjensencool thanks guys Ill check it out13:41
RoyKbjensen: that was my first hit on google :P13:42
bjensenRoyK: you googled unattended?13:42
RoyKI googled "ubuntu unattended install"13:42
bjensenthe hard part, when using google, is knowing what to google for13:42
bjensenI googled ubuntu usb install non interactive13:42
bjensen:p13:42
patdk-lapisn't this what preseed was made for?13:43
bjensenpre seeding seams to be what I am looking for :)13:44
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
mwcampbellI know that libvirt sets up a NAT'd local network on the virbr0 interface. What if I want to allow incoming connections from one of the host's IP addresses to a VM on that NAT'd network? Do I need to set up iptables rules myself, or is there a tool I should be using to do that?14:00
mwcampbellFWIW, I'm using ufw as my firewall. This is on Precise.14:00
zastaphbjensen, vagrant ?14:05
bjensenzapotah: I use that in my dev environment yes, but the questions in here aren't for vagrant :)14:06
mwcampbellWith libvirt on Ubuntu Precise, I'm trying to figure out how to forward incoming connections on the host to a guest on the NAT'd network. The libvirt wiki has a hack based on a libvirt hook script. Is there any better option?14:26
RoyKmwcampbell: why not use a bridge instead of nat?14:39
mwcampbellRoyK: because our dedicated server hosting company (ServerBeach) won't allow that. It has to be NAT.14:41
patdk-lapmwcampbell, use proxyarp instead15:16
patdk-laplikely the issue with the hosting company is they locked the ip to a specific mac15:16
patdk-lapso bridge wouldn't work, but proxyarp looks the same as nat to them15:17
Teduardoit's likely that they actually are using BPDU guard on the port15:18
Teduardoand when you send a BPDU to the port they shut your interface down15:19
mwcampbellpatdk-lap: No, I don't think that will work either. I've allocated a secondary IP from the hosting company for the VM, but the secondary IP is on a different subnet from the primary, and I haven't been assigned a gateway on that secondary subnet. So I think they assume that I'll only use the secondary IP as an alias (eth0:0)15:20
patdk-lapthat also15:20
patdk-lapwho said you needed a gateway?15:20
Teduardowhy don't you just have them route like a /29 to your server's external interface and then just setup a router on your server?15:21
patdk-lapwhen you setup the ip on the vm, use your machine as the gateway15:21
Teduardoor you can even do this via NAT15:21
patdk-lapteduardo, ya, they wanted him to do nat15:21
patdk-lappersonally I would avoid nat all chances you get15:22
Teduardothe other option in all of these cases is "or find a host that will"15:22
Teduardothere are 30000 hosting companies15:22
patdk-laphmm15:23
patdk-lapif the subnet is not directly on the lan15:23
patdk-lapthen they have to route the ip to you15:23
patdk-lapin that case no nat or proxyarp is needed15:23
TeduardoWell, one IP obviously has to be on the LAN otherwise he can't get to the internet15:23
patdk-lapjust have the host route that ip to the vm's nic15:23
patdk-lapya, but that ip is on the host15:24
Teduardoyes, but the gateway is most likely also on the same LAN15:24
patdk-lapit's the ip for the vm he is having the issue with15:24
patdk-lapyes as the host ip15:24
patdk-lapif he uses is host as the gateway for the vm, no issue15:24
patdk-lapeitherway it will be using his host anyways15:24
mwcampbellI'm guessing that in any case, I can't continue to use ufw as the firewall on the host.15:26
patdk-lapnow you will have to create your own static routes on the host and vm for that to work, but it's simple15:26
patdk-lapthis has nothing to do with ufw15:26
patdk-lapif you purely route it15:26
patdk-lapjust set a route up, on the host to the ip to your vm15:26
patdk-lapon the vm, you need to add a route to your host ip, and a default route15:27
patdk-lapthen just configure ufw to forward packets for your vm ip15:27
mwcampbellHmm, doesn't seem any less complicated than NAT.15:28
patdk-lapbut completely transparent, unlike nat15:29
mwcampbellThe guest OS is Windows. I'll want to keep the networking as simple as possible guest-side.15:30
Teduardowhat is the host os?15:32
mwcampbellUbuntu Precise15:33
mwcampbellI wouldn't be asking on this channel if it weren't :)15:34
mwcampbellAnd yes, I wish I was working with a hosting comapny that would provide us a /29. Not my decision.15:37
mwcampbellI think I'll just figure out how to forward incoming connections to the guest using NAT.15:38
jacobwIt sounds like your doing SNAT to map the addresses of connections originating the private network to the public IP15:39
jacobwTo map connections to the public IP to addresses in private network you need to do DNAT15:40
jacobwCheck out this page, http://www.frozentux.net/iptables-tutorial/chunkyhtml/x4033.html15:41
Teduardomwcampbell: if you dont want to do that just like i said have them route a /29 to your box, then just put one of the IP addresses of the /29 on the interface facing the virtual machine and then have the virtual machine use that IP as the gateway15:43
mwcampbellCan I add rules to the FORWARD chain (in the filter table) using ufw?15:49
mwcampbellAlso, does ufw touch the nat table at all? It doesn't look that way15:49
jdstrandmwcampbell: ufw allows you to use the forward chain, but the cli command doesn't manage it. see 'man ufw-framework' for how it all works together15:52
ia0001anyon know why io15:56
jacobwmwcampbell: IMO, iptables is simpler than UFW, integrations aside.16:06
ScottKjacobw: ufw is just a front end for iptables, so that statement doesn't parse.16:07
jacobwI think that iptables is simpler in cases that UFW isn't designed to cover, and that it's simpler to detail with iptables directly except in cases that UFW covers.16:12
ScottKThat makes sense.16:12
ScottKUse UFW for the stuff it was designed for and not other stuff.16:13
jacobwScottK: Yeah16:17
=== pug is now known as Guest89428
=== Guest89428 is now known as DaveR
=== VD is now known as Guest7211
Questcan I install applications on windows clients with a linux server, just in a way that active directory and domain control system does by the aid of a windows server? if not (most probably) are there any work arounds?20:07
Quest1. can I install applications on windows clients with a linux server (to all clients at once with a single instruction), just in a way that active directory and domain control system does by the aid of a windows server? if not (most probably) are there any work arounds? 2. how to do all that if the clients and server are both linux based? (that would be easy i guess)?20:41
daveyghi all20:41
sarnoldQuest: you may wish to check serverfault.com to see if anyone has asked the same question and gotten any good answers20:43
sarnoldQuest: it feels like you need a larger audience to find an answer to that question20:43
Questsarnold,  hm. what about 2.?20:45
sarnoldQuest: ah, for linux clients you could use landscape or parallel ssh tasks or salt or cfengine (does anyone still use cfengine?) or puppet or chef..20:47
LargePrimewhat i hate about linux is lack of choice20:48
Questsarnold,   i can ssh multiple clients from server at the same time and run a command that runs on all clients?20:50
sarnoldQuest: yes, there's a pile of tools to help there, you can either just shell-script it, but you probably want to go the next level and use a tool like pssh20:51
Questsarnold,20:52
Quest as i see the strategy, i make a user account with same name and password on all clients. and run multi-ssh command from server and it will run on all clients.? how can it be done?20:52
jacobwPuppet20:52
jacobwMCollective, even.20:52
sarnoldjacobw: nice, the description looks perfect20:53
sarnoldQuest: parallel ssh things are nice when you've got a cluster of machines that all work identically. it's a little less awesome if you've got heterogenous machines that might be up or down or different configurations, at which point a real tool like puppet or chef or mcollective or landscape would be a better choice.'20:54
jacobwIt'd be a lot better to use a key in that case.20:54
sarnoldQuest: are you using ssh keys yet?20:55
jacobwIf Puppet's Exec resource or MCollective, or even a cronjob that sends it's output to you doesn't work, you could ensure the user and SSH key quite easily with Puppet and use SSH in a for loop or whatever.20:57
Questsarnold,  i have clients on lan actually. (may be a wan access be needed later in future) so i wont need to get each clients ip individually to us pssh, mssh, mussh?       and 2.  which one do you recommend  in pssh, mssh, mussh?20:57
jacobwDon't overlook cronjobs and root mail :)20:57
Questsarnold,  iam just using ssh by passwords20:57
sarnoldQuest: okay do yourself a favor and go read about using ssh keys :)20:58
sarnoldQuest: they are far more convenient _and_ safer. It'll take perhaps an hour to read about it and set one up, but believe me, it is an hour well-spent.20:58
Questsarnold,  i know what ssh keys are.20:59
sarnoldQuest: I haven't used a parallel ssh thing in years, no idea which one is nicest these days20:59
jacobwfor i in host1 host2 host2; do ssh-copy-id foo@$i; done;20:59
jacobwclusterssh is a PITA21:00
jacobwhttps://github.com/capistrano/capistrano21:01
Questif i have many clients on lan. and i want to ssh 2 or 3 by Wan, is there a way? as 22 port can only be forwarded to one lan ip at a time?21:03
sarnoldQuest: I'd just nominate one host to the 'master' and have it do all the other work21:04
jacobwForward 22 to 22 on A, 23 to 22 on B, 24 to 22 on C21:04
jacobwOr just run sshd on different ports on each host in the private network21:05
Questjacalvo,  or just connect to on host and doo all the stuff by that host21:05
Questas you would be inside lan when connected to the host21:05
Questas sarnold  said21:06
jacobwThat's true, but you'd be be relying on one host being up to manage the others :)21:07
sarnoldusually not a bad assumption, even my little pandaboard is up for months at a time21:08
sarnoldbut having a backup would be very reasonable and prudent21:08
Questhm ok21:09
Questif i have many clients on lan. and i want to ssh 2 or 3 by Wan, is there a way? as 22 port can only be forwarded to one lan ip at a time?21:09
Questso. iam correct21:09
jacobwHmm, I like my management channels as direct as possible.21:10
Questjacalvo,  hm21:10
Questjacalvo,  have you used any multi ssh apps?21:10
jacobwQuest: I've just been through that.21:10
Questoh21:10
Shogoottrying to get my domain up and go, but i get this when i restart apache2, can anyone help me troubleshoot this?21:10
Shogoothttp://paste.ubuntu.com/5613867/21:10
sarnoldQuest: please be careful with your tab-completion :) jacalvo is someone other than jacobw :)21:10
Questdo i need to give ips for alll cllients while multi sshing?21:10
Questoh ya21:11
jacobwQuest: Run sshd on different ports, or forward different ports from the public IP address to the private IP addresses21:11
Shogootmy hosts file might be a bit messed up http://paste.ubuntu.com/5613875/21:11
sarnoldShogoot: how are you trying to start apache? that looks like the startup script, not the errors...21:11
jacobwQuest: All private IPs listen on port 22, the public IP forwards port 22 to private IP A, port 23 to private IP B and port 24 to private IP C.21:12
sarnoldShogoot: oh that is essed up -- you need a 127.0.0.1 localhost line to be uncommented21:12
Questjacobw,  in my enviroment, i think runing all on 22 and making or two as master is suffice21:12
jacobwQuest: Check out DNAT21:12
jacobwQuest: It might be, that's your decision :)21:12
Questya. we already have complecations. nice suggestion though21:13
Questdo i need to give ips for alll cllients while multi sshing?21:13
jacobwIPs yes, public IPs, no.21:13
Shogootsarnold, sorry this is waht i meant http://paste.ubuntu.com/5613882/21:13
Questjacalvo,  i meant lan ips21:14
Questoops21:14
Questjacobw, ^21:14
jacobwSSH is a TCP based protocol, which requires IP.21:14
Questhm\21:14
jacobwThey need IPs, private or public doesn't matter as long as you can reach them.21:14
jacobwPrivate == LAN, public == WAN21:14
jacobwPrivate IPs are not routable on the Internet, public IPs are.21:15
Questhm21:15
Questjacobw,  which one do you recomend. pssh, mssh, mussh, or any other?21:16
sarnoldShogoot: DocumentRoot shouldn't be a specific file, it should be a directory21:16
jacobwQuest: Capistrano.21:16
jacobwQuest: Or just SSH in a for loop in Bash.21:17
sarnoldShogoot: you'll probably also need to fix the NameVirtualHost warnings, but I don't know enough about apache to recommend the solution there :)21:17
jacobwfor i in host1 host2 host3; do ssh root@$i "echo $HOSTNAME"; done;21:17
jacobwetc.21:17
jacobwDocumentRoot should be the directory where the index resides.21:17
Questjacobw,  why not the pssh, mssh or mussh then?21:18
jacobwhttps://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex21:18
jacobwQuest: I just don't know what they are.21:19
Questoh21:19
jacobwQuest: I've used clusterssh before, but it's a massive PITA21:19
=== LargePrime is now known as Guest20055
jacobwShogoot: Can you post the contents of the files in /etc/apache2/sites-enabled?21:22
Shogootsure21:25
jacobwShogoot: Also, is /var/www/index.html actually readable to Apache? (www-data user)21:26
jacobwShogoot: ls -l /var/www21:26
Shogootjust looking how i can apstebin all these files21:26
jacobwShogoot: have you changed any of them?21:27
Shogootno21:27
jacobwShogoot: I assumed that you'd added a new virtual host and it wasn't working21:27
sarnoldShogoot: check out the 'pastebinit' tool; it can make pastebinning things very quick21:28
Shogoothttp://paste.ubuntu.com/5613935/21:28
jacobwShogoot: OK, check that /var/www/index.html is readable to www-user21:28
Shogootdrwxr-xr-x  7 root  upload   4096 Apr 28 23:01 www21:28
Shogoot-rwxr-xr-x 1 smn  smn        177 Mar 20 21:22 index.html21:29
Questjacobw,  i need mostly used one and not a PITA21:29
Shogooti have to pastebinit all files of sites-enabled one by one. hold on.21:30
jacobwchmod 640 /var/www/index.html; chown smn.www-data /var/www/index.html21:30
jacobwShogoot: chmod and chown first, then see if it works.21:30
Shogootsorry did i miss a command?21:31
Shogootwhat shall i shmod and chown?21:31
Shogootchmod*21:31
jacobwShogoot: chmod 640 /var/www/index.html; chown smn.www-data /var/www/index.html21:31
Shogoot-rw-r----- 1 smn  www-data   177 Mar 20 21:22 index.html21:32
Shogootdone21:32
jacobwShogoot: Does it work?21:34
Shogooti restarted apache2 and no i get one line less o f warnings http://paste.ubuntu.com/5613952/21:35
Shogootand no it dont.21:35
Shogootor try to connect to www.cthulhuisevil.net :)21:35
jacobwOh, that's a different problem :)21:35
Shogoot?21:35
jacobwTest it from localhost, `w3m http://127.0.0.1/`21:35
Shogootthe server ahs astatic ip and the ip/index.html is working fine21:37
jacobwOK, check that the name resolves to the IP.21:37
Shogootbut.... how do i get apache to take the cthulhu.net and display the page via apache2?21:37
jacobwdig @8.8.8.8 -t A www.cthulhuisevil.net21:38
jacobwAlso, w21:38
jacobw..21:38
jacobwAlso, www.cthulhuisevil.net is not cthulhuisevil.net, although most DNS providers will point www. to your name for you.21:39
shaunoit may be worth noting cthulhuisevil.net and www. point to different addresses.  the first looks like a residential isp, the second looks like a domain shop21:39
shaunobah, too slow21:39
Shogoothttp://paste.ubuntu.com/5613974/21:40
jacobwIs the IP in the Answer section your static IP address?21:41
Shogootno21:41
Shogootand with oonly cthulhuisevil.net without (www.) i get answer cthulhuisevil.net.      3600    IN      A       188.126.194.14621:42
Shogoot  wich i smy public ip and not the servers static21:42
jacobwTry again with just cthulhuisevil.net, then try using just cthulhuisevil.net in your browser.21:42
Shogootcthulhuisevil.net/ gives me error 10121:43
jacobwWhat is the static IP?21:43
Shogoot192.168.1.16621:44
Shogootmust be my hosts file http://paste.ubuntu.com/5613988/21:44
jacobwThat's a private IP address, it's not reachable from the Internet21:44
Shogootim prettys ure your telling em something im not understaindig21:45
jacobwIPv4 has private address spaces, like 192.168.0.0/18 that you're free to use within your organisation (i.e. LAN)21:46
jacobwThese address spaces are not routable on the Internet21:46
jacobwYou need a public IP address to run a web server21:47
Shogooti understand taht, but where im using this wrong?21:48
Shogoot188.126.194.146 is my public ip, right?21:48
jacobwDoes the server listen on that IP address?21:48
jacobwIf your server is behind a router that happens to be NAT'd to 188.126.194.146, you won't be able to reach it from the Internet at 188.126.194.14621:50
qman__you need to use some form of NAT such as port forwarding to make that work; also keep in mind that many residential ISPs block ports 25, 80, and 44321:50
Shogootah so the clue is my router then.21:50
jacobwShogoot: Do you own that IP address?21:50
Shogoothmm not sure21:51
Shogootits my line wf that is what you mean21:51
Shogootits my line if that is what you mean*21:51
jacobwShogoot: You'd know if you did, if you don't own it, then it's owned by your ISP who use it as a NAT point21:51
jacobwShogoot: NAT is what allows many ISP users to access the Internet from a single public IP address21:52
jacobwShogoot: ISPs don't have a unique public IP address for each customer21:52
jacobwShogoot: IPv4 addresses have run out already, in fact.21:52
qman__yeah, that IP isn't assigned to you permanently unless you pay for it to be21:53
qman__and it may even be shared with other customers depending on how strapped for address space your ISP is21:54
Shogootso unless i buy my ip i cant get the domain host to route to my webserver correctly?21:55
qman__the answer is maybe, but not with the same level of service21:56
jacobwThat's right21:56
qman__if you don't pay extra for a static IP, it can change on you at an interval your ISP decides21:56
jacobwThat's not the problem21:56
qman__it also may or may not be controlled at your router, if it isn't, you can't do it at all21:56
jacobwThe problem is that port 80 isn't DNAT'd from the public IP address to the router21:57
qman__that assumes his router doesn't have the public IP leased to it21:57
qman__it might or might not be21:57
Shogootthis is on my router http://imageshack.us/photo/my-images/707/myrouter.png/21:57
qman__if those numbers were auto-filled by your router, you probably can port forward21:58
jacobwI'm happy with that assumption :)21:59
Shogootim 100% sure ive not changed those21:59
* jacobw → sleep21:59
shaunothat doesn't look like cgnat to me (good news), most likely you just need to look at port-forwarding.  http://portforward.com has instructions & screenshots for more routers than you'd believe21:59
shaunoand your error 101 when you try to connect from your own machine, sounds like you're trying to do https on port 80 rather than 44322:01
Shogootwhait waht... :) checking taht out22:01
Shogootohooh :) progress22:11
Shogootnow im getting a Forbidden wheni di cthulhuisevil.net22:12
Shogootthe port fowrd should be ok, now whyis this failing now?22:12
shaunothat's better news.  I'm reaching apache from the outside too.  so next step is to look in apache's logs to see what its complaining about now22:13
Shogootapache/error.log, right?22:13
shaunosounds familiar22:14
Shogootshaun22:16
Shogootshauno, http://paste.ubuntu.com/5614093/22:16
Shogootdid tail -f /var/log/apache2/error.log22:16
Shogoot[Mon Apr 29 00:15:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /var/www/22:17
Shogootthought jacobw sorted my rights.22:17
Shogootthe /var/ ls-l lokks like this drwxr-xr-x  7 root  upload   4096 Apr 28 23:01 www22:19
Shogoot and /var/www/ ls- l -rw-r----- 1 smn  www-data   177 Mar 20 21:22 index.html22:19
Shogootback in 10 min22:19
shaunoI think you've posted this already, but I can't seem to find it .. what's in /etc/apache2/sites-enabled/default  ?22:20
Shogoothttp://paste.ubuntu.com/5614130/22:28
shaunoI can't promise it's the problem, but line 9, I'm don't believe you should have a / after /srv/www22:30
shaunoer, /var/www rather22:30
Shogootchainging for        <Directory /var/www>22:34
Shogoot and restarting apache is not helping22:34
shaunosame error in error.log still?22:34
Shogootlet me check22:35
Shogootyes [Mon Apr 29 00:35:01 2013] [error] [client 127.0.0.1] client denied by server configuration: /var/www/22:35
Shogootshauno, look : http://paste.ubuntu.com/5614156/22:38
Shogootwhat i sthis line?= [Mon Apr 29 00:37:20 2013] [warn] RSA server certificate CommonName (CN) `SmnLpz' does NOT match server name!?22:38
shaunowell, you've got me confused.  'denied by server configuration' should mean there's something in your config that's denying that path.  but I don't see where22:48
Shogootim more confused believe me :)22:52
Shogootah, well... fuck this now, im going to sleep. thanks for your time shauno22:53
Shogootill insist on trying to find out this tomorrow22:53

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