FreeBSD / Unix – scritp doenst work as cronjob.

When you’ve created a script and you want to ‘run’ it for example every 5minutes on your webserver you can create an cronjob. But when the cronjob should launch your script, nothing happens and when you run it manually on the server it does work. There is a simple solution for this. Cron can only […]

Read More »

Windows Backup – The filename, directoryname or volume label syntax is incorrect.

When in Windows Backup 2008 you want to add an 2nd HDD target to your existing back-up schedule you get the error message: “The filename, directoryname or volume label syntax is incorrect” The solution is: Attach your 1st harddisk. You can only add an extra harddisk to your existing back-up schedule when your 1ste harddisk […]

Read More »

Mac OSx – Setup a VPN connection

To setup a VPN connection on OSx do the following: 1. Click on the ‘apple’ icon and select ‘systempreferences’ and click on ‘network’. 2. Click on the ‘+’ and choose VPN from the list ‘interface’ 3. Choose the preffered VPN type (usually PPTP) 4. Enter the information 5. Click on ‘Authentication settings’ and enter the […]

Read More »

Windows – Find installation date

There is a simple command to find out the installation date of your windows Pc / server. Open a command prompt (Windows + R, type cmd) Then type: find /i “install date” You will get the output saying: Original Install Date: dd-mm-yyyy, 12:34:56

Read More »

FreeBSD – Lost MySQL Password / restore mysql password / reset mysql password

If you lost / forgot your MySQL password you can restore it by connecting to the host with SSH. Next you add the following line to you /etc/rc.conf. mysql_args=”–skip-grant-tables –skip-networking” Then restart MySQL # /usr/local/etc/rc.d/mysql-server restart Connect with MySQL # mysql -u root mysql Then type the below command: UPDATE mysql.user SET Password=PASSWORD(‘new password’) WHERE […]

Read More »