Portal Home > Knowledgebase > Articles Database > Cant Connect SSH or anything !
Cant Connect SSH or anything !
Posted by y0us3f, 06-13-2011, 08:20 PM |
hey guys
i messed up the server ,
i installed APF , then i wanted to uninstall it
I saw a thread that after stopping apf
the server was working fine .. but then
i did iptables -f
after that nothing happened .. i closed ssh , everything stopped i cant connect to the server with ssh or control panel or anything
|
Posted by Patrick, 06-13-2011, 08:43 PM |
You'll have to ask the data center to log into the console and reload iptables for you. There's nothing you can do if you're locked out, unless you have KVM access?
|
Posted by MikeDVB, 06-13-2011, 09:09 PM |
Are you using a VPS or a Dedicated Server? The only time I've seen an iptables flush cause all connectivity to drop is in an OpenVZ VPS. If it is a VPS, you should be able to reboot it via your VPS control panel with your provider.
|
Posted by y0us3f, 06-13-2011, 09:27 PM |
Hey thanks guys , Im using a dedicated server , just talked to the Host (Support)
he rebooted the server for me and Disabled iptables , working again ! Phew
thanks guys
|
Posted by activelobby4u, 06-14-2011, 01:44 AM |
flushing of iptables usually cause a lock...be careful next time
|
Posted by y0us3f, 06-14-2011, 02:12 AM |
oh ! ok thanks ! But now I have other problem , Root password is not working , On SSH it says access denied , and even in DA some features asks for root password , when I type it it says its wrong.
it was working before the flush and (lock)
|
Posted by linuxtechz, 06-14-2011, 02:21 AM |
Hey mate,
you can try referring to the logs for directadmin in /var/log or inside /usr/local/directadmin to get more specific information on what the error exactly is. ....
|
Posted by activelobby4u, 06-14-2011, 02:22 AM |
you can reset the password using single user mode ..
|
Posted by y0us3f, 06-14-2011, 02:37 AM |
hey linuxtechz i checked some of the logs it says Authentication failure
its strange
ActiveLobby4u how can I use single user mode ?
Thanks guys for your replies
|
Posted by linuxtechz, 06-14-2011, 02:57 AM |
Hey ,
For doing it via single user mode you will require to contact your Data Center if you do not have access to the server and request for a password reset on it.
Ty
|
Add to Favourites Print this Article
Also Read