ChinaUnix.net
相关文章推荐:

hpux error 29 illegal seek

我在查看一个进程是否存在时,采用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...

by ublue - C/C++ - 2005-03-19 17:18:03 阅读(1287) 回复(0)

相关讨论

我在调用readdir读取当前目录下的目录项时,发生illegal seek错误。 我在网上找了老半天没找到原因。 大家帮我看看啥原因。 谢谢! [quote] #include #include #include #include #include #include #include #include int main(int argc, char *argv[]) { DIR ...

by LF_532 - C/C++ - 2012-06-13 09:08:25 阅读(8980) 回复(11)

[code] public interface Service { public void serve(InputStream in, OutputStream out) throws IOException; } public static class Timer implements Service { public void serve(InputStream i, OutputStream o) throws IOException { PrintWriter out = new PrintWriter(o); out.print(new Date() + "\n"); out.close(); i.close(); } } [/code] error:illegal modifier for the class Timer; only public, abstract & fi...

by Logos - Java - 2004-09-01 12:45:24 阅读(754) 回复(2)

在子线程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...

by PantherMW - C/C++ - 2006-11-18 20:36:46 阅读(2158) 回复(3)

login as: admin [email=admin@192.168.1.252]admin@192.168.1.252's[/email] password: Last login: Mon Sep 24 16:50:35 2007 from 192.168.1.167 [admin@linux ~]$ [admin@linux ~]$ ftp 192.168.1.167 Connected to 192.168.1.167. 220 Serv-U FTP Server v6.4 for WinSock ready... //这里要等NNN久,不知道为啥 421 Maximum session time exceeded - closing. No control connection for command: illegal seek KERBEROS_...

by yuhuohu - 服务器应用 - 2007-12-29 16:05:32 阅读(5827) 回复(2)

Escape character is '^]'. getnameinfo: localhost: Success Temporary failure in name resolution: illegal seek Connection closed by foreign host. 如何能解决?

by Ray001 - 系统管理 - 2006-12-22 19:35:24 阅读(471) 回复(0)

多线程程序总是报“illegal seek”,一般是什么原因了? 多个线程共用一个条件变量会不会出现这种情况? 另外,估计是在程序中动态pthread_create新线程时产生的

by jglxgz - C/C++ - 2006-11-27 21:53:30 阅读(1559) 回复(2)

安装完freebsd6.2后添加了一个用户 ,但是远程登陆不了, 认证失败。 sshd[851]:error :PAM: authentication error for illegal usrer

by ikasim - BSD - 2007-05-18 18:58:16 阅读(1690) 回复(1)

sun280 装有两块71g硬盘,在装系统的时候只能认出一块硬盘。 进系统format earching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 29523 alt 2 hd 8 sec 607> /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfafc040,0 只找到一块硬盘 进入ok状态 probe-scsi-all /pci@8,700000/SCSI@6,1 fatal scsi error at script address 8 illegal instruion .... /pci@8,7000...

by covterycom - Solaris - 2007-11-05 14:41:45 阅读(1799) 回复(5)

如题,那位能帮忙解释一下谢谢..U60启动的时候出现,在 OK 下偶尔能用 BOOT CDROM -S 启动起来,但进去后无法看到 SCSI 硬盘,在用CDROM启动过程中出现 WARING:/PCI@IF,4000/SCSI@3/SD@6,0 SCSI TRANSPORT FAILED: REASON 'UNEXPECTED_BUS_FREE':GIVING UP.

by bapo - Solaris - 2006-04-10 17:17:16 阅读(919) 回复(2)

诸位有没有在hpux下使用过STL的东东? 我在 #include ;时报错,这个错误还不明显,会引起程序中的别的模块报错,看不出是因为vector引起的,但是注释掉就没问题了! 不知道是不是在hpux下使用stl的东西有什么特殊要求?

by jazy - HP-UX - 2003-01-23 17:49:19 阅读(910) 回复(0)