Qmail: qmail: 1206764384.847172 alert: cannot start: unable to open mutex

เมื่อ Qmail เกิดปัญหา:


alert: cannot start: unable to open mutex

แก้ด้วย:

 


mkdir /usr/local/psa/qmail/queue/lock
touch /usr/local/psa/qmail/queue/lock/sendmutex
chown qmails:qmail  /usr/local/psa/qmail/queue/lock/sendmutex
chown qmails:qmail  /usr/local/psa/qmail/queue/lock/
chmod 777 /usr/local/psa/qmail/queue/lock

Debian: apt-get update GPG error:


# apt-get update

OR

# atitude update

RESULT:

GPG error: http://security.debian.org etch/updates Release: The following signatures were invalid: BADSIG A70DAF536070D3A1

FIXED

# apt-get install install debian-keyring

OR

# aptitude install debian-keyring

AND

# apt-key add /usr/share/keyrings/debian-role-keys.gpg

Ref: http://www.ecualug.org/?q=2007/01/08/blog/antares/claves_gpg_debian

Solaris: tips

"Not on system console [when telnet]"

แก้ง่ายมากครับ

แก้ file: /etc/default/login


# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
#CONSOLE=/dev/console

 

===

Know your architecture


# isainfo -kv
64-bit sparcv9 kernel modules

Solaris: pkg-get

คนคุ้นเคยกะความสะบายของ Debian
พอมาได้ลอง Solaris (X4100) เลยต้องหาเครื่องมีอมาช่วยหน่อย


root@demo # uname -a
SunOS demo 5.10 Generic_127112-02 i86pc i386 i86pc

Qmail: rhost-check

I have add "rhost-check" to qmail-smtpd
affter read Chis Hardie to prevent spammer.

 

Download: rhost-check.c
Compile: gcc -O -o rhost-check rhost-check.c
Usage

cp rhost-check /usr/local/bin/
vi /service/qmail-smtpd/run
add
tcpserver -R -h -p 0 smtp rhost-check rblsmtpd qmail-smtpd 2>&1

Resule @40000000473d58371051835c rblsmtpd: [some.ip] pid 12392: 451 bad reverse DNS

 

Install Oracle 10g on Solaris 10 [SunFire V880] ด้วย MS-Windows

Hardware:

prtdiag


System Configuration: Sun Microsystems sun4u Sun Fire 880
System clock frequency: 150 MHz
Memory size: 12288 Megabytes

Software:

  • Xming
  • Sun Solaris
  • Java
  • xterm

 

(Xming)---[Windows]-----[Solaris]

 

หลังจากติดตั้ง Xming หลังจากนั้น ระบุใการใช้งานเป็น
Multiple Windows และ No Access Control

2. ใน console (telnet/ssh) ให้พิ่มพ์ (shell=bash)

export DISPLAY=IP_OF_XMING:0

3. สั่งคำสั่ง xterm &

4. สุดท้าย install Oracle

cd /path/to/oracle/install/file/; ./runInstaller

Solaris - Network

Network configuration file

/etc/hostname.[NIC name]
/etc/hosts
/etc/netmasks
/etc/defaultrouter
/etc/resolv.conf

It should be work.,
But if it can not resolve DomanName,
Although network is connected.
Add
hosts: file dns
in nsswitch.conf

C extern --> #include

มีปัญหานิดหน่อยตอน compile qmail-rblcheck

extern int errno;

เป็น

#include

หาใช้ glibc 2.3.1 ขึ้นไป

ที่มา
http://www.cyber-sentry.com/index.php?id=46
http://lists.ziobudda.net/pipermail/qmail-it/2006-April/000223.html

ม่อนจอง

ถ้าไม่มีอะไรผิดผลาด คงได้ปีนทีสูงประจำปี
ปีนี้ที่ ม่อนจอง เชียงใหม่ หลังจากการ สอบถามเบื้องต้น

Drupal 5.2

หลักจากมีความพบายามจาก upgrade Drupal 5.0 มาเป็น 5.2
ใช้เวลาอยุ่หลายวันเหมือนกัน แหะๆ เพราะ เพิ่ม theme และ configure
module เพิ่ม แต่ทำมานานแล้ว จนจำไม่ได้ - -!
กว่าจะฟื่นมาได้ ก็นานเหมือนกัน คริๆ

Syndicate content