Beiträge von hondafireblade

    Hi,
    why I've this error at every reboot:



    root@orangepiplus:~# service nginx status
    ● nginx.service - A high performance web server and a reverse proxy server
    Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
    Active: failed (Result: exit-code) since Mon 2017-05-08 11:59:28 CEST; 54s ago
    Process: 1409 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)



    May 08 11:59:28 orangepiplus nginx[1409]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
    May 08 11:59:28 orangepiplus nginx[1409]: 2017/05/08 11:59:28 [emerg] 1409#0: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
    May 08 11:59:28 orangepiplus nginx[1409]: nginx: configuration file /etc/nginx/nginx.conf test failed
    May 08 11:59:28 orangepiplus systemd[1]: nginx.service: control process exited, code=exited status=1
    May 08 11:59:28 orangepiplus systemd[1]: Failed to start A high performance web server and a reverse proxy server.
    May 08 11:59:28 orangepiplus systemd[1]: Unit nginx.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.


    How do you resolve it?


    Thanks

    Hi
    I've this problem when I try to mount a file system (/dev/sdb1 ext4):


    root@orangepiplus:/etc/nginx# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sdb 8:16 0 232,9G 0 disk
    └─sdb1 8:17 0 232,8G 0 part


    root@orangepiplus:/etc/nginx# blkid
    /dev/sdb1: UUID="865ef74c-1827-432d-bbca-085089d6828c" TYPE="ext4" PARTUUID="ce0dd492-e956-4961-a786-592aa2b760a1"




    Errore #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb1' 2>&1' with exit code '32': mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.' in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(715): OMV\System\Process->execute()#1 /usr/share/openmediavault/engined/module/fstab.inc(72): OMV\System\Filesystem\Filesystem->mount()#2 /usr/share/openmediavault/engined/rpc/config.inc(189): OMVModuleFsTab->startService()#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#6 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(845): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)#7 [internal function]: OMVRpcServiceFileSystemMgmt->mount(Array, Array)#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#9 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)#10 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)#11 {main}

    Hi I want to mount a ext4 file system on device sdb1. This is the error:


    Errore #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb1' 2>&1' with exit code '32': mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.' in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(715): OMV\System\Process->execute()#1 /usr/share/openmediavault/engined/module/fstab.inc(72): OMV\System\Filesystem\Filesystem->mount()#2 /usr/share/openmediavault/engined/rpc/config.inc(189): OMVModuleFsTab->startService()#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#6 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(845): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)#7 [internal function]: OMVRpcServiceFileSystemMgmt->mount(Array, Array)#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#9 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)#10 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)#11 {main}





    Can you help me? Thanks

    Hi, I've a problem with nginx. This is the error if I run this command:


    root@orangepiplus:/etc/nginx# nginx -t
    nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    2017/05/06 01:42:29 [emerg] 1505#0: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
    nginx: configuration file /etc/nginx/nginx.conf test failed


    The directory /var/log/nginx/ is deleted at every system reboot and this cause the error.


    Someone can help me? Thanks