66,955 reputation
762127
bio website
location Wirral, United Kingdom
age
visits member for 5 years, 2 months
seen 1 hour ago

An experienced Linux and Unix sysadmin.

I'm open to projects/problem solving on a short-term basis. If you have something that needs to get done, let me know.

Contact me:

serverfault@douglas.cx

serverfault@1n6.org.uk

Skype: iain.sf


Aug
11
revised Why is my crontab not working, and how can I troubleshoot it?
added 45 characters in body
Aug
11
comment Crond stopped sending e-mails for no apparent reason
Look at your mail logs ?
Aug
10
comment Add ssh public key to group instead of users on centos 6.5
Are you saying you want all users to have the same public key ?
Aug
10
comment iptables service won't start error line 1 fail - centOS 6.5
What is in your /etc/sysconfig/iptables file ?
Aug
8
comment Tool to lint passwd and group files
They sanity check the files in exit suck-it-and-see
Aug
8
comment Tool to lint passwd and group files
vipw and vigr may be what you want.
Aug
7
comment How to get the port number a user ssh'd in on?
Create a separate config file for port 22 and configure it to log to LOCAL6. Then add a local6.* directive to /etc/(r)syslog.conf and restart it. run /usr/sbin/sshd -f newconfig file. The sshd on port 22 will now be logging to a separate file.
Aug
5
comment CentOS 100% full disk, but no there any large file
Many of those Q&A will have techniques in them that will aid you in gathering information to diagnose your problem. Right now your question is unanswerable because it basically reads like this. My disks get full, reboot fix. HALP ! meta.serverfault.com/questions/6074/…
Aug
5
comment CentOS 100% full disk, but no there any large file
Look over on the right under related - there is plenty of information there.
Aug
4
comment Bash Script that downloads a file and checks the value if 1 or 0
We generally don't write scripts for people - we prefer them to have a go themselves and then show their working when asking for help debugging.
Aug
3
comment Cron job not being executed fully
You really need to check that php is in the path for cron and put output redirections on each of the commands.
Aug
3
comment Why won't iptables allow MySQL connections?
Is your windows firewall configured to allow outbound connections to port 3306 ?
Aug
3
comment Cron job not being executed fully
You will almost certainly find the answer to your problem in the linked document above. If you don't it will help you gather information that will help us to help you diagnose the problem.
Aug
3
comment Why won't iptables allow MySQL connections?
What is the exact error messages tou get when trying to connect ? Are there any relevany messages in your logs ?
Aug
2
comment Why does this command to send emails work from the shell but not as a cron job?
What are you expecting to generate the email ? example.com ?
Aug
1
comment Delete all files except the newest of each day
I haven't voted.
Aug
1
comment Where is this bash shell alias being configured?
grep -r 'color=auto' /etc/*
Aug
1
comment proftpd does not support upload of file bigger than 2Kb
Are there any relevant messages in your logs ?
Aug
1
comment Delete all files except the newest of each day
As an aside linux find has a -delete option which is quite handy
Aug
1
comment Delete all files except the newest of each day
I would do this by making sure that the files have a consistent naming convention and then use find's ! operator to delete all bar the files I wanted to keep.