Giter VIP home page Giter VIP logo

gearmanui's People

Contributors

gaspaio avatar teuneboon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gearmanui's Issues

Javascript error: TypeError: Cannot call method 'localeCompare' of undefined

TypeError: Cannot call method 'localeCompare' of undefined
at http://xxx/js/gearmanui.js:67:32
at Array.sort (native)
at Object.wrapper.servers (http://xxx/js/gearmanui.js:66:33)
at http://xxx/js/gearmanui.js:144:49
at http://xxx/js/angular-resource.js:385:30
at wrappedCallback (http://xxx/js/angular.js:6623:59)
at http://xxx/js/angular.js:6660:26
at Object.Scope.$eval (http://xxx/js/angular.js:7808:28)
at Object.Scope.$digest (http://xxx/js/angular.js:7680:25)
at Object.Scope.$apply (http://xxx/js/angular.js:7894:24)

Error log gets dirty

A log file grew very large with these errors:

[10-Aug-2015 10:02:55 America/New_York] PHP Notice:  Undefined offset: 2 in /var/www/gearmanui/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151
[10-Aug-2015 10:02:55 America/New_York] PHP Stack trace:
[10-Aug-2015 10:02:55 America/New_York] PHP   1. {main}() /var/www/gearmanui/web/index.php:0
[10-Aug-2015 10:02:55 America/New_York] PHP   2. Silex\Application->run() /var/www/gearmanui/web/index.php:7
[10-Aug-2015 10:02:55 America/New_York] PHP   3. Silex\Application->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:481
[10-Aug-2015 10:02:55 America/New_York] PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:504
[10-Aug-2015 10:02:55 America/New_York] PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:73
[10-Aug-2015 10:02:55 America/New_York] PHP   6. call_user_func_array() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   7. GearmanUI\ControllerProvider->GearmanUI\{closure}() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   8. GearmanUI\GearmanFacade->getServersInfo() /var/www/gearmanui/src/GearmanUI/ControllerProvider.php:44
[10-Aug-2015 10:02:55 America/New_York] PHP   9. GearmanUI\GearmanFacade->getServerInfo() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:47
[10-Aug-2015 10:02:55 America/New_York] PHP  10. Net_Gearman_Manager->workers() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:75
[10-Aug-2015 10:02:55 America/New_York] PHP Notice:  Undefined offset: 1 in /var/www/gearmanui/vendor/alptis/net-gearman/Net/Gearman/Manager.php on line 151
[10-Aug-2015 10:02:55 America/New_York] PHP Stack trace:
[10-Aug-2015 10:02:55 America/New_York] PHP   1. {main}() /var/www/gearmanui/web/index.php:0
[10-Aug-2015 10:02:55 America/New_York] PHP   2. Silex\Application->run() /var/www/gearmanui/web/index.php:7
[10-Aug-2015 10:02:55 America/New_York] PHP   3. Silex\Application->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:481
[10-Aug-2015 10:02:55 America/New_York] PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/gearmanui/vendor/silex/silex/src/Silex/Application.php:504
[10-Aug-2015 10:02:55 America/New_York] PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:73
[10-Aug-2015 10:02:55 America/New_York] PHP   6. call_user_func_array() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   7. GearmanUI\ControllerProvider->GearmanUI\{closure}() /var/www/gearmanui/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:129
[10-Aug-2015 10:02:55 America/New_York] PHP   8. GearmanUI\GearmanFacade->getServersInfo() /var/www/gearmanui/src/GearmanUI/ControllerProvider.php:44
[10-Aug-2015 10:02:55 America/New_York] PHP   9. GearmanUI\GearmanFacade->getServerInfo() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:47
[10-Aug-2015 10:02:55 America/New_York] PHP  10. Net_Gearman_Manager->workers() /var/www/gearmanui/src/GearmanUI/GearmanFacade.php:75

Unable to use Gearman ui

so i tried to use gearman-ui for viewing server status but the index page in web is always giving me error

Job queue
Workers
Servers' status

{{ error }}

I tried to change config to make log for debug level (100) and only thing i got in logs inside app/logs is
18 10:37:24] GearmanUI.INFO: Matched route "GET_" (parameters: "controller": "{}", "route": "GET") [] []
[2013-04-18 10:37:24] GearmanUI.INFO: > GET /gearman-ui/web/ [] []
[2013-04-18 10:37:24] GearmanUI.INFO: < 200 [] []
[2013-04-18 10:37:28] GearmanUI.INFO: Matched route "GET
" (parameters: "_controller": "{}", "route": "GET") [] []
[2013-04-18 10:37:28] GearmanUI.INFO: > GET /gearman-ui/web/ [] []
[2013-04-18 10:37:29] GearmanUI.INFO: < 200 [] []

Can you please help me find out what is missing.

Silex website not working

Hello,

The instructions for setting this up are no longer complete. I followed along but the link for the Silex website is broken.

I tried to figure it out myself but I am having trouble with it.

I installed Apache on an Ubuntu server.

I changed my /etc/apache2/sites-available/000-default.conf file to the following:

<VirtualHost *:4730>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /usr/local/bin/gearman-ui
        ServerName 10.10.20.124
 <Directory /usr/local/bin/gearman-ui>
        AllowOverride All
    </Directory>

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

vim: syntax=apache ts=4 sw=4 sts=4 sr noet`

I then ran:

sudo find /usr/local/bin/gearman-ui -type d -exec chmod 755 {} ;
sudo find /usr/local/bin/gearman-ui -type f -exec chmod 644 {} ;

I made www-data the group owner, and I have confirmed that this server is listening on port 4730

root@ip-10-10-20-124:/usr/local/bin/gearman-ui# sudo lsof -i:4730
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 2545 root 6u IPv6 27584 0t0 TCP *:4730 (LISTEN)
apache2 2548 www-data 6u IPv6 27584 0t0 TCP *:4730 (LISTEN)
apache2 2549 www-data 6u IPv6 27584 0t0 TCP *:4730 (LISTEN)

I am not too sure what I am missing. Any time I do a curl I get a 403

[ec2-user@ip-10-10-39-206 ~]$ curl 10.10.20.124:4730
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at 10.10.20.124 Port 4730</address>
</body></html>

10.10.20.124 is the IP of this server I have spun up to give us the Gearman stats.

Are there any other instructions I can find that talks me through setting up a web server?

Also it says "Configure the web server to serve the application directory" but is that going to be /usr/local/bin/gearman-ui or /usr/local/bin/gearman-ui/web ?

This server sits in the same subnet and uses the same security groups as the two Gearman servers so the port is allowed. Do I maybe need to use a different port from 4730?

Thanks.

Publish on packagist

Please, publish gearmanui on packagist, this would ease a lot its installation using composer create-project

Nothing in the interface

Hey,

I've just tried you gearman ui followed the instructions, the web server page is showing up but with no workers at all (even though I've got some running).
I'm using nginx do you think it could be the cause?

Thanks
Tom

Server configuration errors are handled poorly

  • When the server cannot open the log file, an exception occurs during the /info ajax request, and we see a {{error}} string in the client instead of the true error message
  • When no URL rewriting is configured in the web server, the /info ajax request doesn't come through but no error is displayed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.