tail -f /var/log/qmail/current
@400000004bb4a61a24b56c3c alert: cannot start: unable to open mutex
@400000004bb4a61b263e2f1c alert: cannot start: unable to open mutex
@400000004bb4a61c2768f37c alert: cannot start: unable to open mutex
@400000004bb4a61d28b71a74 alert: cannot start: unable to open mutex
@400000004bb4a61e2a37079c alert: cannot start: unable to open mutex
@400000004bb4a61f2b437274 alert: cannot start: unable to open mutex
@400000004bb4a6202c8cc70c alert: cannot start: unable to open mutex
@400000004bb4a6212e2f537c alert: cannot start: unable to open mutex


currrent 파일에서 확인할 수 있는 내용이 이상.

http://www.noah.org/wiki/Qmail_notes 를 참조해서 삭제된 파일을 복원해 주었다.
아마도 스팸메일 지울 때 같이 지워진 듯.

qmailctl stop
touch /var/qmail/queue/lock/tcpto
chown qmails:qmail /var/qmail/queue/lock/tcpto
qmailctl start


qmailctl stop
touch /var/qmail/queue/lock/sendmutex
chown qmails:qmail /var/qmail/queue/lock/sendmutex
qmailctl start

'email' 카테고리의 다른 글

DSN - Delivery Status Notification  (0) 2010.05.21
gmail error Bad Request  (0) 2010.05.17
imap useful links  (0) 2010.04.20
IMAP RFC 3501 - Internet Message Access Protocol - Version 4 revision 1  (0) 2010.04.19
IMAP command example  (0) 2010.04.15
Latest update: 2010. 4. 1. 23:05

#include <stdio.h>
#include <string.h>

int main (int argc, char* argv[]) {
    FILE* fp;

    /* Our example data structure */
    struct {
        char one[4];
        int  two;
        char three[4];
    } data;

    /* Fill our structure with data */
    strcpy (data.one, "foo");
    data.two = 0x01234567;
    strcpy (data.three, "bar");

    /* Write it to a file */
    fp = fopen ("output", "wb");
    if (fp) {
        fwrite (&data, sizeof (data), 1, fp);
        fclose (fp);
    }
}

생성된 output 의 hexdump 를 뜨면
# od -x output
0000000 666f 6f00 0123 4567 6261 7200
0000014

4567
0123
0123 순서로 나오면 little endian
0123 4567 순서로 나오면 big endian 

* 나만의 endian 구별법.
값을 메모리에 저장할 때 큰자리수부터 작은자리 순서로 저장할 경우
가장 작은 자리에 해당하는 값 부분이 end 라는 의미로 보면.
big end 의 경우 end 에 해당하는 값이 저장된 메모리 번지수가 제일 크다는 의미로 생각하고
little end 의 경우 end 에 해당하는 값이 저장된 메모리 번지수가 제일 크지 않다는 의미로 생각하면
헷갈리지 않고 구별할 수 있다.


'programming' 카테고리의 다른 글

eclipse에서 VI 로 JAVA 코딩하기  (0) 2010.05.21
rpcgen  (0) 2010.04.08
IRIX® Network Programming Guide  (0) 2010.04.08
mod_throttle 3.1.2 - limit limit.  (0) 2010.02.19
Kdevelop - Doxygen  (0) 2010.02.04
Latest update: 2010. 3. 31. 09:48
Doesn't matter how tough we are, trauma always leaves a scar. 
우리가 얼마나 강한지 상관없이, 정신적인 충격은 항상 상처를 남긴다

It follows us home, 
늘 붙어다니고,

it changes our lives, 
우리의 삶을 바꿔놓기도 한다

trauma messes everybody up, 
정신적인 충격은 모든 사람을 망친다.

but maybe that's the point. 
하지만, 중요한 건.

All the pain and the fear and the crap. 
모든 고통과 두려움과 실수들은

Maybe going through all of that is what keeps us moving forward. 
우리를 밀어주면서 한 발짝 더 나아가게 한다는 것이다

It's what pushes us. 
Maybe we have to get a little messed up, before we can step up.
아마도 우리는 조금 더 성장하기 위해
가끔 망가지고 좌절해야 할지도 모른다

- Alex. Grey's Anatomy.

'english' 카테고리의 다른 글

Pocket English 2010-04-26  (0) 2010.04.26
green thumb  (0) 2010.04.20
inter-rogate  (0) 2010.04.02
Latest update: 2010. 2. 21. 00:18