我似乎无法在网上找到太多关于台式机带外管理的参考资料。除了 Wake On LAN 等之外是否存在这样的事情?
主页
/
user-64756
atx's questions
atx
Asked:
2013-03-07 15:08:24 +0800 CST
如标题所示,有没有一种方法可以使用 inotify/inotify-tools 通知最近打开的套接字?据我所知,inotify 仅适用于 inode,并且专门测试这些 inode 是否是套接字并不是 inotify 实际上能够做到的。除此之外,我似乎无法找到套接字 FD 的存储位置。我只能看到它们的文件描述符,它们是符号链接:
# ls -l /proc/29711/fd/10
lrwx------ 1 root root 64 Mar 6 17:04 /proc/29711/fd/10 -> socket:[750728]
# stat /proc/29711/fd/10
File: `/proc/29711/fd/10' -> `socket:[750728]'
Size: 64 Blocks: 0 IO Block: 1024 symbolic link
Device: 3h/3d Inode: 759700 Links: 1
Access: (0700/lrwx------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-03-06 17:05:22.690411801 +1100
Modify: 2013-03-06 17:04:14.062414880 +1100
Change: 2013-03-06 17:04:14.062414880 +1100
Birth: -
atx
Asked:
2012-12-11 16:34:10 +0800 CST
我在服务器上安装了有效证书,并且在将 -CApath 选项与 OpenSSL 一起使用时,证书链有效。但是,如果我不提供 -CApath 选项,我会收到:
19:self signed certificate in certificate chain
当我在没有 -CApath 的情况下尝试使用 Google 的 HTTPS 端口时,OpenSSL 返回:
20:unable to get local issuer certificate
两者有什么区别?
atx
Asked:
2012-10-20 19:48:50 +0800 CST
标题说明了一切。这是在 Xen 管理程序上运行的全新 Fedora 17 系统。不知道为什么它不会启动
[root@box~] uname -a
Linux box.localhost 3.5.4-2.fc17.i686.PAE #1 SMP Wed Sep 26 22:10:23 UTC 2012 i686 i686 i386 GNU/Linux
[root@box~] cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)
[root@box~] systemctl enable httpd.service
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
[root@box~] systemctl start httpd.service
Job failed. See system journal and 'systemctl status' for details.
[root@box~] systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Fri, 19 Oct 2012 22:43:37 -0500; 3s ago
Process: 18225 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=226/NAMESPACE)
CGroup: name=systemd:/system/httpd.service
Oct 19 22:43:37 box.localhost systemd[18225]: Failed at step NAMESPACE spawning /usr/sbin/httpd: No such file or directory
[root@box~] ls -al /usr/sbin/httpd
-rwxr-xr-x 1 root root 343496 Apr 30 04:56 /usr/sbin/httpd