strace 解决程序启动失败

[oracle@june2 ~]$ ps -ef | grep oracle | grep dcopserver
oracle    4773  4656  0 16:44 pts/1    00:00:00 grep dcopserver
启动 KDE 时出现问题


[oracle@june2 ~]$ dcopserver
SocketCreateListener: failed to bind listener
SocketUNIXCreateListener: ...SocketCreateListener() failed
MakeAllCOTSServerListeners: failed to create listener for local
Cannot establish any listening sockets
DCOPServer self-test failed.
[oracle@june2 ~]$ 



strace -f -F -o ./dcopserver.txt dcopserver

4785  mkdir("/tmp/.ICE-unix", 0777)     = -1 EEXIST (File exists)
4785  lstat64("/tmp/.ICE-unix", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
4785  unlink("/tmp/.ICE-unix/dcop4785-1406277959") = -1 EACCES (Permission denied)
4785  bind(6, {sa_family=AF_FILE, path="/tmp/.ICE-unix/dcop4785-1406277959"...}, 37) = -1 EACCES (Permission denied)

你可能感兴趣的:(strace 解决程序启动失败)