Cacti does no reinstall(((
Hi.
I had cacti installed and tried to add plugin architecture but spoiled the whole cacti. In other words it stoped to work completely. I tried to delete it (probably in wrong way) and reinstall. But now I have the same error while installing: root@logserver:/usr/share/cacti/resource# apt-get -f install cacti-spine Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: snmp-mibs-downloader The following NEW packages will be installed: cacti-spine 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 89.0 kB of archives. After this operation, 270 kB of additional disk space will be used. Get:1 http://ua.archive.ubuntu.com/ubuntu/ precise/universe cacti-spine amd64 0.8.7i-1ubuntu1 [89.0 kB] Fetched 89.0 kB in 0s (273 kB/s) sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory sh: 0: getcwd() failed: No such file or directory Selecting previously unselected package cacti-spine. (Reading database ... dpkg: warning: files list file for package `cacti' missing, assuming package has no files currently installed. (Reading database ... 73150 files and directories currently installed.) Unpacking cacti-spine (from .../cacti-spine_0.8.7i-1ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up cacti-spine (0.8.7i-1ubuntu1) ... Not replacing deleted config file /etc/cacti/spine.conf chown: cannot access `/etc/cacti/spine.conf': No such file or directory dpkg: error processing cacti-spine (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: cacti-spine E: Sub-process /usr/bin/dpkg returned an error code (1) I saw there was the same thread on this forum but nothing helped((( The error continues to exist. |
I removed everything from /var/lib/dpkg/info concerning cacti and try to reinstall it and get the result:
Selecting previously unselected package cacti. (Reading database ... 73150 files and directories currently installed.) Unpacking cacti (from .../cacti_0.8.7i-2ubuntu1_all.deb) ... Setting up cacti (0.8.7i-2ubuntu1) ... dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf Replacing config file /etc/cacti/debian.php with new version dbconfig-common: flushing administrative password Not replacing deleted config file /etc/cacti/apache.conf Not replacing deleted config file /etc/cacti/lighttpd.conf root@logserver:/var/lib/dpkg/info# apt-get -f install cacti-spine Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: snmp-mibs-downloader The following NEW packages will be installed: cacti-spine 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 89.0 kB of archives. After this operation, 270 kB of additional disk space will be used. Get:1 http://ua.archive.ubuntu.com/ubuntu/ precise/universe cacti-spine amd64 0.8.7i-1ubuntu1 [89.0 kB] Fetched 89.0 kB in 0s (238 kB/s) Selecting previously unselected package cacti-spine. (Reading database ... 73572 files and directories currently installed.) Unpacking cacti-spine (from .../cacti-spine_0.8.7i-1ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up cacti-spine (0.8.7i-1ubuntu1) ... Not replacing deleted config file /etc/cacti/spine.conf chown: cannot access `/etc/cacti/spine.conf': No such file or directory dpkg: error processing cacti-spine (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: cacti-spine E: Sub-process /usr/bin/dpkg returned an error code (1) |
Please help.
|
All times are GMT -5. The time now is 11:34 AM. |