顯示文章

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


文章 - olderboy

頁: 1 [2] 3 4
32
我也要報名,請大大記得加我一位喔!!

33
想請教一下大大,關於更新RRD資料時,你下面的
代碼: [選擇]
5.更新 RRD 資料 (rrdtool update)
rrdtool update filename [--template|-t ds-name[:ds-name]...] N|timestamp:value[:value...]
這個很好理解,基本上就是根據 DS來更新資料,如上述之 tcpdump.rrd,若有需要更新時及時
代碼:
$>rrdtool update tcpdump.rrd  1061811856:114:0:50:1199:0:821073


1061811856:114:0:50:1199:0:821073這些數值,除了1061811856,是表示一個時間點之外,不知其它的數值呢??也是表示他們要取得數值的時間點嗎??
還請大大指點一下~

34
引述: "Demonbane"
因為Apache升級後mod_perl需要重編,然後為了用新的版本又要升級perl,之前沒在用這個模組所以就沒理它,不過我剛剛編好了。
上面的連結裡現在應該有perl, perl-suid跟mod_perl,裝好就ok了


請教一下大大,是如何制作這些模組的呢??
我現在的 apache & php 都是在官網抓下來後,在用 rpmbuild 來產生 rpm,但因相依性的關係,安裝上,是非常的麻煩的,不知大大,是用什麼方法做的呢??

35
引述: "nicehero"
小弟我很少發言,大多都是用搜尋的方式來找答案,但現在的問題我搞不定,請各位幫幫忙~~

問題:
請問在Linux 下,如何寫一支script 自動刪除某資料夾裏5天前的檔案?

先謝謝囉!


下面是簡易的刪除寫法,你可以參考一下,那也請其他大大指點一下,看小弟那裡可以改進的~

代碼: [選擇]
#!/bin/bash
TODAY=`date +%Y%m%d`
cd /usr/backup
declare -i NUM=`ls | wc -l`
DEL=`ls | sort -r | tail +5`
if [ $NUM -ge 5 ]
then
        rm -rf $DEL
        exit 1
else [ $NUM -lt 5 ]
        exit 2
fi

36
Linux 討論版 / 关于lvs问题请教?
« 於: 2004-09-22 09:08 »
引述: "wjlxsl"
首先感谢指点:
我是照这篇文章http://www.adj.idv.tw/server/linux_lvs.php
配的,这上面说是不需要多译内核???
现在的情况是我没有重译内核,按文章一步一步做下去。当启动
/etc/rc.d/init.d/pulse start 后看不到系统提示的OK状态。
同时ps -ef|grep pulse也查不到相关的进程??

一定要重译kernel???感谢指点!!



一定是需要的

37
引述: "himaruko"
我看錯了,以為您要的是master.cf,再重po一次main.cf的,sorry!! :oops:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = 000.xxx.xxx.tw
mydomain = xxx.xxx.tw
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname
unknown_local_recipient_reject_code = 450
mynetworks = 140.xxx.xxx.xxx/32, 127.0.0.1/8
alias_maps = mysql:/etc/postfix/mysql-alias.cf
home_mailbox = Mailbox
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.0.11/samples
readme_directory = /usr/share/doc/postfix-2.0.11/README_FILES
alias_database = hash:/etc/postfix/aliases
local_recipient_maps = mysql:/etc/postfix/mysql-local.cf
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,
                               reject_unauth_destination
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous

我後來沒有採用courier-imap的方式,因為我要使用openwebmail,所以我用qpop


原來你是使用qpop,而不是採用 courier-imap 喔!那在 main.cf 裡設定的,我看是沒有出現什麼錯誤才對,是否要查一下跟 qpop 整合時所需要的設定,那設定錯了,剩下來的,我就無法提供給你任何的資訊了~

38
Linux 討論版 / 出個練習給大家(二)--Apache
« 於: 2004-09-09 11:04 »
引用

7.
可以用mod_watch
基本上裝好設好之後,用附的apache2mrtg.pl將Apache的virtual hosts設定擋轉成mrtg格式,再加入mrtg設定擋。
Apache的mod_watch設定:
代碼: [選擇]

<IfDefine WATCH>
    LoadModule watch_module extramodules/mod_watch.so
       <IfModule mod_watch.c>

          <Location /watch-info>
               SetHandler watch-info
          </Location>

          <Location /~*/watch-info>
               SetHandler watch-info
          </Location>

          <Location /watch-table>
               SetHandler watch-table
           </Location>
        </IfModule>
</IfDefine>

再來直接跑MRTG就好了
註:以上的設定方法跑Apache時要加"-D WATCH",mod_watch才會被載入。


可否請教一下大大,在註:以上的設定方法跑Apache時要加"-D WATCH",mod_watch才會被載入這個意思不是很了解,在http://www.snert.com/Software/mod_watch-3.18/官網上看到的說明,也沒說明到這一點,還請大大指點一下了~

39
引述: "himaruko"
依照您的方法安裝gdbm等套件後,問題已經解決
但是,仍然出現下列錯誤訊息:

Sep 7 10:54:12 openmail postfix/master[1340]: warning: process /usr/libexec/postfix/smtpd pid 1354 exit status 1

Sep 7 10:54:12 openmail postfix/master[1340]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

請問您有類似的問題嗎?



這個訊息,該是postfix的main.cf沒設定好所造成的,可否post上來你在main.cf裡的設定內容呢??

40
引述: "himaruko"
請問一下,我在安裝Courier-IMAP的時候

./configure --disable-root-check --without-authuserdb --without-authpam --without-authldap --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --without-authcram --without-authcustom --without-authdaemon --with-mysql-libs=/usr/local/mysql/lib/mysql/ --with-mysql-includes=/usr/local/mysql/include/mysql/ --with-authmysql

這個步驟有錯[Cannot find either the gdbm or the db library.]

另外在make及make install時也會產生錯誤[make: *** No targets specified and no makefile found.  Stop.]

因為不太熟,可不可以請問您是什麼原因 .... :oops:



看到這個訊息,該是你的linux有一些套件沒有安裝上去吧!!
像是:gdbm之類的套件
你試著找出這個套件安裝上去,該就可以了~

41
Network 討論版 / [問題]有關瀾發郵件的問題
« 於: 2004-07-06 21:59 »
小弟最近遇到一個很奇特的問題,想說請教一下各位大大們~

相信大家都知道,瀾發廣告信件會被國外的某些組織給封鎖住IP
那小弟的公司,因有承租虛擬主機的業務,那發現到,現在有一些用戶利用外面的一些專門在瀾放電子
郵件,但連結的內容是連結到我們公司的網站上,那國外的那些組織,也似乎找不出來是那一個IP在瀾
發郵件,就警告我們,到最後,竟把我們的IP給block了,那這個問題現在很困擾著我,因為,我們明明
就沒有瀾放郵件,但國外就偏偏把我們給封鎖住了,我們還得去申訴才行,那不知大大們有遇過這種情形
嗎??因,如是這樣的話!!那我只要用一個浮動IP去發,連結到別人的網站去,不就可以輕易的害到
那個網站了嗎??

不知大大們有何見解呢??這真的是一個很頭痛,也很怪的問題~

42
請教一下大大們,下面這幾行PHP的程式,可以抓出本機Apache送出去標頭~
那小弟想要抓取別台Server,例如:192.168.0.110這台Server的標頭~
那不知該如何去寫了~~還請大大指導一下~~小弟對程式這方面,還在努力的摸索中~~

<?php
   $headers = getallheaders();
   while (list ($header, $value) = each ($headers)) {
              echo "$header: $value<br>\n";
   }
?>

43
http://www.study-area.org/tips/ddns.htm
上面這個網址,小弟己經看過了~~那也實作架設起Server好了~~

但小弟現在有一個小小的問題~~
因上面文章的 DDNS Server是透過 Server 產生的 Key 值來做認證的~~
那小弟之前有申請過一個 DDNS 的服務,他是會寄一封mail給你,告訴你帳號和密碼和網址,那你要用那組帳號和密碼去做提入的動作~~

那小弟有查詢了一下資料,似乎沒有這方面的資料說!!
不知有那位大大可以指點一下的呢??

44
小弟最近在網路上看到一個 MySQL_Cluster
http://prometheus.zerodivide.net/mysql_cluster/

小弟看了一下,這個方法,似乎是先寫到 Log 內,在由 Log 內的資料,來寫入到資料庫內~~那如是如此的話!!
那小弟是否只要將 log file 放在 Storage 上,就可以讓兩台 MySQL 不用做資料的同步,且就算其中的一台 MySQL 掛了,也可正常的運行呢??
不知小弟這樣的想法是否正確呢??
因小弟的英文稍微差了點~~還請大大們指點一下了呢??

45
原來是只能一次寫一台喔!!

那因為,如第一台 Server 掛點了~~
我還要來修改設定檔,將MySQL的 connect 的 IP 做個修改,網站才能在次修護~
那這就會讓我覺得,就算資料庫做了同步了,機器掛了,網站還是看不到~

46
小弟參考了下面的網站來實作了~
http://www.study-area.org/tips/mysql_replication.htm

但目前確有遇到一個問題,還請大大們指點一下~~

小弟目前有兩台Web Server 在上面同時也架起了 MySQL ,也做了雙向的 Replication,兩台同是是 Master/Salve~~

那因在 MySQL的 Table 中,有一個欄位是遞增的,當在同一時間寫入了兩個資料,第一筆的資料寫到第一台的MySQL,第二筆資料確寫到了第二台的 MySQL
那因為欄位是遞增的,所以,兩台的MySQL就在還沒同步的情況下,出現了兩筆相同的遞增號碼,當然,這時同步時,就出現了問題了~~

那不知道大大們有何解決的方法嗎??

47
引述: "日京三子"
你是否應該把檔案陣列的相依選項看一下先? 根據你的錯誤訊息, 編譯程式在檔案模組的地方發生錯誤..............

加油!


再一次感謝大大的提醒,不過小弟又試了很多次,每次都仔細看了一下設定的參數~~結果還是一直沒過~

所以小弟還是先升級到2.4.25而以~~2.6.x的還是之後在試了~~
那升級完後,我還是有一點小問題~~
我看了 2.4.25 內的 smp.txt 這個說明檔的內容,如下:
To set up SMP

Configure the kernel and answer Y to CONFIG_SMP.

If you are using LILO, it is handy to have both SMP and non-SMP
kernel images on hand. Edit /etc/lilo.conf to create an entry
for another kernel image called "linux-smp" or something.

The next time you compile the kernel, when running a SMP kernel,
edit linux/Makefile and change "MAKE=make" to "MAKE=make -jN"
(where N = number of CPU + 1, or if you have tons of memory/swap
 you can just use "-j" without a number). Feel free to experiment
with this one.

Of course you should time how long each build takes :-)
Example:
   make config
   time -v sh -c 'make dep ; make clean install modules modules_install'

If you are using some Compaq MP compliant machines you will need to set
the operating system in the BIOS settings to "Unixware" - don't ask me
why Compaqs don't work otherwise.


其中有提到 Configure the kernel and answer Y to CONFIG_SMP. 那我也檢查過了,確實是為"y"~~,但是升級上來的kernel就是沒有smp的字眼
我用剛升級好的 2.4.25 可順利的開機了,不過打 uname -r 看到的還是 2.4.25而以~~

The next time you compile the kernel, when running a SMP kernel,
edit linux/Makefile and change "MAKE=make" to "MAKE=make -jN"
這裡又提到,要去修改 Makefile,但是小弟一直找不到這一行~~
不知到底該加在那裡~~

如有大大有作過的話!!還請指點一下小弟丫~~

48
引述: "ZMAN"
抓SRC回來自己編

編核心時務必每一項的說明都要看
有很多選項的說明會提到如果是SMP時該不該用


感謝大大的提醒~~
不過,我在安裝的過程還是出現了錯誤訊息了~~
在google上,也一直找不到答案~~
不知大大們有遇過??
那我也先說明一下我安裝的過程好了~~
如下:
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.3.tar.gz
ln -s linux-2.6.3 linux
wget http://www.ssi.bg/~ja/hidden-2.6.3-1.diff
cat hidden-2.6.3-1.diff | patch -p1
cp /boot/config-2.4.20-28.7smp .config
wget http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-0.9.15-pre4.tar.gz
tar zxvf module-init-tools-0.9.15-pre4.tar.gz
cd module-init-tools-0.9.15-pre4
./configure --prefix=/
make moveold
make
make install
./generate-modprobe.conf /etc/modprobe.conf
make oldconfig
make

就是做到這~~
就出現了下面的訊息:
 CC      fs/proc/array.o
fs/proc/array.c: In function `proc_pid_stat':
fs/proc/array.c:398: Unrecognizable insn:
(insn/i 1329 1665 1659 (parallel[
            (set (reg:SI 0 eax)
                (asm_operands ("") ("=a") 0[
                        (reg:DI 1 edx)
                    ]
                    [
                        (asm_input:DI ("A"))
                    ]  ("include/linux/times.h") 38))
            (set (reg:SI 1 edx)
                (asm_operands ("") ("=d") 1[
                        (reg:DI 1 edx)
                    ]
                    [
                        (asm_input:DI ("A"))
                    ]  ("include/linux/times.h") 38))
            (clobber (reg:QI 19 dirflag))
            (clobber (reg:QI 18 fpsr))
            (clobber (reg:QI 17 flags))
        ] ) -1 (insn_list 1323 (nil))
    (nil))
fs/proc/array.c:398: confused by earlier errors, bailing out
make[2]: *** [fs/proc/array.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2


還請大大們幫個忙了~~謝謝~~

49
小弟最近抓了 kernel-v2.6.3的 kernel 回來自行升級~~
那小弟也升級上去了,一切都很正常沒有問題~~

但小弟之前升級的測試是在一般的PC上升級的~~
那現在想要升級一台 Server,是支援雙CPU的~~
那在kernel未升級前,用 uname -r 看了一下
出現: 2.4.20smp

那不知道在 http://kernel.org 上抓的 kernel-v2.6.3 的回來可以升級在這種雙CPU的Server 上嗎??
因小弟試著升級過了,但是失敗了~~升級不成功~~
不知 smp 這樣的 kernl 該如何升級呢??

還請大大們指點一下了,謝謝~~

50
Linux 討論版 / [問題] postfix & sasl2 的問題
« 於: 2004-02-16 20:58 »
修改 master.cf 內的

找到底下的這一行:
smtp    inet    n       -       y       -       -       smtpd
將他改成為:
smtp    inet    n       -       n       -       -       smtpd

認證該就會過了~~試試吧!!

51
酷!學園 精華區 / 安裝及架設VPN-CIPE
« 於: 2004-01-28 22:00 »
看了大大的大作,小弟我也馬上實作了起來
那我的OS為RedHat 8.0
我升級Kernel至.2.4.20-28-8...

那也上網抓了cipe-1.5.4.tar.gz 抓了下來~
安裝步驟:
tar zxvf cipe-1.5.4.tar.gz
cd cipe-1.5.4
./configure
make
打了make,就出現了下面的訊息了~
/usr/src/linux-2.4.20-28.8/include/asm/string.h:416: warning: function declaration isn't a prototype
gmake[1]: *** [bf.o] Error 1
gmake[1]: Leaving directory `/home/nick/cipe-1.5.4/2.4.20-28.8-i386-cb'
make: *** [all] Error 2


那如改為:
./configure --with-linux=/usr/src/linux-2.4.20-28.8
make
打了make,又出現了下面的訊息:
/usr/src/linux-2.4.20-28.8/include/asm/string.h:416: warning: function declaration isn't a prototype
gmake[1]: *** [bf.o] Error 1
gmake[1]: Leaving directory `/home/nick/cipe-1.5.4/2.4.20-28.8-i386-cb'
make: *** [all] Error 2


在改為:
./configure --with-linux-include=/usr/src/linux-2.4.20-28.8/include
make
make install
這次到了 make install,反又出現下面的訊息:
chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe
gmake[1]: Leaving directory `/home/nick/cipe-1.5.4/pkcipe'
make: *** No rule to make target `cipe.texinfo', needed by `cipe.info'.  Stop.


不知道為什麼小弟我一直安裝不起來,還請大大指點一下了,謝謝~~

52
程式討論版 / [問題]XML和 XSL 的程式問題
« 於: 2003-12-31 17:15 »
小弟請教一下各位大大們~~
小弟用 flipalbum 產生了一個 .opf 內置 xml 語法的檔案~~
但是當我傳到web 上後~~
竟無法看到網頁,而一直出現error

無法顯示 XML 網頁
無法使用 XSL 樣式表檢視 XML 輸入。請更正錯誤,然後按 重新整理按鈕,或者稍後再試一次。


--------------------------------------------------------------------------------

參照未被宣告的具名區首碼: 'dc'。處理資源 'http://www.cycc.idv.tw/20031224.opf' 發生錯誤。第 6 行, 位置 20

         <dc:Title>20031224</dc:Title>
-------------------^



想請大大們幫忙看一下了,謝謝~~

<?xml version = "1.0" encoding = "UTF-8"?>



<package unique-identifier = "{AFE8086D-5C90-45B0-873E-EA9DA9005A44}">

   <metadata>

      <dc-metadata>

         <dc:Title>20031224</dc:Title>

         <dc:Subject>20031224</dc:Subject>

         <dc:Description/>

      </dc-metadata>

      <x-metadata>

         <meta name = "EbooksysVersion" content = "1.30"/>

         <meta name = "page_inset" content = "top: 3   bottom: 5   inner: 5   outer: 5  "/>

         <meta name = "centerfold" content = "no"/>

         <meta name = "book_background" content = "texture:20031224_opf_files/Vacation-Travel Book Bkgnd (online).jpg"/>

         <meta name = "page_background" content = "texture:20031224_opf_files/Vacation-Travel Left (online).jpg"/>

         <meta name = "right_page_background" content = "texture:20031224_opf_files/Vacation-Travel Right (online).jpg"/>

         <meta name = "centerfold_page_background" content = "texture:20031224_opf_files/Vacation-Travel Centrefold (online).jpg"/>

         <meta name = "background_music" content = "no"/>

         <meta name = "flipping_sound" content = "yes"/>

         <meta name = "openbook" content = "yes"/>

         <meta name = "window_frame" content = "yes"/>

         <meta name = "file_name" content = "no"/>

         <meta name = "page_number" content = "yes transparent:yes border:no backcolor:16777215 position: bottom alignment:center fontname:[MS Sans Serif] fontsize:8 fontcolor:0 fontstyle:[]"/>

         <meta name = "autoflip" content = "no"/>

         <meta name = "cover_overhang_size" content = "3"/>

         <meta name = "book_binder" content = "numrings: 1 ringtype: Default"/>

         <meta name = "thumbnail_size" content = "large"/>

         <meta name = "resize" content = "yes"/>

         <meta name = "bookmark" content = "type: text autosize: no shape: roundrect 3deffect: yes gradienteffect: yes slope: 15 gap: -8"/>

         <meta name = "marker" content = "type: flowers"/>

      </x-metadata>

   </metadata>

   <manifest>

      <item id = "item0" href = "20031224_opf_files/_fdname.flp" media-type = "application/x-flp"/>

      <item id = "resource0_0_0" href = "20031224_opf_files/Vacation-Travel Front Cover (online).jpg" media-type = "application/x-resource"/>

      <item id = "item1" href = "20031224_opf_files\20031224.tmb" media-type = "application/x-tmb"/>

      <item id = "item2" href = "" media-type = "application/x-toc"/>

      <item id = "item3" href = "20031224_opf_files\DSCN0397.jpg" media-type = "application/x-flp"/>

      <item id = "item4" href = "20031224_opf_files\DSCN0398.jpg" media-type = "application/x-flp"/>

      <item id = "item5" href = "20031224_opf_files\DSCN0399.jpg" media-type = "application/x-flp"/>

      <item id = "item6" href = "20031224_opf_files\DSCN0400.jpg" media-type = "application/x-flp"/>

      <item id = "item7" href = "20031224_opf_files\DSCN0401.jpg" media-type = "application/x-flp"/>

      <item id = "item8" href = "20031224_opf_files\DSCN0402.jpg" media-type = "application/x-flp"/>

      <item id = "item9" href = "20031224_opf_files\DSCN0403.jpg" media-type = "application/x-flp"/>

      <item id = "item10" href = "20031224_opf_files\DSCN0404.jpg" media-type = "application/x-flp"/>

      <item id = "item11" href = "20031224_opf_files\DSCN0405.jpg" media-type = "application/x-flp"/>

      <item id = "item12" href = "20031224_opf_files\DSCN0406.jpg" media-type = "application/x-flp"/>

      <item id = "item13" href = "20031224_opf_files\DSCN0407.jpg" media-type = "application/x-flp"/>

      <item id = "item14" href = "20031224_opf_files\DSCN0408.jpg" media-type = "application/x-flp"/>

      <item id = "item15" href = "20031224_opf_files\DSCN0409.jpg" media-type = "application/x-flp"/>

      <item id = "item16" href = "20031224_opf_files\DSCN0410.jpg" media-type = "application/x-flp"/>

      <item id = "item17" href = "20031224_opf_files\DSCN0411.jpg" media-type = "application/x-flp"/>

      <item id = "item18" href = "20031224_opf_files\DSCN0412.jpg" media-type = "application/x-flp"/>

      <item id = "item19" href = "20031224_opf_files\DSCN0413.jpg" media-type = "application/x-flp"/>

      <item id = "item20" href = "20031224_opf_files\DSCN0414.jpg" media-type = "application/x-flp"/>

      <item id = "item21" href = "20031224_opf_files\DSCN0415.jpg" media-type = "application/x-flp"/>

      <item id = "item22" href = "20031224_opf_files\DSCN0416.jpg" media-type = "application/x-flp"/>

      <item id = "item23" href = "20031224_opf_files\DSCN0417.jpg" media-type = "application/x-flp"/>

      <item id = "item24" href = "20031224_opf_files\DSCN0418.jpg" media-type = "application/x-flp"/>

      <item id = "item25" href = "20031224_opf_files\DSCN0419.jpg" media-type = "application/x-flp"/>

      <item id = "item26" href = "20031224_opf_files\DSCN0420.jpg" media-type = "application/x-flp"/>

      <item id = "item27" href = "20031224_opf_files\DSCN0421.jpg" media-type = "application/x-flp"/>

      <item id = "item28" href = "20031224_opf_files\DSCN0422.jpg" media-type = "application/x-flp"/>

      <item id = "item29" href = "20031224_opf_files\DSCN0423.jpg" media-type = "application/x-flp"/>

      <item id = "item30" href = "20031224_opf_files\DSCN0424.jpg" media-type = "application/x-flp"/>

      <item id = "item31" href = "20031224_opf_files\DSCN0425.jpg" media-type = "application/x-flp"/>

      <item id = "item32" href = "20031224_opf_files\DSCN0426.jpg" media-type = "application/x-flp"/>

      <item id = "item33" href = "20031224_opf_files\DSCN0427.jpg" media-type = "application/x-flp"/>

      <item id = "item34" href = "20031224_opf_files\DSCN0428.jpg" media-type = "application/x-flp"/>

      <item id = "item35" href = "20031224_opf_files\DSCN0429.jpg" media-type = "application/x-flp"/>

      <item id = "item36" href = "20031224_opf_files\DSCN0430.jpg" media-type = "application/x-flp"/>

      <item id = "item37" href = "20031224_opf_files\DSCN0431.jpg" media-type = "application/x-flp"/>

      <item id = "item38" href = "20031224_opf_files\DSCN0432.jpg" media-type = "application/x-flp"/>

      <item id = "item39" href = "20031224_opf_files\DSCN0433.jpg" media-type = "application/x-flp"/>

      <item id = "item40" href = "20031224_opf_files\DSCN0434.jpg" media-type = "application/x-flp"/>

      <item id = "item41" href = "20031224_opf_files\DSCN0435.jpg" media-type = "application/x-flp"/>

      <item id = "item42" href = "20031224_opf_files\DSCN0436.jpg" media-type = "application/x-flp"/>

      <item id = "item43" href = "20031224_opf_files\DSCN0437.jpg" media-type = "application/x-flp"/>

      <item id = "item44" href = "20031224_opf_files\DSCN0438.jpg" media-type = "application/x-flp"/>

      <item id = "item45" href = "20031224_opf_files\DSCN0439.jpg" media-type = "application/x-flp"/>

      <item id = "item46" href = "20031224_opf_files\DSCN0440.jpg" media-type = "application/x-flp"/>

      <item id = "item47" href = "20031224_opf_files\DSCN0441.jpg" media-type = "application/x-flp"/>

      <item id = "item48" href = "20031224_opf_files\DSCN0442.jpg" media-type = "application/x-flp"/>

      <item id = "item49" href = "20031224_opf_files\DSCN0443.jpg" media-type = "application/x-flp"/>

      <item id = "item50" href = "20031224_opf_files\DSCN0444.jpg" media-type = "application/x-flp"/>

      <item id = "item51" href = "20031224_opf_files\DSCN0445.jpg" media-type = "application/x-flp"/>

      <item id = "item52" href = "20031224_opf_files\DSCN0446.jpg" media-type = "application/x-flp"/>

      <item id = "item53" href = "20031224_opf_files\DSCN0447.jpg" media-type = "application/x-flp"/>

      <item id = "item54" href = "20031224_opf_files\DSCN0448.jpg" media-type = "application/x-flp"/>

      <item id = "item55" href = "20031224_opf_files\DSCN0449.jpg" media-type = "application/x-flp"/>

      <item id = "item56" href = "20031224_opf_files\DSCN0450.jpg" media-type = "application/x-flp"/>

      <item id = "item57" href = "20031224_opf_files\DSCN0451.jpg" media-type = "application/x-flp"/>

      <item id = "item58" href = "20031224_opf_files\DSCN0452.jpg" media-type = "application/x-flp"/>

      <item id = "item59" href = "20031224_opf_files\DSCN0453.jpg" media-type = "application/x-flp"/>

      <item id = "item60" href = "20031224_opf_files\DSCN0454.jpg" media-type = "application/x-flp"/>

      <item id = "item61" href = "20031224_opf_files\DSCN0455.jpg" media-type = "application/x-flp"/>

      <item id = "item62" href = "20031224_opf_files\DSCN0456.jpg" media-type = "application/x-flp"/>

      <item id = "item63" href = "20031224_opf_files\DSCN0457.jpg" media-type = "application/x-flp"/>

      <item id = "item64" href = "20031224_opf_files\DSCN0458.jpg" media-type = "application/x-flp"/>

      <item id = "item65" href = "20031224_opf_files\DSCN0459.jpg" media-type = "application/x-flp"/>

      <item id = "item66" href = "20031224_opf_files\DSCN0460.jpg" media-type = "application/x-flp"/>

      <item id = "item67" href = "20031224_opf_files\DSCN0475.jpg" media-type = "application/x-flp"/>

      <item id = "item68" href = "20031224_opf_files\DSCN0476.jpg" media-type = "application/x-flp"/>

      <item id = "item69" href = "20031224_opf_files\DSCN0478.jpg" media-type = "application/x-flp"/>

      <item id = "item70" href = "20031224_opf_files\DSCN0479.jpg" media-type = "application/x-flp"/>

      <item id = "item71" href = "20031224_opf_files\DSCN0480.jpg" media-type = "application/x-flp"/>

      <item id = "item72" href = "20031224_opf_files\DSCN0481.jpg" media-type = "application/x-flp"/>

      <item id = "item73" href = "20031224_opf_files\DSCN0483.jpg" media-type = "application/x-flp"/>

      <item id = "item74" href = "20031224_opf_files\DSCN0484.jpg" media-type = "application/x-flp"/>

      <item id = "item75" href = "20031224_opf_files\DSCN0485.jpg" media-type = "application/x-flp"/>

      <item id = "item76" href = "20031224_opf_files\DSCN0486.jpg" media-type = "application/x-flp"/>

      <item id = "item77" href = "20031224_opf_files\DSCN0487.jpg" media-type = "application/x-flp"/>

      <item id = "item78" href = "20031224_opf_files\DSCN0488.jpg" media-type = "application/x-flp"/>

      <item id = "item79" href = "20031224_opf_files\DSCN0489.jpg" media-type = "application/x-flp"/>

      <item id = "item80" href = "20031224_opf_files\DSCN0490.jpg" media-type = "application/x-flp"/>

      <item id = "item81" href = "20031224_opf_files\DSCN0491.jpg" media-type = "application/x-flp"/>

      <item id = "item82" href = "20031224_opf_files\DSCN0492.jpg" media-type = "application/x-flp"/>

      <item id = "item83" href = "20031224_opf_files\DSCN0493.jpg" media-type = "application/x-flp"/>

      <item id = "item84" href = "20031224_opf_files\DSCN0494.jpg" media-type = "application/x-flp"/>

      <item id = "item85" href = "20031224_opf_files\DSCN0495.jpg" media-type = "application/x-flp"/>

      <item id = "item86" href = "20031224_opf_files\DSCN0496.jpg" media-type = "application/x-flp"/>

      <item id = "item87" href = "20031224_opf_files\DSCN0497.jpg" media-type = "application/x-flp"/>

      <item id = "item88" href = "20031224_opf_files\DSCN0498.jpg" media-type = "application/x-flp"/>

      <item id = "item89" href = "20031224_opf_files\DSCN0499.jpg" media-type = "application/x-flp"/>

      <item id = "item90" href = "20031224_opf_files\DSCN0500.jpg" media-type = "application/x-flp"/>

      <item id = "item91" href = "20031224_opf_files\DSCN0501.jpg" media-type = "application/x-flp"/>

      <item id = "item92" href = "20031224_opf_files\DSCN0502.jpg" media-type = "application/x-flp"/>

      <item id = "item93" href = "20031224_opf_files\DSCN0503.jpg" media-type = "application/x-flp"/>

      <item id = "item94" href = "20031224_opf_files\DSCN0504.jpg" media-type = "application/x-flp"/>

      <item id = "item95" href = "20031224_opf_files\DSCN0505.jpg" media-type = "application/x-flp"/>

      <item id = "item96" href = "20031224_opf_files\DSCN0506.jpg" media-type = "application/x-flp"/>

      <item id = "item97" href = "20031224_opf_files\DSCN0507.jpg" media-type = "application/x-flp"/>

      <item id = "item98" href = "20031224_opf_files\DSCN0508.jpg" media-type = "application/x-flp"/>

      <item id = "item99" href = "20031224_opf_files\DSCN0509.jpg" media-type = "application/x-flp"/>

      <item id = "item100" href = "20031224_opf_files\DSCN0510.jpg" media-type = "application/x-flp"/>

      <item id = "item101" href = "20031224_opf_files\DSCN0511.jpg" media-type = "application/x-flp"/>

      <item id = "item102" href = "20031224_opf_files\DSCN0512.jpg" media-type = "application/x-flp"/>

      <item id = "item103" href = "20031224_opf_files\DSCN0513.jpg" media-type = "application/x-flp"/>

      <item id = "item104" href = "20031224_opf_files\DSCN0514.jpg" media-type = "application/x-flp"/>

      <item id = "item105" href = "20031224_opf_files\DSCN0515.jpg" media-type = "application/x-flp"/>

      <item id = "item106" href = "20031224_opf_files\DSCN0516.jpg" media-type = "application/x-flp"/>

      <item id = "item107" href = "20031224_opf_files\DSCN0517.jpg" media-type = "application/x-flp"/>

      <item id = "item108" href = "20031224_opf_files\DSCN0519.jpg" media-type = "application/x-flp"/>

      <item id = "item109" href = "20031224_opf_files\DSCN0520.jpg" media-type = "application/x-flp"/>

      <item id = "item110" href = "20031224_opf_files\DSCN0521.jpg" media-type = "application/x-flp"/>

      <item id = "item111" href = "20031224_opf_files\DSCN0522.jpg" media-type = "application/x-flp"/>

      <item id = "item112" href = "20031224_opf_files\DSCN0523.jpg" media-type = "application/x-flp"/>

      <item id = "item113" href = "20031224_opf_files\DSCN0524.jpg" media-type = "application/x-flp"/>

      <item id = "item114" href = "20031224_opf_files\DSCN0525.jpg" media-type = "application/x-flp"/>

      <item id = "item115" href = "20031224_opf_files\DSCN0526.jpg" media-type = "application/x-flp"/>

      <item id = "item116" href = "20031224_opf_files\DSCN0527.jpg" media-type = "application/x-flp"/>

      <item id = "item117" href = "20031224_opf_files\DSCN0528.jpg" media-type = "application/x-flp"/>

      <item id = "item118" href = "20031224_opf_files\DSCN0529.jpg" media-type = "application/x-flp"/>

      <item id = "item119" href = "20031224_opf_files\DSCN0530.jpg" media-type = "application/x-flp"/>

      <item id = "item120" href = "20031224_opf_files\DSCN0531.jpg" media-type = "application/x-flp"/>

      <item id = "item121" href = "20031224_opf_files\DSCN0533.jpg" media-type = "application/x-flp"/>

      <item id = "item122" href = "20031224_opf_files\DSCN0534.jpg" media-type = "application/x-flp"/>

      <item id = "item123" href = "20031224_opf_files\DSCN0535.jpg" media-type = "application/x-flp"/>

      <item id = "item124" href = "20031224_opf_files\DSCN0536.jpg" media-type = "application/x-flp"/>

      <item id = "item125" href = "20031224_opf_files\DSCN0537.jpg" media-type = "application/x-flp"/>

      <item id = "item126" href = "20031224_opf_files\DSCN0538.jpg" media-type = "application/x-flp"/>

      <item id = "item127" href = "20031224_opf_files\DSCN0539.jpg" media-type = "application/x-flp"/>

      <item id = "item128" href = "20031224_opf_files\DSCN0540.jpg" media-type = "application/x-flp"/>

      <item id = "item129" href = "20031224_opf_files\DSCN0541.jpg" media-type = "application/x-flp"/>

      <item id = "item130" href = "20031224_opf_files\DSCN0542.jpg" media-type = "application/x-flp"/>

      <item id = "item131" href = "20031224_opf_files\DSCN0543.jpg" media-type = "application/x-flp"/>

      <item id = "item132" href = "20031224_opf_files\DSCN0544.jpg" media-type = "application/x-flp"/>

      <item id = "item133" href = "20031224_opf_files\DSCN0546.jpg" media-type = "application/x-flp"/>

      <item id = "item134" href = "20031224_opf_files\DSCN0547.jpg" media-type = "application/x-flp"/>

      <item id = "item135" href = "20031224_opf_files\DSCN0548.jpg" media-type = "application/x-flp"/>

      <item id = "item136" href = "20031224_opf_files\DSCN0549.jpg" media-type = "application/x-flp"/>

      <item id = "item137" href = "20031224_opf_files\DSCN0550.jpg" media-type = "application/x-flp"/>

      <item id = "item138" href = "20031224_opf_files\DSCN0551.jpg" media-type = "application/x-flp"/>

      <item id = "item139" href = "20031224_opf_files\DSCN0552.jpg" media-type = "application/x-flp"/>

      <item id = "item140" href = "20031224_opf_files\DSCN0553.jpg" media-type = "application/x-flp"/>

      <item id = "item141" href = "20031224_opf_files\DSCN0554.jpg" media-type = "application/x-flp"/>

      <item id = "item142" href = "20031224_opf_files\DSCN0555.jpg" media-type = "application/x-flp"/>

      <item id = "item143" href = "20031224_opf_files\DSCN0556.jpg" media-type = "application/x-flp"/>

      <item id = "item144" href = "20031224_opf_files\DSCN0557.jpg" media-type = "application/x-flp"/>

      <item id = "item145" href = "" media-type = "application/x-idx"/>

      <item id = "item146" href = "" media-type = "application/x-flp"/>

      <item id = "resource146_0_0" href = "20031224_opf_files/Vacation-Travel Back Cover (online).jpg" media-type = "application/x-resource"/>

   </manifest>

   <spine>

      <itemref page_background = "texture:resource0_0_0" pageside = "right" index = "no" idref = "item0"/>

      <itemref index = "no" centerfold = "no" idref = "item1"/>

      <itemref index = "no" centerfold = "no" idref = "item2"/>

      <itemref idref = "item3" bookmark = "text:普陀寺 bgcolor:8454016"/>

      <itemref idref = "item4"/>

      <itemref idref = "item5"/>

      <itemref idref = "item6"/>

      <itemref idref = "item7"/>

      <itemref idref = "item8"/>

      <itemref idref = "item9"/>

      <itemref idref = "item10"/>

      <itemref idref = "item11" bookmark = "text:神山- 禪圓 bgcolor:16711680"/>

      <itemref idref = "item12"/>

      <itemref idref = "item13"/>

      <itemref idref = "item14"/>

      <itemref idref = "item15"/>

      <itemref idref = "item16"/>

      <itemref idref = "item17" bookmark = "text:神山 -  樹頂吊橋 bgcolor:255"/>

      <itemref idref = "item18"/>

      <itemref idref = "item19"/>

      <itemref idref = "item20"/>

      <itemref idref = "item21"/>

      <itemref idref = "item22"/>

      <itemref idref = "item23"/>

      <itemref idref = "item24"/>

      <itemref idref = "item25"/>

      <itemref idref = "item26"/>

      <itemref idref = "item27"/>

      <itemref idref = "item28"/>

      <itemref idref = "item29"/>

      <itemref idref = "item30"/>

      <itemref idref = "item31"/>

      <itemref idref = "item32"/>

      <itemref idref = "item33"/>

      <itemref idref = "item34"/>

      <itemref idref = "item35"/>

      <itemref idref = "item36" bookmark = "text:神山 - 植物圓 bgcolor:16711935"/>

      <itemref idref = "item37"/>

      <itemref idref = "item38"/>

      <itemref idref = "item39"/>

      <itemref idref = "item40"/>

      <itemref idref = "item41"/>

      <itemref idref = "item42"/>

      <itemref idref = "item43"/>

      <itemref idref = "item44"/>

      <itemref idref = "item45" bookmark = "text:沙巴基金大廈 bgcolor:4227072"/>

      <itemref idref = "item46"/>

      <itemref idref = "item47"/>

      <itemref idref = "item48"/>

      <itemref idref = "item49"/>

      <itemref idref = "item50"/>

      <itemref idref = "item51"/>

      <itemref idref = "item52"/>

      <itemref idref = "item53"/>

      <itemref idref = "item54"/>

      <itemref idref = "item55"/>

      <itemref idref = "item56" bookmark = "text:清真寺 bgcolor:16744576"/>

      <itemref idref = "item57"/>

      <itemref idref = "item58"/>

      <itemref idref = "item59"/>

      <itemref idref = "item60"/>

      <itemref idref = "item61"/>

      <itemref idref = "item62" bookmark = "text:泛太泙飯店 bgcolor:33023"/>

      <itemref idref = "item63"/>

      <itemref idref = "item64"/>

      <itemref idref = "item65"/>

      <itemref idref = "item66"/>

      <itemref idref = "item67"/>

      <itemref idref = "item68"/>

      <itemref idref = "item69"/>

      <itemref idref = "item70"/>

      <itemref idref = "item71"/>

      <itemref idref = "item72"/>

      <itemref idref = "item73"/>

      <itemref idref = "item74"/>

      <itemref idref = "item75"/>

      <itemref idref = "item76"/>

      <itemref idref = "item77"/>

      <itemref idref = "item78"/>

      <itemref idref = "item79"/>

      <itemref idref = "item80"/>

      <itemref idref = "item81"/>

      <itemref idref = "item82"/>

      <itemref idref = "item83"/>

      <itemref idref = "item84"/>

      <itemref idref = "item85"/>

      <itemref idref = "item86"/>

      <itemref idref = "item87"/>

      <itemref idref = "item88"/>

      <itemref idref = "item89"/>

      <itemref idref = "item90"/>

      <itemref idref = "item91"/>

      <itemref idref = "item92"/>

      <itemref idref = "item93"/>

      <itemref idref = "item94"/>

      <itemref idref = "item95"/>

      <itemref idref = "item96"/>

      <itemref idref = "item97"/>

      <itemref idref = "item98"/>

      <itemref idref = "item99"/>

      <itemref idref = "item100"/>

      <itemref idref = "item101"/>

      <itemref idref = "item102"/>

      <itemref idref = "item103"/>

      <itemref idref = "item104"/>

      <itemref idref = "item105"/>

      <itemref idref = "item106"/>

      <itemref idref = "item107"/>

      <itemref idref = "item108"/>

      <itemref idref = "item109"/>

      <itemref idref = "item110"/>

      <itemref idref = "item111"/>

      <itemref idref = "item112"/>

      <itemref idref = "item113"/>

      <itemref idref = "item114"/>

      <itemref idref = "item115"/>

      <itemref idref = "item116"/>

      <itemref idref = "item117"/>

      <itemref idref = "item118"/>

      <itemref idref = "item119"/>

      <itemref idref = "item120"/>

      <itemref idref = "item121"/>

      <itemref idref = "item122"/>

      <itemref idref = "item123"/>

      <itemref idref = "item124"/>

      <itemref idref = "item125"/>

      <itemref idref = "item126"/>

      <itemref idref = "item127"/>

      <itemref idref = "item128"/>

      <itemref idref = "item129"/>

      <itemref idref = "item130"/>

      <itemref idref = "item131"/>

      <itemref idref = "item132"/>

      <itemref idref = "item133"/>

      <itemref idref = "item134"/>

      <itemref idref = "item135"/>

      <itemref idref = "item136"/>

      <itemref idref = "item137"/>

      <itemref idref = "item138"/>

      <itemref idref = "item139"/>

      <itemref idref = "item140"/>

      <itemref idref = "item141"/>

      <itemref idref = "item142"/>

      <itemref idref = "item143"/>

      <itemref idref = "item144"/>

      <itemref index = "no" centerfold = "no" idref = "item145"/>

      <itemref page_background = "texture:resource146_0_0" pageside = "left" index = "no" idref = "item146"/>

   </spine>

</package>

53
引述: "Jishon"
引述: "olderboy"

感謝大大的提醒~~
小弟也找到了 bg5ps 這個工具可以轉換成中文了~
不過,小弟還是有一個問題~~
就是,我要轉換中文網頁的話!!
我有試過 html2ps 但是這卻無法轉換中文字~~
那知道還有什麼工具可以使用嗎??
還請大大們在指點一下了~~謝謝~~


html2ps本身問題
1. 改用mozilla轉ps 或
2. 使用samba printer


因小弟想寫一支程式~~
在web上,當客戶填寫訂購單後,多增加一個選項就是用Fax去傳送~~
那因 web 上都是用 html ,所以,才會想說是否有何程式可以做轉換的呢??
不知道大大們有什麼建議嗎??

54
引述: "Jishon"
引述: "olderboy"
小弟也參考了大大的文章,也實作了一次~~
不過,因rpm 檔我一直安裝不起來(我的os為 RH7.3)~
所以,我改用 tar.gz 來安裝了~~

但是我在本機上下:sendfax 的指令去傳送 fax 是可以傳送了~~
但是傳送出去的檔案,看到的中文是亂碼的~~
不知道大大們有遇過這樣的問題嗎??
可否提供這方面的資訊呢??
謝謝~~


使用sendfax指令前請先將文件轉為ps格式...


感謝大大的提醒~~
小弟也找到了 bg5ps 這個工具可以轉換成中文了~
不過,小弟還是有一個問題~~
就是,我要轉換中文網頁的話!!
我有試過 html2ps 但是這卻無法轉換中文字~~
那知道還有什麼工具可以使用嗎??
還請大大們在指點一下了~~謝謝~~

55
小弟也參考了大大的文章,也實作了一次~~
不過,因rpm 檔我一直安裝不起來(我的os為 RH7.3)~
所以,我改用 tar.gz 來安裝了~~

但是我在本機上下:sendfax 的指令去傳送 fax 是可以傳送了~~
但是傳送出去的檔案,看到的中文是亂碼的~~
不知道大大們有遇過這樣的問題嗎??
可否提供這方面的資訊呢??
謝謝~~

56
拾人牙慧 / [DNS]用 DB 做 DNS 服務
« 於: 2003-11-04 22:19 »
引述: "abelyang"
幾個狀況
1. 有沒有 Firewall 檔住了向外查詢 ? nslookup 加設 debug ,以顯示更多的資訊看看
2. 檢查 pdns.conf 中關於 recursion 的設定?
(allow-recursion= , lazy-recursion=,recursor= ...)

[root@pc071 SIP]# dig @203.160.250.1 . ns
.                       5w6d16h IN NS   A.ROOT-SERVERS.NET.
.                       5w6d16h IN NS   B.ROOT-SERVERS.NET.
;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.4
B.ROOT-SERVERS.NET.     5w6d16h IN A    128.9.0.107
(其他略)

可以發現您的 DNS 是有 work 的,也可以提供 Root List,
但是再查 .tw .com ,com.tw. 或其他非您網域名稱資料時
就會回 Server Failed, 我猜不是 (1) 就是 (2) 的狀況
您可再試試看


真的太感謝大大的指點了~~
問題終於解決了
只要在 pdns.conf 內,加上 recursor=168.95.1.1 就可以 work 了~~
只是小弟的英文較差,powerdns 的功能似乎還滿多的~
看來得在多花點時間來研究一下了呢!!

57
拾人牙慧 / [DNS]用 DB 做 DNS 服務
« 於: 2003-11-03 21:45 »
引述: "abelyang"
您的問題是用 PowerDNS 架的 DNS 不允許遷迴查嗎 ?
(如果有查詢的結果範例供大家是最好不過)
如果是這樣的話,您可能得再研究一下 PowerDNS 的設定方面有
沒有漏掉像 recursion 這樣的設定或了解一下預設值是什麼 ?
另外, named.ca (也就是 Root Server List ) 是否存在您的 PowerDNS 上

如果您的問題是您自己用 Perl 之類的程式寫的,這個地方您善用 gethostbyname, 並將本機的 nameserver 指向另外的 DNS 主機
有人問你 xxx.com.tw 在哪,而您自己又沒有答案的話就拿去 gethostbyname 囉, 再組回 DNS Packet ,回應給 user

我大概猜您的問題是第一個狀況,但是建議您提供必要的查詢結果,好方便大家判斷囉~


非常感謝大大的熱心指導~~

C:\>nslookup
Default Server:  dns.hinet.net
Address:  168.95.1.1

> server 203.160.250.1
Default Server:  [203.160.250.1]
Address:  203.160.250.1

> dns.net.net
Server:  [203.160.250.1]
Address:  203.160.250.1

*** [203.160.250.1] can't find dns.net.net: Server failed
> www.hinet.net
Server:  [203.160.250.1]
Address:  203.160.250.1

*** [203.160.250.1] can't find www.hinet.net: Server failed
> www.google.com
Server:  [203.160.250.1]
Address:  203.160.250.1

*** [203.160.250.1] can't find www.google.com: Server failed

> www.f109.com.tw
Server:  [203.160.250.1]
Address:  203.160.250.1

Name:    www.f109.com.tw
Address:  203.160.250.196

> www.diyart.com.tw
Server:  [203.160.250.1]
Address:  203.160.250.1

Name:    www.diyart.com.tw
Address:  203.160.250.196


這就是小弟我將 default server 指向 203.160.250.1 後出現的情形了~~
其中 www.diyart.com.twwww.f109.com.tw 這兩個網站~~是因為在 203.160.250.1 這 dns 上有他們的記錄,所以才查詢的到~~

另外, named.ca ,這個檔案當然是有存到 DB 內了~~
所以,我才會不解的,為什麼不會向上查詢呢??

那因現在 www.powerdns.com 網站掛點了~~
所以,無法上去查詢資料~~
還請大大指點一下了呢??

58
拾人牙慧 / [DNS]用 DB 做 DNS 服務
« 於: 2003-11-03 15:54 »
引述: "abelyang"
我不知道 PowerDNS 有沒有這個設定檔耶~~
我想是要有類似的設定檔吧~因為有些 DNS 的行為總得要"規範一下"
(如 ACL,allow-xxx,logging 等)

如果用 BIND 接 DB 則是要在 named.conf 設出來 zone
及該 zone 接 DB 的一些參數


感謝大大的指點~~
那最近,我也測試了一下~~
又另外發現一個問題~~

一般,我們將 DNS 設定 OK 後~~
都會用 nslookup 來做 DNS 的查詢~~
那我也將 Default Server 指向 本機的 IP
當我查詢在 DB 內有記錄的 DNS 記錄都沒有問題
都可以查詢的出來~~

但是如我要去查詢像: www.hinet.net or www.google.com
反而都會查詢不到耶!!也就是說!!
只要是查外部的 DNS 記錄,就都會出現查詢不到的問題~~
不知道大大在用 Perl 寫的 DNS 程式也會這樣嗎??
還是,大大知道這是什麼原因呢??
因案子快結束了,要驗收了~~
還麻煩指點一下了~~

59
Linux 討論版 / [問題]mysql的一個問題~~
« 於: 2003-09-12 10:00 »
那這是 MySQL 的問題嗎??
因我在 Sybase ASA 和 ASE 上這樣做~~
都不會有這個問題耶!!

60
Linux 討論版 / [問題]mysql的一個問題~~
« 於: 2003-09-11 11:11 »
引述: "gol4302"
這是錯誤的處理方式
何不資料庫放在第一台 ,在第一台用 localhost 連結
第二台用第一台的 IP 連結


之前我們就是如此處理的~~
那因為這樣如有mysql 的server 掛了~~
那就等於全掛了~~web server的load balance 就沒有意義了~~
所以才會想這樣做的~~

頁: 1 [2] 3 4