[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gfortran Permission denied



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

michael wrote:
> Hello list,
> 
> as you guess I am having serious boot problems, grub loading fails at stage
> 1.5 with "Error 17".
> 
> I did not install/re-install anything, resize partitions or anything else
> could do something wrong. I was trasferring data from my usb HD when the
> process stopped (input/output error) and the system went completely frozen.
>>From that moment on I can not boot from HD.
> 
> Using knoppix I can read all partitions... exept /home and /
> 
> I tried to reinstall grub on MBR using the ubuntu studio rescue (apologize
> for that :-) ) and SGD (Super Grub Disk).
> The former stops during device mapping, showing partitions like /dev/sd1,
> /dev/sd2 and so on which is quite absurd, the latter is unable to install
> grub on the MBR (for the same problem I guess ...) and to boot any of the
> two OS  (XP is there, but I do not boot it from ages )
> 
> I would prefer not to do a fresh install if not necessary even if my data
> are backed up on a safe partition.
> 
> Any ideas? Can I resume my lenny?
> 
> regards
> raffaele
> 
> ------=_Part_16140_9085696.1210238246187
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Hello list,<br><br>as you guess I am having serious boot problems, grub loading fails at stage 1.5 with &quot;Error 17&quot;. <br><br>I did not install/re-install anything, resize partitions or anything else could do something wrong. I was trasferring data from my usb HD when the process stopped (input/output error) and the system went completely frozen.<br>
>>From that moment on I can not boot from HD.<br><br>Using knoppix I can read all partitions... exept /home and /<br><br>I tried to reinstall grub on MBR using the ubuntu studio rescue (apologize for that :-) ) and SGD (Super Grub Disk). <br>
> The former stops during device mapping, showing partitions like /dev/sd1, /dev/sd2 and so on which is quite absurd, the latter is unable to install grubDelivered-To: healey.rich@gmail.com
> Received: by 10.115.73.12 with SMTP id a12cs179585wal;
>         Wed, 7 May 2008 15:42:51 -0700 (PDT)
> Received: by 10.86.89.4 with SMTP id m4mr1099729fgb.53.1210200169718;
>         Wed, 07 May 2008 15:42:49 -0700 (PDT)
> Return-Path: <bounce-debian-user=healey.rich=gmail.com@lists.debian.org>
> Received: from liszt.debian.org (liszt.debian.org [82.195.75.100])
>         by mx.google.com with ESMTP id j10si4730178muh.2.2008.05.07.15.42.49;
>         Wed, 07 May 2008 15:42:49 -0700 (PDT)
> Received-SPF: pass (google.com: domain of bounce-debian-user=healey.rich=gmail.com@lists.debian.org designates 82.195.75.100 as permitted sender) client-ip=82.195.75.100;
> Authentication-Results: mx.google.com; spf=pass (google.com: domain of bounce-debian-user=healey.rich=gmail.com@lists.debian.org designates 82.195.75.100 as permitted sender) smtp.mail=bounce-debian-user=healey.rich=gmail.com@lists.debian.org
> Received: from localhost (localhost [127.0.0.1])
> 	by liszt.debian.org (Postfix) with QMQP
> 	id 7E55713A5379; Wed,  7 May 2008 22:42:43 +0000 (UTC)
> Old-Return-Path: <cs@networkingnewsletter.org.uk>
> X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
> X-Spam-Level: 
> X-Spam-Status: No, score=-17.0 required=4.0 tests=BAYES_00,LDOSUBSCRIBER,
> 	LDO_WHITELIST,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3
> X-Original-To: debian-user@lists.debian.org
> Delivered-To: lists-debian-user@liszt.debian.org
> X-policyd-weight:  DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .networkingnewsletter. - helo: .tranquility.mcc. - helo-domain: .mcc.)  FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0 <client=130.88.200.145> <helo=tranquility.mcc.ac.uk> <from=cs@networkingnewsletter.org.uk> <to=debian-user@lists.debian.org>, rate: -5
> Received: from tranquility.mcc.ac.uk (tranquility.mcc.ac.uk [130.88.200.145])
> 	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
> 	(No client certificate requested)
> 	by liszt.debian.org (Postfix) with ESMTP id 3186113A52EC
> 	for <debian-user@lists.debian.org>; Wed,  7 May 2008 22:42:16 +0000 (UTC)
> Received: from rankine.its.manchester.ac.uk ([130.88.25.196])
> 	by tranquility.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256)
> 	(Exim 4.69 (FreeBSD))
> 	(envelope-from <cs@networkingnewsletter.org.uk>)
> 	id 1JtsKz-0009hU-ER
> 	for debian-user@lists.debian.org; Wed, 07 May 2008 23:42:13 +0100
> Received: from [93.96.3.203] (port=57094 helo=amd64.lan)
> 	by rankine.its.manchester.ac.uk with esmtpsa (SSLv3:RC4-MD5:128)
> 	(Exim 4.43)
> 	id 1JtsKz-0004g4-6s
> 	for debian-user@lists.debian.org; Wed, 07 May 2008 23:42:13 +0100
> Subject: gfortran  Permission denied
> From: michael <cs@networkingnewsletter.org.uk>
> To: debian user <debian-user@lists.debian.org>
> Content-Type: text/plain
> Date: Wed, 07 May 2008 23:42:13 +0100
> Message-Id: <[🔎] 1210200133.3628.59.camel@amd64.lan>
> Mime-Version: 1.0
> X-Mailer: Evolution 2.6.3 
> Content-Transfer-Encoding: 7bit
> X-Authenticated-Sender: Michael Bane from (amd64.lan) [93.96.3.203]:57094
> X-Authenticated-From: michael.bane@manchester.ac.uk
> X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
> X-Rc-Virus: 2007-09-13_01
> X-Rc-Spam: 2007-10-04_01
> Resent-Message-ID: <VJubqxD3lAI.A.d1D.jBjIIB@liszt>
> Resent-From: debian-user@lists.debian.org
> X-Mailing-List: <debian-user@lists.debian.org> archive/latest/518931
> X-Loop: debian-user@lists.debian.org
> List-Id: <debian-user.lists.debian.org>
> List-Post: <mailto:debian-user@lists.debian.org>
> List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
> List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
> List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
> Precedence: list
> Resent-Sender: debian-user-request@lists.debian.org
> Resent-Date: Wed,  7 May 2008 22:42:43 +0000 (UTC)
> 
> I've just installed, without error, gfortran on my AMD64
> 
> mkb@amd64:~/work/Fortran$ dpkg -l|grep gfortran
> ii  gfortran                          4.1.1-15
> The GNU Fortran 95 compiler
> ii  gfortran-4.1                      4.1.1-21
> The GNU Fortran 95 compiler
> ii  libgfortran1                      4.1.1-21
> Runtime library for GNU Fortran applications
> ii  libgfortran1-dev                  4.1.1-21
> GNU Fortran library development
> mkb@amd64:~/work/Fortran$ uname -a
> Linux amd64 2.6.18-6-amd64 #1 SMP Thu Apr 24 03:57:46 UTC 2008 x86_64
> GNU/Linux
> 
> and it seems to compile a simple code okay:
> 
> mkb@amd64:~/work/Fortran$ cat simple.f90 ; gfortran -o simple.out
> simple.f90
> program michael
> implicit none
> write(*,*) 'hi'
> write(*,*) index('hi','!')
> end program michael
> 
> but it won't run!
> 
> mkb@amd64:~/work/Fortran$ ./simple.out
> -bash: ./simple.out: Permission denied
> mkb@amd64:~/work/Fortran$ ls -lt ./simple.out
> -rwxr-xr-x 1 mkb mkb 10039 May  7 23:41 ./simple.out*
> 
> 
> but it's totally unclear to me what the problem is....
> 
> All ideas welcomed, M
> 
> 
Seems to me you forgot to pass the source file to gfortran, considering
the output file is only 7 bytes....
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIsXgLeTfO4yBSAcRAqmzAJwIzYKrwCDM5i8Ja1odsChZjw6IagCeJxlA
3MZ8mSn6h6CEWRC+hG8zNFQ=
=s7HR
-----END PGP SIGNATURE-----


Reply to: