Mxserver Tutorial
Re: Mxserver Tutorial
.bat files are for Windows. You need a shell script on a Linux server.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
nioubie wrote:Hey, having some problem trying to setup uploadresults.sh on my linux server :
it says : sh: uploadresults.sh: not found
the file is in the same folder as serverargs.txt
the command i did put in serverargs.txt : --results-cmd uploadresults.sh
i installed curl from the app center. didnt reboot server thought.
Thx for help.
Yeah but i have same problem of nioubie my console say sh: "uploadresults.sh: not found"
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
The current directory isn't in your path by default so you need ./uploadresults.sh to run it if it's in the current directory.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
Like this? didn't work
Code: Select all
--results-cmd ./uploadresults.sh
Re: Mxserver Tutorial
You might need to add execute permission to the script too.
chmod +x uploadresults.sh
chmod +x uploadresults.sh
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
Where? Permission have been already setup to 777 via ftp protocoljlv wrote:You might need to add execute permission to the script too.
chmod +x uploadresults.sh
Re: Mxserver Tutorial
You'd enter that at the shell prompt.
I'd wouldn't use 777 as anyone can write to the file that way.
I'd wouldn't use 777 as anyone can write to the file that way.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
with your following command chmod +x uploadresults.sh
0 1014 Player 354 rmz450(2013) MICHEL Gautier |Eleven 10Mods
sh: ./uploadresults.sh: Permission denied
Slot 0 is ready
All ready!
Re: Mxserver Tutorial
You definitely have the permissions set incorrectly. Try
chmod 755 uploadresults.sh
chmod 755 uploadresults.sh
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
For now no more error but the server didn't show up. What's wrong with the new ccool4.me, easier to cfg à server few month ago. This thing makes me crazy.
Step 1: Add to serverargs.txt
--results-cmd ./uploadresults.sh
Step 2: Setup permission
chmod +755 uploadresults.sh
next step?
Step 1: Add to serverargs.txt
--results-cmd ./uploadresults.sh
Step 2: Setup permission
chmod +755 uploadresults.sh
next step?
Re: Mxserver Tutorial
Just 755 with no + sign.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 147
- Joined: Sun Nov 01, 2009 11:03 pm
- Location: France
Re: Mxserver Tutorial
You need to add the server address, results file and password to the server parameters.
--results-file results.txt
--results-cmd "./uploadresults.sh myserver.com:19800 results.txt superrandompassword"
Obviously, change "myserver.com" and "superrandompassword".
--results-file results.txt
--results-cmd "./uploadresults.sh myserver.com:19800 results.txt superrandompassword"
Obviously, change "myserver.com" and "superrandompassword".
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Re: Mxserver Tutorial
Hey guys, does anyone remember how was the operation the set the rate on the serverargs file?
I had this one "--rate 104857" when i had 0.8 mb upload, but a friend with better conection is going to host it so i need to remember how was that operation for better work.
Thanks ;D
I had this one "--rate 104857" when i had 0.8 mb upload, but a friend with better conection is going to host it so i need to remember how was that operation for better work.
Thanks ;D