ChinaUnix.net
相关文章推荐:

mysql proxy could not raise RLIMITNOFILE to 8192 Invalid argument 22 Cu

#define SERVER_IP "10.3.144.212" #define SERVER_PORT "8012" int iServerFd=-1; int gSerialNo=0; int tcpListenProc (char *ip, char* port) { int listenSock = 0, reuse_addr = 0; if (!ip || !port) { return -2; } listenSock =socket(AF_INET,SOCK_STREAM,0); struct sockaddr_in addr = {0}; addr.sin_family = AF_INET; addr.sin_addr.s_addr = ine...

by mukey - C/C++ - 2007-02-06 10:57:33 阅读(2692) 回复(4)

相关讨论

在P570和阵列上安装了ORACLE10G ,前几天出现故障,检查alert.log信息如下 *** 2006-07-24 04:40:53.632 ORA-00206: error in writing (block 15, # blocks 1) of controlfile ORA-00202: controlfile: '/db2data/db2/control03.ctl' ORA-27072: File I/O error IBM AIX RISC System/6000 Error: 22: invalid argument Additional information: 7 error 221 detected in background process ORA-00221: error on write to controlfil...

by rambus - AIX - 2011-07-14 00:05:39 阅读(9014) 回复(5)

[root@linux shell]# iptables -A FORWARD -m ipp2p --ipp2p -j MARK --set-mark 0x01 iptables: invalid argument 这是怎么回事儿???

by lovegqin - 网络与硬件 - 2006-10-06 21:18:16 阅读(1282) 回复(3)

DLL中 [CODE] template PVRMODULE_API extern T Initial_Acquire(const char* name); 另一个文件的实现: template < class T> T Initial_Acquire() { SDKmpl* pSDKImpl = new SDKImpl(); //这里的SDKImpl继承了T return pSDKImpl; } [/CODE] EXE中 [CODE] static IPVRGUIEPG* s_IPVRGUIEPG = NULL; int main(int argc, char* argv[]) { ... s_IPVRGUIEPG = Initial_Acquire("GUI2SQLITE3"); ... } [/CODE] 编...

by SybaseLU - C/C++ - 2006-09-14 13:09:47 阅读(3988) 回复(2)

执行了一命令rsh hw67 chacl $dirname $aclname $filename 命令可以执行,但是 出现提示 stty: : invalid argument stty: : invalid argument 原因?

by h23029 - Shell - 2004-02-28 12:15:06 阅读(1745) 回复(0)

出错如题所示:SIOCGIFINDEX failed: invalid argument. 程序中所用到的是: [code] int fd; struct ifreq ifr; if (ioctl(fd, SIOCGIFINDEX, &ifr) == 0) { DEBUG(LOG_INFO, "adapter index %d", ifr.ifr_ifindex); *ifindex = ifr.ifr_ifindex; } else { LOG(LOG_ERR, "SIOCGIFINDEX failed!: %m"); return -1; } [/code] 请教,该如何改正?

by jimobaobao - C/C++ - 2004-01-14 10:31:31 阅读(2112) 回复(3)

写了一个测试交换机的性能的工具, 运行时提示: Sendto: invalid argument 大家帮忙看看。我是菜鸟。 [code] extern int quit_id, sockfd, ifindex; extern char *head[POOL_MAX], destmac[ETH_ALEN]; extern struct sockaddr_in toaddr; int send_hdr(char *head[]) { size_t buflen = sizeof(struct ethhdr) + sizeof(struct iphdr) + sizeof(struct tcphdr); ...

by KLL - C/C++ - 2008-10-30 11:00:44 阅读(5292) 回复(5)

[code] int iSendTimeout, iRecvTimeOut; iClientSock = socket(AF_INET, SOCK_STREAM, 0); if(iClientSock < 0) { printf("[%s:%d]client init error\r\n", __FILE__, __LINE__); return ERROR; } iRecvTimeOut = 3000; /* 设置接收时限为3秒 */ iRet1 = setsockopt(iClientSock, SOL_SOCKET, SO_RCVTIMEO, &iRecvTimeOut, sizeof(int)); printf("%s\r\n", strerror(errno)); iSendTimeout = 3000; /* 设置发送时限...

by 天冷就回来 - C/C++ - 2007-05-08 12:57:30 阅读(5556) 回复(2)

AIX 5307的系统,使用一台3581连接到主机上,在系统运行backup命令时报错如下: ls |backup -ivf /dev/rmt0 Please mount volume 1 on /dev/rmt0 ... and press Enter to continue Backing up to /dev/rmt0 Cluster 51200 bytes (100 blocks). Volume 1 on /dev/rmt0 backup medium write error: invalid argument Check backup media and rerun the backup 再执行一次backup命令,发现可以正常备份。 尝试了几次发现:只要358...

备份

by chinaix - 存储备份 - 2009-08-28 10:15:47 阅读(5071) 回复(11)

各位前辈。我一直没发现错在哪里,估计是传递参数哪里有问题,希望能帮我修改一下。谢谢了 #include #include #include #include #include #include #include #include #include #define UDPPORT 4444 int main(int argc,char **argv) {         int sockfd,iplen,l...

by yby123 - C/C++ - 2009-05-10 16:44:19 阅读(4139) 回复(4)

epoll_ctl(pollfd,EPOLL_CTL_ADD,fd,&ev)有时会返回“invalid argument”错误,而且客户端再也无法连接上了,不知怎么回事?

by wysunxiaohua - C/C++ - 2009-04-22 22:21:14 阅读(15188) 回复(10)