MackSix
Verified User
- Joined
- Apr 5, 2021
- Messages
- 43
Is there anything I should do when I change DirectAdmin Port other than just change the port number in the config file and restart DirectAdmin?
I found that I should add the new port number for JetBackup and restart it.
The thing is, I am now having an unusual amount of problems with CSF giving me the message:
"Security Error: No valid session key
Information saved to [/var/lib/csf/da1674758841.error]"
I have seen this before a few times and a logout/login fixes it, but now it is very problematic.
Sometimes the firewall configuration screen loads a blank page.
Right now I am looking at CSF home screen and I can refresh the page and it gives me a lot of the above error messages. About every third time I refresh screen, it gives me that error message, then the next refresh I see the home page just fine. I am doing nothing but just refresthing the screen.
UPDATE: It looks like the Environment data is showing the same IP except for the last number is 4 instead of 5.
I found that I should add the new port number for JetBackup and restart it.
The thing is, I am now having an unusual amount of problems with CSF giving me the message:
"Security Error: No valid session key
Information saved to [/var/lib/csf/da1674758841.error]"
I have seen this before a few times and a logout/login fixes it, but now it is very problematic.
Sometimes the firewall configuration screen loads a blank page.
Right now I am looking at CSF home screen and I can refresh the page and it gives me a lot of the above error messages. About every third time I refresh screen, it gives me that error message, then the next refresh I see the home page just fine. I am doing nothing but just refresthing the screen.
UPDATE: It looks like the Environment data is showing the same IP except for the last number is 4 instead of 5.
Code:
To disable DirectAdmin session checks, create a touch file called /var/lib/csf/csf.da.skip
Security Error: No valid session key
Session ID = [NASV5JDG2N6TR5JCKDXJQMOEJX5JRJLKEWL6ZEI]
Session File [/usr/local/directadmin/data/sessions/da_sess_NASV5JDG2N6TR5JCKDXJQMOEJX5JRJLKEWL6ZEI]...e$
Environment data:
REMOTE_ADDR = [xxx.xx.254.174]
SESSION_KEY = [I5UQNBFIQLCX6G7QDUTRNYGYHSDESPZLVSGSUIY]
SESSION_ID = [NASV5JDG2N6TR5JCKDXJQMOEJX5JRJLKEWL6ZEI]
Session data:
ip = [xxx.xx.254.175]
key = [I5UQNBFIQLCX6G7QDUTRNYGYHSDESPZLVSGSUIY]
Session file contents:
demo=no
home_memory=0
ip=xxx.xx.254.175
key=I5UQNBFIQLCX6G7QDUTRNYGYHSDESPZLVSGSUIY
login_key=
logout=/
passed_security_question=yes
passed_twostep_auth=yes
passwd=xxx
question_attempts=0
question_id_asked=0
selected_domain=
twostep_auth_attempts=0
username=xxx
Last edited: