1,415 reputation
166
bio website github.com/slillibri
location Austin, TX
age 41
visits member for 5 years, 2 months
seen May 14 at 14:51

Jun
22
answered RedHat iptables firewall entry
Jun
17
comment Cannot log into mysql after invoking mysql from shell script
Why in your script are you assigning $1 to dbname, etc then reusing $1? In your create line, use create database ${dbname}; grant all on ${dbname}.* to '${dbuser}' identified by '${dbpassword}'. Also, you don't need to use flush privileges after the grant statement. You only need to do that if you modify the mysql.* tables directly.
Jun
7
comment Bash script to count number of files
As an alternative, you could also do count=$(find /import -type f -name "*.zip" | wc -l)
Jun
5
comment iptables doesn't log anything
What version of rsyslog are you running? When I added the above rule into a default Debian stable system, it logged to kern.log as expected (using rsyslog 4.6.4-2).
Jun
5
comment iptables doesn't log anything
If you switch your rule to just iptables -A INPUT -p tcp -j LOG do you see any logging?
Jun
5
answered MySQL Remote Access Security Considerations
Jun
3
answered Loading a zone without A entries
Jun
2
comment Whats going on with mySQL
Can you check if it is actually running with ps axf | grep [m]ysql?
Jun
1
comment have problem with iptables in the part of ssh
Somewhat unrelated to your question, but you probably don't want to do this iptables -A INPUT -p tcp --sport 22 -j ACCEPT. With a rule like this, I can use netcat and set the source port nc -p 22 and connect to any listening port on your server.
May
29
comment cannot run executables after moving /home to new partition
Try it without nodev. It looks like it's trying to create a device node for debugging.
May
28
awarded  Yearling
May
24
answered Redhat stores lock file sin /var/lock/subsys, does ubuntu do similiar?
May
23
awarded  Citizen Patrol
May
23
comment Server is too optimized?
I think you misunderstand. There would be no reason for the load to be 4.0 just because you have a quad core processor. The load average is just the measure of processes waiting in the run queue. Are you seeing errors of some kind?
May
22
answered Can't find dhcp configuration file
May
20
comment Can I hide the expanded alias in a bounce message?
You may not be able to catch spam as well as Google, but you can do a simple Amavisd install and block the attachment types listed at the url in the error. Trying to hide the addresses in your backscatter spam is not the answer either.
May
19
answered git tag between localhost and production?
May
16
comment Out of disk space, what's the source?
After a little more searching, I found this somewhereville.com/?p=1370, which references a known and fixed bug in mountall here bugs.launchpad.net/ubuntu/+source/mountall/+bug/736512.
May
16
answered Out of disk space, what's the source?
May
16
answered How to find mail on shared linux hosting and delete after forwarding