News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

WebAccess

Started by stiegro, August 29, 2012, 03:29:35 AM

Previous topic - Next topic

stiegro

Dear,

 

 

I have some troubles with WebAccess on the Buffalo Linkstation LS-WXL.

 

I've configured the WebAccess both manual (with static port), or dynamic (with UPNP) and it works as it has to do (for a short time).

 

After a while the process on the Linkstation which should be listening on incoming requests stops doing that.

 

I already contacted Buffalo by phone and they advised me to reset my Buffalo Linkstation, and that resolved the problem.  But reset and reconfigure the linkstation takes a lot of time, I have to add and configure all my users, Backups, Bittorrent,... back.

 

And the issue is only resolved for some minutes to some hours.  And I don't think it's the intention to reconfigure your linkstation e.g.. each 4hours.

 

When I logged in on the Buffalo Linkstation with ssh and root access I found that before the issue (after a reset) with netstat -t,   port 9000 is listening and with top that the following process is running:

./usr/local/webaxs/apache/bin/httpd -k start
 
When the problem occurs port 9000 isn't listening anymore and the process described above isn't running anymore.
 
When I restart the process again I could access my WebAccess again.
 
Why is the process crashing so often and how can I avoid this?  Don't tell me something about port forwarding or upnp because that's not the problem!  When the right port (assigned to the Webaccess process) on the Buffalo linkstation isn't listening anymore, you never can access the Buffalo Linkstation.  Also local access to the WebAccess from 192.168.2.11:9000 isn't possible anymore and access the Webaccess over VPN from the university is not working.
 
Is there anyone who can help me?
 
With kind regards,
 
 
Stiegro

 

 


stiegro

Hi

 

At this moment I'm running the following script all the time (nohup script.sh)
to make the script executable: chown u+x script.sh

It detects each minute if the Webserver is stopped running and start the process again if necessary.

But can someone tell me why the process stop with listening?

 

#!/bin/sh
# Fix the bug in WebAccess
# STIEGRO
# 29/08/2012

while [ true ]; do
var=$(lsof -i | grep 9000 | head -n 1 | awk '{print $1}')

if [[ "$var" != *httpd* ]]
then
/usr/local/webaxs/apache/bin/httpd -k start;
date > log_webaccess.txt
fi
sleep 60
done

 

With kind regards,

 

 

Stiegro


stiegro

Thank you for your reply.

 

But I already had that problem when I bought the Buffalo Linkstation.

 

I already re-flashed it to the latest firmware (to enable ssh with root access) and that haven't solved the problem.

 

 

Do you really think that reflash again will solve the problem? And am I the only person with this problem? 

 

With kind regards,

 

 

Stijn

 


stiegro

Hi

 

 

Thank you for your advice. I will give it a chance.

 

I'm also glad that no one replied with a solution related to configuring the right port ;-)

Almost all the information found on the internet is related with that.

 

with kind regards,

 

 

stiegro


terblah

I am having the same issue with WebAccess using the rev 1.57 firmware. I was able to get it going again by just restoring the factory settings. The WebAccess quit at some point while I was adding folders and users. Thoughts?  


Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 189 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1000KB.
Tokens: post-login.
Queries used: 20.

[Show Queries]