View Full Version : Setting up Unix FSD Server
the whaler
10-12-2009, 01:14 PM
Hi James.
Thanks for the registration on the forum and for maintaining and supporting FSD in the first place since mcdu.com is offline.
Question:
Untill now I had a windows server running FSD, and a separate small linux server for other stuff (Apache etc). Now I want to combine these and I rebuild the windows server with Redhat9 in order to do most things needed in a network (html/mail/samba etc). The small linux based server (FreeSCO by the way) will then again be a floppy based server.
I have downloaded the fsd server software (which has both the unix and windows compiled server) from mcdu in the past.
Now copied this to the server and i want to start the fsd server from the unix directory using ./fsd&
As far as from the output I then get I conclude that the server is not running:
[root@loenserver unix]# ./fsd&
[1] 3525
[root@loenserver unix]# -bash: ./fsd: Toegang geweigerd (access refused)
[1]+ Exit 126 ./fsd
[root@loenserver unix]#
At first I thouth this was due to the username as I copied this from another pc so I chownd the dir to root.
I still get the same message.
when i cd to ../fsd and type make fsd i get:
[root@loenserver fsd]# make fsd
c++ -O2 -c fsd.cpp
make: c++: Commando niet gevonden (command not found)
make: *** [fsd.o] Fout 127
[root@loenserver fsd]#
What am I doing wrong here. Should I move the unix diretory somewhere special to get it to work or is there something else that needs to be done before I can start the server.
Please let me know if you need additional info/logs (if any).
Thanks in advance for your help.
Regards.
Lex
L. D. James
10-12-2009, 04:02 PM
[root@loenserver fsd]# make fsd
c++ -O2 -c fsd.cpp
make: c++: Commando niet gevonden (command not found)
make: *** [fsd.o] Fout 127
[root@loenserver fsd]#
What am I doing wrong here. Should I move the unix diretory somewhere special to get it to work or is there something else that needs to be done before I can start the server.
Please let me know if you need additional info/logs (if any).
Thanks in advance for your help.
You'd have to install the c++ compiler to use the make command for compiling.
-- L. James
--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
the whaler
10-12-2009, 08:48 PM
Thanks James. That makes sence.
However my first impression was that fsd whould work "out of the box" so to speak.
As I am relitively new to a full linux distro I'd rather not mess with compiling in the first place. Unless of course the download does indeed not work out of the box. If I do need to recompile, would you know if redhat has that standard in one of their packages?
I also found some posts about a fsdbase server. What is that intented for?
just out of curiousity.
Thanks again.
Lex
L. D. James
10-12-2009, 08:57 PM
Thanks James. That makes sence.
However my first impression was that fsd whould work "out of the box" so to speak.
As I am relitively new to a full linux distro I'd rather not mess with compiling in the first place. Unless of course the download does indeed not work out of the box. If I do need to recompile, would you know if redhat has that standard in one of their packages?
I also found some posts about a fsdbase server. What is that intented for?
just out of curiousity.
Thanks again.
Lex
In most cases it does work out of the box. However there are a few cases, I guess yours is an example where there might be something about the OS where a program compiled on a foreign machine might have some elements of incompatibilities. This is one of the reasons that many Linux and Unix packages are distributed with the source so that the user can compile for his specific machine.
A compiler is standard with Redhat as well as all the distro’s that I’m familiar with. It’s just a matter of which options one decides to install.
FSDBase is a utility for managing an FSD server via a web interface.
-- L. James
--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
the whaler
10-12-2009, 09:05 PM
Thanks again James for your promt help.
I will try to compile it then from scratch.
It's always good to try something new you might say.
If i cant get it to work I'll knock on your door again for some help.
Lex
the whaler
10-18-2009, 10:00 PM
Hi again James.
Went through a lot of stuff so far conserning the server itself. Regarding the compiling indeed c++ (gcc etc) was not installed as a package. As the KDE installer has some trouble with my cdrom I am also not capable of installing them from there so I installed some packages via the konsole.
But first I am again trying to "simply" start the server and still get the access denied remarks. I have created a seperate user (just to be sure) and also start this from this users login.
[fsd@loenserver unix]# ./fsd&
[1] 3525
[fsd@loenserver unix]# -bash: ./fsd: Toegang geweigerd (access refused)
[1]+ Exit 126 ./fsd
[root@loenserver unix]#
could there be a user problem instead of recompling?
I did again try to recompile again and got a lot of error messages now that did not give me any sence, hopefully you can make something out of the attachement (as the file was to large I deleted some of the duplicate lines (only the numbers in there were different). If you need a complete one I will have to mail it to you)).
Any additional help would be appreciated.
Thanks
Lex
the whaler
10-21-2009, 08:58 PM
Hi james, problem solved.
Appearantly although I did change the ownerships I must have forgotten one +x somewhere so the fsd program was not executable and therefor not allowed to run.
chown +x fsd solved the problem.
It works!
Lex
wigyori
11-17-2009, 12:26 AM
Hi there,
Thanks for the account first of all.
I've downloaded fsd1110, but have problems with both the source code and the binary itself.
I've tried to run the binary on two machines, an amd64 that's running Ubuntu 8.04 (2.6.24-24-generic) and an i386 machine that's running 8.10 (2.6.31-grsec), both resulting in segfault, strace attached. For the latter, as You'll see, the strace output shows that the binary is getting through the mprotect(), so the issue might not be the -grsec patchset here.
I see that the fsd binary is a statically compiled one, thus I would think the only matter might be the version of libc6.
I've also tried to compile the source code on the i386 machine, but the compilation ended up in a large bunch of error messages, output also attached. g++ version used is what the distribution provides, 4:4.3.3-1ubuntu1.
Could You please advise if only g++ v3 is supported, or if I'm doing some errors?
Thanks in advance,
-w-
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.