Subject | Re: Problems with backup via service_mgr |
---|---|
Author | Adam |
Post date | 2008-08-21T12:45:38Z |
--- In firebird-support@yahoogroups.com, "Vlad Khorsun" <hvlad@...> wrote:
it works again, but not on the server. The only unusual factors in my
laptops install is that the registry key is deleted and Firebird is
running as an application (because I switch between 1.5 and 2.1). The
server is a vanilla classic install.
I have no problems connecting to the database from our app or via
flamerobin etc, it is just the services API that doesn't seem to work
and only on that particular server.
that corrupt then. The server is a standard classic service install,
they haven't even changed anything inside firebird.conf.
I will install Filemon tomorrow and take a look at what it is trying
to execute. I don't believe there is any virus scanners on the box
(didn't see any), but I will check this as well. I will also do a
binary comparison on gbak, or possibly schedule an upgrade to 1.5.5
and see if that helps.
Thanks
Adam
>blocked
> > I am not used to using gbak as a wrapper around services API. When I
> > remove the host name, it doesn't work on my laptop either:
> >
> > gbak -b -se localhost:service_mgr myalias c:\test.fbk -user sysdba
> > -password masterke -v -g
> >
> > gbak: ERROR: unavailable database
> > gbak: Exiting before completion due to errors
>
> It seems Firebird is not running on localhost. Or some software
> it from run (NOD32 for example)It is certainly running on my laptop. As I said, include localhost and
it works again, but not on the server. The only unusual factors in my
laptops install is that the registry key is deleted and Firebird is
running as an application (because I switch between 1.5 and 2.1). The
server is a vanilla classic install.
I have no problems connecting to the database from our app or via
flamerobin etc, it is just the services API that doesn't seem to work
and only on that particular server.
>engine
> > (I presumed this to be because I am using Classic server, prepending
> > localhost works on my laptop, but not on the server).
> >
> > I now have a remote desktop connection to the server, and it is
> > throwing the following error
> >
> > ---
> > C:\Program Files\Firebird\Firebird_1_5\bin>gbak -b -se
> > localhost:service_mgr myalias c:\test.fbk -user sysdba -password
> > masterke -v -g
> > gbak: ERROR: operating system directive CreateProcess failed
> > gbak: ERROR: unknown Win32 error 193
> > gbak: Exiting before completion due to errors
> > ---
>
> MSDN :
> ERROR_BAD_EXE_FORMAT (193)
> is not a valid Win32 application
>
> In FB 1.5 Services API just run corresponding utilities by the
> process. It seems your copy of gbak.exe is corrupted (or server triedYet when I run gbak without the -se tag it works fine? It can't be
> to run it from another location where it is not exists).
>
that corrupt then. The server is a standard classic service install,
they haven't even changed anything inside firebird.conf.
I will install Filemon tomorrow and take a look at what it is trying
to execute. I don't believe there is any virus scanners on the box
(didn't see any), but I will check this as well. I will also do a
binary comparison on gbak, or possibly schedule an upgrade to 1.5.5
and see if that helps.
Thanks
Adam