10061 No connection could be made because the target machine actively refused it

This forum is intended for cases when a problem can not be solved due to restrictions of the platform: a bug or lack of functionality.

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

10061 No connection could be made because the target machine actively refused it

Cent OS x64 6.2, PostgreSQL, 8.3.3.721

Before the problem server ran out of disk space because of 1c crash dups in /tmp folder. Now it has >8Gb of disk space available, but still refuses to run. Rebooting and restarting services has no effect.

Please help, its urgent.

Edited: Alexey Gerasimov - Oct 25, 2013 12:02 AM (wrong folder)
 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Maybe the reason is in crash dumps?
Do you have new ones in this folder after restarting services?
Try to reinstall 1C:Enterprise server if it's urgent.

 
#3
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Trying to connect from management console o client application forces regent to stop

[root@srv1c tmp]# /etc/init.d/srv1cv83 status
1C:Enterprise 8.3 server status:
Init script: STARTED.
    Ragent: NOT RUNNING.

If I restart srv1cv83 it runs until I try to connect

No new dumps were found. Old ones were deleted to get some disk space.

 
#4
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Hello. There are no new crash dumps. When i start server agent manually it writes:

su usr1cv82 -c /opt/1C/v8.3/x86_64/ragent
1C:Enterprise 8.3 (x86-64) (8.3.3.721) Server Agent started. Ctrl+C to exit.
1C:Enterprise 8.3 (x86-64) (8.3.3.721) Cluster Manager started. Ctrl+C to exit.
1C:Enterprise 8.3 (x86-64) (8.3.3.721) Cluster Manager finished.
1C:Enterprise 8.3 (x86-64) (8.3.3.721) Server Agent finished.

But when i start it from the another user, it creates a new cluster and starts successfully. Maybe it is possible to turn logs on somehow?

P.S. PostgreSQL is working normal - via psql i could connect successfully and run queries.

Edited: Mikhail Ivanenko - Oct 25, 2013 12:35 AM
 
#5
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Dear 1c administrators, it is the time when we need you the most! Please help us.

 
#6
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Try to check if that user has enought limits.
To enable log please use logcfg.xml
For example:

Code
<config xmlns="http://v8.1c.ru/v8/tech-log">
       <dump create="true" location="/var/log/1c/dumps" prntscrn="true" type="2"/>
       <log history="72" location="/var/log/1c">
               <event>
                       <eq property="name" value="EXCP"/>
               </event>
               <event>
                       <eq property="name" value="EXCPCNTX"/>
               </event>
               <event>
                       <eq property="name" value="PROC"/>
               </event>
               <event>
                       <eq property="name" value="ADMIN"/>
               </event>       
               <event>
                       <eq property="name" value="MEM"/>
               </event>       
               <event>
                       <eq property="name" value="LEAKS"/>
               </event>       
               <property name="all"/>
       </log>
</config>

When you will have logs and dumps you could send them to int@1c.com so we could analyze it.

 
#7
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Thank you.

I got the log:

10:06.719002-0,PROC,1,process=rmngr,Err=0,Txt=1C:Enterprise 8.3 (x86-64) (8.3.3.721) Cluster Manager started. Ctrl+C to exit.

10:06.839000-0,EXCP,1,process=rmngr,Exception=e88a796d-7758-48a7-9ba7-781e269e9aa4,Descr='./src/RHostImpl.cpp(1898):
e88a796d-7758-48a7-9ba7-781e269e9aa4: Stream format error'

10:06.839001-0,PROC,1,process=rmngr,Err=0,Txt=1C:Enterprise 8.3 (x86-64) (8.3.3.721) Cluster Manager finished.


P.S. And we don't have infobase with GUID e88a796d-7758-48a7-9ba7-781e269e9aa4

P.P.S. And i don't see any dumps.

Edited: Mikhail Ivanenko - Oct 25, 2013 01:19 AM
 
#8
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Please make sure that for user who runs 1C:Enterprise it is enought space in /tmp folder. You might be deleted files created not by that user so the space is not enought still.

 
#9
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

When i run midnight commander from usr1cv82 user it shows me that in /tmp is about 9Gb free space.

Also:

df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                     17102184   7010276   9223148  44% /
tmpfs                  1987052         0   1987052   0% /dev/shm
/dev/xvda1              495844     72088    398156  16% /boot

 
#10
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Also in ragent.log i have a lot of messages like:

17:03.840001-0,EXCPCNTX,0,ClientComputerName=,ServerComputerName=,UserName=,ConnectString=
17:03.840002-8560000,EXCPCNTX,0,SrcName=PROC,OSThread=308533056,process=ragent,RunAs=daemon
17:04.340001-0,EXCP,1,process=ragent,ClientID=19,Exception=NetDataExchangeException,Descr=' server_addr=tcp://srv1c:1541 descr=111(0x0000006F): Connection refused line=1324 file=./src/DataExchangeTcpClientImpl.

Could it help?

I think, that we can simply try to recreate cluster, but we have many infobases at server, so i want to avoid this.

 
#11
People who like this:1Yes/0No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

I've recreated cluster and it seems that everything works fine.
But it's really interesting why such thing was happened and how to avoid it in future.

 
#12
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

We are still investigating your case.

 
#13
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hey Mikhail,

I had such problem in Ubuntu Server 12.04 PostgreSQL 9.2 1C:Enterprise 8.2.17.157

Init script: STARTED.
Ragent: NOT RUNNING.

When service ise started but now one could not to connect.

I deleted working servers and working processes and added them manually! After that all problems are dissapeared.

 
#14
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

The same solution we used in our company.

1c guys please your comments. We want to avoid this kind of problems in the future.

Also, is there any monitor to 1c server, which could send messages to administrator that something went wrong?

 
#15
People who like this:0Yes/0No
Just came
Rating: 0
Joined: May 27, 2013
Company: NEW Projecting Sp. z o.o.

I've seen similar problems when we established vpn connection on 1c server (with running 1c services). Once we even had over 4000 working processes. I think that 1C server has problems when new interface is appearing in system or new connection is established.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.