We did some troublehsooting and moved bit further..Now we asre getting this while starting apache
ip-10-244-159-111:~# /etc/init.d/apache2 restart
Restarting web server: apache2Syntax error on line 12 of /etc/apache2/apache2.conf:
Invalid command 'ScriptAlias', perhaps misspelled or defined by a module not included in the server configuration
failed!
Problem with upgrade in core
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Problem with upgrade in core
Can you show us what you have on line 12 of your apache2.conf? Something there is halting the init script.
Re: Problem with upgrade in core
I did went further with reverting back to very old apache conf files .Now apache seems to be running.
I can start nagios too.
Now I think i am very close to resolution but get some other issue
I am able to open http://awsjmp.support.xerox.com/nagios4/index.php .
Data for servers/services is displaying in but i could not see anyframes or tables.Something is messing up.
Attached output for refernce
But when i try http://awsjmp.support.xerox.com/nagios4. I get
Forbidden
You don't have permission to access /nagios4/ on this server.
I can start nagios too.
Now I think i am very close to resolution but get some other issue
I am able to open http://awsjmp.support.xerox.com/nagios4/index.php .
Data for servers/services is displaying in but i could not see anyframes or tables.Something is messing up.
Attached output for refernce
But when i try http://awsjmp.support.xerox.com/nagios4. I get
Forbidden
You don't have permission to access /nagios4/ on this server.
Re: Problem with upgrade in core
You may need to reset your htaccess password, or check the Allow options in the apache config. Could you post the current working version of the vhost file for the /nagios site?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Problem with upgrade in core
changed passwd for nagios admin
Attached apache2.conf file
Attached apache2.conf file
- Attachments
-
- apache2.conf file.txt
- (2.25 KiB) Downloaded 298 times
Re: Problem with upgrade in core
Just curious why you're using <DirectoryMatch ...>?
You can use two <Directory> statements and make things much more likely to succeed.
By the way, I noticed your host is xerox.com. If you're in the Rochester, NY area, so are we. We might be able to help you out in person.
You can use two <Directory> statements and make things much more likely to succeed.
By the way, I noticed your host is xerox.com. If you're in the Rochester, NY area, so are we. We might be able to help you out in person.
Re: Problem with upgrade in core
i have changed to directory but still the same output.no frames
Re: Problem with upgrade in core
Can you post the new file with the edits you made?
Former Nagios employee
Re: Problem with upgrade in core
you can close this.
this is due to missing .cgi files in /usr/lib/cgi-bin/nagios4/
this is due to missing .cgi files in /usr/lib/cgi-bin/nagios4/