Archive for the ‘ Directadmin ’ Category

One day my client asked me to migrate a Direct Admin Server to NEW server with improved hardware. He wants this migration with minimum down time.

Below are the steps which I did for this migration.
Read the rest of this entry

E: syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running
R: nano -c /etc/init.d/syslog
Search the line below, (nearly at line # 42)

passed klogd skipped #daemon klogd $KLOGD_OPTIONS

Replace it with lines below,

#passed klogd skipped
daemon klogd $KLOGD_OPTIONS

Now search ‘status klogd’ (nearly at line #61) and uncomment it.

If you change the file, remember to restart syslog via /etc/init.d/syslog restart

Got a problem when you install mplayer:
Checking for yasm …
Error: yasm not found, use –yasm=” if you really want to compile without
Check “config.log” if you do not understand why it failed.
Read the rest of this entry

Problem is I can’t upload directory including sub-directories and files using command-line ftp. I searched for similar problem and looks like you can’t do this using command line ftp, unless you create a script. One solution I found is the use of “lftp“.

# lftp ftp_host
user ftp_user ftp_pass
mirror source target
(download entire directory tree)
mirror -R source target
(reverse mirror; upload entire directory tree)

Usefull when transferring files between servers where you only have ftp access.

I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64).
Read the rest of this entry