[csw-users] problems with orca after installing hobbit - additional info
Glen Gunselman
ggunselm at emporia.edu
Fri Jun 25 00:38:17 CEST 2010
I submitted a previous post about my problems with orca. It's in the archives but I did not receive a copy of the post. I will assume that list received that post (http://lists.opencsw.org/pipermail/users/2010-June/008703.html).
I followed this trail to find the new location for the cfg file:
svcs | grep orca
online 10:28:10 svc:/network/csworcallator:default
online 12:07:24 svc:/network/csworca:default
svccfg export svc:/network/csworca
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
<service name='network/csworca' type='service' version='0'>
<single_instance/>
<dependency name='fs' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
</dependency>
<dependency name='net' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/network/loopback'/>
</dependency>
<exec_method name='start' type='method' exec='/var/opt/csw/svc/method/svc-csworca start' timeout_seconds='120'>
<method_context/>
</exec_method>
<exec_method name='stop' type='method' exec='/var/opt/csw/svc/method/svc-csworca stop' timeout_seconds='60'>
<method_context/>
</exec_method>
<instance name='default' enabled='true'>
<property_group name='general' type='framework'>
<propval name='package' type='astring' value='CSWorcaweb'/>
</property_group>
</instance>
</service>
</service_bundle>
cat /var/opt/csw/svc/method/svc-csworca
#!/bin/sh
prefix=/opt/csw
exec_prefix=/opt/csw
bindir=/opt/csw/bin
orca="$bindir/orca"
case "$1" in
start)
if test -x $orca; then
umask 022
$orca -daemon -logfile /var/opt/csw/orca/orca.log /etc/opt/csw/orcallator.cfg &
echo $! >/var/run/orca.pid
else
echo "$0: $start_orcallator does not exist or is not executable."
fi
;;
stop)
if test -f /var/run/orca.pid; then
kill `cat /var/run/orca.pid`
rm -f /var/run/orca.pid
fi
;;
*)
echo "usage: $0 {start|stop}"
exit 1
;;
esac
exit 0
## save default cfg file
cp -p /etc/opt/csw/orcallator.cfg /etc/opt/csw/orcallator.cfg.csw.20100624
## replace with mine
cp -p /opt/csw/etc/orcallator.cfg /etc/opt/csw/orcallator.cfg
## restart orca
/usr/sbin/svcadm -v restart svc:/network/csworca
(I don't think it restarted)
ps -ef | grep orca
gunselmg 10160 3590 0 15:14:07 pts/1 0:00 grep orca
root 4277 1 0 12:07:25 ? 38:20 /opt/csw/bin/perl -w /opt/csw/bin/orca -daemon -logfile /var/opt/csw/orca/orca.
svcs -l svc:/network/csworca
fmri svc:/network/csworca:default
enabled true
state maintenance
next_state none
state_time Thu Jun 24 15:14:53 2010
logfile /var/svc/log/network-csworca:default.log
restarter svc:/system/svc/restarter:default
contract_id 555
dependency require_all/none svc:/system/filesystem/local (online)
dependency require_all/none svc:/network/loopback (online)
ps -ef | grep -v grep | grep orca
(this returned no output)
## check log file
vi /var/opt/csw/orca/orca.log
(too big to edit ...)
tail /var/opt/csw/orca/orca.log
/opt/csw/bin/orca: warning: cannot create '/opt/csw/share/www/orca/orcallator/zoot/o_zoot_gauge_e1000g1InOvH_pct_per_p,__e1000g1OuOvH_pct_per_p-daily.png': LINE width '1:average1#0000ff:Output' is out of range in line 'LINE1:average1#0000ff:Output'
/opt/csw/bin/orca: warning: cannot create '/opt/csw/share/www/orca/orcallator/zoot/o_zoot_gauge_e1000g1InOvH_pct_per_p,__e1000g1OuOvH_pct_per_p-weekly.png': LINE width '1:average1#0000ff:Output' is out of range in line 'LINE1:average1#0000ff:Output'
/opt/csw/bin/orca: warning: cannot create '/opt/csw/share/www/orca/orcallator/zoot/o_zoot_gauge_e1000g1InOvH_pct_per_p,__e1000g1OuOvH_pct_per_p-monthly.png': LINE width '1:average1#0000ff:Output' is out of range in line 'LINE1:average1#0000ff:Output'
/opt/csw/bin/orca: warning: cannot create '/opt/csw/share/www/orca/orcallator/zoot/o_zoot_gauge_e1000g1InOvH_pct_per_p,__e1000g1OuOvH_pct_per_p-quarterly.png': LINE width '1:average1#0000ff:Output' is out of range in line 'LINE1:average1#0000ff:Output'
/opt/csw/bin/orca: warning: cannot create '/opt/csw/share/www/orca/orcallator/zoot/o_zoot_gauge_e1000g1InOvH_pct_per_p,__e1000g1OuOvH_pct_per_p-yearly.png': LINE width '1:average1#0000ff:Output' is out of range in line 'LINE1:average1#0000ff:Output'
grep 'is out of range in line' /var/opt/csw/orca/orca.log | wc -l
316065
I ran a diff on the csw and my cfg files and do not see any obvious problems.
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20100624/02bc0e54/attachment.html>
More information about the users
mailing list