salt icon indicating copy to clipboard operation
salt copied to clipboard

"The socket path is longer than allowed by OS"

Open iquaba opened this issue 13 years ago • 4 comments

This crash happens every time I try to run this minion. Setting 'ipc_mode: tcp" on the minion works but this setting only really talks about why you might need it on Windows so I figured I'd bring this up.

[ERROR ] The socket path is longer than allowed by OS. 'ipc:///home/cooka/python-projects/salt/var/run/salt/minion/minion_event_5aed33ec16939afd2c93825e288108a8_pub.ipc' is longer than 103 characters. Either try to reduce the length of this setting's path or switch to TCP; in the configuration file, set "ipc_mode: tcp".

(salt)cooka@ubuntu:~/python-projects/salt$ uname -a Linux ubuntu 3.5.0-30-generic #51~precise1-Ubuntu SMP Wed May 15 08:48:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

(salt)cooka@ubuntu:~/python-projects/salt$ python --version Python 2.7.3

iquaba avatar Aug 04 '13 04:08 iquaba

This a kernel limitation, and is documented here.

terminalmage avatar Aug 05 '13 16:08 terminalmage

Makes sense to me. Thanks!

iquaba avatar Aug 05 '13 22:08 iquaba

No prob! I ran into the same issue a while back when I first set up a development virtualenv.

terminalmage avatar Aug 05 '13 23:08 terminalmage

(A small note: the link mentioned above in a comment by terminalimage seems invalid now; the content seems to have moved to: http://docs.saltstack.com/en/latest/topics/development/hacking.html#running-a-self-contained-development-version)

akavel avatar Mar 04 '15 16:03 akavel