We have a service that need to get started. Service name is tibco. But when this service starts this process fails because I think there is a lock on the NFS files at that time. But after the reboot if I start it manually it works fine.

---
Error I get is (but it works if I start after reboot):


2010-07-23 12:34:32.942 ERROR: Unable to open store file '/tibco/meta.db', file may be locked.
2010-07-23 12:34:32.942 ERROR: Unable to open store file '/tibco/sync-msgs.db', file may be locked.
2010-07-23 12:34:32.943 ERROR: Unable to open store file '/tibco/async-msgs.db', file may be locked.

----

I think it could be a init startup sequence problem of rc3.d. Only service I see that could cause problem is nfslock but that serivce is supposed to start before tibco. so I don't know what the issue is. Below is the list of all startup script. Could you please let me know what could be the issue?

# ls -ltr /etc/rc3.d/S*
lrwxrwxrwx 1 root root 19 Jan 22 2009 /etc/rc3.d/S95saslauthd -> ../init.d/saslauthd
lrwxrwxrwx 1 root root 15 Jan 22 2009 /etc/rc3.d/S90crond -> ../init.d/crond
lrwxrwxrwx 1 root root 18 Jan 22 2009 /etc/rc3.d/S80sendmail -> ../init.d/sendmail
lrwxrwxrwx 1 root root 16 Jan 22 2009 /etc/rc3.d/S56xinetd -> ../init.d/xinetd
lrwxrwxrwx 1 root root 14 Jan 22 2009 /etc/rc3.d/S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 15 Sep 12 2009 /etc/rc3.d/S99blreg -> ../init.d/blreg
lrwxrwxrwx 1 root root 18 Sep 12 2009 /etc/rc3.d/S04diskdump -> ../init.d/diskdump
lrwxrwxrwx 1 root root 17 Sep 12 2009 /etc/rc3.d/S14nfslock -> ../init.d/nfslock
lrwxrwxrwx 1 root root 17 Sep 12 2009 /etc/rc3.d/S13portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root 23 Dec 4 2009 /etc/rc3.d/S99CA-DSM -> /etc/rc.d/init.d/CA-DSM
lrwxrwxrwx 1 root root 15 Dec 4 2009 /etc/rc3.d/S50snmpd -> ../init.d/snmpd
lrwxrwxrwx 1 root root 14 Dec 4 2009 /etc/rc3.d/S27vasd -> ../init.d/vasd
lrwxrwxrwx 1 root root 13 Dec 4 2009 /etc/rc3.d/S26sec -> ../init.d/sec
lrwxrwxrwx 1 root root 16 Feb 11 10:51 /etc/rc3.d/S90splunk -> ../init.d/splunk
lrwxrwxrwx 1 root root 23 Apr 2 18:16 /etc/rc3.d/S16opsware-agent -> ../init.d/opsware-agent
lrwxrwxrwx 1 root root 15 Jun 7 12:10 /etc/rc3.d/S90jboss -> ../init.d/jboss
lrwxrwxrwx 1 root root 22 Jul 22 17:39 /etc/rc3.d/S02lvm2-monitor -> ../init.d/lvm2-monitor
lrwxrwxrwx 1 root root 16 Jul 22 17:39 /etc/rc3.d/S12syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 11 Jul 22 17:39 /etc/rc3.d/S99local -> ../rc.local
lrwxrwxrwx 1 root root 15 Jul 22 17:39 /etc/rc3.d/S25netfs -> ../init.d/netfs
lrwxrwxrwx 1 root root 17 Jul 22 17:39 /etc/rc3.d/S10network -> ../init.d/network
lrwxrwxrwx 1 root root 16 Jul 22 17:39 /etc/rc3.d/S28vasgpd -> ../init.d/vasgpd
lrwxrwxrwx 1 root root 15 Jul 23 12:02 /etc/rc3.d/S55tibco -> ../init.d/tibco