Hi every body; I want to intall some softwars working with my Asterisk server and I get these erreurs : * error: cannot seek `/dev/sda'. error: cannot seek `/dev/sda'. error: cannot seek `/dev/sda'. /usr/sbin/grub-probe: error: cannot seek `/dev/sda'. dpkg: error processing grub-pc (--configure): subprocess installed post-installation script returned error exit status 1 * Please can any one let me know how can I resolve this problem; -- * **?l?ve Ing?nieur INE2 ? l'Institut National des Postes et T?l?communications * *INPT - Rabat - Maro*c * * * * *Responsable de la cellule Asterisk au **Club Electronique et Systemes Embarqu?s de l'INPT* *Membre du projet " ilearn", SIFE INPT* * * * Tel : +212642398782 * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130206/7d346f8d/attachment.htm>
Hi Are you sure that your hard drive sda, is ok? Looks like your hard drive is broken. On Wed, Feb 6, 2013 at 10:30 AM, brahim abidar <abidarbaha91 at gmail.com>wrote:> Hi every body; > > I want to intall some softwars working with my Asterisk server and I get > these erreurs : > > * > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > /usr/sbin/grub-probe: error: cannot seek `/dev/sda'. > dpkg: error processing grub-pc (--configure): > subprocess installed post-installation script returned error exit status 1 > * > > Please can any one let me know how can I resolve this problem; > -- > * > **?l?ve Ing?nieur INE2 ? l'Institut National des Postes et > T?l?communications * *INPT - Rabat - Maro*c * > > * > * * *Responsable de la cellule Asterisk au **Club Electronique et > Systemes Embarqu?s de l'INPT* > *Membre du projet " ilearn", SIFE INPT* * > * > * Tel : +212642398782 > * > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130206/0d4b548e/attachment.htm>
On Wed, Feb 6, 2013 at 9:30 AM, brahim abidar <abidarbaha91 at gmail.com>wrote:> * > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > /usr/sbin/grub-probe: error: cannot seek `/dev/sda'. > * >I hope your hard drive is not /dev/sda. Although this could also be a configuration issue.> * > dpkg: error processing grub-pc (--configure): > subprocess installed post-installation script returned error exit status 1 > * >And this indicates you're trying to install grub. If you're installing grub, you're probably starting from scratch on a new disk. You should look up a tutorial on how to test your hard drive, but an abbreviated tutorial is to get a Live DVD distro, burn it, boot off of it, and before mounting any partitions on /dev/sda, run badblocks -nvs /dev/sda on it. Let that run for however long it needs to; this will test all of the sectors on your drive to ensure they're working correctly. If it outputs any errors or starts writing out lots of numbers, you have a disk problem. Now, on to Asterisk: If your box is blank, you should just install a distribution designed for Asterisk: http://www.freepbx.org/freepbx-distro http://www.elastix.org/index.php/en/downloads/main-distro.html If this is an existing system, it sounds like you have a serious configuration issue or hardware problem, so you should head to the forums for whatever distro you're using (looks like some Debian variant). -- -Chris Harrington ACSDi Office: 763.559.5800 Mobile Phone: 612.326.4248 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130206/b393a533/attachment.htm>
On Wednesday 06 February 2013, brahim abidar wrote:> Hi every body; > > I want to intall some softwars working with my Asterisk server and I get > these erreurs : > > * > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > error: cannot seek `/dev/sda'. > /usr/sbin/grub-probe: error: cannot seek `/dev/sda'. > dpkg: error processing grub-pc (--configure): > subprocess installed post-installation script returned error exit status 1 > * > > Please can any one let me know how can I resolve this problem;This isn't an Asterisk problem per se. It *could* be the beginning of a very nasty hardware problem (hard disk failure imminent) or it could be no more than a simple misconfiguration. It looks, from the messages, as though you are running Ubuntu or Debian. Is that so? Which release? And what output do you get for # mount and # fdisk -l ? -- AJS Answers come *after* questions.