顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - zjl690121

頁: [1]
1
Linux 討論版 / SAMBA 問題 ?
« 於: 2013-02-25 10:55 »
各位學長好
目前架設有台Samba  Server
從XP 進入分享資料夾後將本地端的任一檔案複製到Samba 資料夾(project 此資料夾為NFS的捷徑) 出現
無法複製檔案 程序無法存取檔案,因為另一個程序已鎖定檔案的一部分
以下為Samba於Selinux 有關的設定
[root@server02 samba]# getsebool -a | grep samba
samba_create_home_dirs --> on
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> on
samba_run_unconfined --> on
samba_share_fusefs --> on
samba_share_nfs --> on
sanlock_use_samba --> off
use_samba_home_dirs --> on
virt_use_samba --> on


2
Linux 討論版 / 請教各位虛擬主機的問題
« 於: 2012-03-15 15:19 »
請教各位學長 ! 是因為國外虛擬主機問題嗎 ?
有兩台主機一台國外的虛擬主機Web Server, 
一台是放在公司的Web Server,
在DNS 中已經設定兩台主機A
www                 10  IN A       11.22.33.44     
www                 10  IN A        11.22.33.45   
123                   IN   CNAME   www           

html 底下皆為同樣內容
但在國外的虛擬主機不能放入123的內容於/var/www/123 也不能更改 apache
當使用者瀏覽 123.test.com.tw 時好時壞 有時瀏覽到正確的123 網頁內容
有時變成原本/var/www/html 內容
以下為virtual.conf

NameVirtualHost *:80

<Directory "/var/www/123">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<VirtualHost *:80>
    ServerName    www.test.com.tw
    DocumentRoot  /var/www/html
</VirtualHost>

<VirtualHost *:80>
    ServerName   123.test.com.tw
    DocumentRoot  /var/www/123
    CustomLog     /var/log/httpd/123_log combined
</VirtualHost>

3
Linux 討論版 / 請教關於Mail Log
« 於: 2011-06-24 10:49 »
請問各位高手,我的MAIL SERVER 疑似被入侵! from <> 應該是從Server?

Jun 23 19:15:21 mail postfix/smtpd[10606]: connect from h1902651.stratoserver.net[85.214.82.42]
Jun 23 19:15:22 mail postfix/smtpd[10606]: 39E7F15085DD: client=h1902651.stratoserver.net[85.214.82.42]
Jun 23 19:15:22 mail postfix/cleanup[10510]: 39E7F15085DD: message-id=<H1902651GdKO8FNpyLA00013432@h1902651>
Jun 23 19:15:22 mail postfix/qmgr[10449]: 39E7F15085DD: from=<shtpgpljh@gmail.com>, size=3008, nrcpt=1 (queue active)
Jun 23 19:15:22 mail postfix/local[10613]: 39E7F15085DD: to=<hueimei@zjl.dyndns.org>, relay=local, delay=0.99, delays=0.96/0/0/0.03, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/hueimei for user hueimei. error writing message: File too large)
Jun 23 19:15:22 mail postfix/cleanup[10510]: DE4ED150861F: message-id=<20110623111522.DE4ED150861F@mail.zjl.dyndns.org>
Jun 23 19:15:22 mail postfix/bounce[10676]: 39E7F15085DD: sender non-delivery notification: DE4ED150861F
Jun 23 19:15:22 mail postfix/qmgr[10449]: DE4ED150861F: from=<>, size=4937, nrcpt=1 (queue active)
Jun 23 19:15:22 mail postfix/qmgr[10449]: 39E7F15085DD: removed
Jun 23 19:15:23 mail postfix/smtpd[10606]: disconnect from h1902651.stratoserver.net[85.214.82.42]
Jun 23 19:15:32 mail postfix/smtpd[10607]: connect from ms3.hncb.com.tw[124.219.27.161]
Jun 23 19:15:33 mail postfix/smtpd[10607]: 0FC1A15082A3: client=ms3.hncb.com.tw[124.219.27.161]
Jun 23 19:15:33 mail postfix/cleanup[10510]: 0FC1A15082A3: message-id=<F35FD50D335041AEB3741CDF365D1731@ms4>
Jun 23 19:15:33 mail postfix/qmgr[10449]: 0FC1A15082A3: from=<service@ms3.hncb.com.tw>, size=9471, nrcpt=1 (queue active)
Jun 23 19:15:33 mail postfix/local[10613]: 0FC1A15082A3: to=<fan@zjl.dyndns.org>, relay=local, delay=0.14, delays=0.14/0/0/0, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/fan for user fan. error writing message: File too large)
Jun 23 19:15:33 mail postfix/cleanup[10510]: 28A341508659: message-id=<20110623111533.28A341508659@mail.zjl.dyndns.org>
Jun 23 19:15:33 mail postfix/bounce[10676]: 0FC1A15082A3: sender non-delivery notification: 28A341508659
Jun 23 19:15:33 mail postfix/qmgr[10449]: 28A341508659: from=<>, size=11322, nrcpt=1 (queue active)
Jun 23 19:15:33 mail postfix/qmgr[10449]: 0FC1A15082A3: removed
Jun 23 19:15:33 mail postfix/smtpd[10607]: disconnect from ms3.hncb.com.tw[124.219.27.161]
Jun 23 19:15:43 mail postfix/smtpd[10506]: NOQUEUE: reject: RCPT from unknown[82.200.190.138]: 554 5.7.1 <nshsien@pavo.seed.net.tw>: Relay access denied; from=<yinico@msn.com> to=<nshsien@pavo.seed.net.tw> proto=SMTP helo=<59.120.193.121>
Jun 23 19:15:44 mail postfix/smtp[10679]: 28A341508659: to=<service@ms3.hncb.com.tw>, relay=mail.hncb.com.tw[210.242.138.158]:25, delay=12, delays=0.01/0.01/10/1, dsn=5.0.0, status=bounced (host mail.hncb.com.tw[210.242.138.158] said: 550 Relaying mail to service@ms3.hncb.com.tw is not allowed (in reply to RCPT TO command))
Jun 23 19:15:44 mail postfix/qmgr[10449]: 28A341508659: removed
Jun 23 19:15:57 mail postfix/smtp[10513]: DE4ED150861F: to=<shtpgpljh@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.47.27]:25, delay=34, delays=0/0/31/3.4, dsn=5.1.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.47.27] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at                              550 5.1.1 http://mail.google.com/support/bin/answer.py?answer=6596 y48si8448507yhl.134 (in reply to RCPT TO command))
Jun 23 19:15:57 mail postfix/qmgr[10449]: DE4ED150861F: removed

Jun 23 19:16:01 mail postfix/smtpd[10606]: connect from localhost.localdomain[127.0.0.1]
Jun 23 19:16:01 mail postfix/smtpd[10606]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jun 23 19:16:01 mail postfix/smtpd[10606]: disconnect from localhost.localdomain[127.0.0.1]
請各位學長嗎 幫幫忙謝謝

4
Linux 討論版 / 有關Postfix Relay
« 於: 2009-04-02 22:24 »
請教各位學長若是要設POSTFIX 以外的地方例如大陸,但是使用者堅持用outlook express,目前在postfix可以
可以發信123@abc.com.tw to 456@abc.com.tw --- OK!    ,若是要123@abc.com.tw to 123@yaho.com.tw 就會發生Relay access denied,請問有何方式可以讓使用者在大陸用OE寄信! POP-BEFORE-SMTP 或是???

5
http://www.ibiblio.org/gferg/ldp/BIND+AD-HOWTO/
若是照此篇文章,可行嗎
公司原本是用BIND 現在要架AD又不想去申請DOMAIN是否可以按照此篇文章

6
請問各位學長們!
如何把BIND 結合 AD 的DNS

7
X-Original-To: bin@zjl.dyndns.org
Delivered-To: bin@zjl.dyndns.org
Received: from smtp2b.orange.fr (smtp2b.orange.fr [80.12.242.145])
   by zjl.dyndns.org (Postfix) with ESMTP id D2A5010B9086
   for <bin@zjl.dyndns.org>; Wed, 11 Feb 2009 08:37:46 +0800 (CST)
Received: from me-wanadoo.net (localhost [127.0.0.1])
   by mwinf2b14.orange.fr (SMTP Server) with ESMTP id 2C231700008F;
   Wed, 11 Feb 2009 01:37:44 +0100 (CET)
Received: from mail.afg-foiegras.fr (LAubervilliers-153-53-9-31.w217-128.abo.wanadoo.fr [217.128.132.31])
   by mwinf2b14.orange.fr (SMTP Server) with ESMTP id C8915700008D;
   Wed, 11 Feb 2009 01:37:43 +0100 (CET)
X-ME-UUID: 20090211003743821.C8915700008D@mwinf2b14.orange.fr
Received: from msg-g09pmirpcam ([89.247.53.22] RDNS failed) by mail.afg-foiegras.fr with Microsoft SMTPSVC(6.0.3790.3959);
    Wed, 11 Feb 2009 01:37:35 +0100
From: =?BIG5?B?qaOl0K/CteY=?= <nrwc@LAubervilliers-153-53-9-31.w217-128.abo.wanadoo.fr>
To: "emily" <emily@mita.com.tw>
Subject: =?BIG5?B?tles/Kq6r8CkSCyko6tIptukdqRKqNOs3SE=?=
Date: Tue, 19 Jan 2038 11:14:07 +0800
MIME-Version: 1.0
Content-Type: text/html;
   charset="Big5"
Content-Transfer-Encoding: base64
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <SRV-SECURITEseCovH1000a1fcb@mail.afg-foiegras.fr>
X-OriginalArrivalTime: 11 Feb 2009 00:37:35.0982 (UTC) FILETIME=[EF4288E0:01C98BE0]
X-EsetId: 0A65572503C136345927

8
你好rainday:
我用光碟直接開機安裝RHEL轉成CentOS 是正常現在也可以運作也有RAID1,但我如果安裝Vmware Esxi 安裝在USB boot,在ESXI就看不到我LSI megaraid 就如同我的lspci的內容
Vmware Esxi SSH 裡面lspci結果
00:31.01 Mass storage controller: Intel Corporation 82801G (ICH7 Family) IDE Controller [vmhba0]
00:31.02 Mass storage controller: Intel Corporation 2801GR/GH (ICH7 Family) Serial ATA Storage Controller RAID
感謝您的回覆


9
可以到http://www.vmware.com/resources/compatibility/search.php 查查,沒就是沒摟
謝謝各位已經有查過確定沒有支援? 只能加裝RAID卡了~

10
請教各位,剛剛將Esxi 放在USB,開機後設定完後,發現到Esxi 找到的是兩顆硬碟,但在BIOS有做RAID 1
主機為華碩RS120-E5/PA2

lspci結果
00:00.00 Bridge: Intel Corporation
00:01.00 Bridge: Intel Corporation
00:28.00 Bridge: Intel Corporation
00:28.04 Bridge: Intel Corporation
00:28.05 Bridge: Intel Corporation
00:29.00 Serial bus controller: Intel Corporation
00:29.01 Serial bus controller: Intel Corporation
00:29.07 Serial bus controller: Intel Corporation
00:30.00 Bridge: Intel Corporation 82801BA/CA/DB/EB PCI Bridge
00:31.00 Bridge: Intel Corporation
00:31.01 Mass storage controller: Intel Corporation 82801G (ICH7 Family) IDE Controller [vmhba0]
00:31.02 Mass storage controller: Intel Corporation 2801GR/GH (ICH7 Family) Serial ATA Storage Controller RAID [vmhba1]
00:31.03 Serial bus controller: Intel Corporation
01:04.00 Display controller:
03:00.00 Network controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet [vmnic0]
04:00.00 Network controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet [vmnic1]

11
 [16:54:27] Checking for SHV5 Rootkit...
 [16:54:27]   Checking for file '/etc/sh.conf'                [ Found ]
 [16:54:27]   Checking for file '/dev/srd0'                   [ Not found ]
 [16:54:28]   Checking for directory ''         [ Found ]
 [16:54:28] Warning: SHV5 Rootkit                             [ Warning ]
 [16:54:28]          File '/etc/sh.conf' found                  [ Found ]
 [16:54:28]          Directory '/usr/lib/libsh' found           [ Found ]
執行rm 指令(已經是root權限)
rm:是否移除有防寫保護的普通檔案‘/etc/sh.conf’? y
rm: cannot remove ‘/etc/sh.conf’: 此項操作並不被允許
----------------------------------------------------------
rm -rf /usr/lib/libsh
rm: cannot remove ‘/usr/lib/libsh/hide’: 拒絕不符權限的操作
rm: cannot remove directory ‘/usr/lib/libsh/.backup’: 拒絕不符權限的操作
rm: cannot remove directory ‘/usr/lib/libsh/utilz’: 拒絕不符權限的操作
rm: cannot remove directory ‘/usr/lib/libsh/.sniff’: 拒絕不符權限的操作
rm: cannot remove ‘/usr/lib/libsh/shsb’: 拒絕不符權限的操作
rm: cannot remove ‘/usr/lib/libsh/.bashrc’: 拒絕不符權限的操作
rm: cannot remove directory ‘/usr/lib/libsh/.owned’: 拒絕不符權限的操作



12
已經回覆訊息給你
我也有在用說…

不曉得你們知不知道卡鐘資料輸入的部份~

究竟是要怎麼使用呢@@"

怎麼試都不成功~請問一下,有人試過這個功能ok的嗎~

13
無法找到jakarta-commons-modeler >= 1.1-8jpp.1.0.1  版本
到rpm 去找過了,請問各偽學長還有哪邊可以下載
yum update
---> Package libxslt-devel.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package openssh.i386 0:4.3p2-26.el5_2.1 set to be updated
---> Package xorg-x11-server-Xorg.i386 0:1.1.1-48.41.el5_2.1 set to be updated
---> Package php-pdo.i386 0:5.1.6-20.el5_2.1 set to be updated
---> Package libtiff.i386 0:3.8.2-7.el5_2.2 set to be updated
---> Package tomcat5-admin-webapps.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
--> Processing Dependency: tomcat5 = 5.5.23-0jpp.7.el5_2.1 for package: tomcat5-admin-webapps
---> Package xorg-x11-server-Xnest.i386 0:1.1.1-48.41.el5_2.1 set to be updated
---> Package php.i386 0:5.1.6-20.el5_2.1 set to be updated
---> Package gdb.i386 0:6.5-37.el5_2.2 set to be updated
---> Package libsane-hpaio.i386 0:1.6.7-4.1.el5.4 set to be updated
---> Package tomcat5-jasper.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package rdesktop.i386 0:1.4.1-6 set to be updated
---> Package hplip.i386 0:1.6.7-4.1.el5.4 set to be updated
---> Package Deployment_Guide-zh-TW.noarch 0:5.2-11.el5.centos set to be updated
---> Package samba-common.i386 0:3.0.28-1.el5_2.1 set to be updated
---> Package ruby-libs.i386 0:1.8.5-5.el5_2.3 set to be updated
---> Package tzdata.noarch 0:2008f-3.el5 set to be updated
---> Package Virtualization-zh-TW.noarch 0:5.2-11.el5.centos set to be updated
---> Package net-snmp-utils.i386 1:5.3.1-24.el5_2.1 set to be updated
---> Package tomcat5-jsp-2.0-api.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package libtiff-devel.i386 0:3.8.2-7.el5_2.2 set to be updated
---> Package php-odbc.i386 0:5.1.6-20.el5_2.1 set to be updated
---> Package firefox.i386 0:3.0.2-3.el5.centos set to be updated
---> Package Deployment_Guide-en-US.noarch 0:5.2-11.el5.centos set to be updated
---> Package krb5-devel.i386 0:1.6.1-25.el5_2.1 set to be updated
---> Package postfix.i386 2:2.3.3-2.1.el5_2 set to be updated
---> Package net-snmp-libs.i386 1:5.3.1-24.el5_2.1 set to be updated
---> Package selinux-policy.noarch 0:2.4.6-137.1.el5 set to be updated
---> Package gnutls.i386 0:1.4.1-3.el5_1 set to be updated
---> Package php-cli.i386 0:5.1.6-20.el5_2.1 set to be updated
---> Package bind-chroot.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
---> Package openssh-clients.i386 0:4.3p2-26.el5_2.1 set to be updated
---> Package paps.i386 0:0.6.6-18.el5 set to be updated
---> Package nss.i386 0:3.12.1.1-1.el5.centos.1 set to be updated
---> Package openldap.i386 0:2.3.27-8.el5_2.4 set to be updated
---> Package wireshark.i386 0:1.0.3-4.el5_2 set to be updated
---> Package dhcpv6-client.i386 0:1.0.10-4.el5_2.3 set to be updated
---> Package samba-client.i386 0:3.0.28-1.el5_2.1 set to be updated
---> Package bind.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
---> Package ruby.i386 0:1.8.5-5.el5_2.3 set to be updated
---> Package bind-libs.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
---> Package Virtualization-en-US.noarch 0:5.2-11.el5.centos set to be updated
---> Package bzip2.i386 0:1.0.3-4.el5_2 set to be updated
---> Package libvorbis.i386 1:1.1.2-3.el5_1.2 set to be updated
---> Package tomcat5-server-lib.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
--> Processing Dependency: jakarta-commons-modeler >= 1.1-8jpp.1.0.1 for package: tomcat5-server-lib
--> Processing Dependency: jakarta-commons-modeler >= 1.1-8jpp.1.0.1 for package: tomcat5-server-lib
---> Package freetype-devel.i386 0:2.2.1-20.el5_2 set to be updated
---> Package wireshark-gnome.i386 0:1.0.3-4.el5_2 set to be updated
---> Package bzip2-devel.i386 0:1.0.3-4.el5_2 set to be updated
---> Package freetype.i386 0:2.2.1-20.el5_2 set to be updated
---> Package kernel-headers.i386 0:2.6.18-92.1.13.el5 set to be updated
---> Package libxml2-devel.i386 0:2.6.26-2.1.2.6 set to be updated
---> Package tomcat5-webapps.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package tomcat5-common-lib.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package libxml2-python.i386 0:2.6.26-2.1.2.6 set to be updated
---> Package libxml2.i386 0:2.6.26-2.1.2.6 set to be updated
---> Package tomcat5-servlet-2.4-api.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated
---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-25.el5_2.1 set to be updated
---> Package scim.i386 0:1.4.4-41.el5 set to be updated
---> Package openldap-devel.i386 0:2.3.27-8.el5_2.4 set to be updated
---> Package bind-utils.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
---> Package php-pgsql.i386 0:5.1.6-20.el5_2.1 set to be updated
--> Running transaction check
---> Package tomcat5.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
---> Package xulrunner.i386 0:1.9.0.2-5.el5 set to be updated
---> Package tomcat5-server-lib.i386 0:5.5.23-0jpp.7.el5_2.1 set to be updated
--> Processing Dependency: jakarta-commons-modeler >= 1.1-8jpp.1.0.1 for package: tomcat5-server-lib
--> Processing Dependency: jakarta-commons-modeler >= 1.1-8jpp.1.0.1 for package: tomcat5-server-lib
--> Processing Conflict: nss conflicts prelink <= 0.3.9-2
--> Finished Dependency Resolution
Error: Missing Dependency: jakarta-commons-modeler >= 1.1-8jpp.1.0.1 is needed by package tomcat5-server-lib
Error: nss conflicts with prelink <= 0.3.9-2


14
你好...我們公司目前也有用...不知你所說的無法通知"知會人"是那一部份呢???

還有,不知你們用XPORTAL多久了呢???
無法知會已經OK了是PROGRAM問題,不曉的你們是用幾版的呢
目前還在測試階段

15
大家好,小弟目前用了這套Xportal,不知道線上有誰和小弟用的是同一套,會發生無法通知知會者,有人有改過這套程式嗎?
http://www.xportal.cc/user.php?op=loginpage

16
1. httpd-devel

2. 手編lamp,建議先看原來dist的phpinfo裡面configure arguments,再依照手編錯誤訊息修改。
找到問題了是路徑錯誤,用which apxs 修正路徑OK,但是又來了一個問題
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... (cached) yes
configure: error: Unable to find gd.h anywhere under /usr/local/gd
php-gd都有安裝,用wich 也找不到

17
請教各位高手小弟編譯PHP會出現錯誤./configure: line 6669: /usr/local/apache2/bin/apxs: No such file or directory

開始編譯:
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --disable-debug  --enable-inline-optimization --enable-fastcgi --enable-mbstring --enable-maintainer-zts --enable-xml --with-gd=/usr/local/gd --with-jpeg-dir=/usr/local/jpeg6 --with-zlib --with-png-dir=/usr/local/lib --with-freetype-dir=/usr/local/freetype --with-iconv --with-libxml-dir=/usr/include/libxml2/libxml
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

錯誤訊息:
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/apache2/bin/apxs follows:
./configure: line 6669: /usr/local/apache2/bin/apxs: No such file or directory
configure: error: Aborting
OS:centos 5.0
mysql:mysql-5.0.45-7.el5

18
請教各位學長,有啥Opensource EIP可用除了芝麻開門外還有啥更好用,程式架構更好的EIP系統呢?

19
請教各位學長有遇過找不到mx主機嗎?
也有參考http://forums.odysseyweb.idv.tw/index.php?showtopic=2177&hl=centos
yum install caching-nameserver
......
以下是設定檔
  1 $TTL          86400
  2 $ORIGIN test.com.tw.
  3 @       1D      IN      SOA     test.com.tw  root.test.com.tw. (
  4                         1209707989
  5                         3H
  6                         15M
  7                         1W
  8                         1D )
  9 @                          IN NS         test.com.tw.
 10 test.com.tw.           IN A          123.456.789.100
 11 @                         IN NS         dns.test.com.tw.
 12 dns.test.com.tw.     IN A           123.456.789.100
 13 ;設定 MX config
 14 @                          IN MX 10    mail
 15 mail                        IN A          123.456.789.100
 16 ;設定主機
 17 ftp                         IN A           123.456.789.100

請問各位學長這樣設定有錯嗎
nslookup test.com.tw
Server:         168.95.1.1
Address:        168.95.1.1#53

Name:   test.com.tw
Address: 123.456.789.100 找的到
-----------------------------
host -t  mx test.com.tw
test.com.tw has no MX record
找不到 mx 紀錄
急需幫助謝謝! 以上ip和domain 都是替代的



20
這跟用不用java 或 用 asp,php 沒啥關係
主要是手機要有 broswer 可以瀏覽網頁吧?
其他就是用程式去資料庫把資料丟在網頁上
沒錯! 當使用者透過手機瀏覽該網頁(不知有何開放原始碼套件可做一個含有會員的(如:電子零件大全產品編號,零件外觀)入口網)
請問各位學長知道嗎

21
請問各位學長知道如何讓手機結合網頁即可查詢例如"電子零件"編號資料目前哪些網站有做呢或是SAMPLE,如果結合的平台為Linux需要結合JAVA嗎? 那前後台的架構應該是如何? ASP+SQL , PHP + MYSQL

22
Linux 討論版 / proxypass 和遠端桌面搞不定
« 於: 2007-12-19 11:12 »
請位各位學長小弟在遠端桌面連線出現
用戶端無法連線到遠端電腦,遠端電腦可能尚未啟用或電腦太忙碌
有台Linux Server,設定APACHE可遠端桌面連線也看的到畫面也可操作
使用Apache 的Proxypass 也導向同一台遠端桌面連線看的到畫面
但出現遠端桌面用戶端無法連線到遠端電腦,遠端電腦可能尚未啟用或電腦太忙碌
請問是IIS的設定還要改嗎? 還是設定檔錯誤
以下是我的設定
ProxyRequests On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /tsweb http://192.168.1.31/tsweb
proxypassReverse /tsweb http://192.168.1.31/tsweb

23
Linux 討論版 / No VRS found" on DVD
« 於: 2007-11-13 11:33 »
請教各位學長們有遇過在PS3上面裝Fedora Core ,Ubuntu也一樣無法安裝
而出現No VRS found" on DVD

24
請教各位先進,小弟有個問題想問各位專家,不知道小弟的方式是對還是錯
假設在NAT底下(211.21.13.27對外IP)內部有兩台Web Server都是走80
Linux: 192.168.1.2(Apache),192.168.1.5(IIS)在NAT是預設192.168.1.2:80
但如果想讓人看到(192.168.1.2)webmail.domain.com.tw,但兩各都是同依各IP(211.21.13.27),是該在BIND加入該主機對應位置@   IN   NS   192.168.1.5
但是外部看不到(簡單來說NAT底下兩台Web Server都走80)如何讓兩台都能連到首頁呢

25
Linux 討論版 / 已解決
« 於: 2007-04-18 16:24 »
更新到最新版本謝謝!

26
頃問各位學長有遇過這樣的問題嗎? 填入資料後Start Install
An unexpected error occured. Please try again later.
就這樣沒有下文,也不知道錯誤訊息在哪?爬文phpbb adj討論區
 鳥哥討論區 google ....也沒結果!
也按照安裝說明
     chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : data/tmp_media
     chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media

     Set permissions for the following files:

     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default/media"
●主機作業系統:Fdeora Core 4
●我的上網方式:ADSL (中華電信)
●我安裝的程式:PHP:5.0.4-10.5 + MySQL:4.1.20-1
●我的 4images 版本:4images (1.7.4)
是PHP或是Mysql 的版本不支援或太高嗎?
而PHP.ini 的部份safe_mode = Off也關掉了

27
Linux 討論版 / clamav更新病毒碼時出現問題
« 於: 2007-04-12 17:37 »
請教各位學長:
我的Server執行clamav更新病毒碼時出現這問題
有到GOOGLE找過但不了了之
freshclam
ClamAV update process started at Thu Apr 12 17:20:33 2007
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.90 Recommended version: 0.90.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
daily.cvd is up to date (version: 3079, sigs: 3583, f-level: 14, builder: ccordes)
LibClamAV Error: Database Directory: /usr/local/share/clamav not locked
還是我沒有把0.90的移除掉呢

28
請教各位學長!有各問題一直無法解決,outlook express裡可以分割郵件使郵件大於多少k便切割
但是為何切割後發出去的信件,Test(1/20)~(20/20)變成有20封而不會
合成一封,是amavisd-new的問題嗎?

-------------------------------------------------------------------------------
use strict;

# a minimalistic configuration file for amavisd-new with all necessary settings
#
#   see amavisd.conf-default for a list of all variables with their defaults;
#   see amavisd.conf-sample for a traditional-style commented file;
#   for more details see documentation in INSTALL, README_FILES/*
#   and at http://www.ijs.si/software/amavisd/amavisd-new-docs.html


# COMMONLY ADJUSTED SETTINGS:

# @bypass_virus_checks_maps = (1);  # uncomment to DISABLE anti-virus code
# @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code

$max_servers = 2;            # number of pre-forked children (2..15 is common)
$daemon_user  = 'amavis';     # (no default;  customary: vscan or amavis)
$daemon_group = 'amavis';     # (no default;  customary: vscan or amavis)

$mydomain = 'test.com.tw';   # a convenient default for other settings

$MYHOME   = '/var/amavis';   # a convenient default for other settings
$TEMPBASE = "/tmp";   # working directory, needs to be created manually
$ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR
$QUARANTINEDIR = '/var/virusmails';
# $quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine

# $daemon_chroot_dir = $MYHOME;   # chroot directory or undef

# $db_home   = "$MYHOME/db";
# $helpers_home = "$MYHOME/var";  # prefer $MYHOME clean and owned by root?
# $pid_file  = "$MYHOME/var/amavisd.pid";
# $lock_file = "$MYHOME/var/amavisd.lock";
#NOTE: create directories $MYHOME/tmp, $MYHOME/var, $MYHOME/db manually

@local_domains_maps = ( [".$mydomain"] );
# @mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
#                   10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );

$log_level = 0;              # verbosity 0..5
$log_recip_templ = undef;    # disable by-recipient level-0 log entries
$DO_SYSLOG = 1;              # log via syslogd (preferred)
$SYSLOG_LEVEL = 'mail.debug';

$enable_db = 1;              # enable use of BerkeleyDB/libdb (SNMP and nanny)
$enable_global_cache = 1;    # enable use of libdb-based cache if $enable_db=1

$inet_socket_port = 10024;   # listen on this local TCP port(s) (see $protocol)
# $unix_socketname = "$MYHOME/amavisd.sock";  # when using sendmail milter

$sa_tag_level_deflt  = 5.0;  # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 9.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 9.31; # triggers spam evasive actions
$sa_dsn_cutoff_level = 10;    # spam level beyond which a DSN is not sent
# $sa_quarantine_cutoff_level = 20; # spam level beyond which quarantine is off

$sa_mail_body_size_limit = 200*1024; # don't waste time on SA if mail is larger
$sa_local_tests_only = 0;    # only tests which do not require internet access?
$sa_auto_whitelist = 1;      # turn on AWL in SA 2.63 or older (irrelevant
                             # for SA 3.0, cf option is 'use_auto_whitelist')

# @lookup_sql_dsn =
#   ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306', 'user1', 'passwd1'],
#     ['DBI:mysql:database=mail;host=host2', 'username2', 'password2'],
#     ["DBI:SQLite:dbname=$MYHOME/sql/mail_prefs.sqlite", '', ''] );
# @storage_sql_dsn = @lookup_sql_dsn;  # none, same, or separate database

$virus_admin               = "root\@$mydomain";  # notifications recip.

$mailfrom_notify_admin     = "virusalert\@$mydomain";  # notifications sender
$mailfrom_notify_recip     = "virusalert\@$mydomain";  # notifications sender
$mailfrom_notify_spamadmin = "spam.police\@$mydomain"; # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef

@addr_extension_virus_maps      = ('virus');
@addr_extension_spam_maps       = ('spam');
@addr_extension_banned_maps     = ('banned');
@addr_extension_bad_header_maps = ('badh');
# $recipient_delimiter = '+';  # undef disables address extensions altogether
# when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+

$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
# $dspam = 'dspam';

$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA =      100*1024;  # bytes  (default undef, not enforced)

$MAX_EXPANSION_QUOTA = 300*1024*1024;  # bytes  (default undef, not enforced)

$sa_spam_subject_tag = '***SPAM*** ';
$defang_virus  = 1;  # MIME-wrap passed infected mail
$defang_banned = 1;  # MIME-wrap passed mail containing banned name


# OTHER MORE COMMON SETTINGS (defaults may suffice):

# $myhostname = 'host.example.com';  # must be a fully-qualified domain name!

$notify_method  = 'smtp:[127.0.0.1]:10025';
$forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with milter!

$final_virus_destiny      = D_BOUNCE;
$final_banned_destiny     = D_PASS;
$final_spam_destiny       = D_PASS;
$final_bad_header_destiny = D_PASS;


# SOME OTHER VARIABLES WORTH CONSIDERING (see amavisd.conf-default for all)

# $warnbadhsender,
# $warnvirusrecip, $warnbannedrecip, $warnbadhrecip, (or @warn*recip_maps)
#
# @bypass_virus_checks_maps, @bypass_spam_checks_maps,
# @bypass_banned_checks_maps, @bypass_header_checks_maps,
#
# @virus_lovers_maps, @spam_lovers_maps,
# @banned_files_lovers_maps, @bad_header_lovers_maps,
#
# @blacklist_sender_maps, @score_sender_maps,
#
# $virus_quarantine_to, $banned_quarantine_to,
# $bad_header_quarantine_to, $spam_quarantine_to,
#
# $defang_bad_header, $defang_undecipherable, $defang_spam


# REMAINING IMPORTANT VARIABLES ARE LISTED HERE BECAUSE OF LONGER ASSIGNMENTS

@viruses_that_fake_sender_maps = (new_RE(
# [qr'\bEICAR\b'i => 0],            # av test pattern name
# [qr'^(WM97|OF97|Joke\.)'i => 0],  # adjust names to match your AV scanner
# [qr'\bEICAR\b'i => 0],            # av test pattern name
# [qr'^(WM97|OF97|Joke\.)'i => 0],  # adjust names to match your AV scanner
  [qr/^/ => 1],  # true for everything else
));

@keep_decoded_original_maps = (new_RE(
# qr'^MAIL$',   # retain full original message for virus checking (can be slow)
  qr'^MAIL-UNDECIPHERABLE$', # recheck full mail if it contains undecipherables
  qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
# qr'^Zip archive data',     # don't trust Archive::Zip
));


# for $banned_namepath_re, a new-style of banned table, see amavisd.conf-sample

$banned_filename_re = new_RE(
# qr'^UNDECIPHERABLE$',  # is or contains any undecipherable components

  # block certain double extensions anywhere in the base name
  qr'\.[^./]*[A-Za-z][^./]*\.(vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,

# qr'\{[0-9a-z]{4,}(-[0-9a-z]{4,}){0,7}\}?'i,  # Class ID extensions - CLSID

  qr'^application/x-msdownload$'i,                  # block these MIME types
  qr'^application/x-msdos-program$'i,
  qr'^application/hta$'i,

# qr'^message/partial$'i,         # rfc2046 MIME type
# qr'^message/external-body$'i,   # rfc2046 MIME type

# [ qr'^\.(Z|gz|bz2)$'           => 0 ],  # allow any in Unix-compressed
  [ qr'^\.(rpm|cpio|tar)$'       => 0 ],  # allow any in Unix-type archives
# [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ],  # allow any within such archives

  qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl)$'i, # banned extension - basic
# qr'.\.(ade|adp|app|bas|bat|chm|cmd|com|cpl|crt|emf|exe|fxp|grp|hlp|hta|
#        inf|ins|isp|js|jse|lnk|mda|mdb|mde|mdw|mdt|mdz|msc|msi|msp|mst|
#        ops|pcd|pif|prg|reg|scr|sct|shb|shs|vb|vbe|vbs|
#        wmf|wsc|wsf|wsh)$'ix,  # banned ext - long

# qr'.\.(mim|b64|bhx|hqx|xxe|uu|uue)$'i,  # banned extension - WinZip vulnerab.

  qr'^\.(exe-ms)$',                       # banned file(1) types
# qr'^\.(exe|lha|tnef|cab|dll)$',         # banned file(1) types

);
# See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q262631
# and http://www.cknow.com/vtutor/vtextensions.htm


# ENVELOPE SENDER SOFT-WHITELISTING / SOFT-BLACKLISTING

@score_sender_maps = ({ # a by-recipient hash lookup table,
                        # results from all matching recipient tables are summed

# ## per-recipient personal tables  (NOTE: positive: black, negative: white)
# 'user1@example.com'  => [{'bla-mobile.press@example.com' => 10.0}],
# 'user3@example.com'  => [{'.ebay.com'                 => -3.0}],
# 'user4@example.com'  => [{'cleargreen@cleargreen.com' => -7.0,
#                           '.cleargreen.com'           => -5.0}],

  ## site-wide opinions about senders (the '.' matches any recipient)
  '.' => [  # the _first_ matching sender determines the score boost

   new_RE(  # regexp-type lookup table, just happens to be all soft-blacklist
    [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i         => 5.0],
    [qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0],
    [qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0],
    [qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i   => 5.0],
    [qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i  => 5.0],
    [qr'^(your_friend|greatoffers)@'i                                => 5.0],
    [qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i                    => 5.0],
   ),

#  read_hash("/var/amavis/sender_scores_sitewide"),

   { # a hash-type lookup table (associative array)
     'nobody@cert.org'                        => -3.0,
     'cert-advisory@us-cert.gov'              => -3.0,
     'owner-alert@iss.net'                    => -3.0,
     'slashdot@slashdot.org'                  => -3.0,
     'bugtraq@securityfocus.com'              => -3.0,
     'ntbugtraq@listserv.ntbugtraq.com'       => -3.0,
     'security-alerts@linuxsecurity.com'      => -3.0,
     'mailman-announce-admin@python.org'      => -3.0,
     'amavis-user-admin@lists.sourceforge.net'=> -3.0,
     'notification-return@lists.sophos.com'   => -3.0,
     'owner-postfix-users@postfix.org'        => -3.0,
     'owner-postfix-announce@postfix.org'     => -3.0,
     'owner-sendmail-announce@lists.sendmail.org'   => -3.0,
     'sendmail-announce-request@lists.sendmail.org' => -3.0,
     'donotreply@sendmail.org'                => -3.0,
     'ca+envelope@sendmail.org'               => -3.0,
     'noreply@freshmeat.net'                  => -3.0,
     'owner-technews@postel.acm.org'          => -3.0,
     'ietf-123-owner@loki.ietf.org'           => -3.0,
     'cvs-commits-list-admin@gnome.org'       => -3.0,
     'rt-users-admin@lists.fsck.com'          => -3.0,
     'clp-request@comp.nus.edu.sg'            => -3.0,
     'surveys-errors@lists.nua.ie'            => -3.0,
     'emailnews@genomeweb.com'                => -5.0,
     'yahoo-dev-null@yahoo-inc.com'           => -3.0,
     'returns.groups.yahoo.com'               => -3.0,
     'clusternews@linuxnetworx.com'           => -3.0,
     lc('lvs-users-admin@LinuxVirtualServer.org')    => -3.0,
     lc('owner-textbreakingnews@CNNIMAIL12.CNN.COM') => -5.0,

     # soft-blacklisting (positive score)
     'sender@example.net'                     =>  3.0,
     '.example.net'                           =>  1.0,

   },
  ],  # end of site-wide tables
});


@decoders = (
  ['mail', \&do_mime_decode],
  ['asc',  \&do_ascii],
  ['uue',  \&do_ascii],
  ['hqx',  \&do_ascii],
  ['ync',  \&do_ascii],
  ['F',    \&do_uncompress, ['unfreeze','freeze -d','melt','fcat'] ],
  ['Z',    \&do_uncompress, ['uncompress','gzip -d','zcat'] ],
  ['gz',   \&do_gunzip],
  ['gz',   \&do_uncompress,  'gzip -d'],
  ['bz2',  \&do_uncompress,  'bzip2 -d'],
  ['lzo',  \&do_uncompress,  'lzop -d'],
  ['rpm',  \&do_uncompress, ['rpm2cpio.pl','rpm2cpio'] ],
  ['cpio', \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_tar],
  ['deb',  \&do_ar,          'ar'],
# ['a',    \&do_ar,          'ar'],  # unpacking .a seems an overkill
  ['zip',  \&do_unzip],
  ['rar',  \&do_unrar,      ['rar','unrar'] ],
  ['arj',  \&do_unarj,      ['arj','unarj'] ],
  ['arc',  \&do_arc,        ['nomarch','arc'] ],
  ['zoo',  \&do_zoo,         'zoo'],
  ['lha',  \&do_lha,         'lha'],
# ['doc',  \&do_ole,         'ripole'],
  ['cab',  \&do_cabextract,  'cabextract'],
  ['tnef', \&do_tnef_ext,    'tnef'],
  ['tnef', \&do_tnef],
  ['exe',  \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
);
....................................................
.....

29
小弟看過zoob也爬過很多人的文章但是登入vpn後還是無法看到網芳,是沒有設定wins嗎但我們公司並沒有wins sever這該怎麼做呢
連上去後會出現netbeui cp 報告錯誤: 733 您的電腦無法同意ppp控制通訊協定
,而硬體環境是 Linux Fedora 4 + VPN 無nat環境,一張網卡wan ip, 一張是虛擬ip 192.168.1.254,公司卻是透過router來作nat兩各分屬不同的網段但同屬相同的區網

以下是小弟的設定檔
pptpd.conf
debug
option /etc/ppp/options.pptpd
localip 192.168.1.254
remoteip 192.168.1.61-80

options.pptpd
name *
lock
mtu 1450
mur 1450
proxyarp
ipcp-accept-local
ipcp-accept-remote
auth
lcp-echo-failure 3
lcp-echo-interval 5
deflate 0
+chap
+mschap-v2
ms-dns 168.95.1.1

30
我公司Web是用OSC架設但是當我做產品的查詢時會出現產品列表
但是點選產品時,卻出現了
1036 - Table 'products_description' is read only

update products_description set products_viewed = products_viewed+1 where products_id = '46' and language_id = '4'

[TEP STOP]
http://www.hawtuoh.com.tw

頁: [1]