- 论坛徽章:
- 0
|
有个程序是lbnamed的在 solaris 8/ perl5.005_03上可以运行并有一个程序运行(可以用ps -ef | grep lb找到),但是在 solaris 9/ perl5.005_3上就运行不起来,启动时也没错,有什么工具可以查一下吗?谢谢
这是程序:
#!/apps/public/bin/perl -w
#######################################################################
#
# lbnamed.pl load balancing name server in perl5
#
# $Id: lbnamed,v 1.1 2003/07/07 15:32:48 selvaraj Exp $
#
# $Log: lbnamed,v $
# Revision 1.1 2003/07/07 15:32:48 selvaraj
# Initial revision
#
# Revision 1.2 2002/02/15 15:46:15 selvaraj
# changed perl
# extended write log to record seconds too
# added few writelogs ---
#
# Revision 1.1 2002/02/14 14:56:23 selvaraj
# Initial revision
#
#
#----------------------------------------------------------------------
# Copyright (c) 1995 Board of Trustees, Leland Stanford Jr. University
#######################################################################
use Socket;
use Sys::Hostname;
use DNS;
use LBDB;
require 'newgetopt.pl';
&NGetOpt("d","l:s","n");
$log_file = $opt_l;
$debug = $opt_d;
&daemon unless ($opt_n);
&open_log($log_file) if ($log_file);
require 'lbnamed.conf';
。。。。。。。。。。。。。。 |
|