[00:02] setting a password (passwd as root) is probably all you need to do, then [00:03] guys i got this situation where one of my linux guests locks up...takes up an entire processor. [00:03] tarpman: this has to be non-interactive... [00:03] Tsutsukakushi: man 8 chpasswd [00:04] its used as a wedge device to connect users of on a smart phone to a java application Linux mint desktop. [00:04] apparently --delete should remove any value... maybe this includes the lock too [00:04] i'll try tat [00:04] it just decides...bam... [00:04] that [00:07] where are the log files for individual guests stored again? [00:08] nevermind i found them [00:47] i never seen anything in these logs that seem to help. === Monthrect is now known as Piper-Off === G_ is now known as G [03:17] hey guys, trying to figure out how to make a folder location such as /downloads/ be really a combination of two different folder paths, /downloads/ and /home/downloads/. my drives are split up so that / is one drive and /home/ is another, however my /downloads/ folder is now getting full on / and i want to take the space from /home/downloads/ and link it up to /downloads/ so that files i write to /downloads/ actually write to /home/ [03:17] downloads/ if /downloads/ is full. [03:19] phi0xz: Wouldn't you rather solve this at a lower level, combining buth those drives using say LVM? [03:20] sure. what happened was i have a rental server which was pre configured. they have a default system partition setup which i couldn't choose my own. didnt know if i could alter it easily? [03:20] i've never altered partition tables in linux after a install has already been done. [03:20] i've added drives but never altered. [03:21] is there a guilde you could point me to which may help accomplish this? [03:21] they also did software raid1 which i honestly dont need.. [03:21] but its preconfigured [03:30] hi [04:01] I have installed LXD on my 14.04 desktop as per https://linuxcontainers.org/lxd/getting-started-cli/ and imported ubuntu via lxd-images but during launch apparmor complains "Incomplete AppArmor support in your kernel...lxc.aa_allow_incomplete = 1..." [07:18] For the benefit of others I ended up adding `lxc.aa_allow_incomplete = 1` to /usr/share/lxc/config/ubuntu.common.conf [07:45] My sftp is copying files but for some reason won't copy folders === bittin_US is now known as bittin [08:50] I need help [08:51] I can't get past a server error 500 [10:01] Good morning. === cliGeezer is now known as parzzix === Piper-Off is now known as Monthrect [15:15] Hello, can anyone help us, our server is getting mad, not sure what is the issue and where it is http://paste.ubuntu.com/13990037/ [15:15] It says We have detected that load average of your VPS is above the allowed limit. [15:16] Our vps was suspended, they said us to look into our VPS. Any help appriciated, SMTP and php fpm is getting made, not sure, why [16:03] sagar, well, you are infected with a vaunerable php program [16:03] and are sending spam === Wamphyri_ is now known as Wamphyri [16:42] is there a way to find out if php is lagging or if its mysql? [16:43] How to implement a spam filtering server? [16:43] It has to be transparent :( [16:43] and must have capasity to filter mails from gmail, hotmail etc. [16:46] hi [16:46] i'm trying to connect to an openvpn server i just set up on ubuntu [16:46] but the tls key negotiation is failing to occur / handshake is failing [16:46] what do [16:46] ubuntu 14.10 afaik and antergos [16:49] is it a port thing? [16:59] Wamphyri: usually, just use top [16:59] Wamphyri: large db? [16:59] nope not at all [16:59] Wamphyri: also, don't use mysql unless you really need to [17:00] mysql using 1.7% but php-cgi jumps between 5% to 70% [17:00] Wamphyri: install sysstat, enable it, install munin, watch the graphs or just use sysstat/sar [17:00] Paaltomo: that usually means you cannot establish a connection, check firewall settings and make sure you can route traffic to the server properly [17:00] Wamphyri: it can be anything, you need to monitor things to see what's hanging [17:00] qman_ thanks [17:01] RoyK, thanks [17:01] i've been watching top, just php/mysql running stupid slow lol [17:03] Wamphyri: install the named tools [17:03] Wamphyri: it'll tell you if it's i/o or cpu [17:03] installed [17:03] also enabled logging :) [17:03] g99d [17:03] good, even [17:06] i'm beginign to get this feeling its i/o based [17:07] mind you sar just blew up php-cgi [17:07] used to be only one instance now i got about 30 of em [17:11] RoyK, ok that app sucks nuggets, almost made my machine unusable [17:18] RoyK, lmao 5 minutes trying to uninstall sysstat.. still sitting at building dependency tree [17:25] Wamphyri: something must be messed up, hten [17:26] Wamphyri: probably i/o fsckup [17:26] Wamphyri: what does 'uptime' say about the load? [17:27] dunno [17:27] Wamphyri: or what about a ps axf|grep D # ? [17:27] still at the same spot [17:27] Wamphyri: probably a lot of processes in D state [17:27] perhaps swapping? [17:27] ps aux returned apache2 and php-cgi and a huge list of em [17:28] Wamphyri: did you pipe it through | grep D ? [17:28] na just ps aux then restarted apache2 [17:28] which helpped [17:29] Wamphyri: pastebin output of 'free' [17:29] alot, everything is moving again [17:29] ok [17:32] http://pastebin.com/1TZ1R8v8 [17:33] first time running sysstat, is it going to use all resources pretty much? [17:34] Wamphyri: Even without sysstat, your computer will use all available resources, when running linux. [17:35] i ment will it hog them all [17:35] Which resources in particular do you talk about? [17:36] any / all of them, i installed sysstat and my system turned into a turtle, 14 minutes to uninstall sysstat [17:36] Which resources in particular do you talk about? [17:36] Do you know which resources sysstat is showing you? [17:38] alright, i'll rephrase. i installed sysstat, system became almost completly unusable, took 14 minutes to uninstall sysstat. (no point trying to run sysstat because system was virtually unusable) [17:40] Then look at free -m, top, ps -ef, vmstat and see whats hogging your box. [17:40] here is the output of free http://pastebin.com/1TZ1R8v8 [17:41] Looks fine. [17:42] vmstat http://pastebin.com/KvfjPhu6 [17:42] Just one line from vmstat is pointless. [17:42] Let it run for a minute, and post all of the output. [17:43] it stopped itself === Lcawte|Away is now known as Lcawte [17:43] Because you did not tell it to run for a minute. [17:46] http://pastebin.com/BjqR6n4i [17:49] Doesnt look like your system is "unusable". [17:52] lmao, ok, i installed sysstat, apache2 / php-cgi usage when insane (ps aux to list it) so i tried to uninstall sysstat, after 5+ minutes of it sitting there building database 0% i ran service apache2 restart, that took 4 minutes to run. afterwards system managed to uninstall sysstat in a more "timely" manor [18:04] Wamphyri: Sounds like you should investigate your apache/php setup then. [18:10] php-cgi runs between 5% to 70% [18:10] Doesnt mean anything. [18:11] Check the apache/php logs for whats happening, actually. === neunon_ is now known as neunon === thesheff17_ is now known as thesheff17 === jrgifford_ is now known as jrgifford [18:14] would MaxRequestWorkers make it run slow? === seg_ is now known as seg [18:15] Wamphyri: Depends on the value and the rest of the setup. === zemmihates_ is now known as zemmihates === justizin_ is now known as justizin === tomaw_ is now known as tomaw [18:22] bekks, php-cgi just exploded again, is there i can restore the system to original without direct access to it (through ssh preferable) [18:22] You cant do anything without having access to the system. [18:23] physicial access? [18:23] "access to the system" means either physical access or access by ssh. [18:23] jesus buddy do you not read my entire sentence? [18:24] I answered your question. I'm not responsible for you not wanting to hear specific things. === IdleOne- is now known as IdleOne [18:40] "exploded" is a bit nonspecific, best correlate whatever symptoms you're seeing with access.log [18:55] I am trying to solve a 500 server error [18:55] 500 server error on which server? [18:56] webserver, mailserver, etc.? [18:56] And running which Ubuntu? [18:56] Yes Ubuntu [18:57] jvwjgames2: 500 means nothing without details on the software you're using that's generating it, the version of Ubuntu, etc. [18:57] jvwjgames2: is it Apache? NGINX? Postfix? PHP? [18:57] what's generating the 500 error? [18:57] firefox :P [18:57] Here is the error log http://tfdatabase.net [18:57] Error log of WHAT? [18:57] jvwjgames2: that's not useful [18:58] jvwjgames2: Start answering my questions please. [18:58] jvwjgames2: the question at hand: What software generated that error.log, and are you seeing the 500 error when you navigate to a web site or what? [18:58] jvwjgames2: if you want help, answer questions [18:58] if you don't want help, don't answer questions, and continue to have the problem. [18:58] OK sorry it is Ubuntu server 14.04 LTS running Apache2 [18:59] jvwjgames2: Fix all those "file not found" errors first. [18:59] I did [19:00] You didnt. They are in the log. [19:00] The error is at the bottom [19:00] Fix the "permission denied" error then. [19:01] * teward thinks he knows the next question from jvwjgames2 [19:06] I cleared out the error.log but when I get the 500 error nothing generated [19:06] Only in access.lo [19:06] *log [19:07] Yeah. [19:07] And the access.log is what you posted. [19:10] Just reposted error and access.logs [19:18] Did you recheck cause I just reposted them [21:48] once I make my rules for ufw and then reload it is it saved on reboot? [22:09] I can't print to a usb printer from a headless, non-gui ubuntu server using "lpr file-to-print.txt". I *can* print from "cat file-to-print.txt > /dev/usb/lp0". Any ideas what I can check? [22:22] Now, I *can* print from "lpr file-to-print.txt", but not printing from remote laptop. [22:22] even "lpr file-to-print.txt" using ssh is very slow though. [22:40] should I install full gui on the server to print with this machine or has anyone else been able to print with a headless gui-less ubuntu server? [22:41] I can print with the same printer on my ubuntu laptop flawlessly, but cant get the server to print [22:41] or at least can get it to print-serve properly [22:42] just now got it to print a test pdf through "lpr" [22:45] did you look for errors in the logs? [22:45] JanC: yes, but looking again .. [22:51] JanC: I have a thousand "Unable to create SSL server key file "/etc/cups/ssl/server.key" - No such file or directory" entries in error_log . I thought I avoided that problem by re-installing cups. But that gave me other problems that I thought were resolved. I cannot find on google or duckduck any other problems with cups and SSL. [22:52] and logs or verbose errors on the laptop when you try to print from it? [22:53] and I'm sure you don't need a GUI to print, but maybe you need some configuration change (permissions? is it listening "on the outside" or only on localhost? etc.) [22:53] The SSL issue I think was why I could not get into this machine and manage the printers with the browser through 192.168.0.2:631. I kept getting permissions errors. [22:54] JanC: I am about to get into the server through 192.168.0.2:631 now. After reinstalling CUPS. [22:57] JanC: but I assume that the long delay I am getting it the server writing a thousand ""Unable to create SSL server key file "/etc/cups/ssl/server.key" - No such file or directory" in the error logs. As I said, I uninstalled cups. Re-installation did not re-create the config files. I put them back and then it worked. I got into the cups through the browser. [23:00] The SSL folder in /etc/cups/ had links to ssl keys but they would not let me through the browser. I can find nothing on the web about when or why or how the SSL certificates are created and how to fix this issue. [23:01] They were not re-created when I uninstalled and then re-installed CUPS. In fact, the default config files were not re-created when I re-installed CUPS. Why is that? === Lcawte is now known as Lcawte|Away [23:03] BTW it is still creating "Unable to create SSL server key file "/etc/cups/ssl/server.key" - No such file or directory" entries in the error log [23:04] Can someone verify that in /etc/cups/ssl they have links to SSL certificates? [23:04] Does anyone know how or why the ssl folder in /etc/cups/ssl gets created? [23:09] geetar, mine during fresh install, http://paste.ubuntu.com/13999403/ [23:10] geetar: how -> see /var/lib/dpkg/info/cups.postinst [23:10] geetar: why -> to provide a default self-signed server cert so that you can use cups securely without having to buy a certificate [23:11] geetar: if you delete a config file, dpkg respects your wish to have it gone and does not bring it back if you remove and reinstall a package. if you *purge* and reinstall the package, the default configs will come back [23:11] geetar: or reinstall the package using dpkg --force-confnew [23:11] OerHeks: thanks, helpful, similar to mine before. I will restore. [23:12] pardon me, --force-confmiss [23:18] tarpman: thanks. I "apt-get --purge" cups. Which I thought would make it start over when I re-installed, but it did not re-create any config files when I re-installed. Thanks, too, trying --force-confnew [23:22] geetar: pardon me, the package that sets up the certs (and some other configs) is cups-daemon, not cups itself [23:24] tarpman: "sudo apt-get install cups-daemon" claims I am at the newest version. [23:25] geetar: I meant cups-daemon is the package you need to purge and reinstall if you want the configs re-created [23:25] ah, k