fd_server
Posted: 06 July 2007 06:57 AM   [ Ignore ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

I tried fd_server from cean to run yaws on port 80, but I got this trying to start yaws:

sh: line 1: /Users/rsaccon/cean/erlang/lib/fd_server-2.3.0/priv/darwin-x86/fdsrv: cannot execute binary file
                                                                        sh: line 1: /Users/rsaccon/cean/erlang/lib/fd_server-2.3.0/priv/darwin-x86/fdsrv: Unknown error: 0


With non-cean fd-server I always had to “make install” as root. How do I get the cean version to work ?

Update:

I also tried to set suid bit manually on the generated c binaries, but result when starting yaws was the same.

Update 2:

the problem seems to exist on mac OSX, on Ubuntu Feisty I just set manually the suid bit for fdsrv:

# chown -v root fdsrv
# chmod -v u+s fdsrv

and then it worked.

Of course such a packages is not maintainable anymore, anybody knows a better way to deal with it ?

Profile
 
 
Posted: 06 July 2007 02:34 PM   [ Ignore ]   [ # 1 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

CEAN just lack MacOSX support to fd_server by now, that’s why you get this error.

Profile