Date: Cannot Set Date: Operation Not Permitted (OpenVZ)

Upon installation of an OpenVZ container (VE/Virtual Environment) I was unable to set the date, and the time-zone was incorrect.  Attempts to set the date resulted in the following error.

# date 031612482009
date: cannot set date: Operation not permitted

To correct this problem, exit from the container (#exit) and issue the following commands.

# vzctl stop <veid>
# vzctl set <veid> –save –capability sys_time:on
# vzctl start <veid>

Where <veid> is your Virtual Environment ID.  Next, log back into your virtual environment and issue the following commands to set the appropriate time-zone for the Virtual Environment (VE).

# vzctl enter <veid>
# mv /etc/localtime /etc/localtime.old
# ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

Now you can set the date and time appropraitely.

make: *** [ffmpeg_frame.lo] Error 1

helloweenInstall FFMpeg dkk gak slalu berjalan lancar, walaupun udah nyontek bnyk tutorial termasuk tutorial punya tetangga sbelah ;) .
Kadang ada aja majalah yg muncul, error ini, itu, bgini, bgitu..weks. Nah, yg paling sering muncul error itu waktu install FFMPeg-php ( versi baru ) adalah :


Read the rest of this entry »

Monitoring Server menggunakan Twitter

twitterKali ini saya mendapat lagi ilmu baru dari mang google yaitu : Monitoring server dengan twitter dan sms.
Kenapa judulnya demikian? ya, karena artikel kali ini akan membahas bagaimana memonitoring server dengan menggunakan 2 akun twitter yang akan mengirimkan sms ke HP kita secara otomatis jika terjadi masalah pada koneksi server secara GRATIS. ( ane suka nyang ini.. ).

Twitter adalah salah satu layanan social network jenis microblogging yang cukup booming. Dengan menggunakan Twitter, anda bisa mengirimkan informasi singkat kepada teman-teman Anda yang mengikuti akun Twitter Anda dan di teruskan ke email maupun ponsel Anda.

Nah, karena pesan-pesan singkat tersebut akan di teruskan ke email dan ponsel kita secara GRATIS maka tidak ada salahnya kalau kita manfaatkan untuk monitoring server.


Read the rest of this entry »