文章分类 -  Exception Error

摘要:I create a message:msg = new MimeMessage(session);MimeBodyPart mbp1 = new MimeBodyPart();mbp1.attachFile(f1);MimeBodyPart mbp2 = new MimeBodyPart();mb... 阅读全文
posted @ 2014-11-11 22:14 MMLoveMeMM 阅读(1404) 评论(0) 推荐(0) 编辑
摘要:今天把目前遇到的一些问题及NFS的基本配置做一下个人总结:一、NFS的概念 NFS (Network File System/网络文档系统): 1 、配置Linux 系统之间的文档共享(Linux 和Windows 间的文档共享需采用SAMBA 服务); 2 、NFS 只是一种文档系统,本身没有传输功能,是基于RPC 协议实现的,才能达到两个Linux 系统之间的文档目录共享; 3 、NFS 为C/S(客户机/服务器) 架构; 二、服务器端配置 1 、配置文档 主要配置文档为:/etc/exports 格式为:共享... 阅读全文
posted @ 2013-05-24 19:18 MMLoveMeMM 阅读(2648) 评论(1) 推荐(0) 编辑
摘要:NFS问题: nfs与portmap都正常启动了 [root@server /]# showmount -e mount clntudp_create: RPC: Program not registered[root@server /]# rpc.mountd[root@server /]# showmount -e Export list for server.example.com:/home *[root@server /]# 解决问题 。 阅读全文
posted @ 2013-05-24 19:16 MMLoveMeMM 阅读(399) 评论(0) 推荐(0) 编辑
摘要:BOOL PathFileExists(LPCTSTR pszPath); Determines if a file exists.---经检测,该函数可以检测文件或目录是否存在!RemarksThis function tests the validity of the file and path. It works only on the local file system or on a remote drive that has been mounted to a drive letter. It will return FALSE for remote file paths that 阅读全文
posted @ 2013-05-23 17:46 MMLoveMeMM 阅读(5798) 评论(0) 推荐(0) 编辑
摘要:BOOL PathFileExists(LPCTSTR pszPath); Determines if a file exists.---经检测,该函数可以检测文件或目录是否存在!RemarksThis function tests the validity of the file and path. It works only on the local file system or on a remote drive that has been mounted to a drive letter. It will return FALSE for remote file paths that 阅读全文
posted @ 2013-05-23 16:31 MMLoveMeMM 阅读(388) 评论(0) 推荐(0) 编辑
摘要:Linux 下使用数学函数今天在编译一个用到log函数的c文件时,遇到一个错误:/tmp/ccQuh0ns.o(.text+0x2bb): In function `Compute':: undefined reference to `log'到网上查了一下这个问题,原因及解决方法如下:出现这个错误是因为编译器找不到log的具体实现.虽然我们包括了正确的头文件,但是我们在编译的时候还是要连接确定的库.在Linux下,为了使用数学函数,我们必须和数学库连接,为此我们要加入 -lm 选项。gcc select.c -o select -lm这样就搞定了!<artcle fro 阅读全文
posted @ 2013-05-06 18:02 MMLoveMeMM 阅读(1688) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示