LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2013, 04:22 AM   #1
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Rep: Reputation: 15
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.
 
Old 04-25-2013, 04:30 AM   #2
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Original Poster
Rep: Reputation: 15
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)
 
Old 04-30-2013, 07:54 AM   #3
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Original Poster
Rep: Reputation: 15
Please help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with cacti? your_shadow03 Linux - Newbie 4 12-09-2009 09:31 AM
Reinstall Slack's LILO after WIndows XP reinstall __spc__ Linux - Newbie 3 02-15-2009 10:04 AM
Cacti installation on Debian Sarge: create cacti database error Yahweee Debian 2 08-26-2008 07:35 AM
Cacti rachadsrour Linux - Software 2 08-28-2007 09:20 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 11:50 AM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration