0
Fixed

Support for SUSE linux

fvg 6 years ago updated by Ilya (Here to help) 5 years ago 9

When I try to install the agent on SUSE linux using the command in the console I receive the following output:


Installing...

creating /opt/anturis...

creating /opt/anturis/bin...

creating /opt/anturis/etc...

creating /opt/anturis/lib...

creating /opt/anturis/log...

creating /opt/anturis/lib/imageformats...

chown: invalid user: `anturis.anturis'

illegal runlevel specified for anturis-agent-service: r

Starting Anturis Agent

Setting settings...

Can't connect to agent

Connecting to server...

Can't connect to agent



This was reproduced twice. Is this is a known issue?

Hi!

No, that's smth new ) We'll look into it and I'll update you on what's going on.

Meantime, could you please post here ls -alR /opt/anturis and which exact version of SUSE you are using.

Thanks!

The output of that command is the following. And the exact version of SUSE is:

cat /etc/SuSE-release 

SUSE Linux Enterprise Server 11 (x86_64)

VERSION = 11

PATCHLEVEL = 2



# ls -alR /opt/anturis

/opt/anturis:

total 32

drwxr-xr-x 6 root root 4096 Oct 24 14:22 .

drwxr-xr-x 4 root root 4096 Oct 24 14:22 ..

drwxr-xr-x 2 root root 4096 Oct 24 14:22 bin

drwxr-xr-x 2 root root 4096 Oct 24 14:22 etc

drwxr-xr-x 3 root root 4096 Oct 24 14:22 lib

drwxr-xr-x 2 root root 4096 Oct 24 14:22 log

-rwxr-xr-x 1 root root 6975 Oct 24 14:22 uninstall-anturis-agent.sh


/opt/anturis/bin:

total 10576

drwxr-xr-x 2 root root    4096 Oct 24 14:22 .

drwxr-xr-x 6 root root    4096 Oct 24 14:22 ..

-rwxr-xr-x 1 root root  463757 Oct 24 14:22 agent-config

-rwxr-xr-x 1 root root  758829 Oct 24 14:22 agent-service

-rwxr-xr-x 1 root root  767673 Oct 24 14:22 agent-ui

-rwxr-xr-x 1 root root  484789 Oct 24 14:22 plugin-httplatency

-rwxr-xr-x 1 root root  622905 Oct 24 14:22 plugin-httplatency2

-rwxr-xr-x 1 root root  380933 Oct 24 14:22 plugin-localresources

-rwxr-xr-x 1 root root  472206 Oct 24 14:22 plugin-localresources2

-rwxr-xr-x 1 root root  318128 Oct 24 14:22 plugin-logfile

-rwxr-xr-x 1 root root  402422 Oct 24 14:22 plugin-logfile2

-rwxr-xr-x 1 root root  312201 Oct 24 14:22 plugin-ping

-rwxr-xr-x 1 root root  398567 Oct 24 14:22 plugin-ping2

-rwxr-xr-x 1 root root  323079 Oct 24 14:22 plugin-shellscript

-rwxr-xr-x 1 root root  409508 Oct 24 14:22 plugin-shellscript2

-rwxr-xr-x 1 root root  498655 Oct 24 14:22 plugin-snmp

-rwxr-xr-x 1 root root  579073 Oct 24 14:22 plugin-snmp2

-rwxr-xr-x 1 root root  378625 Oct 24 14:22 plugin-sql

-rwxr-xr-x 1 root root  466755 Oct 24 14:22 plugin-sql2

-rwxr-xr-x 1 root root  487978 Oct 24 14:22 plugin-tcp

-rwxr-xr-x 1 root root  625407 Oct 24 14:22 plugin-tcp2

-rwxr-xr-x 1 root root 1541810 Oct 24 14:22 transaction-recorder


/opt/anturis/etc:

total 12

drwxr-xr-x 2 root root 4096 Oct 24 14:22 .

drwxr-xr-x 6 root root 4096 Oct 24 14:22 ..

-rwxr-xr-x 1 root root  969 Oct 24 14:22 anturis-agent-service


/opt/anturis/lib:

total 44092

drwxr-xr-x 3 root root     4096 Oct 24 14:22 .

drwxr-xr-x 6 root root     4096 Oct 24 14:22 ..

drwxr-xr-x 2 root root     4096 Oct 24 14:22 imageformats

-rwxr-xr-x 1 root root  2962888 Oct 24 14:22 libQtCore.so.4

-rwxr-xr-x 1 root root 11939024 Oct 24 14:22 libQtGui.so.4

-rwxr-xr-x 1 root root  3279264 Oct 24 14:22 libQtNetwork.so.4

-rwxr-xr-x 1 root root  2432288 Oct 24 14:22 libQtSql.so.4

-rwxr-xr-x 1 root root 24458168 Oct 24 14:22 libQtWebKit.so.4


/opt/anturis/lib/imageformats:

total 1072

drwxr-xr-x 2 root root   4096 Oct 24 14:22 .

drwxr-xr-x 3 root root   4096 Oct 24 14:22 ..

-rwxr-xr-x 1 root root  32384 Oct 24 14:22 libqgif.so

-rwxr-xr-x 1 root root  30360 Oct 24 14:22 libqico.so

-rwxr-xr-x 1 root root 245312 Oct 24 14:22 libqjpeg.so

-rwxr-xr-x 1 root root 369888 Oct 24 14:22 libqmng.so

-rwxr-xr-x 1 root root  24312 Oct 24 14:22 libqsvg.so

-rwxr-xr-x 1 root root 364608 Oct 24 14:22 libqtiff.so


/opt/anturis/log:

total 12

drwxr-xr-x 2 root root 4096 Oct 24 14:22 .

drwxr-xr-x 6 root root 4096 Oct 24 14:22 ..

-rw-r--r-- 1 root root 1455 Oct 24 14:22 agent-config.log


JFYI.

The bug is fixed. We will test it now and push to production soon.

Thanks

Great thanks! Will I simply be able to install over top of the failed install or do I need to do some kind of cleanup before trying again?


On production now.

Yes you can just intall over top.

Thanks

Hi, I installed anutris agent on two centos 6.5 servers yesterday. One works fine the other cannot connect to the server with a similar error as per above. I have tried several re-installs and still fails to connect to the server. Any ideas?
Hi,

Please run the following commands under root:
/opt/anturis/bin/agent-config -s -un=user_name -up=user_password
/opt/anturis/bin/agent-config -t
/opt/anturis/bin/agent-config -c

user_name and user_password it is your anturis account name and password