User1: I need some assitance accessing my server outside of my LAN
User1: 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?
User2: 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?
User2: nm, had to use -i now, combined with executing things through sh -c
User3: hello
User3: LAMP 16.04 it secure online?
User4: can someone send me a link for configuring a domain with bind9 for a static server? thanks
User4: a simple but effective procedure.
User5: User4 https://askubuntu.com/questions/330148/how-do-i-do-a-complete-bind9-dns-server-configuration-with-a-hostname?
User4: ok thanks b4r
User4: yuck b4r
User5: User4 not what you wanted?
User4: one would think that you could just simply apply a few values and run a script and fix it like that.
User4: ot
User5: you could do fix it that simply if you had a script/program to do it for you ;)
User4: 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.
User4: i can't find one b4r
User4: and if i did i dont know if i would trust it
User5: afaik there aren't any nice tools for this sort of thing
User4: 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?
User4: i dont think there is either
User5: you mean like when you install postfix and mysql dialogue boxes?
User4: well i was thinking around that time or when you do the initial server specific iso installation or if it is a netinstall
User4: 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?
User5: you mean for your own hosting?
User4: yes
User5: depends on the situation but I'm gonna go ahead and say to use your own
User5: so you bought the domain, then point the domain to use your dns server
User4: 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
User4: 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.
User4: and i see where that link you sent says dont use .com well why not?
User5: I'm not gonna claim to know a bunch about all that but it's possible to use it all on the same server
User5: it does?
User4: that is what i think too
 * b4r reads
User4: yep look
User4: it says use .net or hom
User5: I'm gona say it's not an accepted answer to the post
User5: but it has otherwise decent information
User4: yes
User5: oh but it is a community wiki so idk
User4: 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
User4: why are the always subdomains though?
User4: i have no interest in doing a subdomain
User5: 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
User4: yeah i suppose so
User4: but i still think that there should be a aspect of the server iso installation for configuring a domain name.
User5: I don't see why that wouldn't be an unreasonable request
User4: i suspect there is a reason why that isn't a part of the installation now.
User5: probably no one's gotten to that list item yet ;)
User4: hey thanks b4r for the ideas and support! chat later! peace!
User6: Having issues with my server
User4: like what
User7: heelo all, ask: best irc log for ubuntu server 14.04 ?
User5: 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.*`?
User6: I need some assistance configuring my server
User8: just ask then
User9: hello is there any altervative to reprepro ?
User10: What is that?
User6: Server help!
User6: Cant access server outside of LAN
User10: Why not?
User6: Have port foward to 80, 21, and 22. For SSH and FTP
User10: Forget oprtforwardings, they arent necessary for accessing things outside your LAN.
User6: ok, whats the next issue to look at?
User10: First you need to TELL us the actual issue.
User6: 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
User10: Can you name the version you are using pleasE?
User6: Ubuntu Server 91.69.162.6
User10: So you are trying to access, from within your network, the public IP of your router?
User6: Access the server from outside the network
User10: So take a look at the logs of the service yuo are trying to access.
User6: Im thinking it has something to do with Apache
User10: Why would apache has anything to do with ssh or ftp?
User10: *have
User6: It doesnt I dont believe, this is my first attempt at setting up a server, so Im still learning.
User6: I'll keep researching.
User10: Take a look at the logs.
User6: I went to the logs, but I dont see anything thats helping me figure out the right question to ask.
User10: You experienced the problem that you are denied to log in. Search for traces of that issue, at the timestamps when that issue occured.
User6: the log file for FTP (vsftpd.log) shows the successful attempts but not the failed
User6: ok the auth.log file for SSH has a bit more to look through, would you like me to screenshot the log file?
User11: 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
User11: 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?
User11: I can view the mail when I SSH in, but if I check my mail on my phone, my mailbox is empty
User11: any ideas?
User8: User11 talk to the people who wrote the guide
User12: 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
User12: Now the problem I have is I cannot ls the /Storage folder.. but if I cd /Storage/movies and run ls it works
User12: 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
User12: Anyone seen this before
User10: Just show us the permissions of /Storage
User12: drwxrwxr-x
User12: 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
User10: Sounds like the drive disconnects then.
User12: But I can go to /Storage/movies
User12: and run ls there.. I can also play movies from it
User12: so really confused lol
User12: I am in the directory.. df . shows.. /dev/sdb       412718256 49517132 342213220  13% /Storage
User12: So it's still mounted.
User10: Tak a lok at dmesg then.
User10: *take
User12: bekks,  INFO: task ls:7946 blocked for more than 120 seconds. wtf?
User10: User12 thats a random line from dmesg with no further context. what do you expect me to answer now?
User12: bekks, sorry, I am grabbing the whole thing for pastebin
User12: bekks, http://pastebin.com/jr2y5mkQ same message when I try to sftp http://pastebin.com/jr2y5mkQ
User12: sftp to that directory
User12: bekks, Well, weird.. it is working now without reboot.
User10: User12 as can be seen, you have severe issues with that cifs stuff, and you should reboot+
User12: bekks, Yea I had this problem last night and rebooted it. Only been up 22 hours lol
User12: I have 2 folders INSIDE of /Storage that are mounted cifs to other systems
User12: but that shouldnt stop me from lsing /Storage?
ubuntu-server
Ubuntu IRC