[00:59] <guest1_> I need some assitance accessing my server outside of my LAN
[00:59] <guest1_> 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] <tempspace> 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] <tempspace> nm, had to use -i now, combined with executing things through sh -c
[04:07] <krist64> hello
[04:07] <krist64> LAMP 16.04 it secure online?
[04:08] <patdk-lap> define secure?
[04:08] <patdk-lap> nothing will stop you from misconfiguring it and opening up any number of insecurities
[04:48] <sambagirl> can someone send me a link for configuring a domain with bind9 for a static server? thanks
[04:49] <sambagirl> a simple but effective procedure.
[04:56] <b4r> sambagirl: https://askubuntu.com/questions/330148/how-do-i-do-a-complete-bind9-dns-server-configuration-with-a-hostname?
[04:56] <sambagirl> ok thanks b4r
[04:58] <sambagirl> yuck b4r
[04:58] <b4r> sambagirl: not what you wanted?
[04:58] <sambagirl> one would think that you could just simply apply a few values and run a script and fix it like that.
[04:58] <sambagirl> ot
[04:59] <b4r> you could do fix it that simply if you had a script/program to do it for you ;)
[05:00] <sambagirl> 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] <sambagirl> i can't find one b4r
[05:01] <sambagirl> and if i did i dont know if i would trust it
[05:02] <b4r> afaik there aren't any nice tools for this sort of thing
[05:02] <sambagirl> 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] <sambagirl> i dont think there is either
[05:03] <b4r> you mean like when you install postfix and mysql dialogue boxes?
[05:03] <sambagirl> 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] <sambagirl> 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] <b4r> you mean for your own hosting?
[05:05] <sambagirl> yes
[05:05] <b4r> depends on the situation but I'm gonna go ahead and say to use your own
[05:06] <b4r> so you bought the domain, then point the domain to use your dns server
[05:06] <sambagirl> 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] <sambagirl> 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] <sambagirl> and i see where that link you sent says dont use .com well why not?
[05:08] <b4r> 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] <b4r> it does?
[05:08] <sambagirl> that is what i think too
[05:08]  * b4r reads
[05:08] <sambagirl> yep look
[05:09] <sambagirl> it says use .net or hom
[05:09] <b4r> I'm gona say it's not an accepted answer to the post
[05:09] <b4r> but it has otherwise decent information
[05:09] <sambagirl> yes
[05:10] <b4r> oh but it is a community wiki so idk
[05:11] <sambagirl> 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] <sambagirl> why are the always subdomains though?
[05:11] <sambagirl> i have no interest in doing a subdomain
[05:12] <b4r> 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] <sambagirl> yeah i suppose so
[05:16] <sambagirl> but i still think that there should be a aspect of the server iso installation for configuring a domain name.
[05:16] <b4r> I don't see why that wouldn't be an unreasonable request
[05:17] <sambagirl> i suspect there is a reason why that isn't a part of the installation now.
[05:17] <b4r> probably no one's gotten to that list item yet ;)
[05:52] <sambagirl> hey thanks b4r for the ideas and support! chat later! peace!
[06:09] <theblindghoulie3> Having issues with my server
[06:20] <sambagirl> like what
[13:44] <tigefa> heelo all, ask: best irc log for ubuntu server 14.04 ?
[14:59] <b4r> 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.*`?
[16:31] <theblindghoulie3> I need some assistance configuring my server
[17:04] <ikonia> just ask then
[17:58] <ccha5> hello is there any altervative to reprepro ?
[17:59] <bekks> What is that?
[18:12] <theblindghoulie3> Server help!
[18:12] <theblindghoulie3> Cant access server outside of LAN
[18:12] <bekks> Why not?
[18:12] <theblindghoulie3> Have port foward to 80, 21, and 22. For SSH and FTP
[18:13] <bekks> Forget oprtforwardings, they arent necessary for accessing things outside your LAN.
[18:13] <theblindghoulie3> ok, whats the next issue to look at?
[18:13] <bekks> First you need to TELL us the actual issue.
[18:16] <theblindghoulie3> 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] <bekks> Can you name the version you are using pleasE?
[18:17] <theblindghoulie3> Ubuntu Server 16.0.4.1
[18:18] <bekks> So you are trying to access, from within your network, the public IP of your router?
[18:19] <theblindghoulie3> Access the server from outside the network
[18:20] <bekks> So take a look at the logs of the service yuo are trying to access.
[18:36] <theblindghoulie3> Im thinking it has something to do with Apache
[18:37] <bekks> Why would apache has anything to do with ssh or ftp?
[18:37] <bekks> *have
[18:41] <theblindghoulie3> It doesnt I dont believe, this is my first attempt at setting up a server, so Im still learning.
[18:41] <theblindghoulie3> I'll keep researching.
[18:42] <bekks> Take a look at the logs.
[18:43] <theblindghoulie3> I went to the logs, but I dont see anything thats helping me figure out the right question to ask.
[18:44] <bekks> 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] <theblindghoulie3> the log file for FTP (vsftpd.log) shows the successful attempts but not the failed
[19:04] <theblindghoulie3> 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] <ikonia> _Crash_: talk to the people who wrote the guide
[21:37] <k2gremlin> 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] <k2gremlin> 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] <k2gremlin> 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] <k2gremlin> Anyone seen this before
[21:39] <bekks> Just show us the permissions of /Storage
[21:40] <k2gremlin> drwxrwxr-x
[21:41] <k2gremlin> 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] <bekks> Sounds like the drive disconnects then.
[21:41] <k2gremlin> But I can go to /Storage/movies
[21:42] <k2gremlin> and run ls there.. I can also play movies from it
[21:42] <k2gremlin> so really confused lol
[21:43] <k2gremlin> I am in the directory.. df . shows.. /dev/sdb       412718256 49517132 342213220  13% /Storage
[21:43] <k2gremlin> So it's still mounted.
[21:44] <bekks> Tak a lok at dmesg then.
[21:44] <bekks> *take
[21:47] <k2gremlin> bekks,  INFO: task ls:7946 blocked for more than 120 seconds. wtf?
[21:47] <bekks> k2gremlin: thats a random line from dmesg with no further context. what do you expect me to answer now?
[21:48] <k2gremlin> bekks, sorry, I am grabbing the whole thing for pastebin
[21:50] <k2gremlin> bekks, http://pastebin.com/jr2y5mkQ same message when I try to sftp http://pastebin.com/jr2y5mkQ
[21:50] <k2gremlin> sftp to that directory
[21:50] <k2gremlin> bekks, Well, weird.. it is working now without reboot.
[21:55] <bekks> k2gremlin: as can be seen, you have severe issues with that cifs stuff, and you should reboot+
[21:56] <k2gremlin> bekks, Yea I had this problem last night and rebooted it. Only been up 22 hours lol
[21:57] <k2gremlin> I have 2 folders INSIDE of /Storage that are mounted cifs to other systems
[21:57] <k2gremlin> but that shouldnt stop me from lsing /Storage?