Solved

CFServer Crashing

Posted on 2014-01-07
18
224 Views
Last Modified: 2014-04-01
my cfserver logs does not get archive automatically after 5MB, even i try to stop them, they do not get stopped, i can only delete them,

but when i try to open a log file, it says file is too large to display

my server crashes sometimes, is the logs being created and having big size does the server to crash,

i need to know what causes my jrun server to crash and when i restart the server, it backs up,

it shows sometimes 504, 503, jrun errors on the screen

please guide
0
Comment
  • 9
  • 5
18 Comments
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 39773520
Get yourself a copy of Huge File Editor so you can open those logs: http://sourceforge.net/projects/hfe/
That will shed a lot more light on the problem!
What is the O/S on the server and what version of ColdFusion?
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39773707
centos and coldfusion 9
0
 
LVL 62

Expert Comment

by:gheist
ID: 39805871
lsof +L0
shows files open and deleted

To see huge text logs of CF9:
You can see any 5MB file with "less"
"tail -24" will show last screen of log right away

CentOS5 or 6? Java 1.5 1.6 1.7 openjdk/sun/ibm/jrockit ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39820493
centos 5 is there and jdk is te one which comes with coldfusion 9
0
 
LVL 62

Expert Comment

by:gheist
ID: 39823276
Do you have SELinux on? (getenforce ?)
Does it log violations? (audit2allow -a)
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39836443
@gheist,

I am not sure what you are talking about, my Centos Knowledge is limited so could not understand it,
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39836446
Another Attempt to the server, if you can help:

server Coldfusion 9.0.1.

504 Gateway Error. Some times No server is configured. Some times it says, Internal server error.

So checked the websites logs and found this message to be annoying

-bash-3.2$ tail server.log.3
tail: cannot open `server.log.3' for reading: No such file or directory
-bash-3.2$ tail /opt/coldfusion9/logs/server.log.3
"Information","main","07/08/13","15:06:44",,"Starting verity..."
"Information","main","07/08/13","15:06:44",,"Starting solr..."
"Information","main","07/08/13","15:06:44",,"Starting archive..."
"Information","main","07/08/13","15:06:44",,"Starting document..."
"Information","main","07/08/13","15:06:44",,"Starting eventgateway..."
"Information","main","07/08/13","15:06:44",,"Starting FlexAssembler..."
"Information","main","07/08/13","15:06:44",,"Starting .NET..."
"Information","main","07/08/13","15:06:44",,"Starting Monitoring..."
"Information","main","07/08/13","15:06:44",,"ColdFusion started"
"Information","Thread-10","07/08/13","15:06:48",,"Same Serial Number found on another ColdFusion server.The server may be out of compliance."

It was never seen before, but now this has started appearing, is this could be the cause of the coldfusion being stopped automatically or something other

we are running CENTOS 5 [no gui], mysql 5 version and i even imcreased the mysql max connections .limit to 500.

Apache webserver.

If you can guide me a but that will be great, we had set the JVm as Minimum to 128 and maximum to 1024

Regards
0
 
LVL 62

Expert Comment

by:gheist
ID: 39836463
What is that "this" that is appearing?
Can you confirm that getenforce says 0?
If not we have to troubleshoot SELinux before heading to java
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39837918
we are debugging coldfusion server issues which is deployed on linux
0
 
LVL 62

Expert Comment

by:gheist
ID: 39837984
So what you get when you type "getenforce" in command line? Or should i use pliers to get any system infromation from you?

Also what is your kernel version (oslevel -r) ?

Do you see crash note in logs? in output of dmesg?
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39838118
here when i login to putty and use the command:

-bash-3.2$ getenforce
-bash: getenforce: command not found
-bash-3.2$
0
 
LVL 62

Expert Comment

by:gheist
ID: 39844687
P1: you have selinux still in enforcing mode and all management tools uninstalled
P2: your java is EOL (ask vendor for patch - or tweak to use supported system java)
P3: you might be participating in piracy

S1: try to add boot parameters enforce=0 and/or selinux=0
S2: ask vendor for supported java version
S3: the discussion ends right here. Sorry. go figure yourself on how to double Xmx java argument on pirated coldfusion
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 39844892
Thanks, Please do not comment Here, I do not want you Suggestion. I will report Moderator about this, what you have written, Harsh Comments, I do not like the way you tell things, If you not capable of sorting things, as i have specially mentioned coldfusion, Why the hell you jumped into this.
0
 
LVL 16

Accepted Solution

by:
Gurpreet Singh Randhawa earned 0 total points
ID: 39958607
Solved by figuring out the issue with apache and cf.
0
 
LVL 16

Author Closing Comment

by:Gurpreet Singh Randhawa
ID: 39968781
Solved
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Passing value to a stored procedure 8 99
ColdFusion Need assistance updating my legacy zip function 13 40
Adjust the position 3 60
Find power supply plug from picture.. 6 66
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question