Author |
Message |
Djinn
New Member


Joined: Dec 20, 2002
Posts: 22
Location: USA/Boston/MA
|
Posted:
Sun Aug 23, 2009 7:39 pm |
|
Ok, I did everything to get this puppy to run correct.
my problem is the Database Maintenance and HTTPAuth Menu links are dead.
The CGIAuth Setup link is active.
When I set the Admin Auth: Admin CGIAuth it runs the .htaccess and I get the http restricted user login in screen.
Thing is, I cant get back in the NS admin screen to run HTTPAuth.
The htaccess Path, staccess, Path, and ftaccess Path are correct.
I don't get the File does not exist or is not correctly CHMODed message.
I tried diffrent ones then get that message.
I manually added an IP address to the "Add Blocked IP" tool and it is showing up as blocked from the data base but not from the .htaccess.
Any kind of what direction I need to go would be great. I have the Admin folder restricted by renaming it to help not get hacked again. Thank you all in advanced. Djinn |
|
|
 |
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Mon Aug 24, 2009 1:58 am |
|
If everything is correct, and your password is in .staccess its possible you cant log in because of this problem:
http://www.ravenphpscripts.com/posts17941-highlight-.html
To log in again change http_auth from 2 to 0 in your table nuke_nsnst_config
In my opinion its not needed to rename the admin folder rename it back, check your blocker settings for NukeSentinel and see if this solve this problem.
CGI Auth works well. |
|
|
|
 |
Djinn

|
Posted:
Tue Aug 25, 2009 8:11 am |
|
The captcha works fine.
I tried restting the http_auth before and still get the http log in screen. Even when I turn OFF Admin Auth I still get blocked. I have no clu to what is going on here. BTW my .staccess is empty. |
|
|
|
 |
Susann

|
Posted:
Wed Aug 26, 2009 12:49 pm |
|
Is the HTTPAuth Menu link and the other link still dead ? So you re not able as god admin to scan for new admins or resend the password. I think you will need to fix this first. Also its good to to clear cookies and cache to check if something has changed. |
|
|
|
 |
Djinn

|
Posted:
Wed Aug 26, 2009 5:34 pm |
|
Susann wrote: | Is the HTTPAuth Menu link and the other link still dead ? So you re not able as god admin to scan for new admins or resend the password. I think you will need to fix this first. Also its good to to clear cookies and cache to check if something has changed. |
Exactly. I clear the cookies all the time. No scan because of no active HTTPAuth and Database Maintenance links. Thanks! |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Aug 27, 2009 6:20 am |
|
Rename your .htaccess file to something else temporarily so that you can get into NukeSentinel and do the scan for new admins and then generate the needed password hash in .staccess.
The reason you keep getting the pop-up is because your .htaccess is telling Apache to do that...  |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Djinn

|
Posted:
Thu Aug 27, 2009 9:35 am |
|
montego wrote: | Rename your .htaccess file to something else temporarily so that you can get into NukeSentinel and do the scan for new admins and then generate the needed password hash in .staccess.
The reason you keep getting the pop-up is because your .htaccess is telling Apache to do that... |
That's what I been doing. Problem is, the link's are always inactive to do a scan. I can't do a scan period. Thanks! |
|
|
|
 |
Djinn

|
Posted:
Fri Aug 28, 2009 9:28 am |
|
This is what I have set
As you can see, no links
Path is correct
I change the httaccess file name
ftp picture
Any more help would be so much appreciated. Thank you! |
|
|
|
 |
Susann

|
Posted:
Sat Aug 29, 2009 12:37 pm |
|
I can try to log in. If you PM your admin password, ftp password and database password. |
|
|
|
 |
Susann

|
Posted:
Sun Aug 30, 2009 8:52 am |
|
Maybe ask Raven how to activate the death links.Everything is setup correctly. the password I added to .staccess and the .htaccess contains the path to .staccess to use CGI AUTH. |
|
|
|
 |
Djinn

|
Posted:
Sun Aug 30, 2009 10:44 am |
|
Yes. I tried everything like I said before. The links should be active no matter what the data base is set up or not. That is the funny thing. Since all else is correct, that being you and I tried with same with exact results, I will have to check every Sentinel folder and file and compare to the installation ones. I all ready compared a working Sentinel data base to it and all is correct. This has to be a Folder, File, Permission, Server issue. I will ask Raven after I have exhausted all my efforts. Thanks for your help, Susann. Djinn |
|
|
|
 |
Djinn

|
Posted:
Sun Aug 30, 2009 12:20 pm |
|
OK, I got the html .htaccess log-in to work...but still the death links.
The problem there was the nuke_nsnst_admins password was incripted wrong. This proves the death links are what I said before..
Djinn wrote: | I will have to check every Sentinel folder and file and compare to the installation ones. I all ready compared a working Sentinel data base to it and all is correct. This has to be a Folder, File, Permission, Server issue. I will ask Raven after I have exhausted all my efforts. Thanks for your help, Susann. Djinn |
Basically, the Scan for New Admins was manually built to the CGIAuth file then added to the .htaccess file.
This doesn't fix the main problem. We have a few superadmins on are site that don't have a nuke_nsnst_admins. I build it if worse comes to worse though  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Aug 30, 2009 12:50 pm |
|
I have sent you the probable solution. You must be logged in as a user that is a God admin and they need to have the same name. You are missing that piece. |
|
|
|
 |
Raven

|
Posted:
Sun Aug 30, 2009 4:05 pm |
|
But, the bottom line cause was your MySQL server was running out of memory and crashing. I have sent to you a PM describing the problem and what to tell your host. |
|
|
|
 |
Djinn

|
Posted:
Mon Aug 31, 2009 10:06 am |
|
Raven wrote: | But, the bottom line cause was your MySQL server was running out of memory and crashing. I have sent to you a PM describing the problem and what to tell your host. |
yes, correct. I have 100 MB of total storage space and 16 MB of memory allocation for memory tables. This is what they have set up...
Code:mysql> show variables like '%heap%';
+---------------------+----------+
| Variable_name | Value |
+---------------------+----------+
| max_heap_table_size | 16777216 |
+---------------------+----------+
1 row in set (0.01 sec)
|
that comes out to around 16 MB, which is the default value. they said it would be increased to 64 MB All is running well now. Thanks for your time, Raven and Susann! |
|
|
|
 |
Raven

|
Posted:
Mon Aug 31, 2009 2:18 pm |
|
You won't know for sure until you repopulate your IP2Country table. Have you done that? |
|
|
|
 |
|