Orismos enos programmatos san server.

Mihalis Tsoukalos mike at intrasoft.gr
Tue Feb 23 10:38:12 EET 1999


On Fri, 19 Feb 1999, George Daflidis-Kotsis wrote:

> On Fri, 19 Feb 1999, Mihalis Tsoukalos wrote:
> 
> > Exo ena programma-server pou thelo na akouei stin porta xxxx.
> > Pos ginetai [kai pou] na kano register afti tin porta se sindiasmo me to
> > programma;
> > To programmat prepei na trexei mono apo ton root 'H ipaxrei kai lisi na
> > to trexei kai allos xristis;
> 
> Ypo8etw pws 8eleis na trexei mesw tou inetd.
> 
> Bale sto /etc/services mai kataxwrhsh:
> 
> programma	xxxx/tcp
> 
> kai sto /etc/inetd.conf mia grammh:
> 
> programma	stream	tcp	wait	root	/path/to/programma
> programma -flag1 -flag2 -flagN
> 
> kai kane kill -1 to inetd. Den douleuei panta omws auto oute douleuei panta
> me tcp wrappers.

Giorgo,
ekana afta pou mou eipes alla den mporo na katafero afto pou thelo [diladi
to programma na leitourgei san server].


sto /var/log/messages pairno ta eksis:
...
Feb 23 10:32:56 diogenes inetd[24477]: /home/ets/public_html/bin/etssrv:
exit signal 0xb
Feb 23 10:33:27 diogenes last message repeated 30 times
Feb 23 10:33:35 diogenes last message repeated 8 times
Feb 23 10:33:36 diogenes inetd[24477]: etssrv/tcp server failing
(looping), service terminated

sto /etc/services prosthaisa ta eksis:
etssrv          3500/tcp

kai sto /etc/inetd.conf ta eksis:
etssrv  stream  tcp     wait    root    /home/ets/public_html/bin/etssrv

kathe bo'i'theia afprosdekti,
mixalis.

PS. Iparxei kai tropos to programma na min trexei meso tou inetd;

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list