On Wed, 28 Nov 2012 13:31:15 +0100, Per Jessen <per@computer.org> wrote:
doiggl@velocitynet.com.au wrote:
# ps -ef | grep httpd root 7158 3441 0 17:23 pts/1 00:00:00 grep --color=auto httpd
Yes, you need to start apache - "systemctl start apache2.service". To have it started at boot-up, "systemctl enable apache2.service".
Hello, Results as follows --Glenn
# systemctl start apache2.service Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -n' for details.
# systemctl status apache2.service apache2.service - apache Loaded: loaded (/lib/systemd/system/apache2.service; enabled) Active: failed (Result: exit-code) since Wed, 2012-11-28 21:48:17 EST; 46s ago Process: 11606 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/apache2.service
Nov 28 21:48:17 test.site systemd[1]: Starting apache... Nov 28 21:48:17 test.site start_apache2[11606]: httpd2-prefork: Syntax error on line 205 of /etc/apache2/httpd.conf: Syntax error on line 1 of /etc/apac...t closed.
# head -205 /etc/apache2/httpd.conf | tail -1 Include /etc/apache2/vhosts.d/*.conf
# head -205 /etc/apache2/httpd.conf | tail -1 Include /etc/apache2/vhosts.d/*.conf
# ll /etc/apache2/vhosts.d/*.conf -rw-r--r-- 1 root root 2113 Nov 22 22:50 /etc/apache2/vhosts.d/cacti.conf
I think this means there is a problem in the config:
/etc/apache2/vhosts.d/cacti.conf
Try posting it and I'll see if I can spot anything obvious. Still, if that is from an openSUSE package, it ought to just work.
-- Per Jessen, Zürich (5.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Hello, /etc/apache2/vhosts.d/cacti.conf content as follows: # cat /etc/apache2/vhosts.d/cacti.conf <?php /* +-------------------------------------------------------------------------+ | Copyright (C) 2004-2011 The Cacti Group | | | | This program is free software; you can redistribute it and/or | | modify it under the terms of the GNU General Public License | | as published by the Free Software Foundation; either version 2 | | of the License, or (at your option) any later version. | | | | This program is distributed in the hope that it will be useful, | | but WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | GNU General Public License for more details. | +-------------------------------------------------------------------------+ | Cacti: The Complete RRDTool-based Graphing Solution | +-------------------------------------------------------------------------+ | This code is designed, written, and maintained by the Cacti Group. See | | about.php and/or the AUTHORS file for specific developer information. | +-------------------------------------------------------------------------+ | http://www.cacti.net/ | +-------------------------------------------------------------------------+ */ /* make sure these values refect your actual database/host/user/password */ $database_type = "mysql"; $database_default = "cactidb"; $database_hostname = "localhost"; $database_username = "cactiusername"; $database_password = "cactipassword"; $database_port = "3306"; $database_ssl = false; /* Edit this to point to the default URL of your Cacti install ex: if your cacti install as at http://serverip/cacti/ this would be set to /cacti/ */ $url_path = "/"; /* Default session name - Session name must contain alpha characters */ $cacti_session_name = "Cacti"; ?> Other information ================= This came about when I was trying to follow this documentation on setup and running cacti[1] on opensuse. Cacti rpm {cacti-0.8.8a-12.3.noarch.rpm} sourced from [2] Cheers Glenn [1]http://en.opensuse.org/Cacti [2]http://ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/openSUSE_Fa... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org