1,435 reputation
168
bio website github.com/slillibri
location Austin, TX
age 42
visits member for 5 years, 7 months
seen May 14 at 14:51

Mar
25
comment Installing GeoIP in cPanel/WHM
What is listed when you run httpd -M?
Dec
17
comment Resetting root password for MySQL problems (Mac OS X Lion)
Those instructions assume that you are running as root. Use sudo /usr/local/mysql/bin/mysql_safe --skip-grant-tables. You will be prompted for your password when you start.
Dec
5
comment Can't create PID file on MySQL server, permission denied
@JamesBarnhill To expand on my earlier comment, make sure _mysql has x permissions to /usr/local/mysql-5.5.18-osx10.6-x86_64/, not just /usr/local/mysql as that is just a symlink. If you chmod +x /usr/local/mysql-5.5.18-osx10.6-x86_64/ it should start (at least that would match the working perms on my MBP).
Dec
5
comment Can't create PID file on MySQL server, permission denied
ls -ld /usr/local/mysql-5.5.18-osx10.6-x86_64/?
Dec
4
comment mysql tables strange behaviour
You can find your mysql error logs by logging into your mysql server and running show global variables like 'log_error';
Dec
4
comment mysql tables strange behaviour
Have you looked in the mysql logs (what OS are you running on), or your web server error logs?
Dec
2
comment Host Header configuration for IIS
FYI, please use the example.com and example.org domains for examples as per RFC 2606 (tools.ietf.org/html/rfc2606), unless you are the owner of acme.com of course.
Dec
2
comment How do I prevent accidental rm -rf /*?
To use a gun analogy, this question says please make the gun recognize that I am aiming at my foot and not fire, but I don't want to have any responsibility for not aiming the gun at my foot in the first place. Guns, and computers, are stupid and if you do a stupid thing then you will get these results. Following along the gun analogy, nothing will keep you from hurting yourself except vigilance and practice.
Nov
30
comment email dropbox between two mutually untrusted sites
In the 90s we called this FidoNet. Sounds like what you want is to use the DMZ box as a smarthost, and try to deliver all outbound mail to Other Guys, but in this scenario they wouldn't be able to 'retrieve' the mail, just connect to the DMZ box and let it successfully deliver it.
Nov
29
comment How to start dovecot?
Find out if the dovecot service is running by issuing ps -ax | grep [d]ovecot. If it is, you can kill it with ps -ax | grep [d]ovecot | awk '{print $1}' | xargs kill -9. Then restart it with service dovecot start. Note, these commands work in bash, if you are using zsh you will have to escape the brackets.
Nov
26
comment Cyrus IMAP: Unable to connect to remote host: Connection refused
What is the output of netstat -tnlp ?
Nov
25
comment flush tables in the Locked state
Sorry, I was mistaken. You don't run it from cron. You can run it as a daemon by passing the --daemonize option, and you can have it log to a log file with the --log <logfile> option. You can test this by setting a short busy-time such as pt-kill --busy-time 5 --kill then logging into your database and issuing a sleep query like select sleep(30);.
Nov
17
comment Install gitolite without needing public key(s)?
There are docs here sitaramc.github.com/gitolite/http.html for using Gitolite with HTTP. I haven't ever set this up, I have always just used ssh. Generating public keys on windows workstations is pretty straight forward using puttygen, then using pageant for authentication. I've done this many times for SVN access for developers on windows workstations.
Oct
25
comment How do you setup a DNS server in order to be able to add records on-the-fly?
To echo @Zoredache, are you adding new zones? I think you might be mixing terms. A zone is just a subset of a single domain. Looks like you want to add subdomains. You might want to edit your question if this is the case.
Oct
21
comment Rename all the files
For filenames with spaces, simply prepend IFS=$'\t\n'; to the start of the command. This will remove the space as a "Internal Field Separator". Do a search on linux ifs for more tricks with this variable.
Oct
18
comment rsync : transferring files in one direction only
And remember, when in doubt the --dry-run option will show you a list of the files that would have been transferred but not actually perform the transfer. I add this to the start of every rsync just as a precaution, even if I am sure the command is correct.
Oct
7
comment apache chmod 777 risks in a single user environment
What's wrong with creating a group containing apache and anyone else who needs to write? Or, since there are no other users on the box, just using chown apache on that folder and setting 700? IFAIK, only /tmp should be 777.
Oct
6
comment SSH key exchange is not working
Permissions on authorized_keys should be 600, not 644.
Sep
29
comment How to detect the process (and mysql query) that makes high load on server?
Another tool to look at is Innotop (code.google.com/p/innotop) a top clone for MySQL. Also check out the Percona Toolkit (percona.com/software/percona-toolkit)
Sep
29
comment Grant user mkdir()
Why was this answer accepted if it didn't work?