Data Backup and Recovery

SC 3.5.0c Linux64 - Agent dir missing gui tree from tarball

JIM_SURLOW
2,593 Views

Was running the setup, and came across....

Uncaught exception from user code:

        ERROR: [scf-00040] Couldn't open filehandle /usr/local/scAgent3.5.0c/gui/etc/snapcreatorgui.conf: No such file or directory

at snapcreator.pl line 10068

        main::UPDATE_GUI('/usr/local/scAgent3.5.0c/gui/etc/snapcreatorgui.conf', 'NetAppSC', '53616c7465645f5f74ad21f95eb398cea9ea1286d45764bbf2c0fcd2a73b2173', 0101167580, 'Y', 200) called at snapcreator.pl line 9946

        main::SETUP called at snapcreator.pl line 458

Looked at the tarball...

tar -tf Snap_Creator_Community_Release_3.5.0-Linux64.tar | egrep '(^scAgent3.5.0c/[^/]*/$|gui/$)'

scServer3.5.0c/gui/

scAgent3.5.0c/logs/

scAgent3.5.0c/config/

scAgent3.5.0c/plugins/

scAgent3.5.0c/wsdl/

scAgent3.5.0c/bin/

I tried to fake it out and create gui/etc, but then received...

INFO: Updated Snap Creator Community Release 3.5.0c GUI

Uncaught exception from user code:

        ERROR: [scf-00040] Couldn't open filehandle /usr/local/scAgent3.5.0c/bin/scServer: No such file or directory

at snapcreator.pl line 10112

        main::UPDATE_START_SCRIPT('/usr/local/scAgent3.5.0c/bin/scServer') called at snapcreator.pl line 9952

        main::SETUP called at snapcreator.pl line 458

# tar -tf Snap_Creator_Community_Release_3.5.0-Linux64.tar  | grep 'scAgent3.5.0c/bin'

scAgent3.5.0c/bin/

scAgent3.5.0c/bin/scAgent

Is the tarball complete?

1 ACCEPTED SOLUTION

ktenzer
2,593 Views

This is because you did a ³./snapcreator ‹profile setup² and in the CLI menu

you selected ³Y² to Snap Creator Server. This is not a Snap Creator Server

but rather an agent so you should say ³N². The next question is if it is a

³Snap Creator Agent², say yes to that and it will work.

Although the packaging for scServer and scAgent is different the binary is

the same, this helps reduce engineering time in making builds so we can

focus on features. In future this will change and no longer be confusing.

Regards,

Keith

View solution in original post

3 REPLIES 3

ktenzer
2,594 Views

This is because you did a ³./snapcreator ‹profile setup² and in the CLI menu

you selected ³Y² to Snap Creator Server. This is not a Snap Creator Server

but rather an agent so you should say ³N². The next question is if it is a

³Snap Creator Agent², say yes to that and it will work.

Although the packaging for scServer and scAgent is different the binary is

the same, this helps reduce engineering time in making builds so we can

focus on features. In future this will change and no longer be confusing.

Regards,

Keith

JIM_SURLOW
2,593 Views

Doh!  Sorry about that.  Maybe a dirname call and conditional would alleviate problems caused by speed readers

ktenzer
2,593 Views

That is good idea, I will definitely open issue for this so it gets some attention.

Actually the binary knows where it is so it would be easy to tell, just check binary path.

Keith

Public