nixCraft Linux / UNIX / Shell Scripting 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 ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


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

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 29th December 2009, 04:32 PM
Junior Member
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 15
Thanks: 5
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 29th December 2009, 06:38 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,300
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft 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
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
  #3 (permalink)  
Old 30th December 2009, 07:50 AM
Junior Member
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 15
Thanks: 5
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 30th December 2009, 09:06 AM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,300
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft 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
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
The Following User Says Thank You to nixcraft For This Useful Post:
amarishvenugopal (31st December 2009)
  #5 (permalink)  
Old 30th December 2009, 05:14 PM
rockdalinux's Avatar
Is that all you got?
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 840
Thanks: 21
Thanked 45 Times in 38 Posts
Rep Power: 13
rockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to behold
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 (30th December 2009)
  #6 (permalink)  
Old 31st December 2009, 08:39 AM
Junior Member
 
Join Date: Dec 2009
OS: Redhat Linux
Posts: 15
Thanks: 5
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 29th September 2009 01:24 AM
Web Application Firewall in UBUNTU kiranjith Linux software 1 23rd April 2009 02:36 PM
To send fax direct on application satimis Linux software 0 18th March 2008 07:48 AM
Application Hosting john_sm XEN 1 28th January 2008 10:19 PM
application usage zafar466 Web servers 1 31st March 2007 12:01 AM


All times are GMT +5.5. The time now is 01:08 PM.


Powered by vBulletin® Version 3.8.6 - 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 39 40