Cauwenbergh.be weblog

Linux

« Previous Entries

Remove domain tomcat problem

dinsdag, september 8th, 2009

To remove a domain that generate a tomcat error during delete, copy an existing xml file from the following dir:
/usr/share/tomcat5/psa-users/
to {domain}.xml where {domain} is the full domain name to be removed.

Process op shared server bepalen van eigenaar

maandag, januari 5th, 2009

# ls /proc/<pidnr>/cwd/ -al
pidnr vervangen door de nr van het process

Plesk SQL Injection vulnerability

woensdag, september 26th, 2007

Today we have solved this bug on our productionserver. You can read how to solve this on:
http://kb.swsoft.com/en/2169

Disable ping on linux

donderdag, juli 19th, 2007

Almost all people starting with linux want to know after a while how to stop ping to prevent floods, well here is the solutions:
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
Only one thing left to do, you also want to get this after a reboot, so put in /etc/sysctl.conf.:
net.ipv4.conf.icmp_echo_ignore_all = 1

Fedora Core 2 repository

zondag, juli 8th, 2007

Today i found that the mirrors in usa not working for some reason on a fedora core 2 system of a customer, so i searched and found a newone and placed in /etc/yum.conf:

[base]
name=Fedora Core $releasever – $basearch – Base
baseurl=ftp://alviss.et.tudelft.nl/pub/fedora/core/$releasever/$basearch/os
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
[updates-released]
name=Fedora Core $releasever – $basearch – Released Updates
baseurl=ftp://alviss.et.tudelft.nl/pub/fedora/core/updates/$releasever/$basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
Hopefull someone could use this!

Backup mysql with many tables >1000

zaterdag, juli 7th, 2007

When your mysql has many tables you could get an error of LOCK TABLES to solve this you can try two things:
1) use the option –skip-lock-tables in mysqldump
2) edit /etc/my.cfg and add following line under category [mysqld]: open_files_limit=16384
After 2 restart mysql!

Could not bind 0.0.0.0:443

donderdag, juli 5th, 2007

login su in server
#fuser 443/tcp
443/tcp: xxxx yyyy zzzz <- proceses using 443
#kill -9 xxxx yyyy xxxx
#service httpd start

Final: backupserver is running!

vrijdag, juni 29th, 2007

The beginning was not so good, 3-ware card was not recognized by CentOS 5 neither 4! So after searching a couple of hours and found the right device drivers we could start the install! So far so good, we have a system with 6 x SATA 320GB in raid 5 so we have 1,45TB [...]

Thinking Debian or CentOS?

zondag, juni 24th, 2007

At this moment there are some huge changes waiting by Dutchzone, our Windowsserver is running and tested so one of the new things is our new windowshostingproject, not my idea, but sometimes you have to let it come over you :d
An other great change will be the migration of our new linuxserver, so we will [...]

Backup and dutchzone.eu

maandag, juni 4th, 2007

After years everything went like it has to go, so since a few days dutchzone.eu is registred at my name, an old supplier had registred the name and would not give it to us, but since a few days it is where it belong, by Dutchzone!
An other thing i have solved today is the backupsystem [...]

« Previous Entries