
What is ManiaControl?
Moderators: Wabbitface, Jocy, steeffeen, NADEO
Re: What is ManiaControl?
Amazing! That's less than default XAseco2 

Check out my Personal Twitter account!
Re: What is ManiaControl?
thats truekremsy wrote:Ofc, the code is a lot more optimized compared to XAseco, you have to think the Aseco core was built in 2006Chris92 wrote:That sounds great! That's less than default XAseco2.

Check out my Personal Twitter account!
- nighthawk4571
- Posts: 618
- Joined: 20 Aug 2011, 06:39
- Location: QLD, Australia
- Contact:
Re: What is ManiaControl?
Hi all
I have trouble getting this to start on my linux server. The script seems ok but I get an error:
Start script
Result
I have CentOS 6.5, MySQL Server 5.1.73, PHP 5.2.0.
Any ideas? I've always used XAseco but am willing to try this new controller with the new TM package but I can't find any information about the controller setup... Help please - anyone?
Cheers
I have trouble getting this to start on my linux server. The script seems ok but I get an error:
Start script
Code: Select all
#!/bin/sh
php ManiaControl.php 2>&1 &
echo $! > ManiaControl.pid
Code: Select all
> /home/BagRacing/TM3Test/application/ManiaControl.sh
sh: /home/BagRacing/TM3Test/application/ManiaControl.sh: /bin/sh^M: bad interpreter: No such file or directory
Any ideas? I've always used XAseco but am willing to try this new controller with the new TM package but I can't find any information about the controller setup... Help please - anyone?
Cheers

Last edited by nighthawk4571 on 20 Apr 2014, 10:49, edited 1 time in total.

Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ.

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk
Re: What is ManiaControl?
just a random guess but could you please try changing the lineto?
Code: Select all
#!/bin/sh
Code: Select all
#!/bin/bash
Re: What is ManiaControl?
The ^M is obvious: strip the DOS newlines from your Linux scripts.nighthawk4571 wrote:sh: /home/BagRacing/TM3Test/application/ManiaControl.sh: /bin/sh^M: bad interpreter: No such file or directory

Nah, in all Linux distro's /bin/sh is a valid path (often a symlink to /bin/bash or another shell).steeffeen wrote:just a random guess but could you please try changing the line
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
- nighthawk4571
- Posts: 618
- Joined: 20 Aug 2011, 06:39
- Location: QLD, Australia
- Contact:
Re: What is ManiaControl?
OK, I sorted that out and the script now works but...
ManiaControl starts, then quits with a transport error 111 - 'Couldn't authenticate with user 'SuperAdmin'. I know I have the correct details here.
I've changed the Server Connection Port in the server.xml file between 5040 and 2340 - same result.
Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.
Thanks Xymph for your input but I did spot the DOS issue and fixed that before this post.
I'm running XAseco2 until & unless I can get this new controller working. It really shouldn't be hard in linux and, as I read somewhere, the files were tested on unix systems - was that Mac I wonder...
Cheers
ManiaControl starts, then quits with a transport error 111 - 'Couldn't authenticate with user 'SuperAdmin'. I know I have the correct details here.
I've changed the Server Connection Port in the server.xml file between 5040 and 2340 - same result.
Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.
Thanks Xymph for your input but I did spot the DOS issue and fixed that before this post.

I'm running XAseco2 until & unless I can get this new controller working. It really shouldn't be hard in linux and, as I read somewhere, the files were tested on unix systems - was that Mac I wonder...
Cheers


Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ.

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk
Re: What is ManiaControl?
one could have changed the default mysql port 3306, so it's possible to configure itnighthawk4571 wrote:Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.
'localhost' is the host and not the port, you probably don't have to adjust these 2 lines so i don't see your problem
we've set it up on various different linux systems and didn't encounter your problems (and yes, we also tested it on Mac)nighthawk4571 wrote:I'm running XAseco2 until & unless I can get this new controller working. It really shouldn't be hard in linux and, as I read somewhere, the files were tested on unix systems - was that Mac I wonder...
which brings me to my next point
sorry but that your server configuration seems to be incorrect isn't our faultnighthawk4571 wrote:ManiaControl starts, then quits with a transport error 111 - 'Couldn't authenticate with user 'SuperAdmin'. I know I have the correct details here.
I've changed the Server Connection Port in the server.xml file between 5040 and 2340 - same result.
maniacontrol doesn't care about your port choice, only your network settings do
are you trying to connect from remote? then you have to enable that in your dedicated_cfg
- nighthawk4571
- Posts: 618
- Joined: 20 Aug 2011, 06:39
- Location: QLD, Australia
- Contact:
Re: What is ManiaControl?
Well, I think I'm getting somewhere:
Hmmm - an edit needed? I never touched this file, honest!
* I lease a dedicated host server, which is in a rack in Brisbane (200km away), which I manage via Webmin. I have about 20 TM servers, rpc services (remoteRPC, adminserv, TMOS etc) and a couple of websites on it.
Code: Select all
> /home/BagRacing/TM3/application/ManiaControl.sh
Starting ManiaControl ...
Checking for installed MySQLi ... FOUND!
Checking for installed cURL ... FOUND!
20.Apr 14 21:48:22 Loading ManiaControl v0.01...
20.Apr 14 21:48:22 Starting ManiaControl v0.01!
20.Apr 14 21:48:22 Connecting to server at 127.0.0.1:5040...
20.Apr 14 21:48:23 Server Connection successfully established!
PHP Parse error: syntax error, unexpected '[' in /home/BagRacing/TM3/application/plugins/Dedimania/Dedimania.php on line 812
20.Apr 14 21:48:24 Quitting ManiaControl!
* I lease a dedicated host server, which is in a rack in Brisbane (200km away), which I manage via Webmin. I have about 20 TM servers, rpc services (remoteRPC, adminserv, TMOS etc) and a couple of websites on it.
Last edited by nighthawk4571 on 20 Apr 2014, 13:12, edited 1 time in total.

Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ.

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk
Who is online
Users browsing this forum: No registered users and 1 guest