<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LinuxLane.com &#187; Fixed</title>
	<atom:link href="http://www.linuxlane.com/tag/fixed/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxlane.com</link>
	<description>เรียนรู้การใช้งาน ลีนุกซ์ [ Linux ]</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:04:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=6010</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>รัน Sample nVidia Cuda Application บน CentOS Linux แล้วเกิด Error</title>
		<link>http://www.linuxlane.com/sample-nvidia-cuda-application-centos-linux-libcudart-so-2/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/sample-nvidia-cuda-application-centos-linux-libcudart-so-2/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:21:37 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Cuda]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nVidia]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=113</guid>
		<description><![CDATA[







หลังจากที่คอมไพล์ NVIDIA_CUDA_SDK  แล้วเกิด Error ขึ้นมา ดังนี้
# ./simpleGL
./simpleGL: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory



การแก้ปัญหาสามารถทำได้โดย การเพิ่มพาธของไลบรารี  /usr/local/cuda/lib เข้าไปที่ไฟล์  /etc/ld.so.conf  เช่น
#  echo  &#8220;/usr/local/cuda/lib&#8221;  &#62;&#62;  /etc/ld.so.conf
จากนั้นให้ระบบโหลดไลบรารีเข้าไปใหม่ ดังนี้
#  ldconfig
จากนั้นก็รันคำสั่ง ตามปกติครับ



number of view: 413


เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/sample-nvidia-cuda-application-centos-linux-libcudart-so-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ปัญหา Grid FTP : File is not owned by current user</title>
		<link>http://www.linuxlane.com/grid-ftp-hostcert-is-not-owned-by-current-user/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/grid-ftp-hostcert-is-not-owned-by-current-user/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:15:13 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[hpc]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=105</guid>
		<description><![CDATA[ในการติดตั้งระบบกริด มีปัญหาหนึ่งที่พบ และอยากจะจดบันทึกเอาไว้เพิ่มเติม นั่นก็คือ ระหว่างที่เรารันคำสั่ง
globus-url-copy    -vb    gsiftp://myserver/myfile     file:///tmp/testfile



มีข้อความขึ้นมาดังนี้
530-globus_credential: Error reading host credential
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: File is not owned by current user: /etc/grid-security/hostcert.pem is not owned b y current user
ปัญหาเกิดจากเซอร์วิส ในไฟล์  /etc/xinetd.d/grid-ftp  ตรงบรรทัด  user เป็นผู้ใช้งานอื่นที่ไม่ใช่ root
&#8230;.
user            = root
&#8230;



แต่ในไฟล์  /etc/grid-security/hostcert.pem  เป็นของผู้ใช้ root ครับ
วิธีการแก้ปัญหาก็ทำได้โดยการแก้ไขไฟล์  /etc/xinetd.d/grid-ftp  ตรง user ให้เป้น root [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/grid-ftp-hostcert-is-not-owned-by-current-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ปัญหา : passwd: Failed preliminary check by password service</title>
		<link>http://www.linuxlane.com/passwd-failed-preliminary-check-by-password-service/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/passwd-failed-preliminary-check-by-password-service/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:55:26 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=90</guid>
		<description><![CDATA[พอดีผมได้ทำการติดตั้งลินุกซ์ CentOS พอถึงช่วงของการเปลี่ยนรหัสผ่านของผู้ใช้งาน ก็เกิดปัญหาขึ้นมาดังนี้ครับ
passwd: Failed preliminary check by password service



จึงได้หาวิธีการแก้ไข และสรุปได้ว่า เกิดจาก NIS Server ไม่ทำงาน ซึ่งเราสามารถสตาร์ทขึ้นมาได้ด้วยคำสั่ง
# /etc/init.d/ypbind restart
Shutting down NIS services:                                [FAILED]
Setting NIS domain name rocks:                             [  OK  ]
Binding to the NIS domain:                                 [  OK  ]
ระบบก็สามารถทำงานได้ตามปกติครับ



number of view: 184

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/passwd-failed-preliminary-check-by-password-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Error Using expire_logs_days without log_bin crashes the server</title>
		<link>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:39:05 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Solved]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/</guid>
		<description><![CDATA[ได้มีโอกาสช่วยแก้ไขปัญหาของเซิร์ฟเวอร์ โดยในเบื้องต้นเครื่องนี้ได้ติดตั้ง Linux Ubuntu 7.10 ลงไป แล้วได้ทำการอัพเดตให้เป็น Ubuntu 8.04 แต่มีปัญหาอยู่ 2 เรื่องด้วยกัน โดยอันแรก มีปัญหากับระบบ Mount Harddisk แต่ก็แก้ได้ไม่ยากนัก ส่วนอีกเรื่องก็คือ ฐานข้อมูล MySQL ไม่สามารถสตาร์ทขึ้นมาได้
โดยได้ลองใช้คำสั่ง  /etc/init.d/mysql  start  มีข้อความขึ้นมา ดังนี้





 /etc/init.d/mysql: ERROR: Using expire_logs_days without log_bin crashes the server. See README.Debian.gz
ซึ่งเกิดจากในไฟล์คอนฟิก my.cnf มีการเปิดใช้ expire_logs_days แต่ว่าไม่มีการเปิดใช้ log_bin ด้วย จึงทำให้เกิดข้อความขึ้นมา
วิธีการแก้ไข
ในไฟล์ /etc/mysql/my.cnf ให้เอาเครื่องหมาย # ออกตรงบรรทัด log_bin เพื่อเปิดใช้งาน log_bin ครับ จากนั้นก็รีสตาร์ต [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Session problem</title>
		<link>http://www.linuxlane.com/php-session-problem/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/php-session-problem/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 14:02:00 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/wp/?p=50</guid>
		<description><![CDATA[
วันนี้เกิดปัญหาขึ้นแต่เช้า ไม่สามารถลอกอินเข้าสู่หน้าเว็บที่เขียนด้วยภาษา php เลยซักเว็บ เกิดจากการปรับแต่ง php.ini ผิดพลาด ตรงบรรทัด session.save_path กับ session.cookie_path ครับ




# diff  php.ini  php.ini.tmp
&#60; ;session.save_path = /tmp
&#8212;
&#62; session.save_path = /tmp
849c849
&#60; session.cookie_path = /
&#8212;
&#62; session.cookie_path = /tmp
number of view: 181

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/php-session-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Solved บน Fedora 7</title>
		<link>http://www.linuxlane.com/dns-solved-on-fedora-7/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/dns-solved-on-fedora-7/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 14:00:05 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/wp/?p=46</guid>
		<description><![CDATA[วันนี้นั่งติดตั้ง DNS Server บน Fedora 7 ปรากฏว่า เจอปัญหา 2 ที่ด้วยกันครับ
1. ไม่มีไฟล์ named.root.hints  แก้โดย สร้างขึ้นมาเองครับ โดยมีเนื้อหาในไฟล์ ประมาณนี้
zone &#8220;.&#8221; IN {
 type hint;
 file &#8220;named.ca&#8221;;
};




2. DNS ไม่สามารถ Resolve จากภายนอกได้ ได้แต่ Localhost , Localnet ซึ่งแก้โดยแก้ไขค่าของ match-clients , match-destinations ในส่วนของ external view ให้เป็น any ครับ
 match-clients               { any; };
 match-destinations       { any; }



number of view: 170

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/dns-solved-on-fedora-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot modify header information</title>
		<link>http://www.linuxlane.com/cannot-modify-header-information/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/cannot-modify-header-information/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 13:57:44 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Solved]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/wp/?p=44</guid>
		<description><![CDATA[ปัญหา Cannot modify header information คาดว่านักพัฒนาซอฟต์แวร์ รวมถึงผู้ที่ติดตั้งซอฟต์แวร์ที่เขียนด้วย ด้วยภาษา PHP คงจะเจอกันบ่อย ซึ่งลักษณะ ข้อความแสดงการผิดพลาด มีลักษณะดังข้างล่าง




Warning: Cannot modify header information &#8211; headers already  sent by
(output started at  /home/somewhere/somefile.php:10) in
/home/somewhere/somefile.php on line 20
การแก้ไขปัญหา
ให้แก้ไขที่ตัวแปร output_buffering ที่อยู่ในไฟล์ php.ini โดยปกติแล้วบางระบบปฏิบัติการ จะตั้งค่าให้ output_buffering = Off ซึ่งเราสามารถแก้ไขเป็น
output_buffering = 4096



จากนั้นก็ทำการรีสตาร์ท apache เซอร์วิส ก็สามารถใช้งานได้ปกติแล้วครับ
## Ubuntu / Debian / Gentoo
# /etc/init.d/apache2 restart
## RedHat / Fedora / CentOS
# [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/cannot-modify-header-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Server มีปัญหา</title>
		<link>http://www.linuxlane.com/dns-server-client-solved/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/dns-server-client-solved/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:21:42 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Solved]]></category>
		<category><![CDATA[ลินุกซ์]]></category>
		<category><![CDATA[เซิร์ฟเวอร์]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/wp/?p=37</guid>
		<description><![CDATA[เมื่อวานนี้รู้สึกแปลกๆ ที่ตัว  Server ในส่วนที่ต้องมีการดึง RSS มาแสดงผล หรืออะไรก็ตาม ที่ต้องมีการดึงข้อมูลผ่านตัว Apache จะเรียกใช้ไม่ได้ …   ทางผมก็เลยลองล็อกอินเข้าไปที่ระบบ ตรวจสอบดู ก็พบว่า ตัว Apache เอง ดึงข้อมูลไม่ได้เพราะติดปัญหา เชื่อมต่อ DNS Server ไม่ได้นั่นเอง
 
ดังนั้น ผมเลยตรวจสอบที่ไฟล์  /etc/resolv.conf  ดังนี้




# cat    /etc/resolv.conf
nameserver 203.144.207.29
nameserver 203.144.207.49
nameserver 202.47.249.4
domain kkict.org
อื้ม … มีรายชื่อของ DNS Server หลายตัวอยู่นะ … การอัพเดตเซิร์ฟเวอร์ได้ปกติดี … แสดงว่า Apache น่าจะเรียกตัวแรกสุด … งั้น ตรวจสอบการเชื่อมต่อซักหน่อยดีกว่า
# dig   @203.144.207.29
… เงียบ … ไม่มีการตอบสนองครับ แสดงว่า … ไม่รอดแล้ว …
เพื่อให้ชัวร์ [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/dns-server-client-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


