以前寫過如何解決gssftp的root無法登陸問題,這裡在記錄一下vsftp使用root登陸的方法。在/etc/vsftpd/目錄下有兩個檔案:ftpusers和user_list,裡面記錄的使用者無法使用通過ftp進行訪問。刪掉裡面root的記錄,然後通過:# service vsftpd restartShutting down vsftpd: [ OK ]Starting vsftpd for vsftpd: [ OK
項目需要用FillZilla向redhat中上傳檔案。首先要啟動redhat 中的service vsftpd :chconfig --level 35 vsftpd on然後檢查vsftpd是否啟動:chkconfig --listvsftpd off off on off on確認啟動後。關閉Redhat的防火牆:/etc/rc.d/init.d/iptables stopFillZilla 就可以用root遠程登陸redhat了。但是上傳檔案報錯:553 Could not
vnc遠程登陸不了,先通過putty登陸,啟動vnc:vncserver :1然後登陸vnc,但是看不到redhat的圖形介面。轉載解決辦法如下:在伺服器端安裝vnc4server:sudo apt-get install vnc4server 用vinagre剛串連過去的時候,發現沒有圖形介面,這個時候需要修改設定檔。vi ~/.vnc/xstartup 開啟這個檔案如下: #!/bin/sh# Uncomment the following two lines for normal
在使用spring ws 開發webservice 時,遇到如下錯誤:No adapter for endpoint [public com.ibm.eve.schemas.RequestChargeResponse com.ibm.eve.ws.RequestChargeEndpoint.requestCharge(long)]: Is your endpoint annotated with @Endpoint, or does it implement a supported
今天打算用2個manager儲存實體,一個EM取出實體,並修改,另一個EM儲存該實體,但是報了如下錯誤:Primary key field com.ibm.eve.core.entity.Vehicle.id of org.apache.openjpa.enhance.com$ibm$eve$core$entity$Vehicle$pcsubclass@6dd36dd3 has non-default value. The instance life cycle is in PNewState
在redhat下面repos裡面添加sohu的源一直報錯:運行命令:yum makecache報錯如下:Error: Eg. 5Server is not a valid release or hasnt been released yet/http://mirrors.sohu.com/centos/5Server/addons/x86_64/repodata/repomd.xml not found 404國內外的網站搜尋的資訊都無法解決,最後更改了搜狐的yum