Hello Jiri,

These services are running;

systemctl status fred-pyfred@mailer
systemctl status fred-pyfred@techcheck
systemctl status fred-pyfred@filemanager

But am still getting below error on daphine GUI;

Error:

Error: CORBA object could not be found!

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/fred_webadmin/exposed.py", line 42, in _wrapper
    return view_func(*args, **kwd)
  File "/usr/lib/python2.7/dist-packages/fred_webadmin/controller/adif.py", line 271, in login
    self._fill_session_data(form, user, corba_session_string)
  File "/usr/lib/python2.7/dist-packages/fred_webadmin/controller/adif.py", line 229, in _fill_session_data
    cherrypy.session['RecordsStatement'] = corba_obj.getObject('RecordStatement', 'Registry.RecordStatement.Server')
  File "/usr/lib/python2.7/dist-packages/fred_webadmin/corba.py", line 109, in getObject
    return self.getObjectUsingContext(self.context_name, name, idltype)
  File "/usr/lib/python2.7/dist-packages/fred_webadmin/corba.py", line 98, in getObjectUsingContext
    obj = self.context.resolve(cosname)
  File "/usr/lib/python2.7/dist-packages/CosNaming_idl.py", line 239, in resolve
    return self._obj.invoke("resolve", _0_CosNaming.NamingContext._d_resolve, args)
NotFound: CosNaming.NamingContext.NotFound(why=missing_node, rest_of_name=[CosNaming.NameComponent(id='RecordStatement', kind='Object')])









Thank you,

Patrick









On 1/25/2023 12:45 PM, Jiri Sadek wrote:
Hi,

On 1/25/23 09:52, patrick wrote:
Hello Jiri,

Thank you for inputs;

I was getting the error below ;

Traceback (most recent call last):
   File "/usr/bin/genzone_client", line 11, in <module>
     load_entry_point('fred-pyfred==2.15.1', 'console_scripts', 'genzone_client')()
   File "/usr/lib/python2.7/dist-packages/pyfred/commands/genzone_client.py", line 215, in run_genzone_client
     ns=nameservice, context=corba_context).getZoneNameList()
   File "/usr/lib/python2.7/dist-packages/pyfred/zone.py", line 191, in getObject
     raise ZoneException("CORBA failure, original exception is: %s" % e)
pyfred.zone.ZoneException: CORBA failure, original exception is: CosNaming.NamingContext.NotFound(why=missing_node, rest_of_name=[CosNaming.NameComponent(id='ZoneGenerator', kind='Object')])

I think I was getting it after script in /usr/bin/genzone run.

I checked and found the service fred-pyfred@genzone was not running.After started the service am no longer getting the above error but am getting the below one on daphine;


  Error:

Error: CORBA object could not be found!

Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/fred_webadmin/exposed.py", line 42, in _wrapper
     return view_func(*args, **kwd)
   File "/usr/lib/python2.7/dist-packages/fred_webadmin/controller/adif.py", line 271, in login
     self._fill_session_data(form, user, corba_session_string)
   File "/usr/lib/python2.7/dist-packages/fred_webadmin/controller/adif.py", line 223, in _fill_session_data
     cherrypy.session['Mailer'] = corba_obj.getObject('Mailer', 'ccReg.Mailer')
   File "/usr/lib/python2.7/dist-packages/fred_webadmin/corba.py", line 109, in getObject
     return self.getObjectUsingContext(self.context_name, name, idltype)
   File "/usr/lib/python2.7/dist-packages/fred_webadmin/corba.py", line 98, in getObjectUsingContext
     obj = self.context.resolve(cosname)
   File "/usr/lib/python2.7/dist-packages/CosNaming_idl.py", line 239, in resolve
     return self._obj.invoke("resolve", _0_CosNaming.NamingContext._d_resolve, args)
NotFound: CosNaming.NamingContext.NotFound(why=missing_node, rest_of_name=[CosNaming.NameComponent(id='Mailer', kind='Object')])

This should be similar problem looks like fred-pyfred@mailer is not running - better check all other pyfred processes:

systemctl status fred-pyfred@mailer
systemctl status fred-pyfred@techcheck
systemctl status fred-pyfred@filemanager



This is part of logging settings but no log file fred-pyfred.log is generate! #### Logging settings # Log handler selection: # * syslog (see also logfacility option) # * file (see also logfilename option) # * console (can be used only if server is not daemonized after start) loghandler=syslog # Log level # * debug # * info # * notice # * warning # * error # * critical # * alert # * emerg loglevel=error # Specify syslog facility (if handler is syslog) logfacility=local1 # Specify log file (if handler is a file) logfilename=/var/log/fred-pyfred.log If you can share inputs to sort this out. Thank you, Patrick

Your loghandler is set to syslog (loghandler=syslog) so logging target depends on your syslog configuration (I would try /var/log/syslog or /var/log/messages). To log into separate file you have to either update syslog config to filter pyfred messages or set loghandler to file.

Best regards

J.



On 1/24/2023 5:50 PM, Jiri Sadek wrote:
Hi,

this looks like your pyfred-genzone server is not running. Try

systemctl status fred-pyfred@genzone
systemctl start fred-pyfred@genzone

and check log file in /var/log for possible error messages - depends on what is configured in /etc/fred/pyfred.conf (in # Log handler selection)

Best regards.

J.

On 1/17/23 18:21, patrick wrote:
Dear Team,

I have performed restoration test  and I have got below error;


Traceback (most recent call last):
   File "/usr/bin/genzone_client", line 11, in <module>
     load_entry_point('fred-pyfred==2.15.1', 'console_scripts', 'genzone_client')()
   File "/usr/lib/python2.7/dist-packages/pyfred/commands/genzone_client.py", line 215, in run_genzone_client
     ns=nameservice, context=corba_context).getZoneNameList()
   File "/usr/lib/python2.7/dist-packages/pyfred/zone.py", line 191, in getObject
     raise ZoneException("CORBA failure, original exception is: %s" % e)
pyfred.zone.ZoneException: CORBA failure, original exception is: CosNaming.NamingContext.NotFound(why=missing_node, rest_of_name=[CosNaming.NameComponent(id='ZoneGenerator', kind='Object')])

I request your guidance on sorting this issue. Thank you, Patrick


_______________________________________________
fred-users mailing list -- fred-users@lists.nic.cz
To unsubscribe send an email to fred-users-leave@lists.nic.cz

_______________________________________________
fred-users mailing list --fred-users@lists.nic.cz
To unsubscribe send an email tofred-users-leave@lists.nic.cz

_______________________________________________
fred-users mailing list -- fred-users@lists.nic.cz
To unsubscribe send an email to fred-users-leave@lists.nic.cz

_______________________________________________
fred-users mailing list -- fred-users@lists.nic.cz
To unsubscribe send an email to fred-users-leave@lists.nic.cz