G
G
Gloomy_Nort2016-02-05 06:06:07
linux
Gloomy_Nort, 2016-02-05 06:06:07

How to enable Debug in 1s 8.3 on Linux?

Good afternoon!
I can not set up debugging for 1s 8.3 Enterprise.
debug starts only /opt/1C/v8.3/x86_64/ragent -daemon - debug
can't do this:
Edit the start/stop script:
#mcedit /etc/init.d/srv1cv83
find the line "SRV1CV8_DEBUG=" and set it to 1 (0 - to turn off debugging)
the only thing I understand about this file is this. Edit the start/stop script:
local debugFlag="$SRV1CV8_DEBUG"
echo "$cmdline" | grep "\-debug" >/dev/null && debugFlag="1"
what to do? running just as a demon is not a beautiful solution, tell me that everything was fine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gloomy_Nort, 2016-02-12
@Gloomy_Nort

For Windows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<1C service name of the desired version>
ImagePath parameter - add the -debug parameter to the launch line:
"C:\Program Files\1cv8X\X.X.X.X\bin\ragent. exe" -srvc -agent -regport 1541 -port 1540 -range 1560:1591 –debug -d "C:\Program Files (x86)\1cv82\srvinfo"
For Linux:
/etc/sysconfig/srv1cv83
Add (uncomment) the line:
SRV1CV8_DEBUG=1

D
Dmitry Kinash, 2016-02-11
@Dementor

Editing /etc/init.d/srv1cv83 has always helped me. Check your directory /etc/init.d/ - maybe some other srv1cv8* is lying around there, which is registered in autoload and the settings from which your 1C server reads at the same time (there, in addition to the debugging key, there is also a port setting and other options necessary for starting ).
Another point - the SRV1CV8_DEBUG key in the config is commented out by default. Are you sure you removed the comment character in front of it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question