Can't Start Fisheye from Solaris SMF (Starts fine manually)

Hi, I can't figure out how to start fisheye from Solaris 10 SMF. I'm trying to start fisheye 2.7.8.

Here is what my /var/svc/log/application-fisheye:default.log shows:

{code}

Apr 19 13:53:44 Executing start method (/home/fisheye/fecru-2.7.8/bin/fisheyectl.sh run)

WARN: your default encoding (US-ASCII) does not support unicode.

This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters.

Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems.

2012-04-19 13:53:45,468 INFO - FishEye/Crucible 2.7.8 (20111130052542), Built on 2011-11-30

2012-04-19 13:53:45,476 INFO - Starting UpgradeManager ...

2012-04-19 13:53:48,702 INFO - FishEye: Evaluation License registered to RedPrairie.

2012-04-19 13:53:48,724 INFO - Your license expires in 29 days

2012-04-19 13:53:55,942 INFO - Starting database...

2012-04-19 13:54:02,257 INFO - Starting plugin system...

Apr 19 13:54:14 Method or service exit timed out. Killing contract 93

Apr 19 13:54:14 Method start failed due to signal KILL

{code}

Here's what my manifest file contains:

{code}

root2@gitrtm.res.redprairie.com:/root$ cat /var/svc/manifest/application/fisheye.xml

<service_bundle type="manifest" name="Atlassian Fisheye Crucible">

<service <="" p="">

name='application/fisheye'

type='service'

version='1'>

<dependency name="loopback" <="" p="">

grouping='require_all'

restart_on='error'

type='service'>

<service_fmri value="svc:/network/loopback:default"/>

</dependency>

<dependency name="physical" <="" p="">

grouping='optional_all'

restart_on='error'

type='service'>

<service_fmri value="svc:/network/physical:default"/>

</dependency>

<instance name="default" enabled="false">

<exec_method <="" p="">

type='method'

name='start'

exec='/home/fisheye/fecru-2.7.8/bin/fisheyectl.sh run'

timeout_seconds='30'>

<method_context>

<method_credential user="fisheye" group="other" privileges="basic,net_privaddr"/>

<method_environment>

<envvar name="FISHEYE_INST" value="/home/fisheye/instance"/>

<envvar name="JAVA_HOME" value="/usr/jre1.6.0_31"/>

</method_environment>

</method_context>

</exec_method>

<exec_method <="" p="">

type='method'

name='stop'

exec='/home/fisheye/fecru-2.7.8/bin/fisheyectl.sh stop'

timeout_seconds='60'>

<method_context>

<method_credential user="fisheye" group="other"/>

<method_environment>

<envvar name="FISHEYE_INST" value="/home/fisheye/instance"/>

<envvar name="JAVA_HOME" value="/usr/jre1.6.0_31"/>

</method_environment>

</method_context>

</exec_method>

</instance>

<template>

<common_name>

<loctext xml:lang="C">

Atlassian Fisheye Crucible

</loctext>

</common_name>

<documentation>

<doc_link name="apache.org" <="" p="">

uri='http://tomcat.apache.org/' />

</documentation>

</template>

</service>

</service_bundle>

{code}

And here's what the fisheye-debug log file shows. Nothing really explains why the fisheye is exiting and/or being killed:

{code}

2012-04-19 13:53:45,462 INFO main fisheye.app BaseCommand-handleCommonArguments - FishEye arguments:

2012-04-19 13:53:45,468 INFO main fisheye.console Run-sysinfo - FishEye/Crucible 2.7.8 (20111130052542), Built on 2011-11-30

2012-04-19 13:53:45,471 INFO main fisheye.debug Run-sysinfo - Logging started (Sun Microsystems Inc.|20.6-b01|/usr/jre1.6.0_31|SunOS|x86|5.10|maxmem=981MB)

2012-04-19 13:53:45,476 INFO main fisheye.console DefaultUpgradeManager-<init> - Starting UpgradeManager ...

2012-04-19 13:53:47,873 INFO main fisheye.app PassivateManager-<init> - Cache-sizing: MAX_TOTAL_CACHE_SIZE=343015424

2012-04-19 13:53:47,940 INFO main fisheye.app RootConfig-load - loading config from file: /home/fisheye/instance/config.xml

2012-04-19 13:53:48,702 INFO main fisheye.console Run-mainImpl - FishEye: Evaluation License registered to RedPrairie.

2012-04-19 13:53:48,724 INFO main fisheye.console Run-mainImpl - Your license expires in 29 days

2012-04-19 13:53:48,728 INFO main fisheye.app SvnLoader-setup - Loading included SvnKit from lib/svn

2012-04-19 13:53:48,729 INFO main fisheye.app SvnLoader-setupJarsFromDir - Loaded svn jar from directory /export/home/fisheye/fecru-2.7.8/lib/svn

2012-04-19 13:53:48,989 INFO main fisheye.app PassivateManager-load - Cache-sizing: repcache.memcache.total_size=343015424

2012-04-19 13:53:48,989 INFO main fisheye.app PassivateManager-load - Cache-sizing: com.cenqua.fisheye.config.ConfigProperty@9764bd=50

2012-04-19 13:53:49,122 INFO main fisheye.app InfinityDbHandle-open - opening /home/fisheye/instance/var/data/data0.bin with cachesize=2500000

2012-04-19 13:53:49,264 INFO main fisheye.app WebServer-<init> - Adding secondary content dir of /export/home/fisheye/instance/content

2012-04-19 13:53:49,267 INFO FishEye Shutdown Service fisheye.app ShutdownService-runServer - listening on 127.0.0.1:8059

2012-04-19 13:53:55,942 INFO main fisheye.console DefaultDBControl-start - Starting database...

2012-04-19 13:54:01,141 INFO main fisheye.app DefaultDBControl-start - DB Started.

2012-04-19 13:54:02,257 INFO main fisheye.console DelegatingFisheyePluginManager-startOsgi - Starting plugin system...

2012-04-19 13:54:04,964 INFO main fisheye.app DefaultNotificationManager-startNotifier - class com.cenqua.crucible.notification.DefaultNotificationManager started.

2012-04-19 13:54:04,967 INFO main fisheye.app DefaultNotificationManager-startNotifierCleanup - class com.cenqua.crucible.notification.DefaultNotificationManager cleanup started.

2012-04-19 13:54:07,559 INFO main fisheye.app CrucibleBridgeImplementation-startup - Starting CrucibleBridge

{code}

I also put svc.startd into debug mode and here's what it logs:

{code}

Apr 19 13:53:44/8: Graph: processing maint_off action for svc:/application/fisheye:default.

Apr 19 13:53:44/241: svc:/application/fisheye:default: Instance leaving maintenance because clear requested.

Apr 19 13:53:44/9: Graph noting svc:/application/fisheye:default maintenance -> uninitialized.

Apr 19 13:53:44/9: Graph engine: Refreshing svc:/application/fisheye:default.

Apr 19 13:53:44/9: Enabling svc:/application/fisheye:default.

Apr 19 13:53:44/241: svc:/application/fisheye:default: Instance enabled.

Apr 19 13:53:44/9: Graph noting svc:/application/fisheye:default uninitialized -> offline.

Apr 19 13:53:44/9: Starting svc:/application/fisheye:default.

Apr 19 13:53:44/9: Propagating offline of svc:/application/fisheye:default.

Apr 19 13:53:44/9: Starting svc:/application/fisheye:default.

Apr 19 13:53:44/241: svc:/application/fisheye:default: trying to start instance

Apr 19 13:53:44/241: svc:/application/fisheye:default: starting instance.

Apr 19 13:53:44/9: Graph noting svc:/application/fisheye:default offline -> offline.

Apr 19 13:53:44/9: Starting svc:/application/fisheye:default.

Apr 19 13:53:44/242: method_thread() running start method for svc:/application/fisheye:default.

Apr 19 13:53:44/9: Propagating offline of svc:/application/fisheye:default.

Apr 19 13:53:44/9: Starting svc:/application/fisheye:default.

Apr 19 13:53:44/242: svc:/application/fisheye:default: forking to run method /home/fisheye/fecru-2.7.8/bin/fisheyectl.sh run

Apr 19 13:53:44/242: svc:/application/fisheye:default: method contexts limited to root-accessible libraries

Apr 19 13:54:14/3: svc:/application/fisheye:default: Method or service exit timed out. Killing contract 93.

Apr 19 13:54:14/242: start method for svc:/application/fisheye:default exited with status 0.

Apr 19 13:54:14/242 ERROR: svc:/application/fisheye:default: Method /home/fisheye/fecru-2.7.8/bin/fisheyectl.sh run failed due to signal KILL.

Apr 19 13:54:14/242: Removing primary contract 93 for svc:/application/fisheye:default.

Apr 19 13:54:14/242: svc:/application/fisheye:default: Increasing fault count to 8

Apr 19 13:54:14/242: application/fisheye:default failed: transitioned to maintenance (see 'svcs -xv' for details)

Apr 19 13:54:14/5: Received event 16 for unknown contract id 93

Apr 19 13:54:14/9: Graph noting svc:/application/fisheye:default offline -> maintenance.

Apr 19 13:54:14/241: svc:/application/fisheye:default: trying to start instance

Apr 19 13:54:14/9: Propagating maintenance of svc:/application/fisheye:default.

Apr 19 13:54:14/241: svc:/application/fisheye:default: start_instance -> is maint/disabled

Apr 19 13:54:14/241: svc:/application/fisheye:default: trying to start instance

Apr 19 13:54:14/241: svc:/application/fisheye:default: start_instance -> is maint/disabled

Apr 19 13:54:14/241: svc:/application/fisheye:default: trying to start instance

Apr 19 13:54:14/241: svc:/application/fisheye:default: start_instance -> is maint/disabled

{code}

Any suggestions?

Thank you,

Steve

1 answer

Hi Sline.

I see you are doing this:

[ Apr 19 13:53:44 Executing start method ("/home/fisheye/fecru-2.7.8/bin/fisheyectl.sh run") ]

You probably may need this:

/home/fisheye/fecru-2.7.8/bin/fisheyectl.sh start

Cheers,
Douglas Fabretti
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

307 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you