Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i am new to linux and sudenly been assigned to linux server. the server is running on linux redhat9.from the beginning, the server is always down and i need to restart the sever and up the services such as httpd,tomcat & mysql.do anyone knows how to avoid this down time?restarting the server several times a day is not good for the server right..?
I'm not sure I can help you, other than to point out that you haven't given much useful information in your post. You would get better responses if you explained what you mean by "the server is always down". Does it power off? Is it a network issue? Is it just apache that's borking? Is the machine rebooting? Exactly what is happening? What error messages do you get in the logs? Problems that are clearly defined generally motivate the volunteers to give you a lot of help.
meaning by server is down is users cannot be accessed to the system/server. i dont think its a network problem because from the monitoring i found theres no problems in our network, but who knows? i'm new to linux. the situation is like this: in a day theres several time where the system cannot be access. so what i did is i'll reboot the server and once i login, i have to restart the apche, mysql & httpd. thats what i do.im not axactly knows what r the problem.
"in a day theres several time where the system cannot be access."
You still aren't giving me any information about your problem. What does "system cannot be access" mean? Does it mean that you get a timeout when accessing a webpage on the server? Does it mean that you get an error response on your browser? Does it mean that you can't even telnet into the machine? What EXACTLY is happening?
Distribution: Ubuntu, Debian, Various using VMWare
Also, is there any way that you can upgrade the server from Redhat 9? This is a very old and unsupported release. You should upgrade if possible to a newer, supported version of Linux. RH9 no longer receives security updates.
Redhat Enterprise Linux (Commercial successor to Redhat 9) is excellent, but costs money. Centos is the same as RHEL, but is free. Alternatively, other distros such as Fedora Core (Free Successor to Redhat 9) or Ubuntu or Debian may be appropriate.
You may find that whatever problem you are having will be fixed by upgrading. If upgrading is not an option, you must provide us with as much information as possible. What exactly are you trying to do, and what error messages are displayed when you try? Does rebooting fix the problem? What have you already tried to do to fix the problem. Can you ping the server from another machine on the network, and what are the results of this?
Having to reboot a Linux machine on a daily basis is unacceptable. Most Linux boxes will give many months of uptime with no problems. Some (Slackware, Debian Stable, RHEL...) have been reported to have uptimes well in excess of a year. As I said before, update to a recent version of Linux.
Distribution: Ubuntu, Debian, Various using VMWare
Well that sounds like it is just Apache that is crashing, not the whole server.
1) Can you upgrade the system to a newer version of Linux or not? It is a very, very bad idea to run such an outdated version of Linux on any machine, particularly a server.
2) You should never use Telnet to access a server remotely. Use SSH instead. Telnet is extremely insecure, as your username, password and all other data is transfered in plain text. SSH encrypts all data transfer.
3) Can you look at the Apache error logs? Post anything that looks like it might be relevant here. The logs live in /var/log/apache
4) What version of Apache are you using? Like I have said previously, there are no security updates for RH9 anymore. It is possible that there is a bug in the version of Apache that you are using, or that your system has been compromised.
You really need to give us much more information if you want help. We don't have crystal balls, and we can not see exactly what is happening with your system. Provide as much information as you possibly can.
this are some of the error. perhaps it might help:
05 Jan 2007 11:10:42,265: agora: ERROR: fatal error
at de.srz.agora.jverityapi.JVerityEngine._jni_getVersion(Native Method)
05 Jan 2007 11:30:06,635: agora: ERROR: de.srz.agora.api.local.LocalSearchEngine
: query: java.lang.NullPointerException
05 Jan 2007 11:30:06,636: agora.workerbee.load: ERROR: can't forward to unknown
08 Jan 2007 09:39:04,306: agora: ERROR: de.srz.agora.api.local.LocalSearchEngine
: initVEngine: can't initialize verity engine: de.srz.agora.jverityapi.immutable
.JVerityEngineException: JNI error No. -1 : Unable to load library JVerityEngine
de.srz.agora.jverityapi.immutable.JVerityEngineException: JNI error No. -1 : Una
ble to load library JVerityEngine
:207) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)