Libapache2-Mod-Fcgid Hatası
-
http://iipimage.sourceforge.net/documentation/server/
IIPserver' ı GCE' deki debian' a kurmaya çalışıyorum.
Local' de çalışırken, windows' a kurmuştum.
Yaptıklarım;
mod_fcgid indirmiştim, apache' den.
httpd.conf dosyasına LoadModule diye eklemiştim.
IIPImageServer' ı indirmiştim.
conf/extra dosyasına,
# Settings for user home directories
#
# Required module: mod_fcgid
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin/"
# Set the options on that directory
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin">
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
DefaultInitEnv VERBOSITY "0"
DefaultInitEnv LOGFILE "c:/windows/temp/IIPImageServer.log"
DefaultInitEnv MAX_IMAGE_CACHE_SIZE "10"
DefaultInitEnv JPEG_QUALITY "50"
DefaultInitEnv MAX_CVT "3000"
# Define the idle timeout as unlimited and the number of processes we want
IdleTimeout -1yapıştırmıştım.
Son olarak httpd.conf dosyasına;
<IfModule fcgid_module>
# IIPImageServer configuration directory
Include conf/extra/httpd-iipimage.conf
</IfModule>bunu ekleyince olmuştu.
Bunları debian' da nasıl yapabilirim ?
Yukarıda verdiğim linkte anlatıyor ama dediklerini yapınca başlıktaki hatayı alıyorum.
FileZila ile etc/apache2/apache2.conf dosyasını editlemeye çalışınca da permission denied yiyorum.
Çıkamadım işin içinden, yardımcı olabilecek varsa sevinirim.
-
root@my-first-instance:/home/ozgununlu91# apt-get install apache2 libapache2-mod-fcgid php5-cgi Reading package lists... Done Building dependency tree Reading state information... Done apache2 is already the newest version. libapache2-mod-fcgid is already the newest version. php5-cgi is already the newest version. php5-cgi set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up libapache2-mod-fcgid (1:2.3.6-1.2+deb7u1) ... ERROR: Module fcgid does not exist! dpkg: error processing libapache2-mod-fcgid (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: libapache2-mod-fcgid E: Sub-process /usr/bin/dpkg returned an error code (1)
Bunda bile yiyorum, fcgid yükliyim derken ?
-
O editlemeleri ftp user i ile yapamazsın ssh tan
bağlanarak root user i ile yapman lazım nano editörünü kullarak kolayca yaparsın eğer nano
yazınca konsolda editör acılmıyor ise
apt-get install nano komutuyla kurarsın. Sonra editlemek istediğin dosyayı nano ile cağırıcaksın
ör. Nano /etc/apache2/apache.conf gibi
-
DesertSun bunu yazdı
O editlemeleri ftp user i ile yapamazsın ssh tan
bağlanarak root user i ile yapman lazım nano editörünü kullarak kolayca yaparsın eğer nano
yazınca konsolda editör acılmıyor ise
apt-get install nano komutuyla kurarsın. Sonra editlemek istediğin dosyayı nano ile cağırıcaksın
ör. Nano /etc/apache2/apache.conf gibi
Hocam bi de vim diye birsey var. Hangisi iyidir ? Bir de burdaki apache2.conf dosyası ile Windows daki httpd.conf dosyasi cok farkli. Bu modulleri otomatik yukluyor sanirim ama ben de olmuyor. Komple makineyi sildim, yeni kurucam sifirdan
-
nano, vim dışında pico kullanabilirsin ben pico kullanıyorum.