Re: What is the latest nanny version number?
Edward Croft <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Well, I switched to using the /etc/init.d/postgresql stop/start and that is working and failing over properly. I will look at the other scripts to see why they aren't returning the proper value. I put an exit 0 at the end to force the issue, but that didn't seem to work. I haven't programmed since my COBOL days, so forgive me if I seem new at this. This is what the script looks like for startdb_fos. cd /var/lib/pgsql/data su - postgres -c "/var/lib/pgsql/data/start_db" exit 0 On Tue, 2003-04-29 at 11:49, Sébastien Bonnet wrote: > > This is what I get when I shutdown pulse on the active server. Why > > is it returning error code 1 on the shutdown script? > > Because /scripts/stopdb_fos did not exit with 0 :)