After iipimage package installation with apt-get, I couldn't fine none of those .conf files
I understand we are creating a link to /etc/iipimage/iipimage-lighttpd.conf
But the problem is that file does not exist, so the link points to nothing.
Not even the folder "/etc/iipimage" exists.
So, when I execute "sudo lighty-enable-mod iipimage", I get this error:
can't read /etc/lighttpd/conf-available/99-iipimage.conf: No such file or directory
Thanks
Last edit: Anonymous 2015-09-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, this is out of date. The iipimage-server package should have automatically installed the lighttpd config files at /etc/lighttpd/conf-available/20-iipsrv.conf. So, remove the link you created at /etc/lighttpd/conf-available/99-iipimage.conf and simply restart lighttpd and it should work. You'll see the iipsrv info page at http://your.server/iipsrv/iipsrv.fcgi
I think I had already tried those instructions also. Same result
Is the apt-get install procedure valid for both debian 8 and ubuntu 14?
Does it matter if iipimage is installed before or after lighttpd?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you've installed lighttpd after, then the iipimage package would not have detected it and would not have installed the config file, so you should reinstall the iipimage package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Debian and Ubuntu, the path is /iipsrv/iipsrv.fcgi and not /fcgi-bin/iipsrv.fcgi
If that still doesn't work, I'll extract the iipsrv.conf file for you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, Ruven, ¿what do you think? Is this missing .conf file the only odd thing?
I am surprised that nobody else has faced this problem before in Debian/Ubuntu, since the installation steps are really simple.
Looking to your blog post, the iipimage-server package was released for Ubuntu 12.10 / Debian 7
Maybe it is not compatible with new Debian/Ubuntu versions?
I am trying it on Ubuntu 14.04 / Debian 8.2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is with me unfortunately exactly the same. I have several times everything as in the obsolete documentation installed. Unfortunately without success. iipsrv does not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It should install automatically, but if not, try creating the 20-iipsrv.conf file yourself
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-02-09
This URL is no longer valid.
Here is what you need to put in your 20-iipsrv.conf file :
# Lighttpd configuration of the iipimage-server package.## https://iipimage.sourceforge.io/documentation/server/# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1033661.html# server.modules += ( "mod_fastcgi" )fastcgi.server+=("/fcgi-bin/iipsrv.fcgi"=>(("host"=>"127.0.0.1","port"=>9000,"check-local"=>"disable","min-procs"=>1,"max-procs"=>1,"bin-path"=>"/usr/lib/iipimage-server/iipsrv.fcgi",# IIPImage server parameters.# See iipimage manpage for more details."bin-environment"=>("LOGFILE"=>"/var/log/iipsrv.log","VERBOSITY"=>"1","JPEG_QUALITY"=>"90","MAX_IMAGE_CACHE_SIZE"=>"10","MAX_CVT"=>"5000","MEMCACHED_SERVERS"=>"localhost","CORS"=>"*",# Changing this parameter requires a reboot"FILESYSTEM_PREFIX"=>"/srv/iipsrv/"))))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I am trying to follow installation and configuration instructions with Lighttpd on a minimal Debian 8.2 server.
http://iipimage.sourceforge.net/documentation/server/
There it says:
The problem is on second line:
After iipimage package installation with apt-get, I couldn't fine none of those .conf files
I understand we are creating a link to /etc/iipimage/iipimage-lighttpd.conf
But the problem is that file does not exist, so the link points to nothing.
Not even the folder "/etc/iipimage" exists.
So, when I execute "sudo lighty-enable-mod iipimage", I get this error:
can't read /etc/lighttpd/conf-available/99-iipimage.conf: No such file or directory
Thanks
Last edit: Anonymous 2015-09-15
Sorry, this is out of date. The iipimage-server package should have automatically installed the lighttpd config files at /etc/lighttpd/conf-available/20-iipsrv.conf. So, remove the link you created at /etc/lighttpd/conf-available/99-iipimage.conf and simply restart lighttpd and it should work. You'll see the iipsrv info page at http://your.server/iipsrv/iipsrv.fcgi
For more details, see this post: http://iipimage.sourceforge.net/2012/10/iipimage-now-an-official-ubuntu-package/
I think I had already tried those instructions also. Same result
Is the apt-get install procedure valid for both debian 8 and ubuntu 14?
Does it matter if iipimage is installed before or after lighttpd?
If you've installed lighttpd after, then the iipimage package would not have detected it and would not have installed the config file, so you should reinstall the iipimage package.
OK. I tried again in this order, on Debian GNU/Linux 8.2 (jessie):
sudo apt-get remove iipimage-server
sudo apt-get remove lighttpd
sudo apt-get autoremove
(to remove some apache2 related stuff installed by iipimage-server, and start from zero again)
sudo apt-get install lighttpd
sudo apt-get install iipimage-server
lynx http://localhost
(that works, lighttpd welcome page)
lynx http://localhost/fcgi-bin/iipsrv.fcgi
(that returns "404 - Not Found")
ls -l /etc/lighttpd/conf-available
(there is not "20-iipsrv.conf" in the list of files)
Is it possible to download that file from somewhere, just to try if that makes things work?
Thanks a lot
Last edit: DGSL 2015-09-15
On Debian and Ubuntu, the path is /iipsrv/iipsrv.fcgi and not /fcgi-bin/iipsrv.fcgi
If that still doesn't work, I'll extract the iipsrv.conf file for you
So, Ruven, ¿what do you think? Is this missing .conf file the only odd thing?
I am surprised that nobody else has faced this problem before in Debian/Ubuntu, since the installation steps are really simple.
Looking to your blog post, the iipimage-server package was released for Ubuntu 12.10 / Debian 7
Maybe it is not compatible with new Debian/Ubuntu versions?
I am trying it on Ubuntu 14.04 / Debian 8.2
Same result now under Debian 7.0
No errors reported during installation.
iipimage server simply does not work
sorry, my mistake, I had tried both paths but posted the wrong one.
404 as well at http://localhost/iipsrv/iipsrv.fcgi
Last edit: DGSL 2015-09-15
I am making my tests on Virtualbox machines.
I have just repeated the whole process with a fresh Ubuntu 14.04.3 LTS
Exactly same results
dgsl@ubuntu:~$ history
...
11 sudo apt-get install lynx
13 sudo apt-get install lighttpd
14 sudo apt-get install iipimage-server
15 lynx localhost
16 lynx localhost/iipsrv/iipsrv.fcgi
error 404 in last step
dgsl@ubuntu:~$ ls -l /etc/lighttpd/conf-available
total 88
-rw-r--r-- 1 root root 839 Jan 28 2014 05-auth.conf
-rw-r--r-- 1 root root 91 Jan 28 2014 10-accesslog.conf
-rw-r--r-- 1 root root 343 Jan 28 2014 10-cgi.conf
-rw-r--r-- 1 root root 63 Jan 28 2014 10-dir-listing.conf
-rw-r--r-- 1 root root 36 Jan 28 2014 10-evasive.conf
-rw-r--r-- 1 root root 128 Jan 28 2014 10-evhost.conf
-rw-r--r-- 1 root root 104 Jan 28 2014 10-expire.conf
-rw-r--r-- 1 root root 177 Jan 28 2014 10-fastcgi.conf
-rw-r--r-- 1 root root 42 Jan 28 2014 10-flv-streaming.conf
-rw-r--r-- 1 root root 82 Jan 28 2014 10-no-www.conf
-rw-r--r-- 1 root root 849 Jan 28 2014 10-proxy.conf
-rw-r--r-- 1 root root 253 Jan 28 2014 10-rrdtool.conf
-rw-r--r-- 1 root root 398 Jan 28 2014 10-simple-vhost.conf
-rw-r--r-- 1 root root 99 Jan 28 2014 10-ssi.conf
-rw-r--r-- 1 root root 269 Jan 28 2014 10-ssl.conf
-rw-r--r-- 1 root root 460 Jan 28 2014 10-status.conf
-rw-r--r-- 1 root root 450 Jan 28 2014 10-userdir.conf
-rw-r--r-- 1 root root 38 Jan 28 2014 10-usertrack.conf
-rw-r--r-- 1 root root 168 Jan 28 2014 11-extforward.conf
-rw-r--r-- 1 root root 575 Jan 28 2014 15-fastcgi-php.conf
-rw-r--r-- 1 root root 508 Jan 28 2014 90-debian-doc.conf
-rw-r--r-- 1 root root 843 Jan 28 2014 README
(again, there is not "20-iipsrv.conf" in the list of files)
Last edit: DGSL 2015-09-16
Last edit: DGSL 2015-09-18
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
It is with me unfortunately exactly the same. I have several times everything as in the obsolete documentation installed. Unfortunately without success. iipsrv does not work.
You'll need to give some more details to understand what the problem is ...
I have the exact same problem the debian packages simply does not install a config file! What can we do?
You can find the contents of the 20-iipsrv.conf file here directly from the Debian package repository: https://anonscm.debian.org/viewvc/collab-maint/deb-maint/iipimage/trunk/debian/20-iipsrv.conf?view=markup
It should install automatically, but if not, try creating the 20-iipsrv.conf file yourself
This URL is no longer valid.
Here is what you need to put in your 20-iipsrv.conf file :
Look likes the new location for the Debian repository is here: https://salsa.debian.org/multimedia-team/iipimage/-/blob/master/debian/20-iipsrv.conf
Ah, that is of great help, thank you!