similar to: sidekiq receives SIGHUP when started via ssh -t

Displaying 20 results from an estimated 7000 matches similar to: "sidekiq receives SIGHUP when started via ssh -t"

2017 Oct 16
0
sidekiq receives SIGHUP when started via ssh -t
Hi, I was able to narrow it down to this ruby script: #!/usr/bin/env ruby Process.daemon while true sleep 1 end And I can reproduce it on one particular CentOS server, on the other CentOS server it works as on Ubuntu. The CentOS server where I can reproduce the issue is supposed to have vanilla CentOS, but probably not exactly. So, when I run it this way on CentOS 7: ssh user at
2013 Jun 30
1
Sidekiq on Heroku
Hi I want to use Sidekiq to run some jobs in the background. The jobs will be created by the whenever gem (or similar) which creates a Sidekiq worker at a specific time. This worker will in turn create a few hundred Sidekiq jobs. So, I''m using Heroku and wonder if I need to use a separate worker dyno for these jobs? Or can I use, for example, Unicorn to run Sidekiq "inside"
2013 Jun 03
1
sidekiq: push background results to front
Rails 3.2.11 Sidekiq latest My app continues background jobs that generate texts as the output. class ProcessText include Sidekiq::Worker def perform(name, count) puts "executing..." @feed = Feed.first @feed.process # here it returns String results! end end What I want is basically how to send (or push?) the result texts to a particular web
2010 Oct 12
6
RVM on a Macbook
I have a Macbook with Snow Leopard and Macports. I have successfully run the script displayed below the heading "The following script will boostrap git + RVM..." on the page: http://rvm.beginrescueend.com/rvm/install/ However I can find no .bash_profile or .bashrc on my machine. The closest existing files are .profile in my root, .bash_login in my root, and setup.bash.in in a subfolder
2010 Aug 30
10
Trouble with rvm (Ruby Version Manager)
Hi-- Am having trouble with rvm. Successfully installed it, but when I tried to install Ruby 1.8.7, here is the error I got: Paul-Denlingers-MacBook-Pro:~ pdenlinger$ rvm install 1.8.7 -bash: rvm: command not found Tried closing terminal, quitting terminal, opening another tab, etc. but continued to get same error. What to do? Thanks! -- You received this message because you are subscribed
2013 Jul 09
0
How to move create method into worker(sidekiq)?
how to move create method into worker(sidekiq)? photos_controller.rb def create @project = Project.find(params[:project_id]) @photo = @project.photos.build(params[:photo]) @photo.user = current_user if @photo.save redirect_to image_upload_project_path(@project) endend -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Feb 19
11
Completely broken rails install on OSX
Hi I am new to rails and I was trying to get version 2.1.1 installed so that I could run lovdbyless and play with Rails to see what it was like. When trying to install lovdbyless I kept getting problems when running "rake" so I looked around for an answer and did what the forums said, and then i''d get another error and i''d go through the same process. Now I am getting
2010 Dec 27
6
RVM Issue
I''m a total rails newb and is trying to install RVM. The terminal tells me that RVM installed just fine but when I try commands like "rvm notes" or "rvm install 1.9.2" I get: "-bash: rvm: command not found" Does anyone know why? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2010 Jun 25
5
Error installing gems for Rails 3.0.0.beta4 on MacOSx
I tried to install Rails 3 Beta in my snow.leopard machine using the command below: (w/ sudo if it requires) gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n unfortunately after 12 gems installed i got an error regarding builder-2.1.2 12 gems installed Installing ri documentation for tzinfo-0.3.22... Installing ri documentation for
2017 Mar 12
2
How do I confirm importing repo key without user intervention?
Hi, Sorry for asking it again. I just thought I asked the question the wrong way. Too much unnecessary details. And therefore, got no replies. I'm configuring a server from, say, a script (automatically). I need it to be done without user saying, "Yes, it's okay to import the key." I was told to run the following command: yum makecache -y --disablerepo=*
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all, I am having a hard time trying to find out what''s wrong with my setup. It used to work smoothly until I decided out of the blue to do a selfupdate and upgrade outdated on MacPort, then things started going south very quickily. Since MacPort kinda broke, I pull it all out and re-install the ports I have before, which went pretty smoothly. Then to my surprise any command I
2017 Mar 13
2
How do I confirm importing repo key without user intervention?
> It looks like the passenger RPM has a script importing the GPG key. Check using "rpm -q --scripts passenger". >From what I can see, it doesn't: # rpm -q --scripts passenger postinstall scriptlet (using /bin/sh): if /usr/sbin/sestatus | grep 'SELinux status' | grep -q enabled; then actual_selinux_variants=; for selinux_policy_file in /etc/selinux/*/policy;
2020 Jan 11
7
Why are the arguments supplied for the command run through ssh interpreted by shell before they are passed to the command on the server side?
On 2020-01-11 01:38, Darren Tucker wrote: > The command you give is always handled on the server by your shell in some > fashion. It has to be, because SSH only specifies an opaque string for the > remote command, so without doing so you would not be able to specify > arguments at all. It's not obvious why does it have to be this way. ssh sends the command as an array of
2010 Aug 22
1
Question about RVM installation; where to find .bashrc and/or .bash_profile files?
Hi-- Have just installed downloaded and installed RVM from Github and got this message after download: You must now finish the install manually: 1) Place the folowing line at the end of your shell''s loading files(.bashrc or .bash_profile for bash and .zshrc for zsh), after all path/variable settings: [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm Please
2009 Feb 25
2
miss handling of the SIGHUP signal for sshd when sshd is started with a relative path sshd_config file
Hi I am just porting ssh-5.2 to my HPUX system. but while I'm doing it, I accidently found a different handling of the sshd for the SIGHUP signal when it is started with a "./sshd_config" and "/sshd_config". The problem is as following: root at sshpa6# uname -a HP-UX sshpa6 B.11.31 U 9000/800 2404418693 unlimited-user license root at sshpa6#
2017 Mar 12
2
How do I confirm importing repo key without user intervention?
> what about importing the key beforehand > rpm --import keyfile That's what I do. But when I try to install a package from that (passenger) repository manually, yum wants my confirmation: # curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo # grep gpgkey /etc/yum.repos.d/passenger.repo
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects. I have RVM installed. When I upgraded to Rails 3, Installed RVM via terminal: bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest) version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt); mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2017 Mar 13
1
How do I confirm importing repo key without user intervention?
On 13/03/2017 04:38, Yuri Kanivetsky wrote: > ...Check out the full typescript of what happens when installing > passenger, please: > https://gist.github.com/x-yuri/1dc92db44f89253679ab44f6c3de125c > > Regards, > Yuri In my kickstart scripts I call yum with yum -t -y -e 0 This just works for me. -t may be what you are looking for. Tris
2023 Apr 07
4
Killing the OpenSSH server doesn't cause the Windows OpenSSH client to die
I connect with the OpenSSH client on Windows to the OpenSSH server on FreeBSD, all in one LAN, Wifi to Eithernet. After a while, usually when the connection is inactive for some time, it becomes dysfunctional: it becomes impossible to connect through reverse port forwards from FreeBSD to Windows. At such times killing the ssh server process on FreeBSD, corresponding to the connection,
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi, My system has the following : MacOs Leopard Rails 3 Ruby 1.9 Mysql 5.1.58 mysql2 ruby gems My problem is that when i give "rails server", the task aborts with the foll error rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/ railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777