tags 675325 grave
thanks
On Thu, Jun 14, 2012 at 5:27 PM, Ruven <[email protected]> wrote:
>
> So your previous error is no longer happening?:
>
>> Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf:
>> Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a
>> module not included in the server configuration
>> Action 'configtest' failed.
>> The Apache error log may have more information.
>> failed!
I messed up the installation on my side. I was using
libapache2-mod-fastcgi on my test server instead of
libapache2-mod-fcgid. It appears that I cannot get iipsrv to work with
libapache2-mod-fcgid.
Here is my conf:
$ apt-cache policy libapache2-mod-fcgid
libapache2-mod-fcgid:
Installed: 1:2.3.6-1+squeeze1
Candidate: 1:2.3.6-1+squeeze1
Version table:
*** 1:2.3.6-1+squeeze1 0
500 http://mirror.ovh.net/debian/ squeeze/main amd64 Packages
500 http://security.debian.org/ squeeze/updates/main amd64 Packages
100 /var/lib/dpkg/status
And:
$ sudo /etc/init.d/apache2 restart
Syntax error on line 16 of /etc/apache2/mods-enabled/iipsrv.conf:
Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a
module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!
$ cat /etc/apache2/mods-enabled/iipsrv.conf
# Create a directory for the iipsrv binary
ScriptAlias /iipsrv/ "/usr/lib/iipimage-server/"
# Set the options on that directory
<Directory "/iipsrv/">
AllowOverride None
Options None
Order allow,deny
Allow from all
# Set the module handler
AddHandler fcgid-script .fcgi
</Directory>
# Set our environment variables for the IIP server
FcgidInitialEnv VERBOSITY "1"
FcgidInitialEnv LOGFILE "/var/log/iipsrv.log"
FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10"
FcgidInitialEnv JPEG_QUALITY "90"
FcgidInitialEnv MAX_CVT "5000"
FcgidInitialEnv MEMCACHED_SERVERS "localhost"
# Define the idle timeout as unlimited and the number of
# processes we want
FcgidIdleTimeout 0
FcgidMaxClassProcessesPerClass 1
Do you see anything wrong ?
Thanks
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]