[FreeBSD] daemontools problemi

2005-08-07 Başlik Ser As
daemontools kurarken asagidaki hata mesajini aldim.
Problem ne olabilir?
Ne yapmaliyim?

[EMAIL PROTECTED] daemontools-0.76]# package/installLinking ./src/* into ./compile...Compiling everything in ./compile...sh find-systype.sh  systyperm -f compilesh print-cc.sh  compile
chmod 555 compile./compile byte_chr.c./compile byte_copy.c./compile byte_cr.c./compile byte_diff.c./compile byte_rchr.c./compile fmt_uint.c./compile fmt_uint0.c./compile fmt_ulong.c
rm -f makelibsh print-ar.sh  makelibchmod 555 makelib./compile scan_ulong.c./compile str_chr.c./compile str_diff.c./compile str_len.c./compile str_start.c./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \
byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \str_diff.o str_len.o str_start.orm -f choosecat warn-auto.sh choose.sh \| sed s}HOME}`head -1 home`}g \ choose
chmod 555 choose./choose c trydrent direntry.h1 direntry.h2  direntry.h./compile envdir.crm -f loadsh print-ld.sh  loadchmod 555 load./compile alloc.c./compile alloc_re.c./compile 
buffer.c./compile buffer_0.c./compile buffer_1.c./compile buffer_2.c./compile buffer_get.c./compile buffer_put.c./compile buffer_read.c./compile buffer_write.c./compile coe.c./compile env.c
./compile error.c./compile error_str.c./compile fd_copy.c./compile fd_move.c./choose cl trymkffo hasmkffo.h1 hasmkffo.h2  hasmkffo.h./compile fifo.c./choose cl tryflock hasflock.h1 hasflock.h2
  hasflock.h./compile lock_ex.c./compile lock_exnb.c./compile ndelay_off.c./compile ndelay_on.c./compile open_append.c./compile open_read.c./compile open_trunc.c./compile open_write.c
./compile openreadclose.c./compile pathexec_env.c./compile pathexec_run.cpathexec_run.c: In function `pathexec_run':pathexec_run.c:18: warning: implicit declaration of function `execve'./compile chkshsgr.c
chkshsgr.c: In function `main':chkshsgr.c:10: warning: passing arg 2 of `getgroups' from incompatible pointer typechkshsgr.c:10: warning: implicit declaration of function `setgroups'./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 )
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2  hasshsgr.h./compile prot.cprot.c: In function `prot_gid':prot.c:13: warning: implicit declaration of function `setgroups'prot.c:15: warning: implicit declaration of function `setgid'
prot.c: In function `prot_uid':prot.c:20: warning: implicit declaration of function `setuid'./compile readclose.c./compile seek_set.cseek_set.c: In function `seek_set':seek_set.c:9: warning: implicit declaration of function `lseek'
./compile sgetopt.c./compile sig.c./choose cl trysgprm hassgprm.h1 hassgprm.h2  hassgprm.h./compile sig_block.c./choose cl trysgact hassgact.h1 hassgact.h2  hassgact.h./compile sig_catch.c
./compile sig_pause.c./compile stralloc_cat.c./compile stralloc_catb.c./compile stralloc_cats.c./compile stralloc_eady.c./compile stralloc_opyb.c./compile stralloc_opys.c./compile stralloc_pend.c
./compile strerr_die.c./compile strerr_sys.c./compile subgetopt.c./choose cl trywaitp haswaitp.h1 haswaitp.h2  haswaitp.h./compile wait_nohang.c./compile wait_pid.c./makelib unix.a alloc.o alloc_re.o 
buffer.o buffer_0.o buffer_1.o \buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \
open_trunc.o open_write.o openreadclose.o pathexec_env.o \pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \
stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \wait_pid.o./load envdir unix.a byte.a envdir.o(.text+0xca): In function `main':: undefined reference to `errno'envdir.o(.text+0x1ea): In function `main':
: undefined reference to `errno'unix.a(openreadclose.o)(.text+0x3b): In function `openreadclose':: undefined reference to `errno'unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run':: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x13a): In function `pathexec_run':: undefined reference to `errno'unix.a(readclose.o)(.text+0x42): more undefined references to `errno' followcollect2: ld returned 1 exit status
make: *** [envdir] Error 1Copying commands into ./command...cp: cannot stat `compile/svscan': No such file or directory


Re: [FreeBSD] apache squirrelmail https

2005-08-07 Başlik Dogukan Hadi
  squirrelmail nasıl https ile baslatabılırım redirect denedım ancak 
olmadı.apachede ssl var ve calısıyor 

tesekkurler ıyı calısmalar


Turmail.com Ucretsiz Eposta Servisi : http://www.turmail.com
Gelismis Spam ve Virus Filtreleme Servisleri
100 Megabyte E-posta kotasi

-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




Re: [FreeBSD] apache squirrelmail https

2005-08-07 Başlik Afsin Taskiran
On Sun, 2005-08-07 at 17:54 +0300, Dogukan Hadi wrote:
   squirrelmail nasıl https ile baslatabılırım redirect denedım ancak 
 olmadı.apachede ssl var ve calısıyor 
 

Selamlar;

redirect den kastettiginiz tam olarak nedir ? 

Ornegin; mail.benimalan_adi.com icin apache de ssl portunuzu ( -p 443 )
dinleyecek sekilde yapilandirirsaniz problem olmamasi gerekiyor. Siz
nasil bir yapilandirma yaptiniz, hangi adimda bir sorunla
karsilastiniz ? 

apache2 icin;

NameVirtualHost *:443
VirtualHost *:443
ServerName benimalan_adi.com
Serveralias mail.benimalan_adi.com
DocumentRoot /var/www/benimalan_adi.com/htdocs
ErrorLog /var/log/apache2/benimalan_adi.com-error
CustomLog /var/log/apache2/benimalan_adi.com-access combined
SSLEngine On
SSLCertificateFile 
/etc/apache2/conf/ssl/benimalan_adi.com/benimalan_adi.com.cert
SSLCertificateKeyFile 
/etc/apache2/conf/ssl/benimalan_adi.com/benimalan_adi.com.key
/VirtualHost

olmasi gerekir.


 tesekkurler ıyı calısmalar
 

Selamlar, iyi calismalar

 

Afşin Taşkıran


-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




[FreeBSD] Apache 1.3.x ile bandwidth sinirlamasi

2005-08-07 Başlik Hamza Eraldi
Merhabalar.
Sunucumda host ettigim web siteleri icin aylik bant genisligi
sinirlamalarini belirleyebilecegim bir apache modulu veya bir arac
mevcut mu?
Ornegin: a.com aylik 10 gb, b.com ise aylik 20 gb veri transferine sahip
olacak..
FreeBSD 5.3 kullaniyorum ve bu konu ile ilgili portlardan yalnizca su
modulu bulabildim:
www/mod_bandwidth 
Baya eski oldugu icin (en guncel surumu 2003 e ait) hatalar
verir,calismaz diye, denemeden once sizlere danisayim dedim.
Saygilar.

-- 
http://www.fastmail.fm - mmm... Fastmail...


-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




Re: [FreeBSD] Apache 1.3.x ile bandwidth sinirlamasi

2005-08-07 Başlik Afsin Taskiran
On Sun, 2005-08-07 at 18:50 +0300, Hamza Eraldi wrote:
 Merhabalar.

Merhaba;

 Sunucumda host ettigim web siteleri icin aylik bant genisligi
 sinirlamalarini belirleyebilecegim bir apache modulu veya bir arac
 mevcut mu?

mod_bandwith modulu mevcut dediginiz gibi. 

http://www.ivn.cl/apache

 Ornegin: a.com aylik 10 gb, b.com ise aylik 20 gb veri transferine sahip
 olacak..
 FreeBSD 5.3 kullaniyorum ve bu konu ile ilgili portlardan yalnizca su
 modulu bulabildim:
 www/mod_bandwidth 
 Baya eski oldugu icin (en guncel surumu 2003 e ait) hatalar
 verir,calismaz diye, denemeden once sizlere danisayim dedim.

port lara bakma imkanim yok su anda ama web sitesinde 28 Subat 2005 de
son surumunun ciktigi gorunuyor.

http://www.ivn.cl/apache/bw_mod-0.6.txt

Portlarinizi bir guncellemeyi deneyin. mod_bandwith kullanisli bir
modul . Kendi dokumaninda da ornekleri ve modul parametreleri mevcut.


 Saygilar.
 

Selamlar, iyi calismalar

Afşin Taşkıran


-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




[FreeBSD] Compat Linux Problemi

2005-08-07 Başlik Happy Z
Merhaba,

1) Linux destegi vermek icin kerneli options  COMPAT_LINUX ile derledim.
Sonuc:
kldstat -v | grep linux
103 linuxelf
106 linuxaout

2) Ayrıca linux base portunu da agactan kurdum: pkg_info | grep linux

linux-expat-1.95.5_3 Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.1_3 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.4.2.08_2 Sun Java Development Kit 1.4 for Linux
linux_base-8-8.0_6  Base set of packages needed in Linux mode (only for 
i386)

3) Son olarak rc.conf'a linux_enable=YES ekledim.

Şimdi gelelim sorunuma:
PHP Accelerator adinda bir program var ve php scriptleri nerden baksaniz 10 
kat daha hizli calistiriyor.
(Parse  Compile işlemlerini shared memory de tuttugundan hızlı çalışıyor.)

php.ini'ye
zend_extension = /usr/compat/linux/lib/php_accelerator_1.3.3r2.so satirini 
ekledim ve apacheyi yeniden
calistirdigimda su hatayi aliyorum.
Failed loading /usr/compat/linux/lib/php_accelerator_1.3.3r2.so:  Shared 
object libc.so.6 not found, required by php_accelerator_1.3.3r2.so
Ancak libc zaten var:  ls  /usr/compat/linux/lib/ | grep libc
libc-2.3.2.so
libc.so.6
libcrypt-2.3.2.so
libcrypt.so.1

Ben bu isin icinden cikamadim. Daha ne yapmam gerekiyor?
uname -v
FreeBSD 4.11-STABLE #0: Tue Aug  2 19:37:21 EEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ETHEM


Re: [FreeBSD] apache squirrelmail https

2005-08-07 Başlik Huzeyfe Onal
merhaba,
apache'nin redirect ozelligini mi denediniz?
Redirect / https://abcx
gibi bir tanim isinizi gormeli. Bunun haricinde html, php veya benzeri silleri kullanarakta yonlendirme yapabilirsiniz.
meta http-equiv=refresh content=0;URL="" href="https://sunucu" rel="nofollow">https://sunucu 

php ile;
?phpheader(Location: https://sunucu/);? 

gibi.
On 8/7/05, Dogukan Hadi [EMAIL PROTECTED] wrote:
squirrelmail nasıl https ile baslatabılırım redirect denedım ancak olmadı.apachede ssl var ve calısıyor
tesekkurler ıyı calısmalarTurmail.com Ucretsiz Eposta Servisi : http://www.turmail.com
Gelismis Spam ve Virus Filtreleme Servisleri100 Megabyte E-posta kotasi-Cikmak icin, e-mail: 
[EMAIL PROTECTED]Liste arsivi: http://lists.enderunix.orgTurkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php
-- Huzeyfe ÖNAL---First Turkish Qmail book is out! Go check it.Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti.
http://www.acikakademi.com/catalog/qmail/


Re: [FreeBSD] qmail aliaslar

2005-08-07 Başlik Dogukan Hadi
  tesekkur edıyorum phpdeki locatıon header tanımında https ile oldu.bır de 
qmail ve alislar ıle llgılı bır soru sormak ıstıyorum.qmail + vpopmail kurulu 
bır sıstemde vpopmail ile root kullanıcısı olusturmadım ama ~alias dizini icnde 
.qmail-root dosyası olusturup ıcıne bır adres yazdım gereklı ızınlerıde 
verdım.bundan sonra [EMAIL PROTECTED] coma mail atııgımda hata mesajı gerı 
donuyor ve boyle bır kullanıcı yok hatası gelıyor.olması gereken .qmail-root 
ıcıne yazdıgım adrese mesajın gıtmesı gerekmıyormuydu 

 tesekkurler ıyı calısmalar


Turmail.com Ucretsiz Eposta Servisi : http://www.turmail.com
Gelismis Spam ve Virus Filtreleme Servisleri
100 Megabyte E-posta kotasi

-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php