I've been having trouble upgrading our self-hosted nginx/centOS7/FastCGI site from mivavm 5.33 to 5.34. I followed the same process that usually works for me when doing a vm update, but I'm getting the error "Configuration Error: Error loading configuration library: Unable to locate/load libmivaconfig.so: Please contact the server administrator: webmaster@localhost"
I also tried loading diagtool.mvc and a simple hello world mvc, and both give the same error. The libmivacofig.so file is copied from the 5.34 tar.gz file that I downloaded from Miva: https://www.miva.com/support/downloads
My upgrade process is:
FWIW, here is my old thread on getting this server set up a while ago, on engine 5.31 at the time: https://www.miva.com/forums/forum/on...iguration-file
Anyone have any idea what the trouble might be?
I also tried loading diagtool.mvc and a simple hello world mvc, and both give the same error. The libmivacofig.so file is copied from the 5.34 tar.gz file that I downloaded from Miva: https://www.miva.com/support/downloads
My upgrade process is:
- get the CentOS 7 FastCGI file: https://www.miva.com/miva-software/e...os7_x64.tar.gz
- unpack in cgi-bin
- copy the new mivavm to cgi-bin (do not overwrite current file yet):
- cp ./mivavm-v5.34/bin/mivavm_fastcgi-v5.34 ./mivavm-v5.34.vm
- copy the 3x.so file to cgi-bin as the new libmivaconfig.so (do not overwrite current file yet):
- cp ./mivavm-v5.34/lib/config/3x.so ./libmivaconfig.so-v5.34
- make a copy of the current mivavm.conf file (we'll edit this copy so it reflects the new vm):
- cp mivavm.conf mivavm.conf.v5.34
- now edit mivavm.conf.v5.34 so all the references to 5.33 are changed to 5.34
- copy permissions from current files/folders to new ones:
- chmod -R --reference=mivavm-v5.33 mivavm-v5.34
- chmod --reference=mivavm mivavm-v5.34.vm
- chmod --reference=./libmivaconfig.so ./libmivaconfig.so-v5.34
- chmod --reference=./mivavm.conf ./mivavm.conf.v5.34
- backup all current files
- replace current files with new ones:
- mv mivavm.conf.v5.34 mivavm.conf
- mv libmivaconfig.so-v5.34 libmivaconfig.so
- mv mivavm-v5.34.vm mivavm
- kill the current mivavm process and restart it:
- sudo kill -9 $(pidof mivavm)
- sudo /sbin/runuser -l content -c '/usr/bin/spawn-fcgi -p 8005 -n -- /var/www/sites/example.com/cgi-bin/mivavm &'
FWIW, here is my old thread on getting this server set up a while ago, on engine 5.31 at the time: https://www.miva.com/forums/forum/on...iguration-file
Anyone have any idea what the trouble might be?
Comment