Valeu pela força Welkson, atualizei pelo ports todas as minhas libs configuradas e funcionou....
Grande abraço a todos... Patryck 2009/6/29 Welkson Renny de Medeiros <welk...@focusautomacao.com.br> > Cara, > > Não fiz nada. > > Pra ser sincero só conferi algumas bibliotecas: > [r...@intranet:/usr/local/www/cgi-bin/dh] # ldd dh > dh: > /lib/libNoVersion.so.1 (0x2817a000) > libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 > (0x28180000) > libdl.so.2 => /lib/libdl.so.2 (0x281d3000) > libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x281d7000) > /lib/ld-linux.so.2 (0x2815f000) > > E meu FreeBSD tá com emulação do Linux ativa: > > [r...@intranet:/usr/local/www/cgi-bin/dh] # cat /etc/rc.conf | grep linux > # compatibilidade com linux > linux_enable="YES" > > [r...@intranet:/usr/local/www/cgi-bin/dh] # kldstat | grep linux > 4 1 0xc8c5b000 22000 linux.ko > > E pra não perder muito tempo (eu sei que é errado), dei um chmod 777 > recursivo na pasta do dh. > > Welkson Renny > > > > Patryck Ramos Martins escreveu: > > OK Welkson, você adicionou algo que não tinha no manual do datasus para > > fazer funcionar ou fez mágica? > > > > Patryck > > > > 2009/6/29 Welkson Renny de Medeiros <welk...@focusautomacao.com.br> > > > > > >> Aqui rodou normal: > >> > >> http://intranet.focusautomacao.com.br/cgi-bin/dh/dh?demo/pop.def > >> > >> Welkson > >> > >> > >> > >> Welkson Renny de Medeiros escreveu: > >> > >>> Alessandro de Souza Rocha escreveu: > >>> > >>> > >> > http://forum.datasus.gov.br/viewtopic.php?f=75&t=4471&p=51789&hilit=FreeBSD#p51789 > >> > >>>> TabNet no FreeBSD > >>>> Pergunta: > >>>> Mensagempor etherlinkii » Sex Set 22, 2006 8:56 pm > >>>> Alguem poderia me da uma ajuda se ja conseguiram instalar o TabNet no > >>>> FreeBSD 6.1. > >>>> :cry: > >>>> Resposta: > >>>> > >>>> Re: TabNet no FreeBSD > >>>> > >>>> Mensagempor Jacques Levin » Qui Mar 13, 2008 5:43 pm > >>>> Prezado etherlinkii, > >>>> > >>>> O Tabnet, como está descrito em sua documentação, tem versão em > >>>> Windows e Linux. Várias instalações rodam a versão Linux (veja em > >>>> Usuários). > >>>> > >>>> Não o testamos em FreeBSD. > >>>> > >>>> Atenciosamente > >>>> Jacques Levin. > >>>> Atenciosamente > >>>> Jacques Levin > >>>> MS/SE/Datasus/Gedinf > >>>> > >>>> > >>>> 2009/6/29 Alessandro de Souza Rocha <etherlin...@gmail.com>: > >>>> > >>>> > >>>> > >>>>> Ola, amigo ja fiz esta mesma pergunta no datasus.gov.br/forum ele me > >>>>> informaram que so testaram no linux e nao unix. > >>>>> entao pode continuar com linux mesmo. > >>>>> > >>>>> > >>>>> 2009/6/29 Patryck Ramos Martins <patryc...@gmail.com>: > >>>>> > >>>>> > >>>>> > >>>>>> Olá a todos, trabalho com alguns aplicativos do ministério da saúde > e > >>>>>> > >> tenho > >> > >>>>>> que colocar o TabNET para funcionar no BSD -- Apache -- > >>>>>> > >>>>>> Além de permissoes em pastas, tive que adicionar algumas linhas no > >>>>>> httpd.conf do Apache, tais como: > >>>>>> > >>>>>> AddType application/vnd.datasus.tabulacao .tabAddType > >>>>>> text/csv .csv > >>>>>> AddType application/octet-stream .dbf > >>>>>> AddType text/plain .def > >>>>>> AddType text/plain .cnv > >>>>>> > >>>>>> Apesar de toda a configuração realizada tenho os seguintes erros: > >>>>>> Internal Server Error > >>>>>> > >>>>>> The server encountered an internal error or misconfiguration and was > >>>>>> > >> unable > >> > >>>>>> to complete your request. > >>>>>> > >>>>>> Please contact the server administrator, and inform them of the time > >>>>>> > >> the > >> > >>>>>> error occurred, and anything you might have done that may have > caused > >>>>>> > >> the > >> > >>>>>> error. > >>>>>> > >>>>>> More information about this error may be available in the server > error > >>>>>> > >> log. > >> > >>>>>> ------------------------------ > >>>>>> > >>>>>> No /var/log do apache tem o seguinte:[Fri Jun 26 19:57:00 2009] > >>>>>> > >> [error] > >> > >>>>>> [client 172.22.34.157] (8)Exec format error: exec of > >>>>>> '/usr/local/www/cgi-bin/dh' failed > >>>>>> [Fri Jun 26 19:57:00 2009] [error] [client xx.xx.xx.xx] Premature > end > >>>>>> > >> of > >> > >>>>>> script headers: dh > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec > format > >>>>>> error: exec of '/usr/local/www/cgi-bin/dh' failed > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature > end > >>>>>> > >> of > >> > >>>>>> script headers: dh > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec > format > >>>>>> error: exec of '/usr/local/www/cgi-bin/dh' failed > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature > end > >>>>>> > >> of > >> > >>>>>> script headers: dh > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] (8)Exec > format > >>>>>> error: exec of '/usr/local/www/cgi-bin/dh' failed > >>>>>> [Fri Jun 26 19:57:01 2009] [error] [client xx.xx.xx.xx] Premature > end > >>>>>> > >> of > >> > >>>>>> script headers: dh > >>>>>> [Fri Jun 26 19:58:05 2009] [error] [client xx.xx.xx.xx] (8)Exec > format > >>>>>> error: exec of '/usr/local/www/cgi-bin/dh' failed > >>>>>> [Fri Jun 26 19:58:05 2009] [error] [client xx.xx.xx.xx] Premature > end > >>>>>> > >> of > >> > >>>>>> script headers: dh > >>>>>> > >>>>>> Testei em outras versões do APACHE e no UNIX não roda... > >>>>>> Testei num REDHAT e roda tranquilo... > >>>>>> > >>>>>> Obrigado > >>>>>> > >>>>>> -- > >>>>>> Patryck > >>>>>> ------------------------- > >>>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/ > >>>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> -- > >>>>> Alessandro de Souza Rocha > >>>>> Administrador de Redes e Sistemas > >>>>> FreeBSD-BR User #117 > >>>>> Long live FreeBSD > >>>>> > >>>>> Powered by .... > >>>>> > >>>>> (__) > >>>>> \\\'',) > >>>>> \/ \ ^ > >>>>> .\._/_) > >>>>> > >>>>> www.FreeBSD.org > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>> Pessoal, > >>> > >>> Só por curiosidade... como roda esse TABNET? PHP? PERL? passe mais > >>> detalhes para ver se podemos ajudar. > >>> > >>> Não entendi o funcionamento do mesmo. > >>> > >>> > >>> > >> -- > >> Welkson Renny de Medeiros > >> Focus Automação Comercial > >> Desenvolvimento / Gerência de Redes > >> welk...@focusautomacao.com.br > >> > >> > >> > >> Powered by .... > >> > >> (__) > >> \\\'',) > >> \/ \ ^ > >> .\._/_) > >> > >> www.FreeBSD.org > >> > >> > >> ------------------------- > >> Histórico: http://www.fug.com.br/historico/html/freebsd/ > >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > >> > >> > > > > > > > > > > -- > Welkson Renny de Medeiros > Focus Automação Comercial > Desenvolvimento / Gerência de Redes > welk...@focusautomacao.com.br > > > > Powered by .... > > (__) > \\\'',) > \/ \ ^ > .\._/_) > > www.FreeBSD.org > > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- Patryck ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd