LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-14-2007, 08:26 PM   #1
datomeor
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Question linux server


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..?

Last edited by datomeor; 02-14-2007 at 08:29 PM.
 
Old 02-14-2007, 08:32 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
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.
 
Old 02-14-2007, 08:43 PM   #3
datomeor
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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.

Last edited by datomeor; 02-14-2007 at 08:57 PM.
 
Old 02-14-2007, 09:04 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
"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?
 
Old 02-14-2007, 09:35 PM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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.

--Ian
 
Old 02-14-2007, 11:59 PM   #6
datomeor
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
yes,its get timeout when accessing the webpage. but i can still telnet the server.
 
Old 02-15-2007, 12:50 AM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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.

--Ian
 
Old 02-15-2007, 01:35 AM   #8
datomeor
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
currently we're using tomcat4129.

this are some of the error. perhaps it might help:


05 Jan 2007 11:10:42,265: agora: ERROR: fatal error
java.lang.UnsatisfiedLinkError: _jni_getVersion
at de.srz.agora.jverityapi.JVerityEngine._jni_getVersion(Native Method)
at de.srz.agora.jverityapi.JVerityEngine.getVersion(JVerityEngine.java:4
6)
at de.srz.agora.api.local.LocalSearchEngine.getImplementationVersion(Loc
alSearchEngine.java:766)
at de.srz.agora.servlet.init.InitServlet.init(InitServlet.java:75)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:82
3)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3422)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
623)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep


at java.lang.Thread.run(Thread.java:595)
05 Jan 2007 11:30:06,635: agora: ERROR: de.srz.agora.api.local.LocalSearchEngine
: query: java.lang.NullPointerException
java.lang.NullPointerException
at de.srz.agora.api.local.LocalSearchEngine.query(LocalSearchEngine.java
:663)
at de.srz.agora.api.local.LocalSearchEngine.execute(LocalSearchEngine.ja
va:521)
at de.srz.agora.api.local.LocalSearchEngine.execute(LocalSearchEngine.ja
va:500)
at de.srz.agora.api.local.LocalSearchEngine.execute(LocalSearchEngine.ja
va:485)
at de.srz.agora.servlet.controller.workerbee.ProcessBrowseWorkerBee.exec
uteQuery(ProcessBrowseWorkerBee.java:140)
at de.srz.agora.servlet.controller.workerbee.ProcessWorkerBee.doIt(Proce
ssWorkerBee.java:90)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:666)
at java.lang.Thread.run(Thread.java:595)
05 Jan 2007 11:30:06,636: agora.workerbee.load: ERROR: can't forward to unknown
actoin 'BROWSE-COLLECTIONS'
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
at de.srz.agora.jverityapi.JVerityEngine.<init>(JVerityEngine.java:62)
at de.srz.agora.jverityapi.JVerityLogEngine.<init>(JVerityLogEngine.java
:207) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Last edited by datomeor; 02-15-2007 at 01:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert samab users from one linux server t other linux server capricorn80 Linux - Networking 2 09-29-2006 04:45 AM
is there a way to make a local linux server the time stamp server for win2k? Lleb_KCir Linux - General 2 09-19-2005 07:05 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration