Искал в Google решение по ошибке стартовых скриптов, которая есть после установки сервера 1С:Предприятие и PostgreSQL. Везде пишут, что данные ошибки на работу не влияют, но никто не знает как ее решить. Может кто-нибудь из форумчан, что-нибудь подскажет?
[console]update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K02postgresql' missing LSB tags and overrides
insserv: warning: script 'srv1cv82' missing LSB tags and overrides
insserv: warning: script 'postgresql.outformat' missing LSB tags and overrides
insserv: warning: script 'postgresql' missing LSB tags and overrides[/console]
Ошибки скриптов запуска 1С и PostgreSQL
Вот примерно такое должно быть в начале каждого скрипта автозагрузки - это и есть LSB tags
### BEGIN INIT INFO
# Provides: ramlog
# Required-Start:
# Should-Start: $local_fs
# X-Start-Before: $syslog
# X-Stop-After: $syslog
# X-Interactive: yes
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: moves /var/log into ramdisk
# Description: ramlog daemon moves /var/log to ramdisk on startup and copies it back to harddrive on shutdown or restartнемного поподробнее (рус) http://wiki.dieg.info/doku.php/update-rc.d
allflow, не получается.
[console]using dependency based boot sequencing
insserv: Script postgresql is broken: missing end of LSB comment.
insserv: exiting now!
update-rc.d: error: insserv rejected the script header[/console]
allflow, оказывается должен быть и закрывающий комментарий:
[console]### END INIT INFO[/console]
В общем у меня работает так:
[console]### BEGIN INIT INFO
# Provides: myscript
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 1 0 6
# Short-Description: simple description.
### END INIT INFO[/console]
Проблема решена! Спасибо allflow!!!
Народ, а кто нибудь может пояснить для чего нужны эти LSB-теги и как их настраивать? Дело в том, что у меня перестал запускаться скрипт с LSB-тегами при включении сервера.
Для скрипта запуска сервера 1С:Предприятие добавил такие теги:
[console]### BEGIN INIT INFO
# Provides: ramlog
# Required-Start:
# Should-Start: $local_fs
# X-Start-Before: $syslog
# X-Stop-After: $syslog
# X-Interactive: yes
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: moves /var/log into ramdisk
# Description: ramlog daemon moves /var/log to ramdisk on startup and copies it$
### END INIT INFO[/console]
Вроде работает.