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

Re: [cobalt-users] PHP Installation Problems (RAQ2)



"Casselman, Chad" <ccasselman@xxxxxxxxxxxxxxx> wrote:
> > > mkdir: cannot make directory `/usr/local/bin': File exists
> > </snip>
> > >
> > > Can anyone give me some guidance or direction?
> >
> > Chad, I'm not sure, but is there any possibility /usr/local/bin is a
file
> > and not a directory?  Do an 'ls -al /usr/local' and 'ls -al
> /usr/local/bin'
> > and post the results.
>
> That is the problem.  It is a file, but I thought it is a file create by
or
> for the system and was needed, so I just thought that the installation was
> trying to install somewhere it shouldn't be.  In other words a bad
> installation.  When I "vi bin", it looks like a binary file.
>
> Here is the results of those commands:
> 16:29:01 ~>ls -al /usr/local
> total 53
> drwxr-xr-x  16 root     root         1024 Nov  9 11:46 ./
> drwxr-xr-x  24 root     root         1024 Jul  6 03:09 ../
> -rwxrwxr-x   1 root     root        36559 Feb 23  2001 bin*

/usr/local/bin definitely shouldn't be a file.  Though anything's possible,
I doubt that the PHP installation created it as a file.  Perhaps someone
with root access to the box accidentally created that file in the past or
installed a program with a really bad typo in the installation script.  In
any case, I suggest deleting the file, then trying the installation again.
Continue to post of you have problems.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/