[10:57] <gasconheart> I run Ubuntu Server on a regular PC, I've been running it for months or perhaps more than one year. Recently it crashed seemingly on its own, twice, one 24h after the other
[10:57] <gasconheart> it crashed and froze, it went unresponsive, I had to take this photograph: http://www.gasconheart.cu.cc/crashscreenshot/
[10:58] <gasconheart> I need some help understanding those messages; thank you very much
[11:03] <ikonia> gasconheart: so thats a kernel panic
[11:04] <ikonia> thats the stack trace from the panic, the bit on screen is showing the filesystem details in memory
[11:32] <taliptako> Hello
[11:32] <taliptako> why shouldnt i manage my server from root account ?
[11:33] <RoyK> well, obviously, you can
[11:33] <RoyK> but it's more common to use sudo these days to allow for logging who did what
[11:34] <RoyK> also, allowing ssh logins to root, especially with password authentication isn't really a good idea - should work well with keys, though
[11:35] <taliptako> actually i just have LEMP stack on my Ubuntu 16.04 server and i intalled those software as a root
[11:35] <ikonia> "E" ?
[11:35] <taliptako> now i had little problem about file permissions
[11:35] <ikonia> if you installed them using the package manager, the permisions should be fine out of the box
[11:35] <taliptako> i wonder if this cause because i installed all softwares as a root account
[11:36] <ikonia> taliptako: did you install using the ubuntu package manager ?
[11:36] <taliptako> of course i installed with apt
[11:36] <ikonia> then the only way to use that is with root privileges
[11:36] <ikonia> so how can that be the problem ?
[11:36] <taliptako> but maybe its different to do things from root account or with sudo
[11:36] <taliptako> i dont know
[11:36] <ikonia> no, it's not
[11:36] <ikonia> what is the "E" in lemp ?
[11:37] <taliptako> hmm i have interesting problem
[11:37] <taliptako> let me explain maybe you can guess :)
[11:37] <ikonia> no
[11:37] <ikonia> just tell me
[11:37] <ikonia> I'm not playing a game, I'm trying to understand your setup
[11:37] <ikonia> what does the "E" in lemp stack reference
[11:38] <taliptako> i have website and i'm using php and visitors uploading images okey and i save them to uploads/ folder i create a folder for all images for example /dog/1.jpg also i create conversions folder in dog folder  /dog/conversions/230x300px.jpg(example)
[11:39] <ikonia> ok - so you're not answering my question
[11:39] <taliptako> i resize images and putting them to conversions folder and i resize them with php-gd library of course
[11:39] <ikonia> I'm afraid I can't help you
[11:39] <taliptako> conversions folder owned by root
[11:40] <taliptako> just conversions folder all my others folders files doesnt have this problem but images resized with php-gd owned by root
[11:40] <taliptako> and when i try to delete them its causing the permission denied problem
[11:40] <taliptako> Nginx - php - mysql ikonia
[11:40] <ikonia> so you actually don't understand what you're saying then
[11:40] <ikonia> LAMP = Linux Apache PHP Mysql
[11:41] <ikonia> LEMP = Linux ??? Mysql Php
[11:41] <ikonia> so what's the E ?
[11:41] <taliptako> https://lemp.io/
[11:41] <taliptako> look here
[11:41] <ikonia> no
[11:41] <ikonia> just answer the question
[11:41] <ikonia> actually, I can't be bothered
[11:41] <ikonia> good look sorting yourself out
[11:41] <taliptako> We go with LEMP due to the pronunciation for Nginx: Engine-X (en-juhn-ecks). Think of how in English, the article an is used instead of a for hour even though it begins with a consonant.
[11:43] <RoyK> ikonia: E for Evangelist :D
[11:44] <ikonia> ha
[11:45] <RoyK> taliptako: that should be LNMP, though, since nginx is spelt with an n...
[11:46] <RoyK> and btw, don't use mysql if you can use postgresql :P
[11:46] <taliptako> i dont care
[11:46] <taliptako> if its lemp or lnmp :)
[11:47] <RoyK> hm - windows, iis, mysql and php, that should be like wimp, right? ;)
[11:48] <gasconheart> ikonia: thanks for your reply
[11:49] <ikonia> gasconheart: no problem
[11:49] <gasconheart> (I'm looking after a kid over here)
[11:49] <gasconheart> ikonia: some guy here suggested it might be related to the dirty cow vulnerability
[11:49] <ikonia> gasconheart: not sure how they could make ANY guess based on that single bit of output of a stack trace
[11:50] <gasconheart> is there anything that might point to dirty cow?
[11:50] <gasconheart> oh
[11:51] <gasconheart> I check my logs all the time, almost paranoidly, I found no strange logins
[11:53] <gasconheart> I am close to 100% positive it was not a hacking attempt; does anything in that screenshot suggest otherwise? thanks
[12:09] <taliptako> soo guys there is no difference using sudo or directly writing commands as a root ?
[12:09] <taliptako> for sure ?
[12:17] <andol> taliptako: You usually end having different environment variables set, which might affect how the commands run.
[12:18] <ikonia> gasconheart: that screenshot suggests nothing
[13:50] <bor691> hello, i'm having trouble changing /etc/sshd_config (it doesn't affect anything even after reboot) on ubuntu server 14.04. i check the value with sshd -T after modifying the file but still shows the old value...
[13:55] <ikonia> bor691: what value are you changing
[13:56] <bor691> i intended to do a reverse tunnel that binds to non-local interface , some questions in serverfault and askubuntu suggested changing gatewayports
[13:56] <bor691> but after that didn't work i tried setting passwordauthentication no
[13:57] <bor691> just to test if it changes , but it didn't , sshd -T shows no and i can still login via password, even after restarting the service and rebooting the server
[14:01] <bor691> is there a way to get address of the loaded config file ? is it possible that i'm chainging the wrong file ? (i was modifying /etc/ssh/ssh_config , and verified that the file is saved with the new value)
[14:01] <ikonia> bor691: you need sshd_config
[14:01] <ikonia> ssh_config is the client
[14:02] <bor691> now i feel like an idiot :| tnx
[14:03] <ikonia> no problem, easy to miss it, nothing silly about it
[18:45] <al_nz1> Anyone here using Nagios?
[18:50] <al_nz1> I want pretty graphcs
[18:50] <al_nz1> network graphs :-)
[19:01] <spammy> al_nz1:  I use icinga
[19:01] <spammy> a fork of nagios
[19:01] <al_nz1> Hi spammy. I only went with nagios because it seems widely known
[19:02] <al_nz1> and I hoped well supported
[19:02] <al_nz1> bit of a steep learning curve so far
[19:02] <spammy> icinga is in Ubuntu's repo
[19:02] <spammy> works like nagios
[19:02] <spammy> well supported
[19:02] <al_nz1> ok. I will take a look
[19:04] <spammy> I've also been playing with Zabbix, it seems a bit easier than Nagios/Icinga
[19:04] <spammy> you can add hosts etc. in gui
[19:05] <spammy> which is nice
[19:05] <al_nz1> yeah - that would be nice
[19:05] <spammy> there's a PPA for Zabbix
[19:05] <al_nz1> easy is better at this point
[19:05] <al_nz1> is it in repo?
[19:06] <spammy> in a PPA repo....hang on, I'll look it up
[19:08] <spammy> whoops....my bad, not a PPA but a zabbix official repo
[19:08] <spammy> https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages/repository_installation
[19:09] <spammy> Ubuntu steps to install repo are at the end
[19:09] <spammy> then follow these instructions...
[19:09] <spammy> https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages/server_installation_with_mysql
[19:10] <spammy> or the postgres one, depending on which db flavor you want
[19:27] <al_nz1> ok
[19:27] <al_nz1> ta
[19:37] <al_nz1> why the heck do I not have a httpd.conf on apache2
[19:37] <al_nz1> find / -name httpd.conf is empty
[19:38] <Pici> al_nz1: its /etc/apache2/apache2.conf conf for whatever reason
[19:38] <al_nz1> ok
[19:38] <al_nz1> just found that in google
[19:38] <al_nz1> ta
[20:59] <al_nz1> I am getting Forbidden: You don't have permission to access /nagiosgraph/cgi-bin/show.cgi on this server.
[20:59] <al_nz1> How do I resolve this on ubuntu16 / apache2
[21:03] <tsimonq2> al_nz1: 16.04 or 16.10?
[21:57] <al_nz1> tsimonq2: 16.04
[21:57] <al_nz1> but I have restarted the installation of nagios from scratch
[22:38] <al_nz1> you still about tsimonq2