• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Miva Empresa Installation

J

jcoulter

Guest
I'm still having trouble getting Miva Empresa to work but I'm getting closer. Based other forums posts and the miva user list ... here is what I am now getting when I try to run a .MVC script:

"Configuration Error: mivaroot is not defined"

I've taken the below steps in the installation. I am not installing this server wide, but to only one domain (for now).

------------------------------
I have created the mivavm.conf file with the below contents.

mivaroot=/var/www/vhosts/domain.com/httpdocs
stdmodedatadir=/var/www/vhosts/domain.com/mivadata
cadir=/var/www/vhosts/domain.com/cgi-bin/certs
openssl=/usr/lib/libssl.so
openssl_crypto=/usr/lib/libcrypto.so

<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/crypto.so">
<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/system.so">
<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/file.so">
<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/math.so">
<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/string.so">
<BUILTIN-LIB LIBRARY = "/usr/local/miva/lib/builtins/time.so">

------------------------------
I have added the following to my /var/www/vhosts/domain.com/cgi-bin directory
/certs user.psacln 755
/lib user.psacln 755
libmivaconf.so user.psacln 644
mivavm user.psacln 755
mivavm.conf user.psacln 644

Note: I tried psaserv instead of psacln and received a "Internal Server Error" ... psacln at least allows mivavm to try to run

------------------------------
I have added the following to my /var/www/vhosts/domain.com/conf/httpd.include file:

AddType application/x-miva-compiled .mvc
Action application/x-miva-compiled /cgi-bin/mivavm

------------------------------
I have created the /var/www/vhosts/domain.com/mivadata directory with user.psaserv ownership and 750 permissions.

------------------------------
I have stopped and restarted Apache

------------------------------
Again, I am getting the following error: "mivaroot is not defined", which is defined in the mivavm.conf file. The system is apparently finding the Miva Engine just fine in order to generate the error message. Seems like the issue now is how to get it to recognize the mivavm.conf file.

I'm running Plesk 7.5.4 on Fedora Core Release 2 (Tettnang). Trying to install Empresa v5.

Now, after such a lenghtly post, I have one more word to add ...

HELP!!!

:)
 
Has anyone found a solution to this? I am having the same issue but I am using PSA 7.5.4 on a CentOS 4.3 server.

Does the apache psa uses allow environemtnal variables?

I have tried setting teh variables in both the vhost.conf file and in an .htaccess file with out success.

SetEnv MvCONFIG_LIBRARY /usr/local/miva/lib/config/env.so
SetEnv MvCONFIG_DIR_MIVA /home/httpd/vhosts/domain.com/httpdocs/
SetEnv MvCONFIG_DIR_DATA /home/httpd/vhosts/domain.com/mivadata
SetEnv MvCONFIG_DIR_BUILTIN /usr/local/miva/lib/builtins

Any suggestions would be great.

Thanks.
 
Back
Top