我在调用readdir读取当前目录下的目录项时,发生illegal seek错误。
我在网上找了老半天没找到原因。
大家帮我看看啥原因。
谢谢!
[quote]
#include
TCP/IP name resolution Although 32-bit Internet addresses provide machines an efficient means of identifying the source and destination of datagrams sent across an internetwork, users prefer meaningful, easily remembered names. Transmission Control Protocol/Internet Protocol (TCP/IP) provides a naming system that supports both flat and hierarchical network organizations. The topics discussed in t...
FreeBSD系统,Sendmail 服务。日志显示不能解析主机,单nslookup和ping都没有问题。请问这怎么解决? 系统日志如下: Mar 20 17:08:23 nothing sm-mta[25808]: k2K89Uei025602: to=<[email]mountain@XXX.com.cn[/email]>, ctladdr=<[email]nobody@nothing.bsd.com[/email]> (65534/65534), delay=00:52:53, xdelay=00:01:00, mailer=esmtp, pri=211231, relay=mail.XXX.com.cn., dsn=4.0.0, stat=Deferred: name server: mail.XXX....
在Certification Study Guide - AIX 5L Installation and System Recovery第一章里看到一道题: [quote]A graphics card has been added to a system. After rebooting, the system hangs on login with a blue screen indicating Please wait... and Opening the AIXWindows Desktop. Which of the following procedures should be performed next? A. Reinstall CDE software. B. Check name resolution. C. Uncomment the last...
在子线程send ,第一次时候返回success,后面send 返回值>;0,但是perror出来是 illegal seek,偶尔会有Interrupted system call,但是不管返回什么client都接收不到(郁闷)。程序执行到send,后面cout就出不来了。 请高手帮忙。 代码如下: [code] if ( !m_ControlMsgMap.empty() ) { cout<< "get message to send" << endl; cout << " map size " << m_Control...
我在查看一个进程是否存在时,采用popen函数来做,但有时出现errno为29的错误(illegal seek),请问该错误是什么意思。 其实现代码如下: 由于popen在多线程中是不安全的,而我运行的环境是多线程的, // popen multi-thread is not safe pthread_mutex_lock(&PopenMutex); if ((fp = popen("ps -ef | grep nodemgr | grep -v grep", "r")) == NULL) { errormsg(1, "popen fail, query nodemgr %d fail, error: %d\n", n...
route add defaule gw 192.168.1.1 报错 hotst name lookup failure 而且做删除操作也有问题,真奇怪
在日志中:
Mar 25 15:29:02 mail sendmail[27394]: n2P7SxZw027392: to=
postfix架的服务器,最近某段时间内会出现temporary lookup failure,过1个小时左右又好了,真郁闷.
[code]
Mar 20 04:57:55 localhost postfix/smtpd[24442]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 451