Displaying 20 results from an estimated 32 matches for "myservice".
2016 Aug 02
2
centos 7- boot doesn't wait for startup script to complete
Hi All,I have a general question.? I have an old rc type startup script that I am still using on CentOS 7.? I got it to run by creating the systemd service file... a simple one as shown below, for Myservices.
# used to set up the Myservices onstartup[Unit]Description=Start and stop Myservices[Service]Type=oneshotExecStart=/etc/init.d/Myservices startExecStop=/etc/init.d/Myservices stopRemainAfterExit=yes[Install]WantedBy=multi-user.targetThis works. When the server starts Myservices is initiated.? How...
2016 Aug 04
3
centos 7- boot doesn't wait for startup script to complete
thank you for the feedback.? I tried using Before=systemd-user-sessions.service.? At first glance it seems to work, but then the oracle DB shuts down.? Note that myservices starts oracle and then does a few things for our application.
When I remove that entry, it goes right to the login as I originally described, but the oracle DB does not shut down.? maybe I have the wrong combination of timeout options with this other option or something, although the timeouts seem...
2013 Nov 16
4
frustrating dependency problem
...want to
be able to call a defined type, but it''s not working out so far. I have my
manifests setup like this:
init.pp:
class foo {
....
}
bar.pp:
class foo::bar {
include foo
package{ "test":
ensure => running,
notify => Foo::Myservice[''test''],
}
}
services.pp
define foo::myservice($service = $title) {
service { "$service":
enable => true,
hasstatus => true,
hasrestart => true,
}
}
So, you can see my goal is to have a single defined service functi...
2008 Oct 06
1
application doesnt start at startup when run via WINE !
[Evil or Very Mad]
Hi all,
I am using Fedora 8 Linux.
I have a situation where i need to start a service at startup. the service is started using wine say... ` wine MyService.exe`
I made a small daemon script for it which has start and stop functions where start function just runs above statement. Then I have configured this script to start at runlevel 5. Now the situation is that at startup there is no sign of my service being started. To verify if the service script...
2007 Feb 20
2
service::start borken
Hello Mongrel Users!
This is my first post!
Is there an expected release date for the fixed version of
mongrel_service that will resolve the missing service::start command?
I would love to use the much improved features of the new
mongrel_service, but I haven''t been able to yet. I haven''t figured
out how to follow Zed''s advice on a previous thread to just use the
2016 Aug 09
1
centos 7- boot doesn't wait for startup script to complete
...boot doesn't wait for startup script to complete
> On Aug 4, 2016, at 14:35, KM <info4km at yahoo.com> wrote:
>
> thank you for the feedback.? I tried using Before=systemd-user-sessions.service.? At first glance it seems to work, but then the oracle DB shuts down.? Note that myservices starts oracle and then does a few things for our application.
> When I remove that entry, it goes right to the login as I originally described, but the oracle DB does not shut down.? maybe I have the wrong combination of timeout options with this other option or something, although the timeouts...
2011 May 23
3
Passing a period as part of an id in show action
I am trying to do the following in a RESTful manner:
I have a web service that accepts an id to deliver a particular
record. Unfortunately, the id that the client will have is not the
usual database sequence number. This mostly works, though, and the
url
looks something like:
http://myservice.com/controller/the_id.xml
That is handled by the "show" action.
Unfortunately, some of the ids that will be passed contain special
characters. I can require that they be encrypted, but the period
seems
to be having a problem. In other words, if the id is "the+id. value",
t...
2016 Aug 04
0
centos 7- boot doesn't wait for startup script to complete
> On Aug 4, 2016, at 14:35, KM <info4km at yahoo.com> wrote:
>
> thank you for the feedback. I tried using Before=systemd-user-sessions.service. At first glance it seems to work, but then the oracle DB shuts down. Note that myservices starts oracle and then does a few things for our application.
> When I remove that entry, it goes right to the login as I originally described, but the oracle DB does not shut down. maybe I have the wrong combination of timeout options with this other option or something, although the timeouts...
2006 May 31
2
Rails Bug when loading required files for API?
...ponse class in the application
controller it all works fine, BTW (but I don''t want that).
Does anybody have any suggestions how to further investigate/remedy
this? Am I doing this right anyway?
TIA,
Michel Benevento
--------------------------
/vendor/my_service.rb
----------
module MyService
class SoapResponse < ActionWebService::Struct
member :id, :int
member :title, :string
end
end
----------
/app/apis/myws_api.rb
----------
require "my_service"
class MywsApi < ActionWebService::API::Base
include MyService
api_method :find_products_by_category,...
2016 Aug 02
0
centos 7- boot doesn't wait for startup script to complete
On Tue, Aug 02, 2016 at 12:56:21PM +0000, KM wrote:
> # used to set up the Myservices onstartup
> [Unit]
> Description=Start and stop Myservices
>
> [Service]
> Type=oneshot
> ExecStart=/etc/init.d/Myservices start
> ExecStop=/etc/init.d/Myservices stop
> RemainAfterExit=yes
>
> [Install]
> WantedBy=multi-user.target
Reformatting so it is readable....
2017 May 15
1
centos 7- boot doesn't wait for startup script to complete
...boot doesn't wait for startup script to complete
> On Aug 4, 2016, at 14:35, KM <info4km at yahoo.com> wrote:
>
> thank you for the feedback.? I tried using Before=systemd-user-sessions.service.? At first glance it seems to work, but then the oracle DB shuts down.? Note that myservices starts oracle and then does a few things for our application.
> When I remove that entry, it goes right to the login as I originally described, but the oracle DB does not shut down.? maybe I have the wrong combination of timeout options with this other option or something, although the timeouts...
2007 Feb 23
11
Problems getting mongrel service working
Hello list!
I have mongrel service 0.1.0 working on my current production machine.
Upgrading to a new server and also moving to mongrel service 0.3.1
has not worked yet. I am hoping someone will have an idea as to why.
I have mongrel installed properly (I think):
C:\rails\igacc>gem list --local
*** LOCAL GEMS ***
...
mongrel (1.0.1)
A small fast HTTP library and server that runs
2006 May 15
0
FW: [Mongrel] Broken win32 service support for lastest mongrels.
...e are the gems I installed to test Rails 1.0.0: actionmailer (1.1.5)
actionpack (1.11.2) actionwebservice (1.0.0) activerecord (1.13.2)
activesupport (1.2.5) mongrel (0.3.8) rails (1.0.0) rake (0.7.1) sources
(0.0.1) sqlite3-ruby (1.1.0) win32-service (0.5.0)
* Created a empty rails 1.0.0 app name myservice.
* Checked it worked with webrick, and mongrel_rails start and got this
information from index.html:
Ruby version 1.8.4 (i386-mswin32)
RubyGems version 0.8.11
Rails version 1.0.0
Active Record version 1.13.2
Action Pack version 1.11.2
Acti...
2004 Apr 09
2
Issues with win32-service Daemon
...I try to define anything in
"initialize", the service fails to start. Any idea why?
Also, this service runs for a while, then just quits for no reason that I
can see. The Event Log merely says, "The Abba service terminated
unexpectedly".
Any ideas on either issue?
Dan
# myservice.rb
require "socket"
require "win32/service"
include Win32
class MyDaemon < Daemon
def service_main
File.open("c:\\test.log","a+"){ |f| f.puts("service_main entered") }
s = TCPServer.new(8888)
while socket = s.accept
rv = socket.gets.ch...
2004 Nov 29
1
NOTICE[507921]: app_dial.c:742 dial_exec: Unable to create channel of type 'Zap'
...es
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
immediate=yes
context=bell
signalling=fxs_ks
callerid=asreceived
channel => 1
zaptel
fxsks=1
loadzone=us
defaultzone=us
sip.conf
register => 7062210:9211:7062210@192.168.7.16
[MyService]
type=peer
username=7062210
fromuser=7062210
secret=9211
host=192.168.7.16
context=incoming
fromdomain=sipdom.inf
nat=no
canreinvite=no
dtmfmode=inband
so whenever the call comes in from service provider's asterisk to my
starwars asterisk, I get the error messages captured below:
starwars*...
2006 Nov 24
3
Mongrel Service 0.3.0, native services for you!
...ning as service.
* How to install and use?
- Download the gem file from this url:
http://mmediasys.com/releases/mongrel_service-0.3.0-mswin32.gem (62KB)
- Install it
> gem install mongrel_service-0.3.0-mswin32.gem
- Create a new service as usual:
> mongrel_rails service::install -N myservice
- Start it using "net"
> net start myservice
VERY IMPORTANT: don''t use this in production.
* What''s planned?
- Add clustering functionality. Provide from the same service code,
launch N child ruby process to be balanced. Magical processor affinity
for each memb...
2020 Mar 24
2
[Feature Request] Add (and check against) IP to known_hosts even when domain is used to connect
...nc
- My end-goal goes even further (I left that out in the first mail
because it makes everything sound way more complex but I'll try to
explain it briefly now:)
What I really want to create in the end is something like this:
A service (probably web based). Let's say it has the domain
myservice.net. At the beginning I want to use the service just for me,
later users shall be able to create a subdomain on this service (for
free), i.e. username.myservice.net.
Then they shall be able to add their servers (so it's ipv4 and/or ipv6
ips) like they would add A and AAAA records in every n...
2008 Apr 30
10
Run service on Wine?
Is it possible to run Windows service on Wine? If it is, how do I start a service? I am running Wine on Fedora machine. Thanks.
Michael
2007 Jan 19
2
Newbee-Question General Syntax
Hi there!
I´ve started looking into puppet for about one week now, I have to say
that I am NOT a developer, i occasionally write a shellscript or another
but thats about it, so maybe my problem is that i dont see the whole
picture yet.. I kind of know what i want to do, but at the moment i
don´t realy see how i can accomplish that.. :/
thing is, I have (for now "just") about 100
2014 Sep 25
3
/etc/init.d CentOS 7
...cripts continue to function on a systemd
system. An init script /etc/rc.d/init.d/foobar is implicitly mapped
into a service unit foobar.service during system initilization
So I dropped my file in the above directory, rebooted and my item did not
start.
doing "systemctl list-unit-files | grep myservice" did now show anything.
What piece did I miss?
I used to use rc.local and just need a script to run AFTER everything else
has ran.
no special start/stop/reload is needed... just a simple script.
Thanks
jerry