Я могу найти который выводы сценария который ошибка?

Режим приложения Active Directory (ADAM) удовлетворил бы Вашим целям?

Это - легкая версия AD, см. technet статью для большей помощи. http://technet.microsoft.com/en-us/library/cc755705 (WS.10) .aspx

2
задан 4 September 2012 в 12:31
2 ответа

You can trace the execution of a series of scripts using bash -x

bash -x /path/to/your/script

From this you can figure out which scripts are being called. You can force the script to abort early using the -e switch

bash -e -x /path/to/your/script

which may save you having to wade through lots of output

6
ответ дан 3 December 2019 в 09:06

You can simply redirect stdout and sterr of the executed script to a file. Each script output can be directed to a separate file. In this case, you can look at these files and check which script returned an error.

To redirect output, you can use:

/path/to/script > /path/to/logfile.log

To redirect stdout and stderr, you can use:

/path/to/script > /path/to/logfile.log 2>&1

You can replace > with >> to append to the file instead of truncating it each time.

1
ответ дан 3 December 2019 в 09:06

Теги

Похожие вопросы