nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

web application not running

This is a discussion on web application not running within the Web servers forums, part of the Mastering Servers category; I have a problem...I have a web application connected with mysql database in fedora linux server...I dont know the password ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-12-2009, 04:32 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
amarishvenugopal is on a distinguished road
Default web application not running

I have a problem...I have a web application connected with mysql database in fedora linux server...I dont know the password for root user in mysql database...today i have resetted it...now the web application is not working...its throwing
Access denied for user 'root'@'localhost' (using password: YES) this error...
help me...
Reply With Quote
  #2 (permalink)  
Old 29-12-2009, 06:38 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to update webapplication config file which is used to connect database server. Do you know your webapp name? Is it a custom made?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 30-12-2009, 07:50 AM
Junior Member
User
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
amarishvenugopal is on a distinguished road
Default

Quote:
Originally Posted by nixcraft View Post
You need to update webapplication config file which is used to connect database server. Do you know your webapp name? Is it a custom made?
its a recruitment software...CATS...i dont know the configuration file...how can i find it....
Reply With Quote
  #4 (permalink)  
Old 30-12-2009, 09:06 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by amarishvenugopal View Post
its a recruitment software...CATS...i dont know the configuration file...how can i find it....
You have to search through application files usually developers uses config.php or something like that.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
The Following User Says Thank You to nixcraft For This Useful Post:
amarishvenugopal (31-12-2009)
  #5 (permalink)  
Old 30-12-2009, 05:14 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Quote:
Originally Posted by amarishvenugopal View Post
its a recruitment software...CATS...i dont know the configuration file...how can i find it....
Use grep command.
Code:
cd /path/to/your/webapp
grep -R "mysql_connect" *.php
mysql_connect is used to connect to your database server. You will find password in same file or at east get a reference to config file.
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
The Following User Says Thank You to rockdalinux For This Useful Post:
vamsi (30-12-2009)
  #6 (permalink)  
Old 31-12-2009, 08:39 AM
Junior Member
User
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
amarishvenugopal is on a distinguished road
Default thank u everyone...

thank u guys...i found the config file now its working.....
Reply With Quote
Reply

Tags
database , mysql , mysql root password , web application


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
open application to specific screen katsushiro CentOS / RHEL / Fedora 2 29-09-2009 01:24 AM
Web Application Firewall in UBUNTU kiranjith Linux software 1 23-04-2009 02:36 PM
To send fax direct on application satimis Linux software 0 18-03-2008 07:48 AM
Application Hosting john_sm XEN 1 28-01-2008 10:19 PM
application usage zafar466 Web servers 1 31-03-2007 12:01 AM


All times are GMT +5.5. The time now is 09:05 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38