2013年8月6日 星期二
2013年2月23日 星期六
java更新後,學務系統採用憑證登入就出現讀卡機錯誤
某台XP電腦上的java,更新到最新版本(1.7.0_13)後,
學務系統就無法用憑證登入了,不論是用IE或是Chrome,都是出現〔讀卡機錯誤〕;但是同樣用IE或是Chrome以憑證登入公文整合系統,卻都可以正常使用。
下午將該台電腦最新版java 1.7.0_13移除,留下原先電腦中的java 1.6.0_37後,再以IE或是Chrome(出現提醒要更新java)用憑證登入學務系統就正常了,這時IE或是Chrome以憑證登入公文整合系統,一樣仍可以正常。
解決方法:
將java更新到最新版本後,自然人憑證登入元件重新安裝即可!
http://www.tc.edu.tw/SetupCDC.zip
2013年1月29日 星期二
會計的代收傳票無法列印
今早,會計主任的電腦,在「地方教育發展基金成立附屬單位預算會計系統」中,當要列印代收傳票時,就會跑出網頁已過時,根本就無法列印。
試試不久,最後決定先將IE的一些元件都先停用,結果就可以正常列印了。列印時它會讀出代收傳單的PDF檔,只要這個PDF檔能正確讀出,就可以列印了。所以正確的原因,應該是該電腦的IE瀏覽器之PDF元件(讓PDF檔的內容可以嵌入在IE畫面中)有問題了,只好改為停用,讓電腦在讀取網頁中的PDF檔時,會另外獨立由PDF Reader程式讀出就好了!
試試不久,最後決定先將IE的一些元件都先停用,結果就可以正常列印了。列印時它會讀出代收傳單的PDF檔,只要這個PDF檔能正確讀出,就可以列印了。所以正確的原因,應該是該電腦的IE瀏覽器之PDF元件(讓PDF檔的內容可以嵌入在IE畫面中)有問題了,只好改為停用,讓電腦在讀取網頁中的PDF檔時,會另外獨立由PDF Reader程式讀出就好了!
2013年1月18日 星期五
EXCEL按方向鍵時不是格子位置移動而是整張表格移動解決方法?
某同事的EXCEL按方向鍵時,不是格子位置移動,而是整張表格移動?
經上網查詢的解決方法如下:
按一下方向鍵那邊最上面那一排鍵其中的:Scroll Lock鍵解鎖。
確定鍵盤Scroll Lock鍵的燈號是關閉的。
經上網查詢的解決方法如下:
按一下方向鍵那邊最上面那一排鍵其中的:Scroll Lock鍵解鎖。
確定鍵盤Scroll Lock鍵的燈號是關閉的。
2013年1月4日 星期五
如何設定Joomla目錄的權限
學校首頁伺服器(Centos 5.5)去年(101年12月)出現Mysql一堆問題,今年初(102年1月)就直接將該伺服器重新安裝最新的Centos 6.3,也將首頁Joomla直接安裝最新的2.5版(以下目錄權限要設定對,才能成功安裝!)。
Joomla的目錄,將所有檔案的權限設成755, 檔案的擁有人與群組,都是apache。
chown -R apache.apache * (R 所有子目錄 * 所有檔案)
要改權限的目錄列表:
把檔案屬性設成777
administrator/backups/
administrator/cache/
administrator/components/
administrator/language/
administrator/modules/
administrator/templates/
cache/
components/
images/
language/
media/
modules/
plugins/
tmp/
templates/
2012年12月24日 星期一
學校首頁當掉了
今日上午,上班後同仁告知學校首頁進不去了,出現資料庫錯誤的訊息!
查看mysql.log結果如下:
121224 11:05:47 [Note] /usr/libexec/mysqld: Normal shutdown
121224 11:05:48 InnoDB: Starting shutdown...
121224 11:05:51 InnoDB: Shutdown completed; log sequence number 0 43665
121224 11:05:51 [Note] /usr/libexec/mysqld: Shutdown complete
121224 11:05:51 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
121224 11:08:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
121224 11:08:13 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
121224 11:08:14 InnoDB: Started; log sequence number 0 43665
121224 11:08:14 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
121224 11:08:14 [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50045, now running 50148. Please use mysql_upgrade to fix this error.
121224 11:08:14 [ERROR] mysql.user has no `Event_priv` column at position 29
121224 11:08:14 [ERROR] Cannot open mysql.event
121224 11:08:14 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
121224 11:08:14 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.48' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) by Remi
經GOOGLE查詢,發生的原因可能是Mysql升級後產生資料表不存在的錯誤訊息,解決的方法如下:
自己建立這張表。
use mysql;
CREATE TABLE `servers` (
`Server_name` char(64) NOT NULL,
`Host` char(64) NOT NULL,
`Db` char(64) NOT NULL,
`Username` char(64) NOT NULL,
`Password` char(64) NOT NULL,
`Port` int(4) DEFAULT NULL,
`Socket` char(64) DEFAULT NULL,
`Wrapper` char(64) NOT NULL,
`Owner` char(64) NOT NULL,
PRIMARY KEY (`Server_name`)
) ENGINE=MyISAM;
查看mysql.log結果如下:
121224 11:05:47 [Note] /usr/libexec/mysqld: Normal shutdown
121224 11:05:48 InnoDB: Starting shutdown...
121224 11:05:51 InnoDB: Shutdown completed; log sequence number 0 43665
121224 11:05:51 [Note] /usr/libexec/mysqld: Shutdown complete
121224 11:05:51 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
121224 11:08:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
121224 11:08:13 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
121224 11:08:14 InnoDB: Started; log sequence number 0 43665
121224 11:08:14 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
121224 11:08:14 [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50045, now running 50148. Please use mysql_upgrade to fix this error.
121224 11:08:14 [ERROR] mysql.user has no `Event_priv` column at position 29
121224 11:08:14 [ERROR] Cannot open mysql.event
121224 11:08:14 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
121224 11:08:14 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.48' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) by Remi
經GOOGLE查詢,發生的原因可能是Mysql升級後產生資料表不存在的錯誤訊息,解決的方法如下:
自己建立這張表。
use mysql;
CREATE TABLE `servers` (
`Server_name` char(64) NOT NULL,
`Host` char(64) NOT NULL,
`Db` char(64) NOT NULL,
`Username` char(64) NOT NULL,
`Password` char(64) NOT NULL,
`Port` int(4) DEFAULT NULL,
`Socket` char(64) DEFAULT NULL,
`Wrapper` char(64) NOT NULL,
`Owner` char(64) NOT NULL,
PRIMARY KEY (`Server_name`)
) ENGINE=MyISAM;
2012年11月6日 星期二
新買的 Acer AT310 F2 在安裝ESXI 5.1 時,只能識別到一張網卡
爬文找了好久終於找到解法,雖然還是不完美,至少可以 work了
網卡晶片
Network controller: Intel Corporation 82579LM Gigabit Network Connection
Network controller: Intel Corporation 82574L Gigabit Network Connection
其中的 82579LM 無法識別
解法:
1. Install your machine(s) with the vanilla ESXi 5.0 ISO.
2. Log on to the console (or via ssh) of one of the machines and install the vib file by using the following commands:
esxcli software acceptance set --level=CommunitySupported
esxcli software vib install -v http://files.v-front.de/net-e1001e-1.0.0.x86_64.vib
3. reboot, configure all NICs, and try to enable FDM then
訂閱:
文章 (Atom)
