5,188 reputation
1133
bio website alexclear.livejournal.com
location Mother Russia
age 37
visits member for 3 years, 10 months
seen 2 days ago

An experienced software developer with a bit of sysadmin background. Can't dance.


Feb
4
answered vsftp on centos
Feb
4
answered nginx Rewrite with Trailing Slash
Feb
4
awarded  Editor
Feb
4
comment copy all *.mkv in subdirectories to parent directory
You are right guys. Edited a command to add a trailing slash. Yep, mv has more sense, but the task was to copy files for some reason.
Feb
4
revised copy all *.mkv in subdirectories to parent directory
added 1 characters in body
Feb
4
answered copy all *.mkv in subdirectories to parent directory
Feb
4
comment File does not exist: /htdocs
Could you please post content of /etc/apache2/sites-available/default?
Feb
4
answered Monitor bandwidth per-process
Feb
4
answered Performance Tuning a High-Load Apache Server
Feb
3
comment is it really necessary to run Apache as a front-end to Glassfish/JBoss/Tomcat?
Well, multithreaded Apache still uses synchronous I/O. I don't see big difference if threads not processes will be blocked on a socket by slow clients. Nginx is designed as single-threaded single-process finite state machine (well, not necessary single-process, number of processes should be set to number of CPU cores on a multi-core system).
Feb
3
comment is it really necessary to run Apache as a front-end to Glassfish/JBoss/Tomcat?
Actually, the problem is broader than just serving static content because if your server does not use async I/O clients with slow connections will block server's execution threads until they got the content in full. So, having an AIO-powered frontend is a benefit in any case. But, as I already mentioned, Tomcat has AIO capabilities. I think stock Glassfish package already includes AIO library, so you probably should not bother.
Feb
3
answered How can I prevent apache DoS flood?
Feb
3
answered is it really necessary to run Apache as a front-end to Glassfish/JBoss/Tomcat?
Feb
3
answered From Apache to Nginx: Error 310, too many redirects
Feb
3
awarded  Commentator
Feb
3
comment smtp sasl authentication failure
As you can see from the detailed postfix log, it tried DIGEST-MD5 SASL mechanism first, then fell back to the LOGIN SASL mechanism. If you use auxprop plugin with the LOGIN mech, your MySQL query should return a plaintext password.
Feb
3
comment smtp sasl authentication failure
Okay, you are using the auxprop plugin to provide SASL with a connection to the MySQL server. This plugin does not support encrypted or hashed passwords as stated here: "If you must store encrypted passwords, you cannot use the sql auxprop plugin. Instead, see section "Using saslauthd with PAM", and configure PAM to look up the encrypted passwords with, for example, the pam_mysql module. You will not be able to use any of the methods that require access to plaintext passwords, such as the shared-secret methods CRAM-MD5 and DIGEST-MD5"
Feb
3
answered Is gnu screen or tmux more stable for keeping running on the server?
Feb
3
comment smtp sasl authentication failure
Hmm, I'm a bit confused here, are you saying that the password is stored in the DB in the encrypted form? But it looks like you are using a plain authentication method on SASL side, so there should be some kind of conversion from plain to encrypted somewhere between SASL and MySQL storage. Do you use a kind of hashing algorithm right in the SQL query?
Feb
3
answered smtp sasl authentication failure