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