Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-23-2008, 11:06 AM
|
#1
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Rep:
|
Firefox 24/7 on Fedora 9
Hi,
I have a PC with Fedora 9 running 24/7 a Firefox window that is always showing a Flash movie with a menu. This Flash movie contacts a MySQL database in order to get its info each 20 minutes, and everytime it does this it also adds an item to an event log so I can check remotly whether it is working or not.
Furthermore the php file that loads the Flash movie also checks if there is a newer version of the movie.
However, from time to time, sometimes a week or 2, sometimes just a couple of hours, it stops the refreshing cycle.
Can you help me? A coleague just told me to reboot the machine once a week, is this a correct method to prevent it from hanging?
Thanks in advance.
|
|
|
11-23-2008, 11:50 AM
|
#2
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Is it possible you could run something like a debian install to do the same thing? Using a cutting edge distro like fedora for such a task does not seem like the wisest move to me.
|
|
|
11-26-2008, 05:20 PM
|
#3
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Original Poster
Rep:
|
Actualy, the only stuff I use is Firefox with full-screen add-on.
As I said before the only THING realy needed is the 24/7 workload.
|
|
|
11-26-2008, 06:33 PM
|
#4
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
I think to be really able to help you, we will have to understand exactly what you are doing. The first thing that came to mind for me is, why are you using FF to show a movie? Why not use VLC? It is designed to show movies and is pretty good at it. It can stream movies from remote locations too.
|
|
|
11-27-2008, 10:22 AM
|
#5
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Original Poster
Rep:
|
There is this restaurant that sends me by mail their menus for each week (they just hate everything related to computers, and everyday their menu changes) in order to present them in fashionable way to their costumers.
So, I came up with the idea of having a remote MySQL DB where I insert the menus' data for a owl week (kind of a back-office) and a Flash movie, running at the restaurant, that contacts the DB, retrieves de info for that specific day and presents it on a Plasma screen with the presentation benefits that are available in Flash.
Everything works fine, but, as I said before, from times to time, it just stops for some reason.
I build this with some PHP, Flash and Firefox with the Fullscreen add-on.
Once again thanks for your help.
|
|
|
11-27-2008, 10:25 AM
|
#6
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Original Poster
Rep:
|
The reason to use Fedora and not another one is due to the restaurant owner's son who knows the OS and if something happens he can be of some help to me troubleshooting it remotly.
Of course if there is another way of doing it, with another distro, another SW, whatever it might be, I'm all ears.
|
|
|
12-01-2008, 08:54 AM
|
#7
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Just an idea: I doubt that the restaurant is open 24/7 ?
In this case, I suggest creating a cron job on the machine to shut down FF when the restaurant closes, then start again when the restaurant opens?
|
|
|
12-03-2008, 04:39 AM
|
#8
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Original Poster
Rep:
|
Actually, there is, and this is one of them (just in case there are more)!
Part of the restaurant closes from 1 A.M. until 8 A.M.
Never the less, although cronjob is not the solution due to schedule reasons, I've tried it before and the very same stuff happens.
|
|
|
12-03-2008, 05:22 AM
|
#9
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Have you tried running one of the newest versions of Opera? I find it is far more usable in certain situations than FF. Even still, I don't know that you are gonna find something that will work 100%.
Also, I've been running prism recently for web apps, it's based on FF, Single Site Browser principle. Do something like monit, which will monitor the process, and if it dies, it automagically re-spawns the program..
|
|
|
12-03-2008, 01:19 PM
|
#10
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
If the problem persists with Opera, I am going to suggest that flash is the problem. Are you using version 10? This is one of the reasons I suggested VLC.
|
|
|
12-04-2008, 07:22 AM
|
#11
|
Member
Registered: Jan 2006
Location: Portugal
Distribution: Mint, Ubuntu, Knoppix
Posts: 64
Original Poster
Rep:
|
That's an option, I will try Opera, if this doesn't work I'm thinking on formating the HD again. If this happens do you suggest any particular OS other than Fedora for this purpose?
|
|
|
12-04-2008, 02:19 PM
|
#12
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
If the problem persists with Opera that would indicate that Flash is the problem. If Flash is the problem, switching distros is not going to help. Again which version of Flash are you running?
I would suggest Centos, mostly becuase of the five year support life (compared to Fedora's 13 month support life). Centos is RHEL with the logos removed. It is free to download/update (unlike RHEL) and is very stable.
|
|
|
12-04-2008, 03:18 PM
|
#13
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Centos would be a good option or Debian Stable
|
|
|
12-04-2008, 03:58 PM
|
#14
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Agree, CentOS or Debian are good choices
|
|
|
All times are GMT -5. The time now is 12:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|