Am 05.11.2008 um 16:52 schrieb Dr Paulos Nyirenda:


Great, improving, but I now have the following error from fred-client, how do I connect
to the servers?

[root@ngoli paulos]# /usr/bin/fred-client
FredClient 1.6.1
Type "help", "license" or "credits" for more information.

Using configuration from /etc/fred/fred-client.conf
Connecting to localhost, port 700 ...

ERROR: Server returned an empty message.
Server didn't return Greeting message. Contact server administrator.

And when I go the website http://ngoli.registrar.mw:18456, I get this output below on my
console - how do I suppress it?


i see  a lot of python errors ;, is that correct ?


http://pastebin.com/d382c22ad



best wishes

Marc


I had to open port 18456 in iptables, should I disable iptables as well?

Regards, Paulos

[root@ngoli paulos]# ::ffff:41.179.13.175 - - [05/Nov/2008:18:08:19] "GET / HTTP/1.1"
303 136 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:19] "GET / HTTP/1.1" 303 136 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:21] "GET /login/?next=/ HTTP/1.1" 200 1884 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:21] "GET /login/?next=/ HTTP/1.1" 200 1884 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:22] "GET /css/base.css HTTP/1.1" 200 192 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:22] "GET /css/base.css HTTP/1.1" 200 192 "" ""
::ffff:41.179.13.175 - - [05/Nov/2008:18:08:22] "GET /css/basesite.css HTTP/1.1" 200 618
"" ""



On Wed, 05 Nov 2008 11:16:04 +0100, Jaromír [UTF-8?]TalĂ­Ĺ™ wrote
I guess I know. Problem could be SELinux. I always turn it off because
it is a little bit complicated to run all this stuff in SELinux. If
SELinux is enabled you have to allow apache to bind to this port by some
special commands.

About half a year ago I made this attempt and these are some commands,
that may help:

semanage port -a -t http_port_t -p tcp 43
semanage port -a -t http_port_t -p tcp 700
setsebool -P httpd_can_network_connect=1
setsebool -P allow_daemons_use_tty=1
restorecon -R -v /var/lib/pgsql/data/pg_hba.conf

But I think that this is not enough (maybe some other commands are
needed), and finally I decided to disable SELinux at all. This is done
in /etc/sysconfig/selinux where you must set SELINUX=disabled and
restart linux.

Hope this will help.

Regards,
Jaromir

Dr Paulos Nyirenda [UTF-8?]píše v St 05. 11. 2008 v 11:29 +0200:
Jaromír Talír,
or anyone else,

Although my httpd was running ok, I am getting the following
httpd error when I try to active the fred-server, could you please
suggest what I can do to resolve it?

[root@ngoli paulos]# /etc/rc.d/init.d/fred-server start
Starting FRED central registry CORBA servers...            [  OK  ]
[root@ngoli paulos]#
[root@ngoli paulos]# /etc/rc.d/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:700
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:700
no listening sockets available, shutting down
Unable to open logs
                                                          [FAILED]
[root@ngoli paulos]#

This happens soon after installing fred-*.

Regards,

Paulos

On 3 Nov 2008 at 17:29, Jaromír Talír wrote:

Hello Paulos,

Dr Paulos Nyirenda píse v Po 27. 10. 2008 v 10:15 +0200:
Hello,

Will there be anyone from .CZ at the ICANN Cairo meeting whom I could
meet to consult on FRED?

I will not be in Cairo, but our CEO Ondrej Filip is there. I thing he
can answer some questions about FRED.

It would really help if I could have a brief technical meeting on
FRED.
I have installed FRED on fedora8 and I need a few pointer on a few
areas including
(a) how I could finalise httpd, epp configuartion,
(b) how to use it successfully

I don't know how to answer these questions. If you installed all
components using 'yum install fred-*'. You have to start all servers.

sudo /etc/init.d/postgresql initdb
sudo /etc/init.d/postgresql start
sudo /etc/init.d/omniNames start
sudo /etc/init.d/fred-server start
sudo /etc/init.d/httpd start
sudo /etc/init.d/fred-webadmin-server start

Then you can connect to server with:
/usr/bin/fred-client

(c) how I could efficiently or quickly import our current .mw ccTLD
registry data into FRED

First you will have to configure FRED for .mw. You shoud add your system
registrar and your zone to FRED and allow this registrar to register
this zone.

/usr/sbin/fred-admin --zone_add --zone_fqdn=tz
/usr/sbin/fred-admin --registrar_add --registrar_handle=REG-MW

Now change in /etc/fred/fred-client.conf username from REG-FRED_A to
REG-MW. You sould be able to connect with this registrar

When we migrated from old system to FRED we used normal fred-client. You
will have to create commands (create_contact, create_nsset,
create_domain) that reflect your current database and use fred-client to
process these commands.

Regards,
Jaromir





Paulos
==============================
Dr Paulos Nyirenda
Malawi SDNP Coodinator
----------------------------------------------------------
Malawi SDNP Webmail: http://www.sdnp.org.mw
Access your Malawi SDNP e-mail from anywhere in the world.
----------------------------------------------------------



Paulos
==============================
Dr Paulos Nyirenda
Malawi SDNP Coodinator
----------------------------------------------------------
Malawi SDNP Webmail: http://www.sdnp.org.mw
Access your Malawi SDNP e-mail from anywhere in the world.
----------------------------------------------------------

_______________________________________________
Fred-users mailing list
Fred-users@lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users

-- 

"You see, all the problems in the world are created by those who want

'perfection.' " Sri Sri Ravi Shankar  


Les enfants teribbles - research and deployment
Marc Manthey - head of research and innovation
Hildeboldplatz 1a D - 50672 Köln - Germany
Tel.:0049-221-3558032
Mobil:0049-1577-3329231