View previous topic :: View next topic |
Author |
Message |
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
Posted: Tue Feb 14, 2006 8:09 am Post subject: Installing on remote server |
|
|
Hello
I am installing groundwork monitor on a remote server. Configuration files for apache installs empty (0 bytes), so i copied httpd.conf.bak onto httpd.conf on /usr/local/groundwork/apache2/conf/ but index.html/index.html don't redirect using opera.
Switched to firefox, but i am getting redirected to http://localhost/monitor/, but it is a remote server. No monitor, keyboard, nothing. IMHO, it should place hostname, instead of localhost, at the first redirect.
So i am in the way of searching all files and adjusting it. It is annoying, because i need to keep track of every file edited, for later config purposes. |
|
Back to top |
|
|
Peter_Loh
Joined: 13 Feb 2006 Posts: 29
|
Posted: Tue Feb 14, 2006 10:03 am Post subject: |
|
|
Hi,
There was a problem on your install. The installation should create a new httpd.conf file in /usr/local/groundwork/apache2/conf.
Each of the following lines should have replaced "localhost" with your servers IP address.
TKTAuthLoginURL http://localhost/monitor/login.php
Can you tell me what operating system version you are installing on?
I can send you the httpd.conf file if you wish, but I'd like to understand why the install didn't work for you.
Peter |
|
Back to top |
|
|
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
Posted: Tue Feb 14, 2006 10:28 am Post subject: |
|
|
SuSE 9.3
kernel 2.6.11.4-21.9-smp
This is a fresh install, the only thing i've did was nagios2 install. But it is on another prefix than /usr/local so i think it isn't the problem.
Following is the output from `rpm -ivh groundwork-monitor*`:
# rpm -ivh groundwork-monitor-os-4.5-M1.31.i586.rpm
Preparing... ########################################### [100%]
Creating groups nagios and nagioscmd...
useradd: Unknown group `video'.
useradd: Unknown group `dialout'.
1:groundwork-monitor-os ########################################### [100%]
192.168.147.19 10.3.1.30 172.27.19.19
sed: -e expression #1, char 26: unterminated `s' command
Creating user directories and bash_profiles for user nagios ...
Creating different databases...
MySQL root passwd is not set...
Setting up the boot sequence for GroundWork Monitor modules...
Add syslog-ng ...
Add nagios ...
Add nsca ...
Add Apache2 ...
Setting up the permissions...
Starting Nagios, Apache2...
no listening sockets available, shutting down
Unable to open logs
Set permissions...
Starting Feeder services...
Starting Groundwork Services...
Creating cron tab entries...
Update hostgroup/host tables...
Creating SuSE Linux specific links to boot scripts...
# _________________ Marcel Mitsuto Fucatu Sugano |
|
Back to top |
|
|
Guest
|
Posted: Tue Feb 14, 2006 10:49 am Post subject: |
|
|
Hi Marcel,
We have a bug in our install script parsing your multple IP addresses. One thing that would help us debug is if you can send the output from your "ifconfig" command.
We can help you get started by sending you the httpd.conf file that should be created, if you wish. Please email me if you want us to do that - [email protected].
Thanks!
Peter |
|
Back to top |
|
|
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
Posted: Tue Feb 14, 2006 11:04 am Post subject: |
|
|
If multiple IPs addresses is the problem, i can solve.
But, meanwhile, you should consider about placing the hostname instead localhost files that we get redirected to. Why not?
Thanks for your answer. _________________ Marcel Mitsuto Fucatu Sugano |
|
Back to top |
|
|
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
Posted: Tue Feb 14, 2006 11:17 am Post subject: |
|
|
Even editing /etc/hosts, it do not install correctly. So i think the script is parsing the /sbin/ifconfig output to figure out what is the IP-addresses that it will use to build httpd.conf.
I will down the conflicting interfaces, and after everything is running, i get them up again. _________________ Marcel Mitsuto Fucatu Sugano |
|
Back to top |
|
|
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
Posted: Tue Feb 14, 2006 12:30 pm Post subject: |
|
|
I've done installing, but...
Now i am getting these errors:
-----
Please Wait As The System Logs You In...
The following warnings have occurred:
Status Viewer: Unable to connect to the status viewer database. Status Viewer will be disabled. Check your configuration.
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /usr/local/groundwork/guava/adodb/drivers/adodb-mysql.inc.php on line 346
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /usr/local/groundwork/guava/adodb/drivers/adodb-mysql.inc.php on line 346
---------------------------
I am using mysql 4.1.10a. SuSE Linux standard package.
I don't know where to look at yet, will try to figure out. _________________ Marcel Mitsuto Fucatu Sugano |
|
Back to top |
|
|
mitsuto
Joined: 13 Feb 2006 Posts: 11 Location: Brazil
|
|
Back to top |
|
|
|