search for: create_pidfil

Displaying 2 results from an estimated 2 matches for "create_pidfil".

Did you mean: create_pidfile
2012 Jun 11
3
Start puppet master
...ission denied - /var/lib/puppet/run/master.pid (Errno::EACCES) from /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in `open'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:33:in `lock'' from /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:47:in `create_pidfile'' from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:39:in `synchronize_on'' from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:39:in `synchronize_on'' from /usr/lib/ruby/site_ruby/1.8/pu...
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
...id()); + snprintf(smb_dir, sizeof(smb_dir), "/tmp/qemu-smb.%ld", (long)getpid()); if (mkdir(smb_dir, 0700) < 0) { fprintf(stderr, "qemu: could not create samba server dir ''%s''\n", smb_dir); exit(1); @@ -3995,7 +3995,7 @@ static void create_pidfile(const char *f perror("Opening pidfile"); exit(1); } - fprintf(f, "%d\n", getpid()); + fprintf(f, "%ld\n", (long)getpid()); fclose(f); pid_filename = qemu_strdup(filename);...