deStrO / eBot-CSGO-Web

The eBot CS:GO panel
http://www.esport-tools.net/ebot
95 stars 71 forks source link

Couldn't set uid/gid/priority, closing connection /eBot-CSGO/admin.php/guard/login #79

Closed thegobot closed 1 year ago

thegobot commented 8 years ago

Login page /eBot-CSGO/admin.php/guard/login

[Thu Nov 17 21:33:22.946183 2016] [mpm_itk:warn] [pid 30946] (itkmpm: pid=30946 uid=33, gid=33) itk_post_perdir_config(): setgid(500): Operation not permitted
[Thu Nov 17 21:33:22.946354 2016] [mpm_itk:warn] [pid 30946] Couldn't set uid/gid/priority, closing connection.
deStrO commented 8 years ago

I never saw this error, what are you using as web server?

thegobot commented 8 years ago

Default Apache 2 on Debian 8.6

ebot3 conf

Alias /eBot-CSGO /usr/share/eBot-WEB/web

<Directory "/usr/share/eBot-WEB/web">
    AllowOverride All
    Allow from All
    php_admin_value open_basedir "/usr/share/eBot-WEB/web:/usr/share/eBot-WEB/"
    AssignUserID www-data www-data
</Directory>
thegobot commented 8 years ago

http://91.240.86.63/eBot-CSGO/admin.php

mrc4tt commented 8 years ago

Do you have installed the mySQL database/tables ? - it's the problem.

Page could not be loaded due to an error. < means mySQL tables is not installed (example.) or mySQL server is offline.

thegobot commented 8 years ago

Yes, table created... php symfony configure:database "mysql:host=localhost;dbname=ebotv3" login password screenshot_4

mrc4tt commented 8 years ago

And you did: php symfony cc ? :)

thegobot commented 8 years ago

Yes! ) I will try to re-create the tables ...

thegobot commented 8 years ago
php symfony guard:create-user --is-super-admin admin@ebot admin pass
>> guard     Create user "admin"

The user admin was created screenshot_5

I got same error and empty page after login

GET http://91.240.86.63/eBot-CSGO/admin.php/guard/login net::ERR_EMPTY_RESPONSE
thegobot commented 8 years ago

I commented line

AssignUserID www-data www-data

and it working. When you first launch the panel without this option did not work, the engine can not create files in the /cache

mrc4tt commented 8 years ago

Where do you "commented" line? which file do you have edited?

thegobot commented 8 years ago

I edited /etc/apache2/conf.d/ebotv3 Folder /usr/share/eBot-WEB/ has an owner www-data:www-data, but apache work under a different uid. Now I'm forced to work under Apache different user (no www-data)

thegobot commented 8 years ago
sh: 1: node: not found

module.js:340
    throw err;
          ^
Error: Cannot find module 'formidable'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/share/eBot-CSGO/websocket_server.js:2:18)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
mrc4tt commented 8 years ago

Do this: apt-get install nodejs apt-get install npm

AFTER do this: npm install socket.io archiver formidable

You can read here: https://github.com/deStrO/eBot-CSGO/wiki/Install

thegobot commented 8 years ago

Yes...I have already installed.

thegobot commented 8 years ago

http://91.240.86.63/images/maps/csgo/livemap/_blue.png not found screenshot_6