Updates from Sonyboy RSS Toggle Comment Threads | Keyboard Shortcuts

  • Sonyboy 22:38 on September 16, 2009 Permalink | Reply
    Tags: date, date and time, , time, xenserver   

    XenServer: Date/Time synchronization issues 

    By default, XenVMs have their clocks synchronized to the XenServer Host that hosts them and will ignore requests to adjust the time made by an ntp daemon if one is running. If you want a XenVM to have an independent clock, log on to its Text Console and issue the command

    echo 1 > /proc/sys/xen/independent_wallclock

    then run an NTP daemon.

    To revert to the default, issue the command

    echo 0 > /proc/sys/xen/independent_wallclock

    For more setting up an NTP on the XenServer please refer to the below kb article. Refer to the below kb article for “How to set up an NTP Server for a XenServer network”

     
  • Sonyboy 09:32 on July 22, 2009 Permalink | Reply
    Tags: , , semaphore   

    Apache2 – No space left on device 

    I had problems restarting Apache2… After researching a lot I found that it was due there were myriads of semaphore-arrays left, owned by my www-data user.

    The following appears to be some of the errors Apache writes in the log.

    • [emerg] (28)No space left on device: Couldn’t create accept lock

      or

    • [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed

      or

    • [error] (28)No space left on device: Cannot create SSLMutex

    After stopping Apache I found the semaphores with the following command

    ipcs -s | grep www-data

    Removing this semaphores immediately solved the problem.

    ipcs -s | grep www-data | perl -e ‘while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}’

     
  • Sonyboy 17:31 on July 20, 2009 Permalink | Reply
    Tags:   

    Disable Dashboard on Mac OS X 

    Open Terminal and issue command in subsequent:

    defaults write com.apple.dashboard mcx-disabled -boolean YES
    killall Dock

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel