Upgrade to firmware 16-1 fail?

Upgrade to firmware 16-1 fail?

Postby rikharbers » Mon Jul 18, 2016 4:50 am

Hello,

while trying to upgrade my SPD8020 to firmware 16-1, I encountered an issue.

- The web interface hangs at 'writing firmware' and is unresponsive (>12hrs).
- the unit is online and I can SSH into it.
- in the /tmp I find 'firmware.bin'

Is there a way to verify the status of the firmware upgrade?

Can I redo / start it manually?

I do not wish to reboot the unit in this state .....

Thanks,

Rik
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Re: Upgrade to firmware 16-1 fail?

Postby fvdw » Mon Jul 18, 2016 4:00 pm

What does the command
Code: Select all
top
give as output, this to see what is keeping the nas busy

And is the web ibterface still working?
fvdw
Site Admin - expert
 
Posts: 13238
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Upgrade to firmware 16-1 fail?

Postby rikharbers » Tue Jul 19, 2016 2:02 pm

'top' says only 'top' and 'dropbear' are active ....

The web interface gives a '500' error and no longer works.

I guess doing a 'first install' routine using 'dd' is not going to work remotely, right?
Can I 'dd' the update somehow?

As I have a functioning system accessible over ssh, I am still quite optimistic :-)
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Re: Upgrade to firmware 16-1 fail?

Postby fvdw » Tue Jul 19, 2016 4:28 pm

This is strange that web interface is not working anymore.
Lets see to which partition the boot flag has been set.
Post output of command
Code: Select all
mount

And of
Code: Select all
fdisk -l /dev/sda

Were is the * in front of sda1 or sda2?

Of interest is to see which partition is mounted as root and from the boot flag which partition will be used as root in next boot. From that we know if the upgrade routine has changed the boot flag or not. If has changed it we need to reset it, if it set at partition currently set as root file system reboot should be safe.

However it is strange that upgrade has failed an that web intergace is not working anymore. Is the web server still running?
Use this command to find out
Code: Select all
ps -ef | grep httpd
fvdw
Site Admin - expert
 
Posts: 13238
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Upgrade to firmware 16-1 fail?

Postby rikharbers » Tue Jul 19, 2016 6:46 pm

First of all: thanks for your help !!

Then:
Output mount command:
Code: Select all
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,errors=continue,barrier=0,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=200k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda6 on /share/1000 type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)


Output
Code: Select all
 disk -l /dev/sda


Code: Select all
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1          32      257008+ 83 Linux
/dev/sda2   *          33          64      257040  83 Linux
/dev/sda3              65          96      257040  82 Linux swap
/dev/sda4              97       60801   487612912+  5 Extended
/dev/sda5              97         144      385528+ 83 Linux
/dev/sda6             145       60801   487227321  83 Linux


/dev/sda2 seems to be flagged boot

Is that good?

The grep for http resulted in
Code: Select all
root       802     1  0 Jul14 ?        00:08:36 /usr/bin/httpd -f httpd.conf -d /etc
nobody    6364   802  0 Jul17 ?        00:01:50 /usr/bin/httpd -f httpd.conf -d /etc
nobody    7801   802  0 Jul17 ?        00:00:02 /usr/bin/httpd -f httpd.conf -d /etc
nobody    8338   802  0 Jul18 ?        00:00:00 /usr/bin/httpd -f httpd.conf -d /etc
root      9076  9059  0 20:44 pts/0    00:00:00 grep httpd


The web interface is down in the sense that it gives an 'internal server error' 500.

Thanks,

Rik
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Re: Upgrade to firmware 16-1 fail?

Postby fvdw » Wed Jul 20, 2016 11:35 am

Mmm... The web server is running, than something could be wrong in the filesystem containg the web server files.
Then a reboot could be risky.
Do the following, make 2 folders with name sda1 and sda2 and moubt the partions on those folders.
Code: Select all
mkdir /sda1
mkdir /sda2
mount /dev/sda1 /sda1
mount /dev/sda2 /sda2

Post output of these three commands
Code: Select all
ls -al /
ls -al /sda1
ls -al /sda2
fvdw
Site Admin - expert
 
Posts: 13238
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Upgrade to firmware 16-1 fail?

Postby rikharbers » Wed Jul 20, 2016 6:42 pm

Here it is:

Code: Select all
ls -al /


s -al /
total 121
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 .
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 ..
-rw------- 1 root 0 3385 2016-07-20 19:28 .ash_history
-rw------- 1 root 0 840 2015-01-14 21:28 .bash_history
drwxr-xr-x 2 root 0 4096 2016-06-01 22:16 bin
drwxr-xr-x 2 root 0 4096 2014-12-30 21:35 bin_cab
drwxr-xr-x 2 root 0 4096 2014-11-22 13:13 boot
-rw-r--r-- 1 root 0 2512 2011-11-16 12:01 boot.log
drwxrwxrwx 2 root 0 4096 2014-12-30 21:35 clunc
drwxr-xr-x 6 root 0 12288 2016-07-14 21:25 dev
lrwxrwxrwx 1 root 0 11 2011-11-16 12:01 direct-usb -> /share/1000
drwxrwxrwx 18 root 0 4096 2016-07-20 18:34 etc
drwxrwxrwx 2 root 0 4096 2001-08-05 05:07 lacie-boot
drwxr-xr-x 4 root 0 4096 2014-11-22 13:13 lib
lrwxrwxrwx 1 root 0 11 2014-12-30 21:35 linuxrc -> bin/busybox
drwx------ 2 root 0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x 3 root 0 4096 2014-12-30 21:35 mail
lrwxrwxrwx 1 root 0 20 2014-12-30 21:35 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx 1 root 0 14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x 2 root 0 4096 2008-08-27 23:46 nowhere
drwxr-xr-x 7 root 0 4096 2014-12-30 21:35 opt
dr-xr-xr-x 61 root 0 0 1970-01-01 01:00 proc
-rwxrwxrwx 1 root 0 18 2016-04-12 21:23 .profile
drwxr-xr-x 2 root 0 4096 2015-01-14 21:31 root
drwxrwxrwx 8 nobody 99 1024 2011-11-16 12:00 rw_fs
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 sbin
drwxr-xr-x 22 root 0 4096 2011-11-16 12:00 sda1
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 sda2
drwxrwxrwx 3 root 0 4096 2011-11-16 12:00 share
lrwxrwxrwx 1 root 0 16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxr-xr-x 11 root 0 0 1970-01-01 01:00 sys
lrwxrwxrwx 1 root 0 10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx 22 root 0 4096 2011-11-16 12:00 usr
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 var

Code: Select all
ls -al /sda1


otal 116
drwxr-xr-x 22 root 0 4096 2011-11-16 12:00 .
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 ..
-rw------- 1 root 0 1631 2015-01-08 21:31 .ash_history
drwxr-xr-x 2 root 0 4096 2014-05-30 18:28 bin
drwxr-xr-x 2 root 0 4096 2014-05-30 18:28 bin_cab
drwxr-xr-x 2 root 0 4096 2014-04-08 20:52 boot
-rw-r--r-- 1 root 0 2381 2011-11-16 12:01 boot.log
drwxrwxrwx 2 root 0 4096 2014-05-30 18:28 clunc
drwxr-xr-x 6 root 0 12288 2011-11-16 12:00 dev
drwxrwxrwx 15 root 0 4096 2015-01-08 21:05 etc
drwxrwxrwx 2 root 0 4096 1970-01-01 01:00 lacie-boot
drwxr-xr-x 4 root 0 4096 2014-04-08 20:52 lib
lrwxrwxrwx 1 root 0 11 2014-05-30 18:28 linuxrc -> bin/busybox
drwx------ 2 root 0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x 3 root 0 4096 2014-05-30 18:28 mail
lrwxrwxrwx 1 root 0 20 2014-05-30 18:28 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx 1 root 0 14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x 2 root 0 4096 2008-08-27 23:46 nowhere
drwxr-xr-x 7 root 0 4096 2014-05-30 18:28 opt
drwxrwxrwx 2 root 0 4096 2011-03-05 11:08 proc
drwxr-xr-x 2 root 0 4096 2008-01-03 21:06 root
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 rw_fs
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 sbin
drwxrwxrwx 3 root 0 4096 2011-11-16 12:00 share
lrwxrwxrwx 1 root 0 16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxrwxrwx 2 root 0 4096 2011-03-05 11:08 sys
lrwxrwxrwx 1 root 0 10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx 22 root 0 4096 2011-11-16 12:00 usr
drwxr-xr-x 2 root 0 4096 2011-11-16 12:01 var

Code: Select all
ls -al /sda2


total 132
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 .
drwxr-xr-x 24 root 0 4096 2016-07-20 19:28 ..
-rw------- 1 root 0 3411 2016-07-20 20:42 .ash_history
-rw------- 1 root 0 840 2015-01-14 21:28 .bash_history
drwxr-xr-x 2 root 0 4096 2016-06-01 22:16 bin
drwxr-xr-x 2 root 0 4096 2014-12-30 21:35 bin_cab
drwxr-xr-x 2 root 0 4096 2014-11-22 13:13 boot
-rw-r--r-- 1 root 0 2512 2011-11-16 12:01 boot.log
drwxrwxrwx 2 root 0 4096 2014-12-30 21:35 clunc
drwxr-xr-x 6 root 0 12288 2016-07-14 21:25 dev
lrwxrwxrwx 1 root 0 11 2011-11-16 12:01 direct-usb -> /share/1000
drwxrwxrwx 18 root 0 4096 2016-07-20 20:34 etc
drwxrwxrwx 2 root 0 4096 2001-08-05 05:07 lacie-boot
drwxr-xr-x 4 root 0 4096 2014-11-22 13:13 lib
lrwxrwxrwx 1 root 0 11 2014-12-30 21:35 linuxrc -> bin/busybox
drwx------ 2 root 0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x 3 root 0 4096 2014-12-30 21:35 mail
lrwxrwxrwx 1 root 0 20 2014-12-30 21:35 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx 1 root 0 14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x 2 root 0 4096 2008-08-27 23:46 nowhere
drwxr-xr-x 7 root 0 4096 2014-12-30 21:35 opt
drwxrwxrwx 2 root 0 4096 2011-03-05 11:08 proc
-rwxrwxrwx 1 root 0 18 2016-04-12 21:23 .profile
drwxr-xr-x 2 root 0 4096 2015-01-14 21:31 root
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 rw_fs
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 sbin
drwxr-xr-x 2 root 0 4096 2016-07-20 19:28 sda1
drwxr-xr-x 2 root 0 4096 2016-07-20 19:28 sda2
drwxrwxrwx 3 root 0 4096 2011-11-16 12:00 share
lrwxrwxrwx 1 root 0 16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxrwxrwx 2 root 0 4096 2014-12-30 10:47 sys
lrwxrwxrwx 1 root 0 10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx 22 root 0 4096 2011-11-16 12:00 usr
drwxr-xr-x 2 root 0 4096 2011-11-16 12:00 var

helps?
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Re: Upgrade to firmware 16-1 fail?

Postby rikharbers » Wed Jul 20, 2016 7:27 pm

Repost to improve legibility ....

Code: Select all
ls -al /


Code: Select all
total 121
drwxr-xr-x  24 root    0  4096 2016-07-20 19:28 .
drwxr-xr-x  24 root    0  4096 2016-07-20 19:28 ..
-rw-------   1 root    0  3467 2016-07-20 21:25 .ash_history
-rw-------   1 root    0   840 2015-01-14 21:28 .bash_history
drwxr-xr-x   2 root    0  4096 2016-06-01 22:16 bin
drwxr-xr-x   2 root    0  4096 2014-12-30 21:35 bin_cab
drwxr-xr-x   2 root    0  4096 2014-11-22 13:13 boot
-rw-r--r--   1 root    0  2512 2011-11-16 12:01 boot.log
drwxrwxrwx   2 root    0  4096 2014-12-30 21:35 clunc
drwxr-xr-x   6 root    0 12288 2016-07-14 21:25 dev
lrwxrwxrwx   1 root    0    11 2011-11-16 12:01 direct-usb -> /share/1000
drwxrwxrwx  18 root    0  4096 2016-07-20 20:34 etc
drwxrwxrwx   2 root    0  4096 2001-08-05 05:07 lacie-boot
drwxr-xr-x   4 root    0  4096 2014-11-22 13:13 lib
lrwxrwxrwx   1 root    0    11 2014-12-30 21:35 linuxrc -> bin/busybox
drwx------   2 root    0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x   3 root    0  4096 2014-12-30 21:35 mail
lrwxrwxrwx   1 root    0    20 2014-12-30 21:35 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx   1 root    0    14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x   2 root    0  4096 2008-08-27 23:46 nowhere
drwxr-xr-x   7 root    0  4096 2014-12-30 21:35 opt
dr-xr-xr-x  62 root    0     0 1970-01-01 01:00 proc
-rwxrwxrwx   1 root    0    18 2016-04-12 21:23 .profile
drwxr-xr-x   2 root    0  4096 2015-01-14 21:31 root
drwxrwxrwx   8 nobody 99  1024 2011-11-16 12:00 rw_fs
drwxr-xr-x   2 root    0  4096 2011-11-16 12:00 sbin
drwxr-xr-x  22 root    0  4096 2011-11-16 12:00 sda1
drwxr-xr-x  24 root    0  4096 2016-07-20 19:28 sda2
drwxrwxrwx   3 root    0  4096 2011-11-16 12:00 share
lrwxrwxrwx   1 root    0    16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxr-xr-x  11 root    0     0 1970-01-01 01:00 sys
lrwxrwxrwx   1 root    0    10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx  22 root    0  4096 2011-11-16 12:00 usr
drwxr-xr-x   2 root    0  4096 2011-11-16 12:00 var



Code: Select all
ls -al /sda1


Code: Select all
total 116
drwxr-xr-x  22 root 0  4096 2011-11-16 12:00 .
drwxr-xr-x  24 root 0  4096 2016-07-20 19:28 ..
-rw-------   1 root 0  1631 2015-01-08 21:31 .ash_history
drwxr-xr-x   2 root 0  4096 2014-05-30 18:28 bin
drwxr-xr-x   2 root 0  4096 2014-05-30 18:28 bin_cab
drwxr-xr-x   2 root 0  4096 2014-04-08 20:52 boot
-rw-r--r--   1 root 0  2381 2011-11-16 12:01 boot.log
drwxrwxrwx   2 root 0  4096 2014-05-30 18:28 clunc
drwxr-xr-x   6 root 0 12288 2011-11-16 12:00 dev
drwxrwxrwx  15 root 0  4096 2015-01-08 21:05 etc
drwxrwxrwx   2 root 0  4096 1970-01-01 01:00 lacie-boot
drwxr-xr-x   4 root 0  4096 2014-04-08 20:52 lib
lrwxrwxrwx   1 root 0    11 2014-05-30 18:28 linuxrc -> bin/busybox
drwx------   2 root 0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x   3 root 0  4096 2014-05-30 18:28 mail
lrwxrwxrwx   1 root 0    20 2014-05-30 18:28 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx   1 root 0    14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x   2 root 0  4096 2008-08-27 23:46 nowhere
drwxr-xr-x   7 root 0  4096 2014-05-30 18:28 opt
drwxrwxrwx   2 root 0  4096 2011-03-05 11:08 proc
drwxr-xr-x   2 root 0  4096 2008-01-03 21:06 root
drwxr-xr-x   2 root 0  4096 2011-11-16 12:00 rw_fs
drwxr-xr-x   2 root 0  4096 2011-11-16 12:00 sbin
drwxrwxrwx   3 root 0  4096 2011-11-16 12:00 share
lrwxrwxrwx   1 root 0    16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxrwxrwx   2 root 0  4096 2011-03-05 11:08 sys
lrwxrwxrwx   1 root 0    10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx  22 root 0  4096 2011-11-16 12:00 usr
drwxr-xr-x   2 root 0  4096 2011-11-16 12:01 var


Code: Select all
ls -al /sda2


Code: Select all
drwxr-xr-x  24 root 0  4096 2016-07-20 19:28 .
drwxr-xr-x  24 root 0  4096 2016-07-20 19:28 ..
-rw-------   1 root 0  3493 2016-07-20 21:26 .ash_history
-rw-------   1 root 0   840 2015-01-14 21:28 .bash_history
drwxr-xr-x   2 root 0  4096 2016-06-01 22:16 bin
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 bin_cab
drwxr-xr-x   2 root 0  4096 2014-11-22 13:13 boot
-rw-r--r--   1 root 0  2512 2011-11-16 12:01 boot.log
drwxrwxrwx   2 root 0  4096 2014-12-30 21:35 clunc
drwxr-xr-x   6 root 0 12288 2016-07-14 21:25 dev
lrwxrwxrwx   1 root 0    11 2011-11-16 12:01 direct-usb -> /share/1000
drwxrwxrwx  18 root 0  4096 2016-07-20 20:34 etc
drwxrwxrwx   2 root 0  4096 2001-08-05 05:07 lacie-boot
drwxr-xr-x   4 root 0  4096 2014-11-22 13:13 lib
lrwxrwxrwx   1 root 0    11 2014-12-30 21:35 linuxrc -> bin/busybox
drwx------   2 root 0 16384 2008-01-03 22:21 lost+found
drwxr-xr-x   3 root 0  4096 2014-12-30 21:35 mail
lrwxrwxrwx   1 root 0    20 2014-12-30 21:35 .mldonkey -> /share/1000/mldonkey
lrwxrwxrwx   1 root 0    14 2011-11-16 12:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x   2 root 0  4096 2008-08-27 23:46 nowhere
drwxr-xr-x   7 root 0  4096 2014-12-30 21:35 opt
drwxrwxrwx   2 root 0  4096 2011-03-05 11:08 proc
-rwxrwxrwx   1 root 0    18 2016-04-12 21:23 .profile
drwxr-xr-x   2 root 0  4096 2015-01-14 21:31 root
drwxr-xr-x   2 root 0  4096 2011-11-16 12:00 rw_fs
drwxr-xr-x   2 root 0  4096 2011-11-16 12:00 sbin
drwxr-xr-x   2 root 0  4096 2016-07-20 19:28 sda1
drwxr-xr-x   2 root 0  4096 2016-07-20 19:28 sda2
drwxrwxrwx   3 root 0  4096 2011-11-16 12:00 share
lrwxrwxrwx   1 root 0    16 2011-11-16 12:00 .ssh -> ../../rw_fs/.ssh
drwxrwxrwx   2 root 0  4096 2014-12-30 10:47 sys
lrwxrwxrwx   1 root 0    10 2011-11-16 12:00 tmp -> /rw_fs/tmp
drwxrwxrwx  22 root 0  4096 2011-11-16 12:00 usr
drwxr-xr-x   2 root 0  4096 2011-11-16 12:00 var
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Re: Upgrade to firmware 16-1 fail?

Postby fvdw » Wed Jul 20, 2016 8:35 pm

it seems to have booted from sda2 last time you have made a boot so boot flag is et ok

Before doing a reboot lets check the content of folder /usr/htdocs

Code: Select all
ls -al /usr/htdocs

That directory contains all files the web server is using

After doing that and copying the output so you can post it here, you can kill the web server, check if httpd is indeed stopped (use the earlier posted ps -ef command) and then restart it and see if the webinterface comes back online or gives an error message when starting

Code: Select all
killall -9 httpd
/usr/bin/httpd -f httpd.conf -d /etc


After that we can I think we can decide that a reboot is safe or not
fvdw
Site Admin - expert
 
Posts: 13238
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Upgrade to firmware 16-1 fail?

Postby rikharbers » Thu Jul 21, 2016 5:14 pm

Output of
Code: Select all
ls -al /usr/htdocs


Code: Select all
total 160
drwxr-xr-x  31 root 0  4096 2011-11-16 12:00 .
drwxrwxrwx  22 root 0  4096 2011-11-16 12:00 ..
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 applet
-rwxr-xr-x   1 root 0  1016 2011-09-28 18:43 close_system.php
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .cron
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 css
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .disk
-rw-r--r--   1 root 0 13940 2013-02-10 22:59 favicon.ico
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .ftp
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 global
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 global2
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .help
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .home
-rw-r--r--   1 root 0  7236 2014-12-21 12:43 home.php
-rw-r--r--   1 root 0   208 2012-07-27 17:06 .htaccess
lrwxrwxrwx   1 root 0    28 2014-12-30 21:35 httrack_hlp -> ../local/share/httrack/html/
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 images
drwxr-xr-x   2 root 0  4096 2011-11-16 12:12 includes
-r-xr-xr-x   1 root 0   486 2008-01-03 21:06 index.php
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 js
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 logout
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .media
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .nfs
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .Notification
lrwxrwxrwx   1 root 0    32 2014-12-30 21:35 own-cloud -> /share/1000/fvdw/addons/owncloud
drwxr-xr-x   4 root 0  4096 2014-12-30 21:35 PHPMailer
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .Printer
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .restoredb
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .share
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .ssh
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .status
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .system
lrwxrwxrwx   1 root 0    29 2014-12-30 21:35 tf2 -> /share/1000/tflux/tflux2/html
lrwxrwxrwx   1 root 0    11 2011-11-16 12:00 tmp -> /rw_fs/tmp/
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .torrent
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .update
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .user
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .vpn
drwxr-xr-x   3 root 0  4096 2014-12-30 21:35 .webcam
drwxr-xr-x   2 root 0  4096 2014-12-30 21:35 .webtool


Killing the httpd worked without error and was confirmed using ps -ef.

When restarting using
Code: Select all
/usr/bin/httpd -f httpd.conf -d /etc
, the following error appeared:

Code: Select all
(2)No such file or directory: AH02291: Cannot access directory '/var/log/httpd/' for main error log
AH00014: Configuration check failed


after simply creating the /var/log/httpd directory (in /rw_fs/tmp/var/log), the command worked without error.
However, the web interface did not come online and the httpd process was not started according to ps -ef .....

Contents of /rw_fs/tmp:

Code: Select all
total 53570
drwxrwxrwx  4 root    0     1024 2016-07-21 19:10 .
drwxrwxrwx  8 nobody 99     1024 2011-11-16 12:00 ..
-rw-------  1 nobody 99 54635792 2016-07-17 23:07 firmware.bin
drwxr-xr-x  3 root    0     1024 2016-07-17 23:07 usr
drwxr-xr-x  3 root    0     1024 2016-07-21 19:10 var


something missing ?
rikharbers
Donator VIP
Donator VIP
 
Posts: 30
Joined: Tue Jan 06, 2015 8:27 pm
Location: Zwitserland

Next

Return to Philips SPD8020

Who is online

Users browsing this forum: No registered users and 1 guest