LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2008, 11:03 AM   #1
mrTOAD
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Posts: 5

Rep: Reputation: 0
Installation guide for JFFNMS in centOS


hello guys!
I am new in Linux and the platform
I have now is centOS.
I have learned from someone that jffnms
is a great monitoring tool.
I was wondering if I can install/run it using
centOS.

Thanks in advance for the help!
 
Old 04-06-2008, 03:59 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I just had alook at their site, and under installation they give very specific redhat package requirements, and since centos is just rh in disguise, I'd just follow the rh instructions. Try it and tell us where you have problems
 
Old 04-08-2008, 11:54 AM   #3
mrTOAD
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
I see...
OK..
I will let you know where or what problems I may encounter...
Thanks for the tip!
 
Old 04-11-2008, 11:53 AM   #4
mrTOAD
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
Sir Billy,

Now I am having a little problem...
This is the link I am looking at right now...
http://www.jffnms.org/jffnms/INSTALL

I am now at the Creating of Database...

Create the Databases
Manually create the database "jffnms", set the permissions and then import the schema and data.
Replace the 'x' with the jffnms version number.
MySQL:
======
# mysql -u <mysql admin username> -p<password>
mysql> CREATE DATABASE jffnms;
mysql> GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost IDENTIFIED BY 'jffnms';
mysql> FLUSH PRIVILEGES;
mysql> quit

# mysql -u jffnms -pjffnms jffnms < docs/jffnms-0.8.x.mysql

I am having a problem with this line...
# mysql -u <mysql admin username> -p<password>
Everytime I write a password I get this message...

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I do not know what I am doing wrong...
Please Help!
Thanks!!!

Best Regards,
mrTOAD
 
Old 04-11-2008, 04:16 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is the server running (or installed)?

try

ps aux | grep mysqld

And post the result.

If nothing, do you have the server installed?

Try

yum list installed mysql*

and see if mysql-server is listed

If not

yum install mysqlserver
 
Old 04-12-2008, 10:20 AM   #6
mrTOAD
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
Sir Billy,

Here is the result...
yum list installed mysql*

Loading "installonlyn" plugin
Installed Packages
mysql.i386 5.0.22-2.2.el5_1.1 installed

and...

ps aux | grep mysqld

root 2642 0.0 0.4 3892 648 pts/0 R+ 09:59 0:00 grep mysqld

It seems my mysql is not running...
How do I run it?
Many Thanks!!!


Regards,
mrTOAD
 
Old 04-12-2008, 05:06 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
mysql is the client. You need to install the server (mysqld)

yum install mysql-server
chkconfig mysqld on (this will start the server on boot)
service mysqld start (this will start the server now)
 
Old 04-12-2008, 05:08 PM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Please note also that when first installed, mysql has security holes - specifically, root doesn't have a password. Do a search on google for setting up mysql for how to fix this
 
Old 04-13-2008, 09:54 PM   #9
mrTOAD
LQ Newbie
 
Registered: Mar 2008
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
Sir Billy,

I am trying to find rpm for mysql-server or tar files so i can install it.
But google is not giving me any. Do you know any site or link where I can download mysql-server?
Many, many thanks!

Best Regards,
mrTOAD
 
Old 04-13-2008, 09:56 PM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
As I said, use yum - the commands are all in my post

Quote:
yum install mysql-server
chkconfig mysqld on (this will start the server on boot)
service mysqld start (this will start the server now)
 
  


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
LXer: Installation Guide: CentOS 5.1 Desktop LXer Syndicated Linux News 0 12-16-2007 07:20 AM
Problem with Starting FreeNX. Followed Guide. Centos. Dont think GNOME is running. CrewXp Linux - Software 5 08-14-2007 03:04 AM
CentOS installation guide needed sala7uddin Linux - Newbie 9 07-18-2007 06:11 AM
jffnms - Admin Structure Not Found dablew Linux - Server 2 03-27-2007 02:56 AM
Jffnms bshearer *BSD 0 04-24-2005 06:26 AM


All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration