Veeam Agent Linux: Error: Failed to connect to the port

Backup agent for Linux servers and workstations on-premises or in the public cloud

Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Thu Dec 15, 2016 3:08 pm

Hello,

I've downloaded the new release of VAL.
The OS I'm using are both Centos 6.7 and 6.8 but I'm facing a new error after installing the product veeam-release-el7-1.0-1.x86_64.rpm

when I launch the "VEEAM" command, I got :
"Error: Failed to connect to the port (127.0.0.1:3500)

I tried to start veeamservice, reinstall the VAL.
I don't know what to do...

Regards,
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Thu Dec 15, 2016 3:19 pm

Can you try "yum install veeam" and paste the output?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Thu Dec 15, 2016 3:34 pm

Hi,
here it is

[root@VeeamBCK01 ~]# yum install veeam
Modules complémentaires chargés : fastestmirror, refresh-packagekit, security
Configuration du processus d'installation
Loading mirror speeds from cached hostfile
* base: miroir.univ-paris13.fr
* epel: vesta.informatik.rwth-aachen.de
* extras: centos.crazyfrogs.org
* updates: miroir.univ-paris13.fr
Le paquet veeam-1.0.0.944-1.el7.x86_64 est déjà installé dans sa dernière version
Rien à faire
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Thu Dec 15, 2016 3:43 pm

Can you paste the output on "service veeamservice start" ? And also try "netstat -pan | grep 3500" ?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby PTide » Thu Dec 15, 2016 4:13 pm

Does /var/log/veeam/veeamsvc.log file exist?
PTide
Veeam Software
 
Posts: 2884
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Fri Dec 16, 2016 8:12 am

Hi,
# service veeamservice start
veeamservice: service non reconnu
I also checked with "service --status-all" command and there's no veeamservice

# netstat -pan | grep 3500
# "No output"

Yes there's a veeamsvc.log, here's the output
Code: Select all
# cat /var/log/veeam/veeamsvc.log
[15.12.2016 15:00:28] <140345854244704> cli    | Initializing new log filter.
[15.12.2016 15:00:28] <140345854244704>        | ===============================                                =====================================================
[15.12.2016 15:00:28] <140345854244704> lpb    | {
[15.12.2016 15:00:28] <140345854244704> lpb    |   Veeam Agent for Linux: veeams                                ervice.
[15.12.2016 15:00:28] <140345854244704> lpb    |   Version: 1.0.0.944
[15.12.2016 15:00:28] <140345854244704> lpb    |   PID: 23502
[15.12.2016 15:00:28] <140345854244704> lpb    |   uname
[15.12.2016 15:00:28] <140345854244704> lpb    |     sysname : Linux
[15.12.2016 15:00:28] <140345854244704> lpb    |     release : 2.6.32-642.4.2.el                                6.x86_64
[15.12.2016 15:00:28] <140345854244704> lpb    |     version : #1 SMP Tue Aug 23                                 19:58:13 UTC 2016
[15.12.2016 15:00:28] <140345854244704> lpb    |     machine : x86_64
[15.12.2016 15:00:28] <140345854244704> lpb    |   cpuinfo
[15.12.2016 15:00:28] <140345854244704> lpb    |     processor  : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     vendor_id  : AuthenticAMD
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu family : 15
[15.12.2016 15:00:28] <140345854244704> lpb    |     model              : 104
[15.12.2016 15:00:28] <140345854244704> lpb    |     model name : AMD Turion(tm)                                 64 X2 Mobile Technology TL-60
[15.12.2016 15:00:28] <140345854244704> lpb    |     stepping   : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu MHz            : 800.00                                0
[15.12.2016 15:00:28] <140345854244704> lpb    |     cache size : 512 KB
[15.12.2016 15:00:28] <140345854244704> lpb    |     physical id        : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     siblings   : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     core id            : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu cores  : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     apicid             : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     initial apicid     : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     fpu                : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     fpu_exception      : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpuid level        : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     wp         : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     flags              : fpu vm                                e de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fx                                sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd                                _apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
[15.12.2016 15:00:28] <140345854244704> lpb    |     bogomips   : 1595.99
[15.12.2016 15:00:28] <140345854244704> lpb    |     TLB size   : 1024 4K pages
[15.12.2016 15:00:28] <140345854244704> lpb    |     clflush size       : 64
[15.12.2016 15:00:28] <140345854244704> lpb    |     cache_alignment    : 64
[15.12.2016 15:00:28] <140345854244704> lpb    |     address sizes      : 40 bit                                s physical, 48 bits virtual
[15.12.2016 15:00:28] <140345854244704> lpb    |     power management: ts fid vi                                d ttp tm stc 100mhzsteps
[15.12.2016 15:00:28] <140345854244704> lpb    |     processor  : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     vendor_id  : AuthenticAMD
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu family : 15
[15.12.2016 15:00:28] <140345854244704> lpb    |     model              : 104
[15.12.2016 15:00:28] <140345854244704> lpb    |     model name : AMD Turion(tm)                                 64 X2 Mobile Technology TL-60
[15.12.2016 15:00:28] <140345854244704> lpb    |     stepping   : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu MHz            : 800.00                                0
[15.12.2016 15:00:28] <140345854244704> lpb    |     cache size : 512 KB
[15.12.2016 15:00:28] <140345854244704> lpb    |     physical id        : 0
[15.12.2016 15:00:28] <140345854244704> lpb    |     siblings   : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     core id            : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpu cores  : 2
[15.12.2016 15:00:28] <140345854244704> lpb    |     apicid             : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     initial apicid     : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     fpu                : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     fpu_exception      : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     cpuid level        : 1
[15.12.2016 15:00:28] <140345854244704> lpb    |     wp         : yes
[15.12.2016 15:00:28] <140345854244704> lpb    |     flags              : fpu vm                                e de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fx                                sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd                                _apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
[15.12.2016 15:00:28] <140345854244704> lpb    |     bogomips   : 1595.99
[15.12.2016 15:00:28] <140345854244704> lpb    |     TLB size   : 1024 4K pages
[15.12.2016 15:00:28] <140345854244704> lpb    |     clflush size       : 64
[15.12.2016 15:00:28] <140345854244704> lpb    |     cache_alignment    : 64
[15.12.2016 15:00:28] <140345854244704> lpb    |     address sizes      : 40 bit                                s physical, 48 bits virtual
[15.12.2016 15:00:28] <140345854244704> lpb    |     power management: ts fid vi                                d ttp tm stc 100mhzsteps
[15.12.2016 15:00:28] <140345854244704> lpb    |   meminfo
[15.12.2016 15:00:28] <140345854244704> lpb    |     MemTotal:        1921816 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     MemFree:          827808 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Buffers:           53108 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Cached:           710060 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     SwapCached:            0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Active:           613608 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Inactive:         300068 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Active(anon):     150772 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Inactive(anon):     3236 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Active(file):     462836 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Inactive(file):   296832 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Unevictable:           0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Mlocked:               0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     SwapTotal:       3866620 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     SwapFree:        3866620 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Dirty:                12 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Writeback:             0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     AnonPages:        150664 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Mapped:            68336 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Shmem:              3504 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Slab:             112980 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     SReclaimable:      43596 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     SUnreclaim:        69384 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     KernelStack:        4688 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     PageTables:        28732 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     NFS_Unstable:          0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Bounce:                0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     WritebackTmp:          0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     CommitLimit:     4827528 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     Committed_AS:     701504 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     VmallocTotal:   34359738367                                 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     VmallocUsed:       79352 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     VmallocChunk:   34359637492                                 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     HardwareCorrupted:     0 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     AnonHugePages:     26624 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     HugePages_Total:       0
[15.12.2016 15:00:28] <140345854244704> lpb    |     HugePages_Free:        0
[15.12.2016 15:00:28] <140345854244704> lpb    |     HugePages_Rsvd:        0
[15.12.2016 15:00:28] <140345854244704> lpb    |     HugePages_Surp:        0
[15.12.2016 15:00:28] <140345854244704> lpb    |     Hugepagesize:       2048 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     DirectMap4k:        6872 kB
[15.12.2016 15:00:28] <140345854244704> lpb    |     DirectMap2M:     1957888 kB
[15.12.2016 15:00:28] <140345854244704> lpb    | }
[15.12.2016 15:00:28] <140345854244704> lpbsvc | Main thread has started.
[15.12.2016 15:00:28] <140345854244704>        | Waiting for Ctrl-C processing t                                hread...
[15.12.2016 15:00:28] <140345852081920>        | Thread started. Thread id: 1403                                45852081920, parent id: 140345854244704, role: Ctrl-C thread
[15.12.2016 15:00:28] <140345854244704>        | Ctrl-C thread has been started.                                 ID: [23502]
[15.12.2016 15:00:28] <140345854244704> lpbsvc | Starting server.
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Creating database file [/var/                                lib/veeam/veeam_db.sqlite], script path [/usr/share/veeam/lpb_scheme.sql].
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Creating database file [/var/                                lib/veeam/veeam_db.sqlite], script path [/usr/share/veeam/lpb_scheme.sql]. ok.
[15.12.2016 15:00:28] <140345854244704>        |   Loading upgrade script '/usr/                                share/veeam/lpb_upgrade_scheme.sql'.
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Executing upgrade query ( fro                                m version '2' to '3' ).
[15.12.2016 15:00:28] <140345854244704> lpbcore|   > 'BEGIN;
[15.12.2016 15:00:28] <140345854244704> lpbcore|        ALTER TABLE JobSessions                                 ADD COLUMN retried_session_id DEFAULT NULL;
[15.12.2016 15:00:28] <140345854244704> lpbcore|   COMMIT;
'15.12.2016 15:00:28] <140345854244704> lpbcore|
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Executing upgrade query ( fro                                m version '3' to '4' ).
[15.12.2016 15:00:28] <140345854244704> lpbcore|   > 'BEGIN;
[15.12.2016 15:00:28] <140345854244704> lpbcore|        ALTER TABLE "ObjectsInJo                                bs" ADD COLUMN "hint" TEXT DEFAULT NULL;
[15.12.2016 15:00:28] <140345854244704> lpbcore|   COMMIT;
'15.12.2016 15:00:28] <140345854244704> lpbcore|
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Executing upgrade query ( fro                                m version '4' to '5' ).
[15.12.2016 15:00:28] <140345854244704> lpbcore|   > 'BEGIN;
[15.12.2016 15:00:28] <140345854244704> lpbcore|        ALTER TABLE "BackupStora                                ges" ADD COLUMN "modif_time_utc" DATETIME DEFAULT 0;
'15.12.2016 15:00:28] <140345854244704> lpbcore|   COMMIT;
[15.12.2016 15:00:28] <140345854244704> lpbcore|   SQL user version: 5.
[15.12.2016 15:00:28] <140345854244704> lpbcore|   Cleaning orphaned sessions.
[15.12.2016 15:00:28] <140345773913856>        | Thread started. Thread id: 1403                                45773913856, parent id: 140345854244704, role: VRPC server thread
[15.12.2016 15:00:28] <140345773913856> net    | Veeam RPC server started.
[15.12.2016 15:00:28] <140345773913856> net    | Selected vRPC port: '3500'.
[15.12.2016 15:00:28] <140345773913856> net    | Listening vRPC port '3500'.
[15.12.2016 15:00:28] <140345854244704> lpbsvc | Server started on port [3500].
[15.12.2016 15:07:07] <140345852081920>        | WARN|POSIX: Received CTRL-C sig                                nal.
[15.12.2016 15:07:07] <140345852081920>        | Processing CtrlC signal.
[15.12.2016 15:07:07] <140345852081920>        | Thread finished. Role: 'Ctrl-C                                 thread'.
[15.12.2016 15:07:08] <140345773913856> net    | Terminating by stop event.
[15.12.2016 15:07:08] <140345773913856> net    | Stopping client sessions.
[15.12.2016 15:07:08] <140345773913856> net    | Veeam RPC server stopped.
[15.12.2016 15:07:08] <140345773913856>        | Thread finished. Role: 'VRPC se                                rver thread'.
[15.12.2016 15:07:08] <140345854244704> lpbsvc | Disposing clients manager.
[15.12.2016 15:07:08] <140345854244704> lpbsvc | Server is stopped.
[15.12.2016 15:07:18] <140668403840864> cli    | Initializing new log filter.
[15.12.2016 15:07:18] <140668403840864>        | ===============================                                =====================================================
[15.12.2016 15:07:18] <140668403840864> lpb    | {
[15.12.2016 15:07:18] <140668403840864> lpb    |   Veeam Agent for Linux: veeams                                ervice.
[15.12.2016 15:07:18] <140668403840864> lpb    |   Version: 1.0.0.944
[15.12.2016 15:07:18] <140668403840864> lpb    |   PID: 23543
[15.12.2016 15:07:18] <140668403840864> lpb    |   uname
[15.12.2016 15:07:18] <140668403840864> lpb    |     sysname : Linux
[15.12.2016 15:07:18] <140668403840864> lpb    |     release : 2.6.32-642.4.2.el                                6.x86_64
[15.12.2016 15:07:18] <140668403840864> lpb    |     version : #1 SMP Tue Aug 23                                 19:58:13 UTC 2016
[15.12.2016 15:07:18] <140668403840864> lpb    |     machine : x86_64
[15.12.2016 15:07:18] <140668403840864> lpb    |   cpuinfo
[15.12.2016 15:07:18] <140668403840864> lpb    |     processor  : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     vendor_id  : AuthenticAMD
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu family : 15
[15.12.2016 15:07:18] <140668403840864> lpb    |     model              : 104
[15.12.2016 15:07:18] <140668403840864> lpb    |     model name : AMD Turion(tm)                                 64 X2 Mobile Technology TL-60
[15.12.2016 15:07:18] <140668403840864> lpb    |     stepping   : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu MHz            : 800.00                                0
[15.12.2016 15:07:18] <140668403840864> lpb    |     cache size : 512 KB
[15.12.2016 15:07:18] <140668403840864> lpb    |     physical id        : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     siblings   : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     core id            : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu cores  : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     apicid             : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     initial apicid     : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     fpu                : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     fpu_exception      : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpuid level        : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     wp         : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     flags              : fpu vm                                e de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fx                                sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd                                _apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
[15.12.2016 15:07:18] <140668403840864> lpb    |     bogomips   : 1595.99
[15.12.2016 15:07:18] <140668403840864> lpb    |     TLB size   : 1024 4K pages
[15.12.2016 15:07:18] <140668403840864> lpb    |     clflush size       : 64
[15.12.2016 15:07:18] <140668403840864> lpb    |     cache_alignment    : 64
[15.12.2016 15:07:18] <140668403840864> lpb    |     address sizes      : 40 bit                                s physical, 48 bits virtual
[15.12.2016 15:07:18] <140668403840864> lpb    |     power management: ts fid vi                                d ttp tm stc 100mhzsteps
[15.12.2016 15:07:18] <140668403840864> lpb    |     processor  : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     vendor_id  : AuthenticAMD
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu family : 15
[15.12.2016 15:07:18] <140668403840864> lpb    |     model              : 104
[15.12.2016 15:07:18] <140668403840864> lpb    |     model name : AMD Turion(tm)                                 64 X2 Mobile Technology TL-60
[15.12.2016 15:07:18] <140668403840864> lpb    |     stepping   : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu MHz            : 800.00                                0
[15.12.2016 15:07:18] <140668403840864> lpb    |     cache size : 512 KB
[15.12.2016 15:07:18] <140668403840864> lpb    |     physical id        : 0
[15.12.2016 15:07:18] <140668403840864> lpb    |     siblings   : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     core id            : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpu cores  : 2
[15.12.2016 15:07:18] <140668403840864> lpb    |     apicid             : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     initial apicid     : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     fpu                : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     fpu_exception      : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     cpuid level        : 1
[15.12.2016 15:07:18] <140668403840864> lpb    |     wp         : yes
[15.12.2016 15:07:18] <140668403840864> lpb    |     flags              : fpu vm                                e de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fx                                sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd                                _apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
[15.12.2016 15:07:18] <140668403840864> lpb    |     bogomips   : 1595.99
[15.12.2016 15:07:18] <140668403840864> lpb    |     TLB size   : 1024 4K pages
[15.12.2016 15:07:18] <140668403840864> lpb    |     clflush size       : 64
[15.12.2016 15:07:18] <140668403840864> lpb    |     cache_alignment    : 64
[15.12.2016 15:07:18] <140668403840864> lpb    |     address sizes      : 40 bit                                s physical, 48 bits virtual
[15.12.2016 15:07:18] <140668403840864> lpb    |     power management: ts fid vi                                d ttp tm stc 100mhzsteps
[15.12.2016 15:07:18] <140668403840864> lpb    |   meminfo
[15.12.2016 15:07:18] <140668403840864> lpb    |     MemTotal:        1921816 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     MemFree:          805296 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Buffers:           53272 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Cached:           710464 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     SwapCached:            0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Active:           639476 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Inactive:         295972 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Active(anon):     171972 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Inactive(anon):     3240 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Active(file):     467504 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Inactive(file):   292732 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Unevictable:           0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Mlocked:               0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     SwapTotal:       3866620 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     SwapFree:        3866620 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Dirty:                32 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Writeback:             0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     AnonPages:        171656 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Mapped:            69040 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Shmem:              3508 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Slab:             112948 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     SReclaimable:      43632 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     SUnreclaim:        69316 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     KernelStack:        4720 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     PageTables:        29152 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     NFS_Unstable:          0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Bounce:                0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     WritebackTmp:          0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     CommitLimit:     4827528 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     Committed_AS:     726100 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     VmallocTotal:   34359738367                                 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     VmallocUsed:       79352 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     VmallocChunk:   34359637492                                 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     HardwareCorrupted:     0 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     AnonHugePages:     45056 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     HugePages_Total:       0
[15.12.2016 15:07:18] <140668403840864> lpb    |     HugePages_Free:        0
[15.12.2016 15:07:18] <140668403840864> lpb    |     HugePages_Rsvd:        0
[15.12.2016 15:07:18] <140668403840864> lpb    |     HugePages_Surp:        0
[15.12.2016 15:07:18] <140668403840864> lpb    |     Hugepagesize:       2048 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     DirectMap4k:        6872 kB
[15.12.2016 15:07:18] <140668403840864> lpb    |     DirectMap2M:     1957888 kB
[15.12.2016 15:07:18] <140668403840864> lpb    | }
[15.12.2016 15:07:18] <140668403840864> lpbsvc | Main thread has started.
[15.12.2016 15:07:18] <140668403840864>        | Waiting for Ctrl-C processing t                                hread...
[15.12.2016 15:07:18] <140668401678080>        | Thread started. Thread id: 1406                                68401678080, parent id: 140668403840864, role: Ctrl-C thread
[15.12.2016 15:07:18] <140668403840864>        | Ctrl-C thread has been started.                                 ID: [23543]
[15.12.2016 15:07:18] <140668403840864> lpbsvc | Starting server.
[15.12.2016 15:07:18] <140668403840864>        |   Loading upgrade script '/usr/                                share/veeam/lpb_upgrade_scheme.sql'.
[15.12.2016 15:07:18] <140668403840864> lpbcore|   SQL user version: 5.
[15.12.2016 15:07:18] <140668403840864> lpbcore|   Cleaning orphaned sessions.
[15.12.2016 15:07:18] <140668391188224>        | Thread started. Thread id: 1406                                68391188224, parent id: 140668403840864, role: VRPC server thread
[15.12.2016 15:07:18] <140668391188224> net    | Veeam RPC server started.
[15.12.2016 15:07:18] <140668391188224> net    | Selected vRPC port: '3500'.
[15.12.2016 15:07:18] <140668391188224> net    | Listening vRPC port '3500'.
[15.12.2016 15:07:18] <140668403840864> lpbsvc | Server started on port [3500].
[15.12.2016 15:07:28] <140668401678080>        | WARN|POSIX: Received CTRL-C sig                                nal.
[15.12.2016 15:07:28] <140668401678080>        | Processing CtrlC signal.
[15.12.2016 15:07:28] <140668401678080>        | Thread finished. Role: 'Ctrl-C                                 thread'.
[15.12.2016 15:07:29] <140668391188224> net    | Terminating by stop event.
[15.12.2016 15:07:29] <140668391188224> net    | Stopping client sessions.
[15.12.2016 15:07:29] <140668391188224> net    | Veeam RPC server stopped.
[15.12.2016 15:07:29] <140668391188224>        | Thread finished. Role: 'VRPC se                                rver thread'.
[15.12.2016 15:07:29] <140668403840864> lpbsvc | Disposing clients manager.
[15.12.2016 15:07:29] <140668403840864> lpbsvc | Server is stopped.



Thanks,
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Fri Dec 16, 2016 9:34 am

It seems the service didn't install correctly. Can you please try to do a proper re-install?

yum remove veeam veeamsnap
yum clean all
yum install veeam
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Fri Dec 16, 2016 10:37 am

I've done it, same result
:|

Notice that I've reboot between uninstall and reinstall.

here's an output of veeamconfig.log just after a reinstallation

Code: Select all
cat /var/log/veeam/config/veeamconfig.log
[16.12.2016 11:26:56] <139828393391968> cli    | Initializing new log filter.
[16.12.2016 11:26:56] <139828393391968>        | ====================================================================================
[16.12.2016 11:26:56] <139828393391968> lpb    | {
[16.12.2016 11:26:56] <139828393391968> lpb    |   Veeam Agent for Linux: veeam.
[16.12.2016 11:26:56] <139828393391968> lpb    |   Version: 1.0.0.944
[16.12.2016 11:26:56] <139828393391968> lpb    |   PID: 10978
[16.12.2016 11:26:56] <139828393391968> lpb    |   uname
[16.12.2016 11:26:56] <139828393391968> lpb    |     sysname : Linux
[16.12.2016 11:26:56] <139828393391968> lpb    |     release : 2.6.32-642.11.1.el6.x86_64
[16.12.2016 11:26:56] <139828393391968> lpb    |     version : #1 SMP Fri Nov 18 19:25:05 UTC 2016
[16.12.2016 11:26:56] <139828393391968> lpb    |     machine : x86_64
[16.12.2016 11:26:56] <139828393391968> lpb    | }
[16.12.2016 11:26:56] <139828393391968> lpbcore| Connecting to veeam service...
[16.12.2016 11:26:56] <139828393391968>        |   Trying to connect to the endpoint [127.0.0.1:3500]
[16.12.2016 11:26:56] <139828393391968>        |   Connection status: system:111 ( Connection refused ).
[16.12.2016 11:26:56] <139828393391968> lpbcore| Connecting to veeam service... Failed.
[16.12.2016 11:26:56] <139828393391968> lpbconf| ERR |Main thread has failed.
[16.12.2016 11:26:56] <139828393391968> lpbconf| >>  |Failed to connect to the port [127.0.0.1:3500].
[16.12.2016 11:26:56] <139828393391968> lpbconf| >>  |--tr:Failed to connect to target endpoint.
[16.12.2016 11:26:56] <139828393391968> lpbconf| >>  |An exception was thrown from thread [139828393391968].



There's no veeamsvc.log now, I'm rebooting at that point...
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Fri Dec 16, 2016 10:43 am

Somehow the veeamservice isn't starting. It might be best to open up a support case and use a webex to find a solution.

Do you have the following files:
/etc/init.d/veeamservice
/etc/rc0.d/K01veeamservice
/etc/rc1.d/K01veeamservice
/etc/rc2.d/S03veeamservice
/etc/rc3.d/S03veeamservice
/etc/rc4.d/S03veeamservice
/etc/rc5.d/S03veeamservice
/etc/rc6.d/K01veeamservice
/usr/sbin/veeamservice

What happens if u try /etc/init.d/veeamservice start ?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Fri Dec 16, 2016 10:50 am

None of those except /usr/sbin/veeamservice

when I launch /etc/init.d/veeamservice start :
bash: /etc/init.d/veeamservice: Aucun fichier ou dossier de ce type
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Fri Dec 16, 2016 10:52 am

This means something went wrong with the installation. Do you still have the logs from the yum install?

Could you try to install the following as well (if not already present): yum install -y system-config-services

And then re-install veeam?
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Fri Dec 16, 2016 10:58 am

here's yum's log

Code: Select all
Dec 15 14:13:14 Installed: veeamsnap-1.0.0.944-1.noarch
Dec 15 14:13:17 Installed: veeam-1.0.0.944-1.el7.x86_64
Dec 15 14:44:26 Installed: veeamsnap-1.0.0.944-1.noarch
Dec 15 14:44:29 Installed: veeam-1.0.0.944-1.el7.x86_64
Dec 15 16:10:31 Updated: openssl-1.0.1e-48.el6_8.3.x86_64
Dec 15 16:10:32 Updated: nss-util-3.21.3-1.el6_8.x86_64
Dec 15 16:10:33 Updated: nss-sysinit-3.21.3-2.el6_8.x86_64
Dec 15 16:10:35 Updated: nss-3.21.3-2.el6_8.x86_64
Dec 15 16:10:37 Updated: grep-2.20-5.el6_8.x86_64
Dec 15 16:10:38 Updated: libuuid-2.17.2-12.24.el6_8.1.x86_64
Dec 15 16:10:38 Updated: libblkid-2.17.2-12.24.el6_8.1.x86_64
Dec 15 16:10:39 Updated: expat-2.0.1-13.el6_8.x86_64
Dec 15 16:10:40 Updated: httpd-tools-2.2.15-55.el6.centos.2.x86_64
Dec 15 16:10:42 Updated: nss-tools-3.21.3-2.el6_8.x86_64
Dec 15 16:10:43 Updated: 32:bind-libs-9.8.2-0.47.rc1.el6_8.3.x86_64
Dec 15 16:10:44 Updated: 32:bind-utils-9.8.2-0.47.rc1.el6_8.3.x86_64
Dec 15 16:10:47 Updated: ipa-python-3.0.0-50.el6.centos.3.x86_64
Dec 15 16:10:48 Updated: libtirpc-0.2.1-11.el6_8.x86_64
Dec 15 16:10:49 Updated: libudev-147-2.73.el6_8.2.x86_64
Dec 15 16:10:56 Updated: kernel-firmware-2.6.32-642.11.1.el6.noarch
Dec 15 16:11:10 Installed: kernel-2.6.32-642.11.1.el6.x86_64
Dec 15 16:11:13 Updated: udev-147-2.73.el6_8.2.x86_64
Dec 15 16:11:17 Updated: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64
Dec 15 16:11:20 Updated: policycoreutils-2.0.83-30.1.el6_8.x86_64
Dec 15 16:11:23 Updated: selinux-policy-3.7.19-292.el6_8.2.noarch
Dec 15 16:11:26 Updated: 1:nfs-utils-1.2.3-70.el6_8.2.x86_64
Dec 15 16:11:27 Updated: ipa-client-3.0.0-50.el6.centos.3.x86_64
Dec 15 16:13:03 Updated: selinux-policy-targeted-3.7.19-292.el6_8.2.noarch
Dec 15 16:13:04 Updated: libgudev1-147-2.73.el6_8.2.x86_64
Dec 15 16:13:07 Updated: httpd-2.2.15-55.el6.centos.2.x86_64
Dec 15 16:13:27 Updated: firefox-45.5.1-1.el6.centos.x86_64
Dec 15 16:13:29 Updated: libarchive-2.8.3-7.el6_8.x86_64
Dec 15 16:13:30 Updated: 1:wpa_supplicant-0.7.3-8.el6_8.1.x86_64
Dec 15 16:13:32 Updated: tzdata-java-2016j-1.el6.noarch
Dec 15 16:13:34 Updated: sudo-1.8.6p3-25.el6_8.x86_64
Dec 15 16:13:38 Updated: kernel-headers-2.6.32-642.11.1.el6.x86_64
Dec 15 16:13:44 Updated: tzdata-2016j-1.el6.noarch
Dec 15 16:13:45 Updated: libgcrypt-1.4.5-12.el6_8.x86_64
Dec 15 16:13:47 Updated: kexec-tools-2.0.0-300.el6_8.1.x86_64
Dec 15 16:14:16 Installed: kernel-devel-2.6.32-642.11.1.el6.x86_64
Dec 16 10:25:29 Installed: veeamsnap-1.0.0.944-1.noarch
Dec 16 10:25:32 Installed: veeam-1.0.0.944-1.el7.x86_64
Dec 16 10:54:04 Erased: veeam
Dec 16 10:57:52 Erased: veeamsnap
Dec 16 11:15:16 Installed: veeamsnap-1.0.0.944-1.noarch
Dec 16 11:15:19 Installed: veeam-1.0.0.944-1.el7.x86_64

system-config-services already installed


Do you think I should remove veeam before reinstalling as I did earlier ?
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby vmniels » Fri Dec 16, 2016 11:00 am

I would advise to contact support as somehow certain files were not installed and they can have a look at why this happened. Might be related to selinux, permission issues,...
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1440
Liked: 318 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby b1o » Fri Dec 16, 2016 11:09 am

OK I'm gonna try a reinstall... You never know!

Thanks a lot for your time.

Will be back if I got an answer.
b1o
Enthusiast
 
Posts: 27
Liked: 1 time
Joined: Fri Dec 09, 2016 10:49 am

Re: Veeam Agent Linux: Error: Failed to connect to the port

Veeam Logoby PTide » Fri Dec 16, 2016 12:44 pm

I doubt it's SElinux issue - we have never had any problems with it. Please open a case with support team.
PTide
Veeam Software
 
Posts: 2884
Liked: 236 times
Joined: Tue May 19, 2015 1:46 pm

Next

Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 2 guests