Jump to content
XPEnology Community
  • 0

DSM web-ui stopped working


indierocketeer

Question

I have an HP ML10 gen 9 running 6.1.7-15284 update 3, setup as a 3617xs.  It's been fine and stable for over a year.  After reading about problems with recovery for RAID 5 arrays with larger disks, I bought an external USB drive (8TB WD) for backups and connected it.  I setup a USBCopy task for a shared folder directory and started it. 

 

An hour later, I went to check on the task, but the web interface stopped working a minute after I logged in.  Everything would get stuck loading.  I closed the browser to log in again, assuming it was my laptop, but then I just get a white landing page that says Synology - Sorry the page you're looking for is not found.

 

I could see the copy operation was still working (flashing light on drive), and plex was responding so I left it overnight.  This morning I tried sudo reboot but there is no change.  I cannot load the dsm web-ui, and other programs like Plex do not appear to be running either.  Upon ssh to the xpenology box, I get a message that

 

Could not chdir to home directory /var/services/home/Indie: No such file or directory

I can still move about on the command line but I'm not sure what to go looking for.  Any troubleshooting suggestions would be greatly appreciated, please.

 

Thank you!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 1

Ok you need to download the 3617xs DSM6.1.7-15284 PAT file (version you are currently using) and extract the libsynopkg.so.1 and the libsynoshare.so.6 files and remplace those in your box with these ones.

Once you have replaced them run this:

chmod u-w /lib/libsynopkg.so.1 /lib/libsynoshare.so.6
Then run
synoscgi
It should now work. Reboot your machine for good measures and for all services to start normally. To reboot run this:
reboot now
You can use 7-Zip to unpack the PAT file and the hda1.tgz archive under it.

You can use scp or wget or curl to copy the 2 files to your box or anyway you see fit.

 

I highly recommend you migrate to 3615xs unless you have specific needs for 3617xs.

  • Thanks 1
Link to comment
Share on other sites

  • 0

Thank you very much for your time.

 

Some further information:

 

/var/services$ ls -l
total 4
lrwxrwxrwx 1 root root   18 Nov 15  2018 download -> /volume1/@download
lrwxrwxrwx 1 root root   14 May 17 14:44 homes -> /volume2/homes
lrwxrwxrwx 1 root root   14 Dec 31  2008 music -> /volume2/music
lrwxrwxrwx 1 root root   24 Dec 31  2008 pgsql -> /volume1/@database/pgsql
lrwxrwxrwx 1 root root   14 Dec 31  2008 photo -> /volume2/photo
lrwxrwxrwx 1 root root   21 Mar  7 06:50 surveillance -> /volume2/surveillance
lrwxrwxrwx 1 root root   24 Dec 31  2008 tmp -> /var/services/tmp.static
drwxrwxrwt 3 root root 4096 Dec 31  2008 tmp.static
lrwxrwxrwx 1 root root   14 Dec 31  2008 video -> /volume2/video
lrwxrwxrwx 1 root root   12 Dec 31  2008 web -> /volume1/web

 

You make a perfect point about the user I'm using for SSH, that it should have been root@ipaddress

 

I am able to mount the volume with a live ubuntu usb and mdadm, so the data is copying off to an external backup now.

Edited by Polanskiman
noob mistakes
Link to comment
Share on other sites

  • 0

Maybe related?

 

I checked to see if all of the drives were still appearing/connected with fdisk -l

 

When I post the whole output, it gets flagged as spam comments and won't let me post, so I put it in pastebin:

Spoiler

$ sudo fdisk -l
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x29a752e4

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sdb1          2048   4982527   4980480  2.4G fd Linux raid autodetect
/dev/sdb2       4982528   9176831   4194304    2G fd Linux raid autodetect
/dev/sdb3       9437184 468657311 459220128  219G fd Linux raid autodetect


Disk /dev/sdc: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9E707B58-D614-4D99-AB91-A9E21DA20C40

Device       Start        End    Sectors  Size Type
/dev/sdc1     2048    4982527    4980480  2.4G Linux RAID
/dev/sdc2  4982528    9176831    4194304    2G Linux RAID
/dev/sdc3  9437184 7813832351 7804395168  3.6T Linux RAID


Disk /dev/sdd: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 142B5591-C7BA-4225-846E-5DF43B238910

Device       Start        End    Sectors  Size Type
/dev/sdd1     2048    4982527    4980480  2.4G Linux RAID
/dev/sdd2  4982528    9176831    4194304    2G Linux RAID
/dev/sdd3  9437184 7813832351 7804395168  3.6T Linux RAID


Disk /dev/sde: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 74699594-E966-4A87-9182-7C9475C297BD

Device       Start        End    Sectors  Size Type
/dev/sde1      256    4980735    4980480  2.4G Linux RAID
/dev/sde2  4980736    9175039    4194304    2G Linux RAID
/dev/sde3  9437184 7813832351 7804395168  3.6T Linux RAID


Disk /dev/sdf: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7C1CFD31-22B5-419A-A40F-90ABB3E2D26E

Device       Start        End    Sectors  Size Type
/dev/sdf1      256    4980735    4980480  2.4G Linux RAID
/dev/sdf2  4980736    9175039    4194304    2G Linux RAID
/dev/sdf3  9437184 7813832351 7804395168  3.6T Linux RAID


Disk /dev/md0: 2.4 GiB, 2549940224 bytes, 4980352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/md1: 2 GiB, 2147418112 bytes, 4194176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


GPT PMBR size mismatch (102399 != 31260671) will be corrected by w(rite). <<---------------
Disk /dev/synoboot: 14.9 GiB, 16005464064 bytes, 31260672 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C94E55EA-A4D2-4E78-9D73-46CBAE7A03EF

Device         Start    End Sectors Size Type
/dev/synoboot1  2048  32767   30720  15M EFI System
/dev/synoboot2 32768  94207   61440  30M Linux filesystem
/dev/synoboot3 94208 102366    8159   4M BIOS boot


Disk /dev/zram0: 5.9 GiB, 6305087488 bytes, 1539328 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 5.9 GiB, 6305087488 bytes, 1539328 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

I'm curious about this section:
 

Quote

 

GPT PMBR size mismatch (102399 != 31260671) will be corrected by w(rite).

Disk /dev/synoboot: 14.9 GiB

 

 

What's going on with that "GPT PMBR size mismatch" problem? Could that be the culprit?


Should I try to write another USB drive with a more current bootloader and try to migrate?  Perhaps 1.03b and DS3615xs?

Edited by Polanskiman
Added log to spoiler code. Removed link to pastebin.
Link to comment
Share on other sites

  • 0

Let's focus and do one thing at a time.

 

When posting code or logs please use the code tag.

Screen Shot 2019-05-28 at 14.56.39.jpg

 

What I need is the ownership and permissions of /var /var/services and /var/services/homes directories.

Type the following and give me the output:

ls -ld /var /var/services /var/services/homes

You should get something like this:

root@testserver:~# ls -ld /var /var/services /var/services/homes
drwxr-xr-x  16 root root 4096 May 27 13:11 /var
drwxr-xr-x   2 root root 4096 May 27 13:12 /var/services
lrwxrwxrwx+  1 root root   14 May 27 13:12 /var/services/homes -> /volume1/homes

 

  • Thanks 1
Link to comment
Share on other sites

  • 0

Thank you for your patience with me.  Here is the output:

 

root@xpenologybox:~# ls -ld /var /var/services /var/services/homes
drwxr-xr-x 16 root root 4096 Jan  1  2009 /var
drwxr-xr-x  3 root root 4096 Dec 31  2008 /var/services
lrwxrwxrwx  1 root root   14 May 17 14:44 /var/services/homes -> /volume2/homes

Those dates seem odd to me.

Link to comment
Share on other sites

  • 0

First:

 

Spoiler

root@xpenologybox:~# synoservice -status
Service [synomount] status=[enable]
required upstart job:
        [synomount] is start.
=======================================
Service [ddns] status=[enable]
required upstart job:
        [ddnsd] is start.
=======================================
Service [synostoraged] status=[enable]
required upstart job:
        [synostoraged] is start.
=======================================
Service [syslog-notify] status=[enable]
required upstart job:
        [syslog-ng] is start.
        [syslog-notify] is start.
=======================================
Service [synowifid] status=[disable]
required upstart job:
        [synowifid] is stop.
=======================================
Service [iscsitrg] status=[enable]
required upstart job:
        [iscsitrg-adapter] is start.
=======================================
service [pkgctl-nzbdrone] status=[error]
required upstart job:
        [pkgctl-nzbdrone] is stop.
=======================================
service [pkgctl-VPNCenter] status=[error]
required upstart job:
        [pkgctl-VPNCenter] is stop.
=======================================
service [pkgctl-nzbhydra] status=[error]
required upstart job:
        [pkgctl-nzbhydra] is stop.
=======================================
Service [synoovs-vswitch] status=[enable]
required upstart job:
        [synoovs-vswitch] is start.
=======================================
service [pkgctl-PHP7.0] status=[error]
required upstart job:
        [pkgctl-PHP7.0] is stop.
=======================================
Service [ssh-shell] status=[enable]
required upstart job:
        [ssh-shell] is start.
        [sshd] is start.
=======================================
Service [nslcd] status=[disable]
required upstart job:
        [nslcd] is stop.
=======================================
service [pkgctl-PhotoStation] status=[error]
required upstart job:
        [pkgctl-PhotoStation] is stop.
=======================================
service [pkgctl-WebStation] status=[error]
required upstart job:
        [pkgctl-WebStation] is stop.
=======================================
Service [synocachepinfiletool] status=[enable]
required upstart job:
        [synocachepinfiletool] is stop.
=======================================
service [pkgctl-Plex Media Server] status=[error]
required upstart job:
        [pkgctl-Plex Media Server] is stop.
=======================================
service [pkgctl-PHP5.6] status=[error]
required upstart job:
        [pkgctl-PHP5.6] is stop.
=======================================
service [snmp] status=[error]
required upstart job:
        [snmpd] is stop.
=======================================
Service [avahi] status=[enable]
required upstart job:
        [avahi] is start.
=======================================
Service [ups-usb] status=[disable]
required upstart job:
        [upsd-usb-adapter] is stop.
=======================================
Service [synovpnclient] status=[enable]
required upstart job:
        [synovpnclient] is start.
=======================================
Service [synorelayd] status=[disable]
required upstart job:
        [synorelayd] is stop.
=======================================
Service [syslog-ng] status=[enable]
required upstart job:
        [syslog-ng] is start.
=======================================
service [pkgctl-FileStation] status=[error]
required upstart job:
        [pkgctl-FileStation] is stop.
=======================================
Service [synologrotate] status=[enable]
required upstart job:
        [synologrotated] is start.
=======================================
Service [upnpd] status=[disable]
required upstart job:
        [upnpd] is stop.
=======================================
Service [synocontentextractd] status=[enable]
required upstart job:
        [synocontentextractd] is start.
=======================================
Service [synocacheclient] status=[enable]
required upstart job:
        [synocacheclient] is start.
=======================================
Service [winbindd] status=[disable]
required upstart job:
        [winbindd] is stop.
=======================================
service [pkgctl-HyperBackup] status=[error]
required upstart job:
        [pkgctl-HyperBackup] is stop.
=======================================
Service [hotplugd] status=[enable]
required upstart job:
        [hotplugd] is start.
=======================================
Service [miniupnpd-handler] status=[disable]
required upstart job:
        [miniupnpd-handler] is stop.
=======================================
Service [ntpd-server] status=[enable]
required upstart job:
        [ntpd] is start.
=======================================
service [pkgctl-SynoFinder] status=[error]
required upstart job:
        [pkgctl-SynoFinder] is stop.
=======================================
Service [ftpd-ssl] status=[disable]
required upstart job:
        [ftpd] is stop.
        [ftpd-ssl] is stop.
=======================================
Service [nmbd] status=[enable]
required upstart job:
        [nmbd] is start.
=======================================
service [pkgctl-Node.js_v4] status=[error]
required upstart job:
        [pkgctl-Node.js_v4] is stop.
=======================================
Service [bluetoothd] status=[disable]
required upstart job:
        [bluetoothd] is stop.
=======================================
service [pkgctl-mono] status=[error]
required upstart job:
        [pkgctl-mono] is stop.
=======================================
Service [crond] status=[enable]
required upstart job:
        [crond] is start.
=======================================
Service [cupsd] status=[disable]
required upstart job:
        [cupsd] is stop.
=======================================
Service [synomkflvd] status=[enable]
required upstart job:
        [synomkflvd] is start.
=======================================
service [synosnmpcd] status=[error]
required upstart job:
        [synosnmpcd] is stop.
=======================================
service [pkgctl-SynologyDrive] status=[error]
required upstart job:
        [pkgctl-SynologyDrive] is stop.
=======================================
Service [synobackupd] status=[enable]
required upstart job:
        [synobackupd] is start.
=======================================
service [synocgid] status=[error]
required upstart job:
        [synocgid] is stop.
=======================================
Service [atalk] status=[enable]
required upstart job:
        [netatalk] is start.
=======================================
Service [nginx] status=[enable]
required upstart job:
        [nginx] is start.
=======================================
service [pkgctl-python] status=[error]
required upstart job:
        [pkgctl-python] is stop.
=======================================
Service [sftp] status=[disable]
required upstart job:
        [sshd] is start.
        [ssh-sftp] is stop.
=======================================
service [pkgctl-Docker] status=[error]
required upstart job:
        [pkgctl-Docker] is stop.
=======================================
Service [synomkthumbd] status=[enable]
required upstart job:
        [synomkthumbd] is start.
=======================================
Service [ntpd-client] status=[enable]
required upstart job:
        [ntpd] is start.
=======================================
service [pppoerelay] status=[error]
required upstart job:
        [pppoerelay] is stop.
=======================================
Service [samba] status=[enable]
required upstart job:
        [smbd] is start.
=======================================
service [pkgctl-LogCenter] status=[error]
required upstart job:
        [pkgctl-LogCenter] is stop.
=======================================
Service [synoovs-db] status=[enable]
required upstart job:
        [synoovs-db] is start.
=======================================
Service [gcpd] status=[disable]
required upstart job:
        [gcpd] is stop.
=======================================
Service [ssdp] status=[enable]
required upstart job:
        [minissdpd] is start.
=======================================
service [pkgctl-sabnzbd] status=[error]
required upstart job:
        [pkgctl-sabnzbd] is stop.
=======================================
Service [pkgctl-lidarr] status=[disable]
required upstart job:
        [pkgctl-lidarr] is stop.
=======================================
Service [tftp] status=[disable]
required upstart job:
        [opentftp] is stop.
=======================================
service [s2s_daemon] status=[error]
required upstart job:
        [s2s_daemon] is stop.
=======================================
service [pkgctl-StorageAnalyzer] status=[error]
required upstart job:
        [pkgctl-StorageAnalyzer] is stop.
=======================================
Service [synogpoclient] status=[enable]
required upstart job:
        [synogpoclient] is start.
=======================================
Service [support-remote-access] status=[disable]
required upstart job:
        [synorelayd] is stop.
=======================================
service [pkgctl-lazylibrarian] status=[error]
required upstart job:
        [pkgctl-lazylibrarian] is stop.
=======================================
service [pkgctl-plexpy-custom] status=[error]
required upstart job:
        [pkgctl-plexpy-custom] is stop.
=======================================
service [pkgctl-USBCopy] status=[error]
required upstart job:
        [pkgctl-USBCopy] is stop.
=======================================
Service [synoperfeventd] status=[disable]
required upstart job:
        [synoperfeventd] is stop.
=======================================
Service [natpmpd] status=[disable]
required upstart job:
        [natpmpd] is stop.
=======================================
Service [synocrond] status=[enable]
required upstart job:
        [synocrond] is start.
=======================================
Service [pgsql] status=[enable]
required upstart job:
        [pgsql-adapter] is start.
=======================================
Service [ups-net] status=[disable]
required upstart job:
        [upsd-net-adapter] is stop.
=======================================
service [pkgctl-SynologyMoments] status=[error]
required upstart job:
        [pkgctl-SynologyMoments] is stop.
=======================================
service [pkgctl-WebTools] status=[error]
required upstart job:
        [pkgctl-WebTools] is stop.
=======================================
Service [telnetd] status=[disable]
required upstart job:
        [telnetd] is stop.
        [inetd] is stop.
=======================================
Service [apparmor] status=[enable]
required upstart job:
        [apparmor] is start.
=======================================
Service [btacd] status=[disable]
required upstart job:
        [btacd] is stop.
=======================================
Service [synoagentregisterd] status=[disable]
required upstart job:
        [synoagentregisterd] is stop.
=======================================
Service [syslog-acc] status=[enable]
required upstart job:
        [syslog-acc] is start.
=======================================
Service [bonjour] status=[disable]
required upstart job:
        [bonjour] is stop.
=======================================
Service [rsyncd] status=[disable]
required upstart job:
        [rsyncd-adapter] is stop.
        [sshd] is start.
=======================================
Service [nfsd] status=[disable]
required upstart job:
        [nfsd-adapter] is stop.
=======================================
Service [synotunnel] status=[disable]
required upstart job:
        [synotunnel] is stop.
=======================================
service [pkgctl-SynologyApplicationService] status=[error]
required upstart job:
        [pkgctl-SynologyApplicationService] is stop.
=======================================
service [pkgctl-Perl] status=[error]
required upstart job:
        [pkgctl-Perl] is stop.
=======================================
service [synotifyd] status=[error]
required upstart job:
        [synotifyd] is stop.
=======================================
Service [dbus] status=[enable]
required upstart job:
        [dbus-system] is start.
        [dbus-session] is start.
=======================================
service [findhost] status=[error]
required upstart job:
        [findhostd] is stop.
=======================================
Service [synoconfd] status=[enable]
required upstart job:
        [synoconfd] is start.
=======================================
service [pkgctl-git] status=[error]
required upstart job:
        [pkgctl-git] is stop.
=======================================
Service [dc-output] status=[enable]
required upstart job:
        [dc-output] is start.
=======================================
service [pkgctl-radarr] status=[error]
required upstart job:
        [pkgctl-radarr] is stop.
=======================================
Service [synoindexd] status=[enable]
required upstart job:
        [synoindexd] is start.
=======================================
Service [ftpd] status=[disable]
required upstart job:
        [ftpd] is stop.
        [ftpd-pure] is stop.
=======================================
Service [pkgctl-SurveillanceStation] status=[disable]
required upstart job:
        [pkgctl-SurveillanceStation] is stop.
=======================================
service [pkgctl-MailServer] status=[error]
required upstart job:
        [pkgctl-MailServer] is stop.
=======================================
Service [ldap-server] status=[disable]
required upstart job:
        [slapd-adapter] is stop.
=======================================
Service [usbipd] status=[disable]
required upstart job:
        [usbipd] is stop.
=======================================
Service [heartbeat] status=[disable]
required upstart job:
        [heartbeatd] is stop.
=======================================
Service [cups-lpd] status=[disable]
required upstart job:
        [cups-lpd] is stop.
        [inetd] is stop.
=======================================
service [pkgctl-Virtualization] status=[error]
required upstart job:
        [pkgctl-Virtualization] is stop.
=======================================
service [pkgctl-DownloadStation] status=[error]
required upstart job:
        [pkgctl-DownloadStation] is stop.
=======================================
Service [scemd] status=[enable]
required upstart job:
        [scemd] is start.
=======================================
service [pkgctl-TextEditor] status=[error]
required upstart job:
        [pkgctl-TextEditor] is stop.
=======================================
service [DSM] status=[error]
required upstart job:
        [synoscgi] is stop.
=======================================
Service [pkgctl-transmission] status=[disable]
required upstart job:
        [pkgctl-transmission] is stop.
=======================================

 

Second:

root@xpenologybox:~# ps -ef | grep synoscgi
root     12949 12462  0 07:16 pts/3    00:00:00 grep --color=auto synoscgi

Third:

root@xpenologybox:~# synoscgi
synoscgi: error while loading shared libraries: /lib/libsynoshare.so.6: invalid ELF header

Seems like you're right.  Any advice on what caused it and how to fix?

 

Edited by Polanskiman
Added code to spoiler.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...