[00:56] <Contigi> join #apache
[01:59] <spinez> hey guys was wondering if someone could help me troubleshoot why i can't connect to my apache server outside my local network
[01:59] <spinez> apache listening on all ports and port forwarding active.... ip address typed in correctly
[02:15] <Patrickdk> spinez, routing
[02:22] <spinez> could you be more specific?
[03:35] <mickd> i recently had to move my hdd from one computer to another. everything has gone fine so far it seems except for accessing my server through the ddns while on the local network. i have a dd-wrt on my router and i know it supports NAT loopback because it did before. would swaping the hdd like this casue the problem? i think not, just looking for some insight/what to look for. thanks.
[03:36] <spinez> guess you could try to setup dnsmasq on the services tab
[03:36] <spinez> address=/www.domain.com/192.168.1.105
[03:38] <mickd> spinez: ok, looking at the services tab i dont see dnsmasq straight away
[03:38] <mickd> but i can google it
[03:43] <spinez> on mine, its right under the static leases section
[03:52] <mickd> spinez: would i need to set this up just because of the hdd swap? i know its not ideal, and is only temporary, as of right now its unusable anyway
[03:53] <mickd> i dont want to bother if a fresh install will set it all right
[03:54] <spinez> is that hdd the one running all your services?  i cant imagine putting a hdd in a different pc would cause that unless that hdd was the server
[03:56] <mickd> spinez: it is. deal is its an old IDE and the new machine is SATA. so i was going to try and get it going off of usb boot. all went well, except the networking.
[03:56] <Patrickdk> it's cause it has a new network controller, the mac address changed
[03:57] <Patrickdk> guess you didn't setup a static ip
[03:57] <spinez> well, i would imagine you need to update your settings for the new IP
[03:57] <mickd> i do indeed have a static ip
[03:57] <Patrickdk> who does? the *server* or dd-wrt
[03:58] <Patrickdk> what is in /etc/network/interfaces
[03:58] <mickd> the services work if i use the local ip the
[03:58] <Patrickdk> and that local ip is the same ip as in dd-wrt for forwarding?
[03:58] <mickd> the server has a local ip, i set it in the interfaces forever ago
[03:58] <mickd> yes, port forwarding has the right ip and ports
[03:59] <Patrickdk> when you do, ifconfig
[03:59] <mickd> the interface eth0 is the same
[03:59] <Patrickdk> it shows the same ip as in interfaces file?
[03:59] <mickd> yes
[03:59] <Patrickdk> normally it changes
[03:59] <mickd> 134
[03:59] <spinez> but you're trying to access them via a domain name?
[03:59] <mickd> yes, dlindkddns.com
[04:00] <mickd> myname.dlinkddns.com:port used to take me where i wanted
[04:00] <spinez> does that match your external ip ?
[04:00] <mickd> yes
[04:00] <spinez> well, i do similar but i just use masqdns for the domain i want
[04:01] <spinez> point dnsmasq to the domain name and local ip of the server
[04:01] <spinez> so the router will just use its host file for that domain giving you the local address instead of querying dns servers for it
[04:01] <spinez> works perfect for me
[04:01] <Patrickdk> dnsmasq is on dd-wrt, easy to add the options
[04:02] <spinez> thats what i mean.... dnsmasq ;)
[04:02] <mickd> cool. i will do that. thanks for the help guys.
[04:03] <spinez> now i need to figure out why my router is showing a different external ip than what showmyip websites are telling me
[04:03] <Patrickdk> due to *double-nat* :)
[04:03] <spinez> yea well im not sure it is double nat'd
[04:04] <Patrickdk> or your isp implemented a new web cache accelerator/intercepter :)
[04:04] <spinez> could be... but im in china and i doubt china telecom would be doing that haha
[04:04] <Patrickdk> china? no wonder
[04:04] <spinez> it was working up until a couple months ago...  gonna try clearing nvram on router and setting it back up
[04:05] <spinez> both ips that i see are routeable
[04:29] <mickd> i see spinez has left. i still cant seem to get in with dnsmasq. web browser timesout almost immediatly
[12:28] <Plizzo> Hello, I made a mistake which lead me to reinstall Ubuntu Server. I have a RAID5 array created with mdadm and I now wish to re-assemble it. From what I understand I should be able to by using "sudo mdadm --assemble --scan", but is there any way to do so without the rebuild as I know the RAID is intact and fully functional?
[12:30] <bekks> Plizzo: cat /proc/mdstat
[12:31] <Plizzo> Bekks, I haven't run the command to assemble yet, so there is no mdstat to be seen
[12:31] <Plizzo> bekks: But If I run the command, won't that initiate a rebuild?
[12:32] <bekks> It will assembe the raid, not setting up up from scratch.
[12:32] <Plizzo> bekks: So I should be able to use it directly if everything is well?
[12:32] <bekks> Of course.
[12:33] <Plizzo> bekks: Great, it worked, thank you! :)
[12:48] <Plizzo> Which is the best way to install rtorrent on Ubuntu Server? Does the one in aptitude contain xml-rpc or do I need to configure and compile it myself?
[12:53] <bekks> Plizzo: apt-get install rtorrent
[12:54] <Plizzo> bekks: And If I configure RPC with RuTorrent, Avalanche etc it should work properly ootb?
[12:59] <zxd> what settings to change maybe in /etc/apt ? for  Update Manager not to popup and download only twice weekly announcing only LTS releases then install the updates, I am trying to deploy  automation via chef to multiplie fresh ubuntu installations
[13:05] <iKb> i own blablabla.com, is possible to redirect lan.blablabla.com to my home server that has a dynamic ip but a ddns that always point to updated ip
[13:05] <iKb> on my ow server i have a dns server also
[13:06] <bekks> Plizzo: I never used RPC, RuTorrent, Avalanche.
[13:13] <hitsujiTMO> Plizzo: transmission-daemon is what all the kool kids use these days. it even has a web interface
[13:18] <Plizzo> hitsujiTMO: The only downside is that transmission is not based on libtorrent and doesn't give the same speeds as rtorrent does.
[15:26] <arc__> Hello i am haveing problems with my pdc on ubuntu server i cant connect to  can anyone help me plz
[15:27] <arc__> Win xp says invalid dommain
[15:28] <Patrickdk> what is a pdc?
[15:29] <arc__> Primary domain controller
[15:29] <Patrickdk> those died out with windows 2000
[15:29] <arc__> Ok :D
[15:29] <arc__> But i am using samba 4 to have my dc
[15:30] <arc__> What do u say that i should use then ?
[15:30] <Patrickdk> dunno
[15:30] <Patrickdk> I normally stick to windows for windows things
[15:30] <Patrickdk> and I have yet to use samba4
[15:30] <arc__> Win server is expensive
[15:31] <Patrickdk> thought it was like $600
[15:31] <Patrickdk> but doesn't really matter
[15:31] <arc__> Yea i dont have $600 lying around
[15:31] <arc__> Lol
[15:53] <dddns> Good day! Tell me please, which squid log analizers can save page title?
[15:57] <arc__> How can i test my domain
[15:58] <SaberX01> arc__, what you wanting to test?
[15:59] <arc__> if i can logon to my domain
[16:00] <SaberX01> arc__, well try:  ssh <user>@<domain-name.com>  and see if you ccan get it.
[16:00] <arc__> Kk will try that
[16:03] <arc__> Damm did not work nodename not know
[16:04] <SaberX01> arc__, try using the IP address  .. what is you domain name ?
[16:05] <arc__> x98sever
[16:06] <SaberX01> arc__, Is this an internet hosted site, or a local server you have setup ?
[16:06] <arc__> Sorry its local server
[16:07] <arc__> not online
[16:08] <SaberX01> arc__, Ok. first can you ping the IP address of the server
[16:08] <arc__> yes i can
[16:09] <SaberX01> arc__, and did you install openssh-server
[16:09] <arc__> Yes
[16:09] <SaberX01> arc__, and Apache2 I assume ?
[16:10] <arc__> Most likely
[16:10] <SaberX01> arc__, to connect via ssh:   ssh user@ipaddress    .. to test Apache2:  http://IPADDRESS
[16:10] <arc__> Kk
[16:11] <arc__> But how will that check my domain
[16:11] <arc__> ?
[16:11] <SaberX01> http://ipaddress
[16:12] <arc__> But this is a samba4 domain
[16:12] <SaberX01> You dont have DNS setup Im sure, so FQDN not going to render
[16:12] <arc__> ok whats fqdn
[16:13] <SaberX01> arc__, you ahve to use IP addy's unless you use DNS and nameservers
[16:13] <SaberX01> Fully Qualified Domain Name .. which a local server install is not going to have.
[16:15] <hitsujiTMO> arc__: or you can add entries to your /etc/hosts        for testing
[16:18] <SaberX01> Thats only going to render if he's on the local host though.
[17:15] <mbnoimi> How can I set specific path for log file of OpenVPN? default logging of OpenVPN stored in syslog
[23:19] <odinho> How does grub find the UUID it uses? I'm moving / (root) on my server from my RAID1 to an SSD, and I ofc want grub to do the right thing. But I never see the UUID mentioned anywhere.
[23:26] <raggy> hi noob question here - if i add a command to the crontab to run every minute & the task takes longer than a minute, what happens? it just runs the next task asap, or does fire up another instance?
[23:28] <hitsujiTMO> odinho: as in you don't see: sudo blkid
[23:28] <hitsujiTMO> ?
[23:30] <odinho> hitsujiTMO: I found out I could override whatever it found by itself by using   GRUB_DEVICE_UUID=<hardcode>   in /etc/default/grub  :)
[23:31] <odinho> hitsujiTMO: I guess what happens is that it looks at "what is the uuid of the current / mount right now?" and use that.
[23:31] <odinho> hitsujiTMO: And obviously that won't work when I want to change where the root mount should be.
[23:32] <odinho> raggy: Another instance. There's several locking ways to deal with that problems. serverfault has quite a few.
[23:32] <hitsujiTMO> odinho: yes i believe it generates from /etc/mtab
[23:38] <raggy> odinho: thanks, i'll have a look. any you'd recommend?
[23:55] <odinho> raggy: I have normally just done it in the program itself, so that I am also locked out (or the cron is, if I did it manually). -- However, for other stuff, I'd use  run-one.