PDA

View Full Version : Getting the Electro Server to run



funnyspot
02-19-2005, 07:38 AM
Hey guys!

Im new using your service..

I need to know how to activate eletroserver after is already installed.

---
Once you have done that, the server is installed here:
/opt/ElectroServer3
There is a start script in that folder that you can simply run to start the
server. The configuration.xml file is located in that folder as well. To
change the configuration of the server, you just edit this file. Make sense?
Thanks!
------

thats what i was told but I cannot find the opt/electroserver3 either nowhere on my server..

Can someone help me?

webgeek
02-19-2005, 10:25 AM
I assume you installed the server with the RPM file?

funnyspot
02-19-2005, 02:50 PM
yes i did, then what?

how do I find it? how do I activate it?

webgeek
02-19-2005, 10:49 PM
If you installed the server via the RPM and didn't manually override the installation location, it should be in /opt/ElectroServer3. There is an executable in there called StartElectroServer. If you run that, the server will start up for you.

funnyspot
02-20-2005, 02:24 AM
how do I find that?

/opt/ElectroServer3

i can't find it while i browse the server..

webgeek
02-20-2005, 08:25 AM
Telnet or SSH to the server and type in:
cd /opt/ElectroServer3

I'm curious about how you installed ElectroServer without being familiar with this. Do you have an admin that can help you? ElectroServer is a commercial server product. We have tried to make it easy to use but when you install it on Linux, you have to understand a bit about Linux to use it properly. You might want to install it on your desktop first to get used to it. Windows is much less hassle to work with then Linux.

funnyspot
02-21-2005, 04:10 AM
i need to know how do I restart electroserver?

webgeek
02-21-2005, 08:06 AM
There is a program in the install folder called "command line admin". If you look in the folder, you will see it's exact case. Simply run it and point it at the administration port number specified in the configuration.xml file. This will give you a series of options you can use to start and stop the server. Another option is to use the unix "kill" command to kill the ElectroServer process.

funnyspot
02-21-2005, 08:42 AM
ok thanks
I got it working..

marklar
04-05-2005, 05:00 PM
After a lot of messing around and learning some basic Linux stuff I managed to set up ES on Linux a while ago.

I've just come back to it and I can only remember how to run it by typing StartElectroServer at a SSH prompt in Putty which works fine until I close Putty. I looked for 'command line admin' or similar but couldn't find anything, I'm using version 3.5.0 and I don't really want to upgrade as it was a real pain to install first time round (because of my server setup not ES).

How do I get it to run permanently?

:I

webgeek
04-05-2005, 05:01 PM
nohup ./StartElectroServer &

marklar
04-07-2005, 09:56 PM
Great, that worked a treat.

However (there's always a however) I can only get the swf to connect to the server when it is on my machine. I assume that this is because I need a crossdomain.xml policy file, I've made one and used the domain name, IP address and * (wildcard for any domain / IP) and uploaded it to every directory just in case and it still won't work.

Any ideas?

webgeek
04-09-2005, 06:51 PM
The server has a built-in cross domain policy file. Be default, it allows everyone from anywhere to connect to all the IP/port combinations that are in use on the server. Unless you have disabled it, this should be in place. That means that if you are seeing this problem, it's probably related to an IP/port mismatch between the Flash file and the server. Are you perhaps going through a firewall? Is the firewall using NAT and port forwarding? Is the server on your machine and you are trying to put the SWF file on the Internet? Please let me know and we'll see if we can figure this out. Thanks!

marklar
04-11-2005, 10:14 AM
I've sortof fixed it but it's not the most satisfactory fix.

ES is installed on the 'master' IP for my server. Each of the 6 domains on that server have their own IP and the swf is on one of those.

For now I've put the swf on the 'master' IP and the HTML file on the domain using the IP address to find the swf. It works and it means that I can use ES accross all my domains that way but it's not ideal.

On another problem, I get logged out of the example chat after 20 mins (which is the InactivityTimeout) even if I've been posting constantly. So 2 things here, why does it think I'm inactive? and if I change the configuration.xml, do I have to restart ES? If so, how? :)

Sorry, but command line stuff is not my forte, I was born into GUI ;) I suppose I aught to use a Windows server really but I've never been able to bring myself to turn to the dark side.

webgeek
04-11-2005, 04:32 PM
Ok, first off, please create a seperate post when you jump topics. That way people can use this as a better resource... Secondly, I'm still confused about the problem you are experiencing with hosting the server where you want. Why can't the server simply use the IP of one of the domains?

Re: getting logged out. What type of messages are you posting? And what version of the server are you using? This was an old bug and should be corrected with one of the newer releases.

Re: configuration changes. Currently the server requires a restart for all configuration changes. In the next version of the server, this will change a bit so some things will dynamically reload.

Re: Windows servers. Personally, I find the stability of 2003 as good as Linux and a LOT easier to maintain. Electrotank runs on Windows 2000 with no problems at all.

marklar
04-11-2005, 10:19 PM
Thanks for answering my randomly placed questions, I promise I won't ask any on other subjects in this thread.

I'm not sure of the reasoning behind where the server has to go but it's something along the lines of the main IP is used for access to the entire server, a domain name IP resolves to the httpdocs folder for one vhost and the hosting company said I couldn't install there. If it has to stay how it is at the moment, that's OK, it's the least of my problems.

Re: getting logged out. I'm not getting kicked if thats what you mean, no bad language and not flooding. I'm using v3.5 I didn't want to upgrade if I can help it because it took me ages to do it the first time and I can't really remember how I did it (there were weird things to do with Plesk)

Re: configuration changes. How do I stop / restart ES? If I just start it while it's running, will it sort itself out or will it try and run another instance?