Closed firebird-automations closed 7 years ago
Commented by: Alice F. Bird (firebirds)
Date: 2002-03-10 05:06 Sender: seanleyne Logged In: YES user_id=71163
Mark reports that this issue has been closed for a while now.
Commented by: Alice F. Bird (firebirds)
Date: 2000-12-04 12:06 Sender: nobody
A while ago I (Mark) emailed Ivo of mailto:Ivo.Panacek@regionet.cz and he sent me the following redhat 7.0 xinetd scripts, with permission to use them here:
Mark O'Donohue wrote:
> > Hi Ivo > > Thanks for that. > > Buggered if I know anything about xinetd yet, but if it's in RedHat7.0 I'll > be learning all about it real soon. Since all our machines are 6.2, and the > list of package changes for 7.0 made me think of waiting for 7.1 [:-)] .
Hi,
I'm switching to 7.0 on my workstations (home+office) mainly because my video card (Matrox G400 on both) work MUCH better under XFree 4.0.1.
Difference between inetd and xinetd is simple: entries are not just lines in /etc/inetd.conf but files in /etc/xinet.d directory. So life with xinetd is more simple. You need just add two files on proper place and rpm --erase removes them itself. No patching in %post and %postun sections. Maybe it would be better to create separate RPM for RedHat 6.x and for RedHat 7.x.
Here are those two files, the work (InterBase too) on RedHat 7.0. Maybe they could be better but you can start with them:
[ivop@roger xinetd.d]$ cat interbase
service gds_db { flags = REUSE socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/interbase/bin/gds_inet_server } [ivop@roger xinetd.d]$ cat interserver
service interserver { flags = REUSE socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/interclient/bin/interserver } [ivop@roger xinetd.d]$
I'm not quite in catch, maybe root is no more the right user.
ip -- E-mail: mailto:Ivo.Panacek@regionet.cz WWW: http://ivop.regionet.cz Mobile: +420 602 337776
Submitted by: Alice F. Bird (firebirds)
Assigned to: Mark O'Donohue (skywalker)
SFID: 224333# Submitted By: nobody
Mandrake 7.2 can be setup to use xinetd instead of the regular inetd in which case the /etc/inetd.conf file is not the right way to setup the server. Instead a file needs to be placed in /etc/xinet.d with basically the same information as goes in inetd.conf.