New Debian 8 install

Sergio Fernández sergio19932 at gmail.com
Mon Oct 16 03:00:48 EDT 2017


Did you perform a
/opt/genieacs-gui/bin/bundle
/opt/genieacs-gui/bin/rails db:migrate RAILS_ENV=development
(in case you have bundle exec in that directory)?

Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/
(+34) 687 016 994
CEO @ ACSdesk
https://acsdesk.com

2017-10-14 20:44 GMT+02:00 <eric at aisling-technologies.com>:

> Ok, so things were going great until I rebooted.  Now when I try to start
> the services I get the following…
>
>
>
> ● genieacs-gui.service - GUI for GenieACS
>
>    Loaded: loaded (/etc/systemd/system/genieacs-gui.service; enabled)
>
>    Active: failed (Result: exit-code) since Sat 2017-10-14 18:39:05 UTC;
> 3min 40s ago
>
>   Process: 495 ExecStart=/root/.rbenv/shims/bundle exec rails s -e
> development --bind 0.0.0.0 --port 80 (code=exited, status=203/EXEC)
>
> Main PID: 495 (code=exited, status=203/EXEC)
>
>
>
> Oct 14 18:39:05 ip-172-31-0-251 systemd[1]: Started GUI for GenieACS.
>
> Oct 14 18:39:05 ip-172-31-0-251 systemd[495]: Failed at step EXEC spawning
> /root/.rbenv/shims/bundle: No such file or directory
>
> Oct 14 18:39:05 ip-172-31-0-251 systemd[1]: genieacs-gui.service: main
> process exited, code=exited, status=203/EXEC
>
> Oct 14 18:39:05 ip-172-31-0-251 systemd[1]: Unit genieacs-gui.service
> entered failed state.
>
> admin at ip-172-31-0-251:/etc/systemd/system$
>
> Any thoughts?
>
> Thanks.
>
>
>
> *From:* Users [mailto:users-bounces at lists.genieacs.com] *On Behalf Of *
> eric at aisling-technologies.com
> *Sent:* Thursday, October 12, 2017 1:39 AM
> *To:* 'Community support for GenieACS users' <users at lists.genieacs.com>
> *Subject:* RE: New Debian 8 install
>
>
>
> I’M IN!!!  Many thanks.  Now comes the fun part, learning how to use it.
>
>
>
> Thank you again.
>
>
>
> *From:* Users [mailto:users-bounces at lists.genieacs.com
> <users-bounces at lists.genieacs.com>] *On Behalf Of *Sergio Fernández
> *Sent:* Wednesday, October 11, 2017 2:17 PM
> *To:* Community support for GenieACS users <users at lists.genieacs.com>
> *Subject:* RE: New Debian 8 install
>
>
>
> 7557 is the genieacs-nbi binary port. That means genieacs-GUI cannot reach
> it. Most of the times that means the binary is not running. You will have
> to start it. But you should also start the binaries genieacs-cwmp and
> genieacs-fs.
>
>
>
> I have a repo here to make the binaries services through systemd, in order
> to start/stop the binaries through "service genieacs-cwmp restart", for
> example. The repo is here: https://github.com/DrumSergio/genieacs-services
> You would need to modify the files and set them up like the following:
>
>
>
> cp init-cwmp /etc/systemd/system/genieacs-cwmp.service
>
>
>
> systemctl enable genieacs-cwmp
>
>
>
> Hope that helps.
>
> Best regards
>
>
>
> Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz
> (+34) 687 016 994 <+34%20687%2001%2069%2094>
> sergio19932 at gmail.com
>
>
>
> El 11 oct. 2017 18:15, <eric at aisling-technologies.com> escribió:
>
> So, I think I’m getting closer, I’m actually able to reach the GUI url
> now, but receive the following message.
>
>               Failed to open TCP connection to localhost:7557 (Connection
> refused - connect(2) for "localhost" port 7557)
>
>
>
> I did confirm that the port is open on my firewall.
>
>
>
> Thank you
>
>
>
> *From:* Users [mailto:users-bounces at lists.genieacs.com] *On Behalf Of *Eric
> Whalen
> *Sent:* Wednesday, October 11, 2017 11:28 AM
> *To:* Community support for GenieACS users <users at lists.genieacs.com>
> *Subject:* Re: New Debian 8 install
>
>
>
> Thanks for the quick response.  I do understand that it's a permission
> thing, but I'm pretty new to this and having a difficult time tracking it
> down.  Any thoughts?
>
> I will update Ruby today.
>
> Thanks
>
> From: Sergio Fernández
>
> Sent: Wednesday, October 11, 1:09 AM
>
> Subject: Re: New Debian 8 install
>
> To: Community support for GenieACS users
>
> Good morning, Eric.
>
> Right now I have it installed in Debian 9, although the MongoDB binaries
> are not released yet. But I don't have the scripts.
>
> This is another guide I wrote for Ubuntu 14.04. Really it's not that
> different, the problems that arise can be solved easily sometimes with a
> little of try-and-error: https://github.com/zaidka/genieacs/wiki/
> GenieACS-v1.1.x-installation-in-Ubuntu-14.04-Server
>
> Anyway, the logs seem like a "permission denied" error. So start by taking
> that into account! :) And another thing, right now I am using ruby version
> 2.4.2 and it is working good, so I would update from 2.3.0 because that is
> an old release.
>
> Best regards.
>
> Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/
>
> (+34) 687 016 994 <+34%20687%2001%2069%2094>
>
> CEO @ ACSdesk
>
> https://acsdesk.com
>
> 2017-10-11 1:52 GMT+02:00 <eric at aisling-technologies.com>:
>
> Here is more info…
>
>
>
> admin at ip-172-31-0-251:/opt$ ./genieacs-start.sh
>
> failed to connect to server: Connection refused
>
> arranging in: tiled
>
> GenieACS has been started in tmux session 'geneiacs'
>
> To attach to session, use: tmux attach -t genieacs
>
> To switch between panes use Ctrl+B-ArrowKey
>
> To deattach, press Ctrl+B-D
>
> To stop GenieACS, use: ./genieacs-stop.sh
>
>
>
> rails server -b 0.0.0.0
>
> admin at ip-172-31-0-251:/opt$ cd genieacs-gui
>
> admin at ip-172-31-0-251:/opt/genieacs-gui$ rails server -b 0.0.0.0
>
> => Booting WEBrick
>
> => Rails 4.1.16 application starting in development on http://0.0.0.0:3000
>
> => Run `rails server -h` for more startup options
>
> => Notice: server is listening on all interfaces (0.0.0.0). Consider using
> 127.0.0.1 (--binding option)
>
> => Ctrl-C to shutdown server
>
> Exiting
>
> /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.5.5/lib/rack/server.rb:332:in
> `initialize': Permission denied @ rb_sysopen - /opt/genieacs-gui/tmp/pids/server.pid
> (Errno::EACCES)
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.5.5/lib/rack/server.rb:332:in
> `open'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.5.5/lib/rack/server.rb:332:in
> `write_pid'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.5.5/lib/rack/server.rb:254:in
> `start'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/rails/commands/server.rb:69:in
> `start'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/
> rails/commands/commands_tasks.rb:81:in `block in server'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/
> rails/commands/commands_tasks.rb:76:in `tap'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/
> rails/commands/commands_tasks.rb:76:in `server'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/
> rails/commands/commands_tasks.rb:40:in `run_command!'
>
>         from /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.1.16/lib/rails/commands.rb:17:in
> `<top (required)>'
>
>         from bin/rails:4:in `require'
>
>         from bin/rails:4:in `<main>'
>
> admin at ip-172-31-0-251:/opt/genieacs-gui$
>
> *From:* Eric Whalen [mailto:eric at aisling-technologies.com]
>
> *Sent:* Tuesday, October 10, 2017 2:04 PM
>
> *To:* 'users at lists.genieacs.com' <users at lists.genieacs.com>
>
> *Subject:* New Debian 8 install
>
>
>
> The install went well according to the instructions in the docs session,
> but when I run genieasc-start.sh I get the message “failed to connect to
> server: No such file or directory” and the GUI is not available.  What am I
> missing?
>
>
>
> Thanks.
>
> _______________________________________________
>
> Users mailing list
>
> Users at lists.genieacs.com
>
> http://lists.genieacs.com/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171016/581566a0/attachment-0001.html>


More information about the Users mailing list