Displaying 20 results from an estimated 300 matches similar to: "Problems with custom service and webrick"
2004 Feb 10
0
Daemon help
I''m having some trouble separating the Daemon class stuff from the
Service Control stuff. I have a "daemon.rb" file in ''C:\''. I also have
a daemonctrl.rb script in another directory. It installs fine, but I
can never start it successfully. What am I doing wrong?
Dan
# daemon.rb in ''C:\''
require "win32/service"
include Win32
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
Ubuntu 14.04, ctdb 2.5.1 from the ubuntu package. samba 4.1.11 with
cluster support from source.
Error upon startup only. Restarting ctdb on that node clears the error.
The other node with the same config is OK. Any ideas?
Cheers,
Steve
smb.conf
[global]
workgroup = ALTEA
realm = ALTEA.SITE
security = ADS
kerberos method = secrets and keytab
netbios name = SMBCLUSTER
disable netbios = Yes
2014 Jul 18
1
ctdb do not start nmbd if serving AD
ctdb 2.5.3 dual node file server with 4.1.9 serving AD domain
Hi
We have enabled the script at:
/etc/cdb/events.d/50.samba
but when we are the enabled node, it starts not only smbd but also nmbd.
This doesn't make sense in an AD domain. I've tried disabling nmbd
starting under openSUSE's systemd but ctdb overrides that, I've had a
look at the script but can't decipher the bit
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
Ubuntu 14.04, ctdb 2.5.3, samba 4.1.11. CTDB is working with IP takeover
between the 2 nodes. The machine is joined to the domain.
Any help with the following errors would be most gratefully received.
1. connect to socket error:
ctdb status
2014/08/16 15:32:03.248034 [23255]: client/ctdb_client.c:267 Failed to
connect client socket to daemon. Errno:Connection refused(111)
common/cmdline.c:156
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
Ubuntu 14.04. 2 node ctdb in an 4.1.11 AD domain with 4.1.11 member
servers on each node. winbindd is present but nss and pam are controlled
by sssd. All OK, except that the event script which starts samba is not
working.
smb.conf
[global]
workgroup = ALTEA
realm = ALTEA.SITE
security = ADS
kerberos method = secrets and keytab
netbios name = SMBCLUSTER
clustering = Yes
ctdbd socket =
2007 Nov 18
4
Need help with win32-service, failure actions
Hi all,
I''m trying to get failure action support working. I''ve modified the
Service.configure method to accept the following options:
failure_reset_period
failure_command
failure_reboot_message
failure_actions
failure_delay
I''ve got the failure_command and failure_reboot message working, but the
rest aren''t working properly. I''m mostly focused on
2005 Dec 10
1
win32 service
Hi Ernest,
I''m cc''ing the win32utils-devel mailing list in case
anyone has any ideas.
--- Ernest Ellingson <erne at powernav.com> wrote:
> Daniel Berger wrote:
>
> >Hi Ernest,
> >
> >Me again. I just realized that it''s just a bug in
> my
> >documentation (duh). You can pass arguments to the
> >Service.start method.
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
Hi there,
Other auth modules (eg passwd-file) allow a username_format to be
specified, but not the PAM module.
The use-case, is where I want a static userdb configuration which takes the
domain into account but still want to use PAM for authentication, eg:
userdb {
driver = static
args = uid=8 gid=12 home=/mnt/storage/mail/vhosts/%d/%n
}
passdb {
driver = pam
args = username_format=%n
2013 May 09
1
equivalent way to iterate through a hash
If I have something like this in my node file:
daemontools_service::setup {
''carbon-cache'':
service_name => ''carbon-cache'',
....
extra_envs => {
"GRAPHITE_STORAGE_DIR" => "/mnt/statsd-data/graphite-storage"
"SOMETHING_ELSE" =>
2007 Nov 03
2
Service.services bug (pure Ruby version)
Hi all,
I''ve hit a curious bug in the Service.services method. This is in the
pure Ruby version in CVS. Check it out and run this snippet:
Service.services{ |s|
p s.service_name
p s.display_name
}
That will segfault after about 14 entries for me. It appears to be a
problem with memcpy on line 658, but I couldn''t tell you why.
The interesting thing is that the more I
2008 Mar 17
2
FiberChannel, and EMC tutorial?
Hi all,
Can anyone explain to me, or point me to any docs that explain how the
following numbers map together?
I have multiple LUNS exported to my HBA''s from multiple EMC arrays.
zpool status, and /dev/dsk show device names like:
c0t6006048000038794003753594D333837d0 ONLINE 0 0 0
c0t6006048000038794003753594D333838d0 ONLINE 0 0 0
2012 Jul 10
2
Refresh not working with launchd service provider?
Hi,
Refresh doesn''t seem to be working with the launched service provider on OS X Lion (10.7.4).
I''ve come up with a simple "service" script, plist file and puppet script to apply to demonstrate. The problem.
Here''s the shell script which logs an initial starting message and then just loops logging a "Still running…" message.
2023 Jan 28
1
nut does not start after reboot
On up-to-date f36, with latest kernel 6.1.7-100.fc36.x86_64.
After receiving a few of these messages
Broadcast message from nut at e7.eyal.emu.id.au (somewhere)
UPS ups at ups is unavailable
I noticed and ran
sudo systemctl restart nut-driver at ups.service
which triggered
Broadcast message from nut at e7.eyal.emu.id.au (somewhere)
Communications with UPS ups at ups established
I now added
2004 Apr 09
2
Issues with win32-service Daemon
Hi all,
I wrote a little echo client to run as a service. I have a couple of
problems with this. First, any time 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
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save
someone some time in the future. I''ve been tracking down the following
error today, it''s rather unhelpful in telling you where the problem is
in your manifests:
# puppetd --test
info: Retrieving plugin
err: Could not retrieve catalog from remote server: Could not intern
from pson: Could not convert from pson: Could
2012 Oct 15
2
Puppet not picking up files
Hi
I largely copied the example in
http://docs.puppetlabs.com/learning/modules1.html. But I''m getting an error
when running the following from the client:
puppet agent --server puppetmaster --waitforcert 60 --test
err: /Stage[main]/Ntp/File[ntp.conf]: Could not evaluate: Could not
retrieve information from environment production source(s)
file:/etc/puppet/modules/ntp/files/ntp.conf
2007 Aug 09
0
layered SOAP webservices
Hi all,
My SOAP web service works with direct and delegated dispatching. But
as soon as I switch to layered, I get an error message
no such web service ''api''
Now, the actionwebservice/lib/action_web_service/protocol/
soap_protocol.rb, in function
decode_action_pack_request(action_pack_request),
service_name = action_pack_request.parameters[''action'']
2003 Jun 23
1
RFC: PAM service name change?
It would be nice for the sake of not conflicting to have the PAM service
name not be imap. Especially as the same service name is used for pop
as well :)
My recommendation would be to use dovecot instead. Any other opinions?
Jeremy
-------------- next part --------------
--- dovecot-0.99.10-rc1/src/auth/passdb-pam.c.servicename 2003-06-23 00:56:22.000000000 -0400
+++
2019 Jan 26
2
[PATCH] Cygwin: Change service name to cygsshd
Microsoft hijacked the sshd service name without asking.
---
contrib/cygwin/ssh-host-config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index 2903125f8592..52916d14ba94 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -61,7 +61,7 @@ LOCALSTATEDIR=/var
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all,
If you take a look at the service.rb file in the win32-service
repository (the new one in the toplevel repository path), I''ve got this
bit of code, which succeeds, but I can''t seem to unpack the data
structure properly. Did I pack it wrong to begin with? I should know
this but I''m spacing out.
proc_status =