/srv/irclogs.ubuntu.com/2014/01/05/#ubuntu-server.txt

Contigijoin #apache00:56
=== _monokrome is now known as monokrome
spinezhey guys was wondering if someone could help me troubleshoot why i can't connect to my apache server outside my local network01:59
spinezapache listening on all ports and port forwarding active.... ip address typed in correctly01:59
Patrickdkspinez, routing02:15
spinezcould you be more specific?02:22
mickdi 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:35
spinezguess you could try to setup dnsmasq on the services tab03:36
spinezaddress=/www.domain.com/192.168.1.10503:36
mickdspinez: ok, looking at the services tab i dont see dnsmasq straight away03:38
mickdbut i can google it03:38
spinezon mine, its right under the static leases section03:43
mickdspinez: 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 anyway03:52
mickdi dont want to bother if a fresh install will set it all right03:53
spinezis 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 server03:54
mickdspinez: 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
Patrickdkit's cause it has a new network controller, the mac address changed03:56
Patrickdkguess you didn't setup a static ip03:57
spinezwell, i would imagine you need to update your settings for the new IP03:57
mickdi do indeed have a static ip03:57
Patrickdkwho does? the *server* or dd-wrt03:57
Patrickdkwhat is in /etc/network/interfaces03:58
mickdthe services work if i use the local ip the03:58
Patrickdkand that local ip is the same ip as in dd-wrt for forwarding?03:58
mickdthe server has a local ip, i set it in the interfaces forever ago03:58
mickdyes, port forwarding has the right ip and ports03:58
Patrickdkwhen you do, ifconfig03:59
mickdthe interface eth0 is the same03:59
Patrickdkit shows the same ip as in interfaces file?03:59
mickdyes03:59
Patrickdknormally it changes03:59
mickd13403:59
spinezbut you're trying to access them via a domain name?03:59
mickdyes, dlindkddns.com03:59
mickdmyname.dlinkddns.com:port used to take me where i wanted04:00
spinezdoes that match your external ip ?04:00
mickdyes04:00
spinezwell, i do similar but i just use masqdns for the domain i want04:00
spinezpoint dnsmasq to the domain name and local ip of the server04:01
spinezso the router will just use its host file for that domain giving you the local address instead of querying dns servers for it04:01
spinezworks perfect for me04:01
Patrickdkdnsmasq is on dd-wrt, easy to add the options04:01
spinezthats what i mean.... dnsmasq ;)04:02
mickdcool. i will do that. thanks for the help guys.04:02
spineznow i need to figure out why my router is showing a different external ip than what showmyip websites are telling me04:03
Patrickdkdue to *double-nat* :)04:03
spinezyea well im not sure it is double nat'd04:03
Patrickdkor your isp implemented a new web cache accelerator/intercepter :)04:04
spinezcould be... but im in china and i doubt china telecom would be doing that haha04:04
Patrickdkchina? no wonder04:04
spinezit was working up until a couple months ago...  gonna try clearing nvram on router and setting it back up04:04
spinezboth ips that i see are routeable04:05
mickdi see spinez has left. i still cant seem to get in with dnsmasq. web browser timesout almost immediatly04:29
=== Rallias is now known as Gasseus
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
PlizzoHello, 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:28
bekksPlizzo: cat /proc/mdstat12:30
PlizzoBekks, I haven't run the command to assemble yet, so there is no mdstat to be seen12:31
Plizzobekks: But If I run the command, won't that initiate a rebuild?12:31
bekksIt will assembe the raid, not setting up up from scratch.12:32
Plizzobekks: So I should be able to use it directly if everything is well?12:32
bekksOf course.12:32
Plizzobekks: Great, it worked, thank you! :)12:33
PlizzoWhich 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:48
bekksPlizzo: apt-get install rtorrent12:53
Plizzobekks: And If I configure RPC with RuTorrent, Avalanche etc it should work properly ootb?12:54
zxdwhat 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 installations12:59
iKbi 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 ip13:05
iKbon my ow server i have a dns server also13:05
bekksPlizzo: I never used RPC, RuTorrent, Avalanche.13:06
hitsujiTMOPlizzo: transmission-daemon is what all the kool kids use these days. it even has a web interface13:13
PlizzohitsujiTMO: The only downside is that transmission is not based on libtorrent and doesn't give the same speeds as rtorrent does.13:18
=== freeflying is now known as freeflying_away
=== Gasseus is now known as Rallias
arc__Hello i am haveing problems with my pdc on ubuntu server i cant connect to  can anyone help me plz15:26
arc__Win xp says invalid dommain15:27
Patrickdkwhat is a pdc?15:28
arc__Primary domain controller15:29
Patrickdkthose died out with windows 200015:29
arc__Ok :D15:29
arc__But i am using samba 4 to have my dc15:29
arc__What do u say that i should use then ?15:30
Patrickdkdunno15:30
PatrickdkI normally stick to windows for windows things15:30
Patrickdkand I have yet to use samba415:30
arc__Win server is expensive15:30
Patrickdkthought it was like $60015:31
Patrickdkbut doesn't really matter15:31
arc__Yea i dont have $600 lying around15:31
arc__Lol15:31
dddnsGood day! Tell me please, which squid log analizers can save page title?15:53
arc__How can i test my domain15:57
SaberX01arc__, what you wanting to test?15:58
arc__if i can logon to my domain15:59
SaberX01arc__, well try:  ssh <user>@<domain-name.com>  and see if you ccan get it.16:00
=== robbyf_ is now known as RobbyF
arc__Kk will try that16:00
arc__Damm did not work nodename not know16:03
SaberX01arc__, try using the IP address  .. what is you domain name ?16:04
arc__x98sever16:05
SaberX01arc__, Is this an internet hosted site, or a local server you have setup ?16:06
arc__Sorry its local server16:06
arc__not online16:07
SaberX01arc__, Ok. first can you ping the IP address of the server16:08
arc__yes i can16:08
SaberX01arc__, and did you install openssh-server16:09
arc__Yes16:09
SaberX01arc__, and Apache2 I assume ?16:09
arc__Most likely16:10
SaberX01arc__, to connect via ssh:   ssh user@ipaddress    .. to test Apache2:  http://IPADDRESS16:10
arc__Kk16:10
arc__But how will that check my domain16:11
arc__?16:11
SaberX01http://ipaddress16:11
arc__But this is a samba4 domain16:12
SaberX01You dont have DNS setup Im sure, so FQDN not going to render16:12
arc__ok whats fqdn16:12
SaberX01arc__, you ahve to use IP addy's unless you use DNS and nameservers16:13
SaberX01Fully Qualified Domain Name .. which a local server install is not going to have.16:13
hitsujiTMOarc__: or you can add entries to your /etc/hosts        for testing16:15
SaberX01Thats only going to render if he's on the local host though.16:18
=== G4MBY2 is now known as PaulW2U
=== PaulW2U is now known as Guest70302
=== Guest70302 is now known as PaulW2U
mbnoimiHow can I set specific path for log file of OpenVPN? default logging of OpenVPN stored in syslog17:15
=== JanC_ is now known as JanC
=== ejv_ is now known as ejv
=== DavidDuffey is now known as dduffey
=== balloons_ is now known as balloons
=== io is now known as IdleOne
=== JanC_ is now known as Guest69838
=== _KaszpiR__ is now known as _KaszpiR_
=== G4MBY2 is now known as PaulW2U
=== SoulOfTheInterne is now known as ToBeFree
=== rmk` is now known as rmk
=== JanC__ is now known as JanC
=== yofel_ is now known as yofel
=== machina is now known as etzsch
=== matanya_ is now known as matanya
=== JanC__ is now known as JanC
=== pHcF_ is now known as pHcF
odinhoHow 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:19
raggyhi 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:26
hitsujiTMOodinho: as in you don't see: sudo blkid23:28
hitsujiTMO?23:28
odinhohitsujiTMO: I found out I could override whatever it found by itself by using   GRUB_DEVICE_UUID=<hardcode>   in /etc/default/grub  :)23:30
odinhohitsujiTMO: I guess what happens is that it looks at "what is the uuid of the current / mount right now?" and use that.23:31
odinhohitsujiTMO: And obviously that won't work when I want to change where the root mount should be.23:31
odinhoraggy: Another instance. There's several locking ways to deal with that problems. serverfault has quite a few.23:32
hitsujiTMOodinho: yes i believe it generates from /etc/mtab23:32
raggyodinho: thanks, i'll have a look. any you'd recommend?23:38
odinhoraggy: 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.23:55

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