tarpman | setting a password (passwd as root) is probably all you need to do, then | 00:02 |
---|---|---|
grendal_prime | guys i got this situation where one of my linux guests locks up...takes up an entire processor. | 00:03 |
Tsutsukakushi | tarpman: this has to be non-interactive... | 00:03 |
tarpman | Tsutsukakushi: man 8 chpasswd | 00:03 |
grendal_prime | its used as a wedge device to connect users of on a smart phone to a java application Linux mint desktop. | 00:04 |
Tsutsukakushi | apparently --delete should remove any value... maybe this includes the lock too | 00:04 |
Tsutsukakushi | i'll try tat | 00:04 |
grendal_prime | it just decides...bam... | 00:04 |
Tsutsukakushi | that | 00:04 |
grendal_prime | where are the log files for individual guests stored again? | 00:07 |
grendal_prime | nevermind i found them | 00:08 |
grendal_prime | i never seen anything in these logs that seem to help. | 00:47 |
=== Monthrect is now known as Piper-Off | ||
=== G_ is now known as G | ||
phi0xz | 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 |
phi0xz | downloads/ if /downloads/ is full. | 03:17 |
andol | phi0xz: Wouldn't you rather solve this at a lower level, combining buth those drives using say LVM? | 03:19 |
phi0xz | 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 |
phi0xz | i've never altered partition tables in linux after a install has already been done. | 03:20 |
phi0xz | i've added drives but never altered. | 03:20 |
phi0xz | is there a guilde you could point me to which may help accomplish this? | 03:21 |
phi0xz | they also did software raid1 which i honestly dont need.. | 03:21 |
phi0xz | but its preconfigured | 03:21 |
roasted | hi | 03:30 |
hipitihop | 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..." | 04:01 |
hipitihop | For the benefit of others I ended up adding `lxc.aa_allow_incomplete = 1` to /usr/share/lxc/config/ubuntu.common.conf | 07:18 |
jvwjgames | My sftp is copying files but for some reason won't copy folders | 07:45 |
=== bittin_US is now known as bittin | ||
jvwjgames | I need help | 08:50 |
jvwjgames | I can't get past a server error 500 | 08:51 |
lordievader | Good morning. | 10:01 |
=== cliGeezer is now known as parzzix | ||
=== Piper-Off is now known as Monthrect | ||
Sagar | 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 |
Sagar | It says We have detected that load average of your VPS is above the allowed limit. | 15:15 |
Sagar | 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 | 15:16 |
patdk-lap | sagar, well, you are infected with a vaunerable php program | 16:03 |
patdk-lap | and are sending spam | 16:03 |
=== Wamphyri_ is now known as Wamphyri | ||
Wamphyri | is there a way to find out if php is lagging or if its mysql? | 16:42 |
Capprentice | How to implement a spam filtering server? | 16:43 |
Capprentice | It has to be transparent :( | 16:43 |
Capprentice | and must have capasity to filter mails from gmail, hotmail etc. | 16:43 |
Paaltomo | hi | 16:46 |
Paaltomo | i'm trying to connect to an openvpn server i just set up on ubuntu | 16:46 |
Paaltomo | but the tls key negotiation is failing to occur / handshake is failing | 16:46 |
Paaltomo | what do | 16:46 |
Paaltomo | ubuntu 14.10 afaik and antergos | 16:46 |
Paaltomo | is it a port thing? | 16:49 |
RoyK | Wamphyri: usually, just use top | 16:59 |
RoyK | Wamphyri: large db? | 16:59 |
Wamphyri | nope not at all | 16:59 |
RoyK | Wamphyri: also, don't use mysql unless you really need to | 16:59 |
Wamphyri | mysql using 1.7% but php-cgi jumps between 5% to 70% | 17:00 |
RoyK | Wamphyri: install sysstat, enable it, install munin, watch the graphs or just use sysstat/sar | 17:00 |
qman__ | 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 |
RoyK | Wamphyri: it can be anything, you need to monitor things to see what's hanging | 17:00 |
Paaltomo | qman_ thanks | 17:00 |
Wamphyri | RoyK, thanks | 17:01 |
Wamphyri | i've been watching top, just php/mysql running stupid slow lol | 17:01 |
RoyK | Wamphyri: install the named tools | 17:03 |
RoyK | Wamphyri: it'll tell you if it's i/o or cpu | 17:03 |
Wamphyri | installed | 17:03 |
Wamphyri | also enabled logging :) | 17:03 |
RoyK | g99d | 17:03 |
RoyK | good, even | 17:03 |
Wamphyri | i'm beginign to get this feeling its i/o based | 17:06 |
Wamphyri | mind you sar just blew up php-cgi | 17:07 |
Wamphyri | used to be only one instance now i got about 30 of em | 17:07 |
Wamphyri | RoyK, ok that app sucks nuggets, almost made my machine unusable | 17:11 |
Wamphyri | RoyK, lmao 5 minutes trying to uninstall sysstat.. still sitting at building dependency tree | 17:18 |
RoyK | Wamphyri: something must be messed up, hten | 17:25 |
RoyK | Wamphyri: probably i/o fsckup | 17:26 |
RoyK | Wamphyri: what does 'uptime' say about the load? | 17:26 |
Wamphyri | dunno | 17:27 |
RoyK | Wamphyri: or what about a ps axf|grep D # ? | 17:27 |
Wamphyri | still at the same spot | 17:27 |
RoyK | Wamphyri: probably a lot of processes in D state | 17:27 |
RoyK | perhaps swapping? | 17:27 |
Wamphyri | ps aux returned apache2 and php-cgi and a huge list of em | 17:27 |
RoyK | Wamphyri: did you pipe it through | grep D ? | 17:28 |
Wamphyri | na just ps aux then restarted apache2 | 17:28 |
Wamphyri | which helpped | 17:28 |
RoyK | Wamphyri: pastebin output of 'free' | 17:29 |
Wamphyri | alot, everything is moving again | 17:29 |
Wamphyri | ok | 17:29 |
Wamphyri | http://pastebin.com/1TZ1R8v8 | 17:32 |
Wamphyri | first time running sysstat, is it going to use all resources pretty much? | 17:33 |
bekks | Wamphyri: Even without sysstat, your computer will use all available resources, when running linux. | 17:34 |
Wamphyri | i ment will it hog them all | 17:35 |
bekks | Which resources in particular do you talk about? | 17:35 |
Wamphyri | any / all of them, i installed sysstat and my system turned into a turtle, 14 minutes to uninstall sysstat | 17:36 |
bekks | Which resources in particular do you talk about? | 17:36 |
bekks | Do you know which resources sysstat is showing you? | 17:36 |
Wamphyri | 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:38 |
bekks | Then look at free -m, top, ps -ef, vmstat and see whats hogging your box. | 17:40 |
Wamphyri | here is the output of free http://pastebin.com/1TZ1R8v8 | 17:40 |
bekks | Looks fine. | 17:41 |
Wamphyri | vmstat http://pastebin.com/KvfjPhu6 | 17:42 |
bekks | Just one line from vmstat is pointless. | 17:42 |
bekks | Let it run for a minute, and post all of the output. | 17:42 |
Wamphyri | it stopped itself | 17:43 |
=== Lcawte|Away is now known as Lcawte | ||
bekks | Because you did not tell it to run for a minute. | 17:43 |
Wamphyri | http://pastebin.com/BjqR6n4i | 17:46 |
bekks | Doesnt look like your system is "unusable". | 17:49 |
Wamphyri | 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 | 17:52 |
bekks | Wamphyri: Sounds like you should investigate your apache/php setup then. | 18:04 |
Wamphyri | php-cgi runs between 5% to 70% | 18:10 |
bekks | Doesnt mean anything. | 18:10 |
bekks | Check the apache/php logs for whats happening, actually. | 18:11 |
=== neunon_ is now known as neunon | ||
=== thesheff17_ is now known as thesheff17 | ||
=== jrgifford_ is now known as jrgifford | ||
Wamphyri | would MaxRequestWorkers make it run slow? | 18:14 |
=== seg_ is now known as seg | ||
bekks | Wamphyri: Depends on the value and the rest of the setup. | 18:15 |
=== zemmihates_ is now known as zemmihates | ||
=== justizin_ is now known as justizin | ||
=== tomaw_ is now known as tomaw | ||
Wamphyri | 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 |
bekks | You cant do anything without having access to the system. | 18:22 |
Wamphyri | physicial access? | 18:23 |
bekks | "access to the system" means either physical access or access by ssh. | 18:23 |
Wamphyri | jesus buddy do you not read my entire sentence? | 18:23 |
bekks | I answered your question. I'm not responsible for you not wanting to hear specific things. | 18:24 |
=== IdleOne- is now known as IdleOne | ||
jelly | "exploded" is a bit nonspecific, best correlate whatever symptoms you're seeing with access.log | 18:40 |
jvwjgames2 | I am trying to solve a 500 server error | 18:55 |
bekks | 500 server error on which server? | 18:55 |
bekks | webserver, mailserver, etc.? | 18:56 |
bekks | And running which Ubuntu? | 18:56 |
jvwjgames2 | Yes Ubuntu | 18:56 |
teward | jvwjgames2: 500 means nothing without details on the software you're using that's generating it, the version of Ubuntu, etc. | 18:57 |
teward | jvwjgames2: is it Apache? NGINX? Postfix? PHP? | 18:57 |
teward | what's generating the 500 error? | 18:57 |
bekks | firefox :P | 18:57 |
jvwjgames2 | Here is the error log http://tfdatabase.net | 18:57 |
bekks | Error log of WHAT? | 18:57 |
teward | jvwjgames2: that's not useful | 18:57 |
bekks | jvwjgames2: Start answering my questions please. | 18:58 |
teward | 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 |
teward | jvwjgames2: if you want help, answer questions | 18:58 |
teward | if you don't want help, don't answer questions, and continue to have the problem. | 18:58 |
jvwjgames2 | OK sorry it is Ubuntu server 14.04 LTS running Apache2 | 18:58 |
bekks | jvwjgames2: Fix all those "file not found" errors first. | 18:59 |
jvwjgames2 | I did | 18:59 |
bekks | You didnt. They are in the log. | 19:00 |
jvwjgames2 | The error is at the bottom | 19:00 |
bekks | Fix the "permission denied" error then. | 19:00 |
* teward thinks he knows the next question from jvwjgames2 | 19:01 | |
jvwjgames2 | I cleared out the error.log but when I get the 500 error nothing generated | 19:06 |
jvwjgames2 | Only in access.lo | 19:06 |
jvwjgames2 | *log | 19:06 |
bekks | Yeah. | 19:07 |
bekks | And the access.log is what you posted. | 19:07 |
jvwjgames2 | Just reposted error and access.logs | 19:10 |
jvwjgames2 | Did you recheck cause I just reposted them | 19:18 |
BrianBlaze420 | once I make my rules for ufw and then reload it is it saved on reboot? | 21:48 |
geetar | 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:09 |
geetar | Now, I *can* print from "lpr file-to-print.txt", but not printing from remote laptop. | 22:22 |
geetar | even "lpr file-to-print.txt" using ssh is very slow though. | 22:22 |
geetar | 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:40 |
geetar | I can print with the same printer on my ubuntu laptop flawlessly, but cant get the server to print | 22:41 |
geetar | or at least can get it to print-serve properly | 22:41 |
geetar | just now got it to print a test pdf through "lpr" | 22:42 |
JanC | did you look for errors in the logs? | 22:45 |
geetar | JanC: yes, but looking again .. | 22:45 |
geetar | 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:51 |
JanC | and logs or verbose errors on the laptop when you try to print from it? | 22:52 |
JanC | 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 |
geetar | 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:53 |
geetar | JanC: I am about to get into the server through 192.168.0.2:631 now. After reinstalling CUPS. | 22:54 |
geetar | 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. | 22:57 |
geetar | 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:00 |
geetar | 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? | 23:01 |
=== Lcawte is now known as Lcawte|Away | ||
geetar | 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:03 |
geetar | Can someone verify that in /etc/cups/ssl they have links to SSL certificates? | 23:04 |
geetar | Does anyone know how or why the ssl folder in /etc/cups/ssl gets created? | 23:04 |
OerHeks | geetar, mine during fresh install, http://paste.ubuntu.com/13999403/ | 23:09 |
tarpman | geetar: how -> see /var/lib/dpkg/info/cups.postinst | 23:10 |
tarpman | geetar: why -> to provide a default self-signed server cert so that you can use cups securely without having to buy a certificate | 23:10 |
tarpman | 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 |
tarpman | geetar: or reinstall the package using dpkg --force-confnew | 23:11 |
geetar | OerHeks: thanks, helpful, similar to mine before. I will restore. | 23:11 |
tarpman | pardon me, --force-confmiss | 23:12 |
geetar | 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:18 |
tarpman | geetar: pardon me, the package that sets up the certs (and some other configs) is cups-daemon, not cups itself | 23:22 |
geetar | tarpman: "sudo apt-get install cups-daemon" claims I am at the newest version. | 23:24 |
tarpman | geetar: I meant cups-daemon is the package you need to purge and reinstall if you want the configs re-created | 23:25 |
geetar | ah, k | 23:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!