I reinstall whole server from the scratch. But it see that I can't use your both command at once, because DB will not start up:
ZitatAlles anzeigenError #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'postgresql' stop 2>&1': Stopping PostgreSQL 9.1 database server: mainError: Invalid line 24 in /etc/postgresql/9.1/main/postgresql.conf: »shared_buffers = 16 data_directory = '/media/9a0daa7d-1ced-42e0-9da4-1bb0e9c175eb/PostgreSQL/' « ... failed!
failed!
invoke-rc.d: initscript postgresql, action "stop" failed.' in /usr/share/php/openmediavault/initscript.inc:176
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(148): OMVSysVInitScript->invoke('stop')
#1 /usr/share/php/openmediavault/initscript.inc(53): OMVSysVInitScript->stop()
#2 /usr/share/openmediavault/engined/module/postgresql.inc(117): OMVSysVInitScript->exec()
#3 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModulePostgreSQL->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Maybe I will try edit config file by nano from Putty. Because on error message it seams like one order on line 24, but in webUI I add there like two lines.
https://www.dropbox.com/s/2kht…95/OMV-PostgreSQL-004.png