Welcome to Pandora FMS Community › Forums › Community support › installing pandora on freebsd
-
installing pandora on freebsd
Posted by Anonymous on June 30, 2006 at 12:38Hi,
I want to know if is possible to install Pandora on Freebsd ?
Has some body installed it, and there is a manual for the installation.Thanks a lot,
Anonymous replied 18 years, 5 months ago 1 Member · 11 Replies -
11 Replies
-
::
No, it’s the first time anybody plan to install it in a FreeBSD machine. I think this would be easy because all needed PERL modules are available in FreeBSD, and all the PHP and PHP modules. So… why not?, officially Pandora’s Plattform is only Linux, because is the system where all the people is actually running it, and because is the development plattform, but one of our developers (RaulM) has a “un-official” way to make Pandora fully operational in a Win2K/XP enviroment.
If you made it and need some help, please write on this forum. And of course, if you want to write a “Guide to Pandora install in FreeBSD”, you’re welcome :-))
-
Anonymous
GuestJuly 5, 2006 at 15:47::Thank’s for the replay.
The problem is in pandora_server (pandora_console Iinstalled adnd it works perfectly)
I installed all the perl modules required and that OK. But wheni try to start up the server it gave me this errorPandora Server 1.2beta Build PS060103 Copyright (c) 2004-2006
You can download latest versions and documentation in http://pandora.sf.net[ERROR] This isn’t Linux. Pandora Server its only OFFICIALLY supported in Linux
Contact us if you require assistance running Pandora Server over other OSCannot start Pandora Data Server. Aborted
What can do??
Thank’s a lot.
-
::
Two hints:
a) Try to set the maximun debug level on pandora_server.conf and look the logs
b) Try to start the perl script manually to see the console errors:cd $PANDORAHOME/bin
perl pandora_server.pl $PANDORAHOMEI think the most probably cause will be that incoming_dir doest exists, cannot write to logs or database could not be reached. Its usual, we are working on a “install” script who makes the basic directory structure, checks database, module compatibility, etc. Please write on your ideas and problems installing pandora 🙂
-
Anonymous
GuestJuly 5, 2006 at 17:09::Hi,
I resove the problem above,
(I comment the line
# Check we are running Linux
## die “[ERROR] This isn’t Linux. Pandora Server its only OFFICIALLY supported in Linux
Contact us if you require assistance running Pandora Server over other OS” unless ($^O =~ m/linux/i);
but I have another problem. When i run pandora server as pandora user:
pandora # pandora_server start
Pandora Server 1.2beta Build PS060103 Copyright (c) 2004-2006
You can download latest versions and documentation in http://pandora.sf.net- You are running Pandora Data Server
- MD5 Security enabled
- This server is in MASTER mode
- This server is running in DAEMON mode
[E] Error connecting database in init Phase. Aborting startup
Cannot start Pandora Data Server. Aborted
???
thank’s
P.S I am going to write a manual how to install pandora on FreeBSD .
-
Anonymous
GuestJuly 5, 2006 at 17:14::this is the output of log file on “/opt/pandora_server/log/pandora_server.log”
2006/07/05 15:09:45 Launching Pandora Data Server 1.2beta PS060103
2006/07/05 15:09:45 [V2] Config options: Logfile at /opt/pandora_server/log/pandora_server.log, Basepath is /opt/pandora_server, Checksum is 1, Master is 1, SNMP Console is 1, Server Threshold at 1 sec, verbosity at 10, Alert Threshold at 60
2006/07/05 15:09:45 Error connecting database in init Phase. Aborting startup:rolleyes:
-
-
Anonymous
GuestJuly 5, 2006 at 18:28::the permissions of pandora_server.conf ??
they have 777 .database setings are right
what dou you mean with “check your database settings and permissions in .conf file” ??a questios: the file under /opt/pandora_server/bin/ *.pm and .pl were I am going to put?? under /usr/local/lib/perl5
or were they are?I have two hosts apart
1) pandora server (192.168.0.1)
2) mysql (192.168.0.2)It simes that can not contact mysql.
-
::
Let’s see your /opt/pandora_server/conf/pandora_server.conf
# incomingdir: Defines directory where incoming data packets are stored
incomingdir /opt/pandora_server/data_inIt is very important that: exists and be writable by pandora user.
# dbuser: Database user name (pandora by default)
dbuser pandoraDatabase user, could be any user you had defined in your MySQL database
# dbpass: Database password
dbpass pandoraDatabase pass, could be any user you had defined in your MySQL database. You must define this user/pass/host in mysql using the command “grant all privileges on pandora.* to [email protected].0.1 identified by “password”. For more information please read the docs about this, settings the remote hostname it’s not easy because sometimes setting simple hostname doesnt work, you could need to setup the numeric ip address.
# dbhost: Database hostname or IP address
dbhost localhostIn your case, 192.168.0.2
About location of *.pm and *.pl, the whole package (including the startup scripts) are made for running in /opt/pandora_server, but of course, you can change the pathnames, but also need to change the startup process.
We are working on a possible cmake syntax configure/setup system or a single perl setup system to customize the path or set in a more “standard” path.I hope this helps.
-
Anonymous
GuestJuly 6, 2006 at 16:29