Error while upgrading to 6.1 build 8985

Avatar

Avatar

rogert45520942

Avatar

rogert45520942

rogert45520942

22-08-2019

Hi,

We're currently working on upgrading our staging instance from 6.1 build 8724 to 6.1 build 8985. We've the following error while installing the package.

Ignoring resources file: /usr/local/neolane/nl6/bin/lang/nlserver.eng

SRV-810031 Bad version for the shared memory block 'NlServerContext6.0'. Current version is 105, expected version 106. Please restart all services (nlserver and web server)...

  Cleanup    : nlserver6-8724-0.x86_64     

Synchronization of resources is not done. Restart of postupgrade, even with '-force' or any other nlserver command doesn't work (same error).

Any idea ?

Thanks for your help.

Roger

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ananya_kuthiala

Employee

Avatar

ananya_kuthiala

Employee

ananya_kuthiala
Employee

06-09-2019

Hi rogert45520942

As stated in error message "Please restart all services (nlserver and web server)" You should stop all nlserver processes from running and all web servers (either apache, or IIS to kill attached nlsrvmod).

Issue comes from the fact that if web server is still running after a post-upgrade from a build prior to ACC-18.6.2.8949 to a build after ACC-18.6.2.8949 then nlsrvmod attached to web server will still hold a reference to 'old' shared memory (version 105). This will prevent nlserver (or web server attached nlsrvmod) from deleting it before recreating 'new' shared memory (version 106).

If stopping all nlserver processes and web server (i.e. apache or IIS to kill attached nlsrvmod) is not enough you might go through a clean restart.

/etc/init.d/nlserver* stop

/etc/init.d/apache2 stop

for i in `ipcs -s | awk '/www-data/ {print $2}'`; do (ipcrm -s $i); done

for i in `ipcs -m | awk '/www-data/ {print $2}'`; do (ipcrm shm $i); done

for i in `ipcs -m | awk '/neolane/ {print $2}'`; do (ipcrm shm $i); done

for i in `ipcs -s | awk '/neolane/ {print $2}'`; do (ipcrm -s $i); done

/etc/init.d/apache2 restart

/etc/init.d/nlserver* start

Regards,

Ananya Kuthiala

Answers (0)