Okay. I believe I'm fully resolved now. Thanks again!
Beiträge von romehu2
-
-
Thanks so much macom! Rebooted to make sure changes stuck, and everything seems to be running fine now.
Any guesses as to how I might have masked openmediavault-engined.service in the first place?
-
-
...and, I just changed my omv admin pwd after realizing I posted it on the internet.
-
Okay, yeah, I should have logged in. With omv-engined running I was able to log in. As soon as I Ctrl-C'd omv-engined, I started getting the "cannot connect" errors. Here's the start of the output from where I left off above:
Code
Alles anzeigenChild process forked (pid=474) Executing RPC (service=UserMgmt, method=authUser, params={"username":"admin","password":"***"}, context={"username":"admin","role":1,"_SERVER":{"SERVER_PROTOCOL":"HTTP\/1.1","GATEWAY_INTERFACE":"CGI\/1.1","SERVER_SOFTWARE":"nginx\/1.14.2","REMOTE_ADDR":"::ffff:192.168.1.3","REMOTE_PORT":"52699","SERVER_ADDR":"::ffff:192.168.1.20","SERVER_PORT":"80","SERVER_NAME":"openmediavault-webgui","REDIRECT_STATUS":"200","HTTP_HOST":"192.168.1.20","HTTP_ORIGIN":"http:\/\/192.168.1.20","HTTP_USER_AGENT":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko\/20100101 Firefox\/103.0","HTTP_CONTENT_TYPE":"application\/json","HTTP_REFERER":"http:\/\/192.168.1.20\/"}}) ... RPC response (service=UserMgmt, method=authUser): {"response":{"authenticated":true,"username":"admin","permissions":{"role":"admin"}},"error":null} SIGCHLD received ... Child (pid=474) terminated with exit code 0 Child process forked (pid=491) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... Child process forked (pid=495) Executing RPC (service=Services, method=getStatus, params=[], context={"username":"admin","role":1}) ... RPC response (service=Services, method=getStatus): {"response":{"total":5,"data":[{"name":"proftpd","title":"FTP","enabled":false,"running":false},{"name":"nfs","title":"NFS","enabled":false,"running":true},{"name":"rsyncd","title":"RSync server","enabled":false,"running":false},{"name":"samba","title":"SMB\/CIFS","enabled":false,"running":true},{"name":"ssh","title":"SSH","enabled":true,"running":true}]},"error":null} SIGCHLD received ... Child (pid=495) terminated with exit code 0 RPC response (service=System, method=getInformation): {"response":{"ts":1658891276,"time":"Tue Jul 26 20:07:56 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":2.512562814070352,"memTotal":"2092871680","memUsed":"533966848","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 54 minutes 36 seconds","loadAverage":"0.29, 0.10, 0.02","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=491) terminated with exit code 0 Child process forked (pid=527) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... RPC response (service=System, method=getInformation): {"response":{"ts":1658891281,"time":"Tue Jul 26 20:08:01 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":0,"memTotal":"2092871680","memUsed":"533962752","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 54 minutes 41 seconds","loadAverage":"0.29, 0.10, 0.02","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=527) terminated with exit code 0 Child process forked (pid=534) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... Child process forked (pid=537) Executing RPC (service=Services, method=getStatus, params=[], context={"username":"admin","role":1}) ... RPC response (service=Services, method=getStatus): {"response":{"total":5,"data":[{"name":"proftpd","title":"FTP","enabled":false,"running":false},{"name":"nfs","title":"NFS","enabled":false,"running":true},{"name":"rsyncd","title":"RSync server","enabled":false,"running":false},{"name":"samba","title":"SMB\/CIFS","enabled":false,"running":true},{"name":"ssh","title":"SSH","enabled":true,"running":true}]},"error":null} SIGCHLD received ... Child (pid=537) terminated with exit code 0 RPC response (service=System, method=getInformation): {"response":{"ts":1658891286,"time":"Tue Jul 26 20:08:06 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":2.5,"memTotal":"2092871680","memUsed":"534855680","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 54 minutes 46 seconds","loadAverage":"0.27, 0.10, 0.02","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=534) terminated with exit code 0 Child process forked (pid=557) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... RPC response (service=System, method=getInformation): {"response":{"ts":1658891291,"time":"Tue Jul 26 20:08:11 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":0,"memTotal":"2092871680","memUsed":"533864448","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 54 minutes 51 seconds","loadAverage":"0.33, 0.11, 0.03","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=557) terminated with exit code 0 Child process forked (pid=572) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... Child process forked (pid=577) Executing RPC (service=Services, method=getStatus, params=[], context={"username":"admin","role":1}) ... RPC response (service=Services, method=getStatus): {"response":{"total":5,"data":[{"name":"proftpd","title":"FTP","enabled":false,"running":false},{"name":"nfs","title":"NFS","enabled":false,"running":true},{"name":"rsyncd","title":"RSync server","enabled":false,"running":false},{"name":"samba","title":"SMB\/CIFS","enabled":false,"running":true},{"name":"ssh","title":"SSH","enabled":true,"running":true}]},"error":null} SIGCHLD received ... Child (pid=577) terminated with exit code 0 RPC response (service=System, method=getInformation): {"response":{"ts":1658891296,"time":"Tue Jul 26 20:08:16 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":3.015075376884422,"memTotal":"2092871680","memUsed":"533323776","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 54 minutes 56 seconds","loadAverage":"0.30, 0.11, 0.03","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=572) terminated with exit code 0 Child process forked (pid=592) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... RPC response (service=System, method=getInformation): {"response":{"ts":1658891301,"time":"Tue Jul 26 20:08:21 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":0.12547051442910914,"memTotal":"2092871680","memUsed":"533958656","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 55 minutes 1 seconds","loadAverage":"0.28, 0.11, 0.03","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=592) terminated with exit code 0 Child process forked (pid=599) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... Child process forked (pid=603) Executing RPC (service=Services, method=getStatus, params=[], context={"username":"admin","role":1}) ... RPC response (service=Services, method=getStatus): {"response":{"total":5,"data":[{"name":"proftpd","title":"FTP","enabled":false,"running":false},{"name":"nfs","title":"NFS","enabled":false,"running":true},{"name":"rsyncd","title":"RSync server","enabled":false,"running":false},{"name":"samba","title":"SMB\/CIFS","enabled":false,"running":true},{"name":"ssh","title":"SSH","enabled":true,"running":true}]},"error":null} SIGCHLD received ... Child (pid=603) terminated with exit code 0 RPC response (service=System, method=getInformation): {"response":{"ts":1658891306,"time":"Tue Jul 26 20:08:26 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":3.0112923462986196,"memTotal":"2092871680","memUsed":"534183936","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 55 minutes 6 seconds","loadAverage":"0.25, 0.11, 0.03","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ... Child (pid=599) terminated with exit code 0 Child process forked (pid=619) Executing RPC (service=System, method=getInformation, params=null, context={"username":"admin","role":1}) ... RPC response (service=System, method=getInformation): {"response":{"ts":1658891311,"time":"Tue Jul 26 20:08:31 2022","hostname":"odroid-openmediavault.local","version":"5.6.26-1 (Usul)","cpuModelName":"ARMv7 Processor rev 3 (v7l)","cpuUsage":0.375,"memTotal":"2092871680","memUsed":"534343680","kernel":"Linux 4.14.180-odroidxu4","uptime":"10 days 1 hour 55 minutes 11 seconds","loadAverage":"0.23, 0.11, 0.03","configDirty":true,"rebootRequired":false,"pkgUpdatesAvailable":true},"error":null} SIGCHLD received ...
-
I pressed Ctrl-C after, I forget, 30-60 minutes. Didn't seem like anything was going to happen. Should I have attempted to login at that point?
head -20 /etc/openmediavault/config.xml
XML
Alles anzeigen<?xml version="1.0" encoding="UTF-8"?> <config> <!-- Configuration version --> <version>0.1</version> <!-- System configuration - Do not add any configuration here --> <system> <apt> <distribution> <!-- <proposed>0|1</proposed> <partner>0|1</partner> --> <proposed>0</proposed> <partner>0</partner> </distribution> </apt> <powermanagement> <!-- <cpufreq>0|1</cpufreq> <powerbtn>nothing|shutdown|standby</powerbtn>
-
Login error:
Code
Alles anzeigenFailed to connect to socket: No such file or directory Error #0: OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:141 Stack trace: #0 /var/www/openmediavault/rpc/session.inc(57): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true) #1 [internal function]: OMVRpcServiceSession->login(Array, Array) #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array) #4 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3) #5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle() #6 {main}
omv-engined -d -f
Code
Alles anzeigenRegistered data models: conf.service conf.service.ftp conf.service.ftp.modban.rule conf.service.ftp.modtls conf.service.ftp.share conf.service.nfs conf.service.nfs.share conf.service.rsync.job conf.service.rsyncd conf.service.rsyncd.module conf.service.smartmontools conf.service.smartmontools.device conf.service.smartmontools.job conf.service.smb conf.service.smb.share conf.service.ssh conf.system.apt.distribution conf.system.certificate.ssh conf.system.certificate.ssl conf.system.cron.job conf.system.filesystem.mountpoint conf.system.filesystem.quota conf.system.hdparm conf.system.mdadm.device conf.system.monitoring.perfstats conf.system.network.dns conf.system.network.interface conf.system.network.iptables.rule conf.system.network.proxy conf.system.notification.email conf.system.notification.notification conf.system.powermngmnt conf.system.sharedfolder conf.system.sharedfolder.privilege conf.system.syslog.remote conf.system.time conf.system.usermngmnt.group conf.system.usermngmnt.homedir conf.system.usermngmnt.user conf.webadmin rpc.apt.getchangelog rpc.apt.install rpc.apt.setsettings rpc.apt.upload rpc.certificatemgmt.copysshid rpc.certificatemgmt.create rpc.certificatemgmt.createssh rpc.certificatemgmt.set rpc.certificatemgmt.setssh rpc.common.devicefile rpc.common.getlist rpc.common.objectuuid rpc.config.applychanges rpc.config.revertchanges rpc.cron.getlist rpc.cron.set rpc.diskmgmt.sethdparm rpc.diskmgmt.wipe rpc.emailnotification.set rpc.exec.getoutput rpc.exec.isrunning rpc.exec.stop rpc.filesystemmgmt.create rpc.filesystemmgmt.delete rpc.filesystemmgmt.enumeratemountedfilesystems rpc.filesystemmgmt.hasfilesystem rpc.filesystemmgmt.mount rpc.filesystemmgmt.resize rpc.filesystemmgmt.umount rpc.folderbrowser.get rpc.fstab.getbydir rpc.fstab.getbyfsname rpc.fstab.set rpc.ftp.setmodbanrule rpc.ftp.setmodtlssettings rpc.ftp.setsettings rpc.ftp.setshare rpc.iptables.setrule rpc.iptables.setrules rpc.iptables.setrules6 rpc.logfile.clear rpc.logfile.getcontent rpc.logfile.getlist rpc.network.enumeratebondslaves rpc.network.enumeratebridgeslaves rpc.network.identify rpc.network.setbondiface rpc.network.setbridgeiface rpc.network.setethernetiface rpc.network.setgeneralsettings rpc.network.setproxy rpc.network.setvlaniface rpc.network.setwirelessiface rpc.nfs.setsettings rpc.nfs.setshare rpc.notification.isenabled rpc.notification.set rpc.notification.setlist rpc.perfstats.set rpc.plugin.install rpc.plugin.remove rpc.plugin.upload rpc.powermgmt.set rpc.powermgmt.setscheduledjob rpc.quota.getbytypename rpc.quota.set rpc.quota.setbytypename rpc.raidmgmt.add rpc.raidmgmt.create rpc.raidmgmt.grow rpc.raidmgmt.remove rpc.rsync.set rpc.rsyncd.setmodule rpc.rsyncd.setsettings rpc.session.login rpc.sharemgmt.copyprivileges rpc.sharemgmt.delete rpc.sharemgmt.getfileacl rpc.sharemgmt.getprivilegesbyrole rpc.sharemgmt.set rpc.sharemgmt.setfileacl rpc.sharemgmt.setprivileges rpc.sharemgmt.setprivilegesbyrole rpc.smart.setdevicesettings rpc.smart.setscheduledtest rpc.smart.setsettings rpc.smb.setsettings rpc.smb.setshare rpc.ssh.set rpc.syslog.setsettings rpc.system.reboot rpc.system.setdate rpc.system.settimesettings rpc.system.shutdown rpc.system.standby rpc.usermgmt.authuser rpc.usermgmt.deletegroup rpc.usermgmt.deleteuser rpc.usermgmt.getgroup rpc.usermgmt.getuser rpc.usermgmt.importgroup rpc.usermgmt.importuser rpc.usermgmt.setgroup rpc.usermgmt.setpasswordbycontext rpc.usermgmt.setsettings rpc.usermgmt.setuser rpc.usermgmt.setuserbycontext rpc.webgui.setsettings Registered filesystem backends: btrfs exfat ext ext2 ext3 ext4 f2fs fuseblk hfsplus iso9660 jfs msdos none ntfs reiserfs swap udf ufs umsdos vfat xfs Registered RPC services: apt certificatemgmt config cron diskmgmt emailnotification exec filesystemmgmt folderbrowser fstab ftp iptables logfile network nfs notification perfstats plugin powermgmt quota raidmgmt rrd rsync rsyncd services sharemgmt smart smb ssh syslog system usermgmt webgui Registered modules: apt avahi certificates chrony collectd cpufrequtils cron cronapt email fstab ftp halt hdparm hostname hosts initramfs iptables issue mdadm monit nfs nginx pam phpfpm postfix profile proftpd quota rrdcached rsync rsyncd rsyslog samba sharedfolders smartmontools ssh sysctl systemd systemd-logind systemd-networkd task timezone webadmin webserver zeroconf SIGCHLD received ...
At which point I hit Ctrl-C to exit.
-
macom that did it, thanks! If I had done one more web search for the oldstable error I would have had your suggestion, sorry.
I now get the webgui but I'm getting a "Failed to connect to socket" error. More fun for another day, sigh.
Thank you!
-
My issue seems very close to Superturisto's problem except that I have an Odroid HC2 instead of a RPi4. I finally noticed I could not log into the webgui; I got a 403 Forbidden and so I tried apt-get install --reinstall openmediavault which failed. (Running as root).
When I run apt-get -f install I end up with this:
Codedpkg: error processing package openmediavault (--configure): installed openmediavault package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: openmediavault
dpkg --audit output:
CodeThe following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: openmediavault openmediavault - The open network attached storage soluti
apt-get -f install (with file "openmediavault.postinst" changed to "#!/bin/sh -x"):
apt-get_-f_install--output.txt (exceeded 10K characters)
The install effectively does dpkg --configure openmediavault as I see the output duplicated, so I didn't include that here.
Per that thread and Zoki I unsuccesfully tried omv-salt deploy run apt cronapt which had this output:
omv-salt_deploy_run_apt_cronapt--output.txt
I see references in the three errors to "oldstable", but I don't know what to try at this point. OMV6 is a possibility, I guess, but I'd rather get OMV5 working again before I give that a shot. Many thanks for any help thrown my way!