Mochabomb

Web Design and Technical notes

Mochabomb header image 4

Entries Tagged as 'Linux'

Drop Bogon IP’s quickly and easily

October 15th, 2008 6:05 pm · No Comments

Block Bogon IP’s quickly and easily

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux · Security

Cron errors - cron’s not running etc.. (CentOS 5.2)

September 27th, 2008 11:26 pm · No Comments

Had these errors recently on the exodus and genesis servers - been a lot of recent work on these…
pam_access(crond:account): access denied for user `someuser’ from `cron’
crond[9985]: CRON (someuser) ERROR: failed to open PAM security session: Success
crond[9985]: CRON (someuser) ERROR: cannot set security context

This link solved it:
http://hostechs.com/2008/07/cron-error-failed-to-open-pam-security-session/
* /etc/cron.allow - add users to this file
* /etc/security/access.conf - [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux

Dual NIC setup with CentOS - public and local interfaces

May 7th, 2008 1:20 pm · No Comments

Ever had dual NICs fighting to be king of the hill? This will help settle the battle once and for all.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Cygwin Linux · Linux · Networking · Subversion

Script to monitor Linux server processes

May 6th, 2008 10:52 am · 2 Comments

Ever had a process die and not know it until trying to use it? Last year dovecot was dying and running “service dovecot status” shows that - this script was born to address this for many processes. Its a work in progress, and please share any ways to make it better. [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux

Fail2Ban script to verify configuration

January 11th, 2008 4:09 am · No Comments

From the comments in the script:
“Created this script after I had several misconfigurations across many servers - this will
use values from the config files for testing - a wrapper for fail2ban-regex and eliminating
late-night, low-on-caffeine human errors in testing your config. Could also be used: after an
update to verify the configuration, run weekly cron, create [...]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

[Read more →]

Tags: Linux