Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: john56 on June 19, 2017, 04:24:34 PM

Title: white blank page when restore selective files
Post by: john56 on June 19, 2017, 04:24:34 PM
Hi,
i've a white blank page when i restore selective files from the manager.
CIFS share.  Backup ok.
How can i repair that issue ?
Thanks.
Title: Re: white blank page when restore selective files
Post by: Stefano on June 19, 2017, 04:35:27 PM
well, you'd try to understand what's wrong before fix it :-)

take a look at the logs
Title: Re: white blank page when restore selective files
Post by: john56 on June 19, 2017, 04:36:39 PM
Yes of course, where can i find the logs for that ?
Title: Re: white blank page when restore selective files
Post by: Stefano on June 19, 2017, 04:52:50 PM
start from /var/log/messages
Title: Re: white blank page when restore selective files
Post by: john56 on June 19, 2017, 05:35:04 PM
Nothing special in var/log/messages (DHCPREQUEST etc ...)
Title: Re: white blank page when restore selective files
Post by: john56 on November 05, 2017, 11:00:44 PM
not resolved :)
Title: Re: white blank page when restore selective files
Post by: ReetP on November 06, 2017, 01:09:57 AM
Next look at logs in /var/logs/httpd

Also, in messages look for anything just after your restore action

Title: Re: white blank page when restore selective files
Post by: john56 on November 06, 2017, 04:17:52 AM
Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup
 :-x
Title: Re: white blank page when restore selective files
Post by: TerryF on November 06, 2017, 04:29:13 AM
You could try setting the timeout to a higher figure and see what happens:

To check, edit /etc/httpd/conf/httpd.conf and look for the line:

Timeout 300

Increase this value (say 3000) and restart apache:

sv t /service/httpd-e-smith

This is from an old sme8 bug..
Title: Re: white blank page when restore selective files
Post by: john56 on November 06, 2017, 06:48:04 AM
without template ?
Title: Re: white blank page when restore selective files
Post by: TerryF on November 06, 2017, 08:45:13 AM
Not a permanent change, just a test, hence increase value and restart service.
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 11:53:01 AM
same problem with timeout 3000 and 8000 :)
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 12:26:27 PM
OK - go back to basics please - don't be economical with information. Proper log extracts, commands used etc etc.

Remember - we cannot see you screen or your logs etc. You have an issue and are asking for help so don't make your own assumptions about what is working or not - just post the full information as requested and let others decide for you (which is what you want)

So tell us about:

Hardware
VM or bare metal install
SME version

Thanks
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 12:34:18 PM
I'd add
network speed
data amount
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 01:16:11 PM
of course :
Code: [Select]
Mon Nov 06 11:18:21 2017] [notice] Apache/2.2.15 (Unix) mod_auth_tkt/2.1.0 configured -- resuming normal operations
[Tue Nov 07 10:53:43 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:53:48 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:58:48 2017] [warn] [client 127.0.0.1] Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:58:48 2017] [error] [client 127.0.0.1] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:42:01 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:42:05 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:47:05 2017] [warn] [client 127.0.0.1] Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:47:05 2017] [error] [client 127.0.0.1] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: https://buzz/server-manager/cgi-bin/backup

Network speed about 10/100 mb/s (disk over ethernet)
Data about 150 Go
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 01:20:57 PM
You really better answer all our questions. They are important.

PLEASE do as we ask.... it stops wasting peoples time and helps us get to the root of your issue quicker.
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 01:30:38 PM
what have i to add for your information ?
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 01:38:55 PM
Hardware
VM or bare metal install
SME version
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 01:42:44 PM
10/100 mbit? Really? Rotfl
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 01:45:34 PM
That is a SME Server 9.2 on Hyperv VM (Windows 2012 Server) - Ram 8 Gb
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 02:13:58 PM
how much ram?
come on.. be verbose..
in any case, if you need to restore files and/or dir, try to use the dar command line (see https://wiki.contribs.org/Backup_with_dar#Manually_restoring_from_dar_archive_created_by_e-smith-backup)
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 02:18:48 PM
If you do you maths then you'll start to see the issues

100Mb (MegaBit) network (and I assume you are running 100 and not 10) allows about 12MBs (MegaBytes) per second.

120GB *1024 = 122880 MBs

122880 / 12 = 10240 seconds / 60 = 170 minutes / 60 = 2 hrs 50 mins

Using Gigabit at say 120Mb it would be about 17 mins (around 1020 seconds)

You might start to understand where your problems lie.....
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 02:21:05 PM
how much ram?
come on.. be verbose..

He did mention it in his previous post :-)

Quote
in any case, if you need to restore files and/or dir, try to use the dar command line (see https://wiki.contribs.org/Backup_with_dar#Manually_restoring_from_dar_archive_created_by_e-smith-backup)

Bearing in mind my calculations I think that will be his best option. Unless he seriously ups the timeouts in httpd.
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 02:41:57 PM
He did mention it in his previous post :-)
NEIN! :-)
he amended the post, after I asked for ;-)

Quote
Bearing in mind my calculations I think that will be his best option. Unless he seriously ups the timeouts in httpd.

I never use  server-manager to restore my files, 'cause it's prone to errors and timeouts..
CLI is the way
my 2c
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 02:58:15 PM
Many thanks, i will try with command to restore selective files (deleted files of my users)
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 03:08:59 PM
Many thanks, i will try with command to restore selective files (deleted files of my users)

In all seriousness upgrade to Gigabit ASAP and save yourself a world of pain. You can pick up decent secondhand switches for pennies these days so there is no barrier to upgrading. You may notice a small difference on your network....
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 03:09:10 PM
john, first of al I apologize... I didn't want to be unpolite but I re-read myself and I feel I was.

anyway, next time you report here an issue, you must remember we aren't there and so you have to be very verbose..
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 03:16:06 PM
I would like to upgrade on gigabit (futhermore with 230 computers and 800 users).  My school is studying the costs for that.
Stefano, no problem, I understand than the more precise I am, the better it is for everyone.  I normally learned that with Jp Pialasse but I'm stubborn :) :) :)
https://www.kerplouz.com/informations/le-pole-informatique/   
Title: Re: white blank page when restore selective files
Post by: Stefano on November 07, 2017, 03:29:48 PM
230 pc on a 10/100 infra? OMG :-D
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 03:39:05 PM
230 pc on a 10/100 infra? OMG :-D

:shock: :cry:
Title: Re: white blank page when restore selective files
Post by: john56 on November 07, 2017, 03:48:23 PM
and the best is .... that i have a internet connetcion nearly 1 gb/s  :P :P :P
Title: Re: white blank page when restore selective files
Post by: ReetP on November 07, 2017, 03:58:52 PM
and the best is .... that i have a internet connetcion nearly 1 gb/s  :P :P :P

:slapshead:

Doh !!