From aeb19d7eecd34e5dc39773e509ae69247b7b35df Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 6 Aug 2009 12:58:14 +0000 Subject: [PATCH] -Change path to socket location of DB worker git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index b20e5c118..928f1769a 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -39,7 +39,7 @@ require xCAT::NotifHandler; my $dbworkerpid; #The process id of the database worker my $dbworkersocket; -my $dbsockpath = "/var/run/xcat/dbworker.sock"; +my $dbsockpath = "/tmp/xcat/dbworker.sock"; my $exitdbthread; @@ -95,7 +95,7 @@ sub init_dbworker { #This process is the database worker, it's job is to manage database queries to reduce required handles and to permit cross-process caching $0 = "xcatd: DB Access"; use File::Path; - mkpath('/var/run/xcat/'); + mkpath('/tmp/xcat/'); use IO::Socket; $SIG{TERM} = $SIG{INT} = sub { $exitdbthread=1;