| ProfileSysAdmin ParadiseBlogLists | Help |
|
|
June 08 /usr/openwin/bin/xinit: connection refusedDuring installing Solaris, if you encounter the following error messages. Please check whether you forget to plug your usb mouse or the mouse problem.
............................... giving up /usr/openwin/bin/xinit: connection refused (error no 146):unable to connect to x server /usr/openwin/bin/xinit/: no such process (error 2) server error ................... May 11 FSCK.ext3: permission denied while trying to open /dev/ida!c0d0p2Just tried to install Fedora Core 5 on my HP DL380 Server. I was experienced with loading it after the installation. The following error shown:
checking filesystems
FSCK.ext3: permission denied while trying to open /dev/ida!c0d0p2 You must have r/w access to the filesystem or be root
( FAILED) An error occured during the file system check Dropping you to a shell; the system will reboot When you leave the shell Warning ---SELinux is active Disabling security, enforcement for system recovery Run 'setenforce 1' to reenable Give root password for maintenance ( or type control-D to continue ) Solution:
It is caused by selinux. Try to use the Rescue disk of FC5 to boot up the system. Edit /etc/sysconfig/selinux to disable it. Everything will be alright after the restart. March 10 Compilation failure for GD LibraryI was going to install a software on my Solaris 8 Box which required GD Library to install first.
I downloaded the newest version gd-2.0.33 from http://www.boutell.com/gd/ and failed to compile it with the follow errors:
Undefined first referenced
symbol in file gdImageCreateFromGd2Part gdparttopng.o ld: fatal: Symbol referencing errors. No output written to .libs/gdparttopng collect2: ld returned 1 exit status I got hopeless without finding any solution on the Internet. I ensured libpng was installed well.
Suddenly my mind came a hint. I changed the set path with looking /usr/local/bin first and then /usr/bin. At last, it was solved. I guessed it was because there wass older version pack in /usr/bin which made it failed. March 02 Compile SendmailIt is hard to find detail information from Internet about compiling sendmail. But it is not as smooth as you think.
Environment: Solaris 8 (You are recommended to install Developer Distribution or above which installed most of the Sun packages and libraries)
Sendmail Version: 8.13.5
1, Download Sendmail Source from www.sendmail.org
2, Download and install Berkeley DB from www.sleepycat.com or www.sunfreeware.org . I tried v3.3.11. (Better use v3.x version. There are many unknown error when trying v4.x)
3, Download and install make v3.8 from www.sunfreeware.org
4, Download and install gcc v3.4.2 from www.sunfreeware.org
5, Download and install libiconv 2.8 from www.sunfreeware.org
6, Check whether the following sun packages installed or not:
7, Check the UNIX_PATH to include the following path:
8, create the following directories if not existed:
9, Extract sendmail source to a temporary locaiton.
10, Change to directory sendmail_src_home/sendmail
11, Execute "sh Build" (If there is error, most probably it is caused by missing some SUN packages)
12, If no error reported, change to directory sendmail_src_home/cf/domain
13, Copy generic.m4 to YOUR_HOSTNAME.m4 (for example mailsrv.abc.com.m4)
14, Change to directory sendmail_src_home/cf/cf
15, Copy generic-solaris.mc to config.mc and insert the following lines below the line OSTYPE(...) in config.mc. The FEATURE is optional in case you want to use such database.
16, Execute "sh Build config.cf"
17, Copy the config.cf to replace /etc/mail/sendmail.cf
18, Change to directory sendmail_src_dir/sendmail
19, Execute "sh Build install"
20, If no error reported, change to directory sendmail_src_dir and execute "sh Build install" again
21, Possibly it is successfully installed.
22, Execute "/etc/rc2.d/S88sendmail stop" and "/etc/rc2.d/S88sendmail start"
23, telnet localhost 25 and see whether the sendmail is installed with the compile version.
February 27 Zimbra Mail Server InstallationRecently, I am trying to study a new enterprise email server for my company. To save money, I tend to find an open source system. There are 3 popular choices, here is the comments to them.
Scalix - not supports unicode.
OpenXchange - not provide wizards installation and web console in the free license version
As of above concerns, I selected Zimbra (www.zimbra.com).
The open source version already provides rich email functions. I am not going to list here. The information can be found on their websites.
I have tried installed it on FC3 and FC4. It is quite stable and the installation is very smooth. You may just spend ten somethings minutes to install it.
Some tips on the system installation:-
1, After a clean OS installation, remove the hostname, which created when installing the OS, from the 127.0.0.1 entry of /etc/hosts and add another entry for the mail domain.
2, install fetchmail and libstdc by execute
3, Download the Open Source Version of Zimbra from their website. Extract it into the OS, for example /tmp
4, cd /tmp/zcs and execute ./install.sh
5, They are just some "y" and information provided aftewards. You will be asked to input domain name. Just input the mail domain as of input at the /etc/hosts. In this example, that is "abc.com"
6, Then another few steps for "y".
7. Congratulation, you got it. It's too easy.
8. Open http://IP:7071 and login with the admin account
9. Enjoy. 限制Linux的用戶郵件容量(Quota)我公司是用Sendmail作為MTA,郵件會儲存於/var/spool,若要限制用戶的郵箱容量,最直接的方法是從Linux的File System著手,只需要限制/var下面屬放某用戶的檔案容量便可以。
|
|
|