Page 1 of 1

Locked out

PostPosted: 18. July 2008 23:54
by powerof2
I installed LAMMP on Ubuntu Linux and all worked fine the first day. Now, when I try to open localhost it asks me for a user name and password. OK, that's fine, except that when I enter either my Linux pwd or the ones I entered when I installed LAMMP it won't take it.

I can start XAMPP jiust fine, but I"m locked out of my localhost page and I can't even delete the software and reinstall it.

Does anyone have even the slightest clue how to get around this???

Jay Reidy
jay.reidy@gmail.com
Pasadena, CA USA

PostPosted: 19. July 2008 12:22
by Nobbie
Obviously there is a .htaccess file in the htdocs folder which requires a user and password. Delete the corresponding lines from .htaccess or simply delete the whole file.

PostPosted: 19. July 2008 17:09
by powerof2
Nobbie wrote:Obviously there is a .htaccess file in the htdocs folder which requires a user and password. Delete the corresponding lines from .htaccess or simply delete the whole file.


Well, now I have another problem. I went all the way back to ground zero to get rid of XAMPP, and downloaded it again. I typed in this line, as directed in the HOW TO (http://ubuntuforums.org/showthread.php?t=223410):

http://ubuntuforums.org/showthread.php?t=223410

and got this response:
jreidy@jreidy:~$ sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt
tar: xampp-linux-1.5.3a.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
jreidy@jreidy:~$


What it god's name have I done now, and how to I get out of it?

Thanks,
J
jay.reidy@gmail.com

PostPosted: 19. July 2008 17:21
by Wiedmann
tar: xampp-linux-1.5.3a.tar.gz: Cannot open: No such file or directory

THere is no file "xampp-linux-1.5.3a.tar.gz" in the current directory.

PostPosted: 19. July 2008 17:30
by powerof2
Wiedmann wrote:
tar: xampp-linux-1.5.3a.tar.gz: Cannot open: No such file or directory

THere is no file "xampp-linux-1.5.3a.tar.gz" in the current directory.


Well, then, here's a really stupid newby question: Where does the xampp file get downloaded to? I thought it was in /tmp but it isn't.

j[/i]

PostPosted: 19. July 2008 17:35
by Wiedmann
Where does the xampp file get downloaded to?

I can't know this:
--> you have downloaded the file...

I thought it was in /tmp but it isn't.

BTW:
I you think it's in "/tmp", why did you execute the above command in "~" (home dir)?

PostPosted: 19. July 2008 17:38
by powerof2
Because I'm absolutely new to Ubuntu and Linux and don't have a clue what I'm doing.

I just did an ls and ls -a in /tmp and I still don't see it.

REALLY stupid!!!!

PostPosted: 19. July 2008 17:41
by powerof2
I just realized another problem. I took the line from the forum with 1.5.3.a in the command line and I"m trying to install v1.6.7.

Now you know why you can't give a Windows user a coffee break!

I did it.

PostPosted: 19. July 2008 17:52
by powerof2
Don't ask me, but I think I managed to get it done.

I found the download on my desktop and extracted it using the extractor and got another file icon there which I pulled into /tmp and reran

sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt

and it seems to have worked.

Thanks all for your help.
j