Can't fix "New security concept" [Solved]

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Can't fix "New security concept" [Solved]

Postby jl2035 » 17. September 2012 14:16

Guys why the f... did you screw this up! I loved xampp and now I'm gonna have to use some other tool I know nothing about!

First I tried to access phpmyadmin:

Code: Select all
"Access to the requested directory is only available from the local network."


This just pisses me off!!! I am trying to acces it from the local network, from the same machine damnit !!! This is nonsense !!!

I tried all the solutions from here: http://community.apachefriends.org/f/viewtopic.php?p=149788

None of them work (btw I did not forget to restart xampp)...then I read that some guy ran
Code: Select all
/opt/lampp/lampp security
, set up the passwords and than he could acces phpmyadmin. So I tried this and I screw things up even more. Now I can't even access http://localhost/xampp - I get a username and password popup but no username or password works here! I tried my username, I tried 'root' and also tried 'pma'. Nothing.

So this post is not about asking 'what do I do' or 'how do I fix this' - I know this cannot be fixed... it's more like a "What the fuck did you do with lampp???"

Usually when I installed lampp I could start working few minutes later, now I lost 3 hours and I have to look for some other tool... SAAAAAAAD !!!
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)

Re: Can't fix "New security concept"

Postby JonB » 17. September 2012 17:02

A. We didn't break XAMPP/LAMPP; Apache, PHP and MySQL are always evolving. Things change, therefore new versions are created, its a learning process. You can always DL an older version, such as 1.7.7 or one you have used before, they are all available on the XAMPP SourceForge Page: http://sourceforge.net/projects/xampp/f ... P%20Linux/

B. You could have posted a question here and probably gotten an answer. Of course, that would require telling us the version you are trying to get working.

C. Have a nice cup of tea or take a chill pill...

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Can't fix "New security concept"

Postby jl2035 » 17. September 2012 23:08

Ok. I had a nice cup of tea, but I don't do cemicalz stuff :)

... and I tried the 1.7.7 version...

when trying to access http://localhost/phpmyadmin I get the same msg: Access to the requested directory is only available from the local network.

Previously I tried the latest version... 1.8.0 I guess ... on latest Ubuntu 12.04.1 fresh installation.

Is it possible there's some kind of Ubuntu problem?
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)

Re: Can't fix "New security concept"

Postby JonB » 20. September 2012 14:42

OK -

Access to the requested directory is only available from the local network.


As that is not a XAMPP/lampp error message, its probably some kind of configuration problem. (the 'new security concept' is a XAMPP message).

is the machine local or remote?

Open a Term session and 'ping localhost'

Code: Select all
[jonb@localhost ~]$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.065 ms
64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.055 ms
64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.061 ms
^Z
[2]+  Stopped                 ping localhost
[jonb@localhost ~]$


The purpose is to see why your machine thinks that address is not 'local' - please post the results.

Is you machine directly connected to the internet with a fixed IP?

Is IPv4 disabled by any chance?

Who is the owner of /opt/lampp and its sub-folders?

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Can't fix "New security concept"

Postby jl2035 » 20. September 2012 23:43

- All this is happening on my laptop...

- I don't have a static IP...

- The owner of the lampp folder is root.

- ping output looks just as yours:
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.050 ms
64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.054 ms
64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_req=4 ttl=64 time=0.051 ms
64 bytes from localhost (127.0.0.1): icmp_req=5 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_req=6 ttl=64 time=0.061 ms
64 bytes from localhost (127.0.0.1): icmp_req=7 ttl=64 time=0.061 ms
^C
--- localhost ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5997ms
rtt min/avg/max/mdev = 0.050/0.054/0.061/0.008 ms
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)

Re: Can't fix "New security concept"

Postby JonB » 20. September 2012 23:49

try making the owner nobody:root

chown -R nobody:root /opt/lampp

Good Luck


ysf
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Can't fix "New security concept"

Postby jl2035 » 21. September 2012 11:49

That was the issue! chown fixed it! Thank you...
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
XAMPP Version: 5.6.3
Operating System: ElementaryOS (Ubuntu)


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests