<?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; Error</title>
	<atom:link href="http://www.linuxlane.com/tag/error/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=2284</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>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>
	</channel>
</rss>


