[00:59] I need some assitance accessing my server outside of my LAN [00:59] I just installed the latest Ubuntu Server OS 16. I can SSH into it fine if Im on the network its running on, whats the best option for accessing out of network range? [01:23] Hey all. I am migrating my infrastructure from Debian Wheezy to Xenial. In wheezy, if I run the command sudo -u user command, it would use the ssh key from that user's ssh dir. In Xenial, sudo doesn't do that any longer. Hints? [01:33] nm, had to use -i now, combined with executing things through sh -c === med_ is now known as Guest51132 === JanC is now known as Guest15956 === JanC_ is now known as JanC [04:07] hello [04:07] LAMP 16.04 it secure online? [04:08] define secure? [04:08] nothing will stop you from misconfiguring it and opening up any number of insecurities [04:48] can someone send me a link for configuring a domain with bind9 for a static server? thanks [04:49] a simple but effective procedure. [04:56] sambagirl: https://askubuntu.com/questions/330148/how-do-i-do-a-complete-bind9-dns-server-configuration-with-a-hostname? [04:56] ok thanks b4r [04:58] yuck b4r [04:58] sambagirl: not what you wanted? [04:58] one would think that you could just simply apply a few values and run a script and fix it like that. [04:58] ot [04:59] you could do fix it that simply if you had a script/program to do it for you ;) [05:00] it's way to technical and convoluted. i've looked at a bunch of different procedures but they are so different in ways that it doesn't make sense. I was wondering if i can do it witbh webman or one of the other management systems. what you just pointed to me is surely the correct procedure but jeez oh man. [05:01] i can't find one b4r [05:01] and if i did i dont know if i would trust it [05:02] afaik there aren't any nice tools for this sort of thing [05:02] seems to me that during the lamp install or the server install there should be an option for domain and static ip installation. maybe there was and i didnt see it? [05:03] i dont think there is either [05:03] you mean like when you install postfix and mysql dialogue boxes? [05:03] well i was thinking around that time or when you do the initial server specific iso installation or if it is a netinstall [05:04] well here is a question. which dns servers do you have to use? the ones you create yourself? or the ones that the isp provides or google dns servers? [05:05] you mean for your own hosting? [05:05] yes [05:05] depends on the situation but I'm gonna go ahead and say to use your own [05:06] so you bought the domain, then point the domain to use your dns server [05:06] for example i have 5 static ips and i have 4 servers and i use one ip for a wireless router. so for a couple of the servers i wanted to use a domian name [05:07] so the dns server can be on the same server? i dont have to have a separate box for the dns server? i keep seeing about virtual servers for dns servers. that is what is throwing me. [05:08] and i see where that link you sent says dont use .com well why not? [05:08] I'm not gonna claim to know a bunch about all that but it's possible to use it all on the same server [05:08] it does? [05:08] that is what i think too [05:08] * b4r reads [05:08] yep look [05:09] it says use .net or hom [05:09] I'm gona say it's not an accepted answer to the post [05:09] but it has otherwise decent information [05:09] yes [05:10] oh but it is a community wiki so idk [05:11] i will see if i can first do this in a vm server so not to mess up that one server i have in mind to do this to [05:11] why are the always subdomains though? [05:11] i have no interest in doing a subdomain [05:12] maybe they wanted to be thorough and assumed the dns server would be used by inter- and intra-net users so the more specific names can be accessed [05:13] yeah i suppose so [05:16] but i still think that there should be a aspect of the server iso installation for configuring a domain name. [05:16] I don't see why that wouldn't be an unreasonable request [05:17] i suspect there is a reason why that isn't a part of the installation now. [05:17] probably no one's gotten to that list item yet ;) [05:52] hey thanks b4r for the ideas and support! chat later! peace! [06:09] Having issues with my server [06:20] like what [13:44] heelo all, ask: best irc log for ubuntu server 14.04 ? === Isla_de_Muerte is now known as NwS [14:59] anyone notice how `rm -rf *` deletes all files and ubuntu warnconfirms deletion of all files in the directory but leaves '.files' untouched and wont warnconfirm deletion `rm -rf.*`? === phunyguy is now known as not_phunyguy === not_phunyguy is now known as phunyguy [16:31] I need some assistance configuring my server [17:04] just ask then [17:58] hello is there any altervative to reprepro ? [17:59] What is that? [18:12] Server help! [18:12] Cant access server outside of LAN [18:12] Why not? [18:12] Have port foward to 80, 21, and 22. For SSH and FTP [18:13] Forget oprtforwardings, they arent necessary for accessing things outside your LAN. [18:13] ok, whats the next issue to look at? [18:13] First you need to TELL us the actual issue. [18:16] I have the latest Ubuntu Server OS installe on a Lenovo PC. I wanted to setup a server to store and transfer files. I installed and setup the router for FTP and SSH. However, I want to be able to access the server while at home or out and about. I cant do that because when I try to connect to the server outside the network it rejects the login [18:16] Can you name the version you are using pleasE? [18:17] Ubuntu Server 16.0.4.1 [18:18] So you are trying to access, from within your network, the public IP of your router? [18:19] Access the server from outside the network [18:20] So take a look at the logs of the service yuo are trying to access. [18:36] Im thinking it has something to do with Apache [18:37] Why would apache has anything to do with ssh or ftp? [18:37] *have [18:41] It doesnt I dont believe, this is my first attempt at setting up a server, so Im still learning. [18:41] I'll keep researching. [18:42] Take a look at the logs. [18:43] I went to the logs, but I dont see anything thats helping me figure out the right question to ask. [18:44] You experienced the problem that you are denied to log in. Search for traces of that issue, at the timestamps when that issue occured. [18:59] the log file for FTP (vsftpd.log) shows the successful attempts but not the failed [19:04] ok the auth.log file for SSH has a bit more to look through, would you like me to screenshot the log file? [20:01] <_Crash_> I've just followed the Perfect Server tutorial for Ubuntu 16.04 and I've come across an issue where my mail seems to direct to my System User instead of the email Mailbox [20:01] <_Crash_> So if I SSH in, It'll show me my email if I type "mail", but it shouldn't since it should direct to the dovecot mailbox? [20:02] <_Crash_> I can view the mail when I SSH in, but if I check my mail on my phone, my mailbox is empty [20:13] <_Crash_> any ideas? [20:31] _Crash_: talk to the people who wrote the guide === dzragon^ is now known as dzragon [21:37] Hello all, I have a small problem on my Media server. I have a secondary drive mounted in /Storage that I use for media. In that folder, I have movies, tv show folders and such [21:38] Now the problem I have is I cannot ls the /Storage folder.. but if I cd /Storage/movies and run ls it works [21:39] if I ls /Storage it just freezes up. Only way I can recover is to close my ssh session and log back in. One way I have found to temporarily fix the problem is a quick reboot. However, it keeps coming back [21:39] Anyone seen this before [21:39] Just show us the permissions of /Storage [21:40] drwxrwxr-x [21:41] bekks, It works fine for a few hours after a reboot. But randomly if I less a few hours later, it will just freeze the SSH session [21:41] Sounds like the drive disconnects then. [21:41] But I can go to /Storage/movies [21:42] and run ls there.. I can also play movies from it [21:42] so really confused lol [21:43] I am in the directory.. df . shows.. /dev/sdb 412718256 49517132 342213220 13% /Storage [21:43] So it's still mounted. [21:44] Tak a lok at dmesg then. [21:44] *take [21:47] bekks, INFO: task ls:7946 blocked for more than 120 seconds. wtf? [21:47] k2gremlin: thats a random line from dmesg with no further context. what do you expect me to answer now? [21:48] bekks, sorry, I am grabbing the whole thing for pastebin [21:50] bekks, http://pastebin.com/jr2y5mkQ same message when I try to sftp http://pastebin.com/jr2y5mkQ [21:50] sftp to that directory [21:50] bekks, Well, weird.. it is working now without reboot. [21:55] k2gremlin: as can be seen, you have severe issues with that cifs stuff, and you should reboot+ [21:56] bekks, Yea I had this problem last night and rebooted it. Only been up 22 hours lol [21:57] I have 2 folders INSIDE of /Storage that are mounted cifs to other systems [21:57] but that shouldnt stop me from lsing /Storage?