Do you not already have these listen statements in /etc/apache2/ports.conf?adam.On 29/07/2015 18:20:10, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Got Error during apache restart. In the mean time that I google the error, any idea?root@banana:~# service apache2 restart[....] Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for bananaapache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameapache2: apr_sockaddr_info_get() failed for bananaapache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName(98)Address already in use: make_sock: could not bind to address [::]:80(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080no listening sockets available, shutting downUnable to open logsAction 'start' failed.The Apache error log may have more information.failed!root@banana:~# cat /etc/apache2/sites-available/defaultListen 80Listen 8080<VirtualHost *:80>ServerAdmin webmaster@localhostDocumentRoot /var/www<Directory />Options FollowSymLinksAllowOverride None</Directory><Directory /var/www/>Options Indexes FollowSymLinks MultiViewsAllowOverride NoneOrder allow,denyallow from all</Directory>ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<Directory "/usr/lib/cgi-bin">AllowOverride NoneOptions +ExecCGI -MultiViews +SymLinksIfOwnerMatchOrder allow,denyAllow from all</Directory>ErrorLog /var/log/apache2/error.log# Possible values include: debug, info, notice, warn, error, crit,# alert, emerg.LogLevel warnCustomLog /var/log/apache2/access.log combinedAlias /doc/ "/usr/share/doc/"<Directory "/usr/share/doc/">Options Indexes MultiViews FollowSymLinksAllowOverride NoneOrder deny,allowDeny from allAllow from 127.0.0.0/255.0.0.0 ::1/128</Directory></VirtualHost><VirtualHost *:8080>ServerAdmin webmaster@localhostDocumentRoot /opt/observium/html<Directory />Options FollowSymLinksAllowOverride None</Directory><Directory /opt/observium/html/>Options Indexes FollowSymLinks MultiViewsAllowOverride AllOrder allow,denyallow from all</Directory>ErrorLog ${APACHE_LOG_DIR}/error.logLogLevel warnCustomLog ${APACHE_LOG_DIR}/access.log combinedServerSignature On</VirtualHost>_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium2015-07-29 18:01 GMT+01:00 Adam Armstrong <adama@memetic.org>:Ahh yes, this is what I'd forgotten!Thanks Laurent! :)adam.On 29/07/2015 18:00:37, Laurent Dumont <admin@coldnorthadmin.com> wrote:
To add to this, iirc there should be a "Listen 8080" somewhere in the httpd conf.
You can use "netstat -punta | grep 8080" to show if the apache2 process is actually listening on the port.
On 7/29/2015 12:53 PM, Adam Armstrong wrote:
This should work :
<VirtualHost *:8080> ServerAdmin webmaster@localhost DocumentRoot /opt/observium/html <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /opt/observium/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined ServerSignature On </VirtualHost>
On 29/07/2015 17:47:49, Federico Olivieri <lvrfrc87@gmail.com> wrote:
No I cant.
Can you just confirm if the apache configuration it is fine and or if I have to change something else??
Thank you!!!
Federico_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
2015-07-29 17:44 GMT+01:00 Adam Armstrong <adama@memetic.org>:
Hmm. I'm not sure. Can you reach it from the server itself?
links http://localhost:8080
You might need to install links (or lynx)
adam.On 29/07/2015 17:43:35, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Thanks Adam for your reply. I removed the comment form the conf and know it is active on port 8080
However if I try to connect at the port I receive connection refused.
I create a iptable rule but I still have the problem
ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
Any Idea?_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
2015-07-29 17:23 GMT+01:00 Adam Armstrong <adama@memetic.org>:
Hi Frederico,
You need to make a name, ip or port based virtual host.
The section you have commented out at the bottom seems like it would work to allow you to access Observium on port 8080.
adam._______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumOn 29/07/2015 17:17:38, Federico Olivieri <lvrfrc87@gmail.com> wrote:
Hi All,
I was running OBSERVIUM as only service on my Apache configuration and it was fine. However I needed to add another software via web interface and I roll backe the Apache configuration..
From that point I m not able anymore to access to OBSERVIUM (as aspected)
I tried http://ipaddrress/opt/observium/ but it doesn t work.
That s my conf. How can I run 2 web interface via Apache?
<VirtualHost *:80>ServerAdmin webmaster@localhost
DocumentRoot /var/www<Directory />Options FollowSymLinksAllowOverride None</Directory><Directory /var/www/>Options Indexes FollowSymLinks MultiViewsAllowOverride NoneOrder allow,denyallow from all</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<Directory "/usr/lib/cgi-bin">AllowOverride NoneOptions +ExecCGI -MultiViews +SymLinksIfOwnerMatchOrder allow,denyAllow from all</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,# alert, emerg.LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"<Directory "/usr/share/doc/">Options Indexes MultiViews FollowSymLinksAllowOverride NoneOrder deny,allowDeny from allAllow from 127.0.0.0/255.0.0.0 ::1/128</Directory></VirtualHost>
#<VirtualHost *:8080># DocumentRoot /opt/observium/html/# ServerName observium.domain.com# CustomLog /opt/observium/logs/access_log combined# ErrorLog /opt/observium/logs/error_log# <Directory "/opt/observium/html/"># AllowOverride All# Options FollowSymLinks MultiViews# </Directory>
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium