Server :: Unable To Access SSH And DirectAdmin From 1 IP / Sort It?
Oct 7, 2010
I have a strange problem (at least strange to me).
I am running a 64bit CentOS 5 Server with DirectAdmin control panel. I have used the default settings when installing both DA and CentOS. I have not installed any extra firewalls or anything else (yet).
Everything is running perfectly fine. DirectAdmin has been installed and configured fine, and it all is running smoothly. Apart from 1 thing.
When trying to access the server from my office computer (and another, off-site, server), I am unable to access SSH or DA. I am sure there is no problem with my ISP, and no internal firewall blocking these ports. I am running multiple DirectAdmin servers and can access others just fine (SSH too for that matter). However, I am able to access HTTP on the server. So it seems to be JUST SSH and DA.
I am convinced the problem is that my server (the one I'm trying to connect to) has blocked access to SSH and DirectAdmin for my office and server IP. Just to be clear, these services are working from EVERY OTHER location I have tried.
I have checked for the DirectAdmin blocked IP list, and it does not exist (which means its not blocked by DA). Even if it was on the list, that should not affect SSH.
I'm a new Centos 5 user (and a first-time poster to this forum) who needs to partition a 16G VPS this weekend for installation of DirectAdmin's Web Control Panel on Monday. I know there are different methods and I'm not sure which to use. I can, however, use both command line functions, which I typically do via bash shell (PuTTY) and GUI. I checked out RHEL's instructions and they're based on Disk Druid. I don't have that software and don't know where to get it. I've checked and don't have anything like cfdisk (or any of the other programs listed here--> [URL]) installed either. Here's the configuration I need to create:
[Code]....
I need command line instructions, software suggestions, good tutorials (created with a Newb who has only used Windows (I'm currently running 64-bit Vista on a desktop I built from bare metal but am quickly learning Linux using a virtual desktop with Centos 5 on KDE installed which I've largely configured myself) and any other information/advice you can provide.
I have set up DNS server set up on my RH 5.5 system. It is working perfectly as Caching only Server but but when i tried to make it a primary server for a zone it didn't resolved. I am actually a newbie so please correct me if i am wrong somewhere. Here are my configuration files code...
ok so i ran into a problem, im using web min to access my server, and im setting up postfix and, dovecot first problem is i want to be able to access my email account from a web page, with log in, so my question is how can i do that?
I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.
smb.conf follows:
# Samba config file created using SWAT # from UNKNOWN (>) # Date: 2009/06/12 14:15:15
I'm planning on running DirectAdmin on OpenSUSE 11.3 but I couldn't find anything about it. So my question is if anyone actually has done it before.. with good results preferably.
I have a weird issue where all of the machines in my office can all connect to our web server, either via DNS or using the server IP directly. However, on my machine, which is using the same network IP as the rest of the office and I know it's not being blacklisted, I can't access the server at all via SSH or web or mail. I'm the only machine running Linux, I've flushed the network cache using nscd, but this made no difference. Can anyone think of what might be going on here?
First off a little history of me lol. I'm not completely a Linux noobie, but I'm not the most advanced user either. With that said I have a few interesting problems with Samba.First off I can see the NetBios name under Windows Networking (Windows 7), however everytime I try to connect to it I get an Access Denied and/or "Incorrect Password/Username" error. I have gone into secpol.msc and changed the values that other posts have suggested. Both the server and the workstation are located under the same group, and I have used the smbpasswd -a <username>. The server is not configured to be a Primary Domain Controller so.. I'm lost. Infact my brain hurts from 3 days of this. I have posted my SMB.CONF file to see if that helps. Hum.. Maybe I'm just trying to access a file share that isn't there..
I am running Ubuntu 10.4 with Apache2, SVN and SSL. Both HTTP and HTTPS are working correctly with my website. Although the SVN setup I have is not working. This configuration gives me a 403 error.
Code: <Location /svn> DAV svn SVNParentPath /srv/svn/repos SVNListParentPath On
[Code]...
This issue is driving me up the walls. If there is any additional information, I will be more than happy to provide it.
i am using ubuntu 10.04 and unable to access following address http://202.164.53.122/
Even all my friends can access it from their own computers,you can also access it i hope so,only i am not able to access it .After showing loading of page for 10 sec ,it say Unable to connect.
I have a Linux mail server (Fedora). This server was set up long before i joined this organization. Now I have these issues I would request assistance:
1. I am not able to access the Graphical User Interface(gui) on this machine. Startx does not work. I have also tried using combination keys alt+ctrl+f...keys but no progress. As a result am not bale to do some tasks.
2. The clamav that is on the machine has since become outdated. Efforts to update it to latest versions have failed. How do i get to update clamav and protect my system?
3. Because of not being able to access the gui as well as the inability to update clamav have led to my server apparently sending spam mail which in turn have led to my public ip being black listed in a number of sites. Now how can i secure this server so that it stops sending the spam mail and hence avoid future blacklisting?(NB am using postfix and the server sits behind a router which connects to the Internet)
4. I have observed that the server has some iptables rules set but everytime the server restarts the rules stop. I have to manually restart them again to run. How do I sort this?
I've installed centos 5 on an old computer with success and it works great.I can access the web server hosted on the centos server from any computer on the wireless and wired local network. I can also use ssh (putty) and nx client from any computer on the local network (wired and wireless) to access the centos server.On the wireless router I've configured a port forwarding to the wireless network interface on the centos server. I can access the centos server from the outside (internet) through this port forwarding both through http and ssh or nx client.MY problem is that I can't access the centos server from the internet through the wired network interface. Any attempt to view a web page or login with ssh or the nx client will timeout.
We have a server were we no longer seem to be able to gain access, neither locally or remotely.When we try to connect via SSH we get a "Connection Refused". We have checked that it's not our standard firewall blocking the request, so it can either be the local firewall (which we disabled when installing) or that the process isn't running.However, when we try to login locally on the machine (as root) all we get is "Login failed". We've tried restarting the machine in single user mode to change the root password, and while we can do this succesfully, it still doesn't give us access when rebooting the machine afterwards.No other users (besides the standard users created when installing) are available on the server, so we can't say if this is a problem with the root account, or with logging on in general.
I face a problem with my server after i rebooted it i got a message on start up tell me that " Unable to access resume device (label=swap-sdb3) " and the system doesn't startup
the error message exactly is
Unable to access resume device (lable=swap-sdb3) Creating root device. Mounting root filesystem. [ 3.305354] EXT-fs (md1) : error : unable to read superplock mount: error mounting /dev/root on sysroot as ext3 : invalid argument
I am a newbie to linux of 4 weeks. I set up my first web server and it works flawlessly - when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.I have two network interfaces on my server, eth0 (public static IP connected to internet) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1
I added "192.168.1.1 www.server.com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.
HOwever, the server itself only opens website if the address is localhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www.server.com.I do not understand why the record in etc/hosts doesn't point it in the right direction. It seems that when I open address 192.168.1.1 it still gets routed to the external network. I have seen using DNAT to deal with the problem but it didn't work in my case (maybe I didn't do it correctly). I have spent whole evening/night trying to sort it out, it's 4AM now, going to bed frustrated and angry (at myself hahaha). Still like linux very much, won't be going to windows anymore. Please help
I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:
Code: drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video This is how my smb.conf file looks like for this particular share:
Code: [share1] comment = share1 browsable = yes path = /samba write list = michal Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:
Code: michal = "michal" When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.
I have Fedora Directory Server with SSL running on my Linux Machine. I can see th output:
Code...
This shows that 636 port is open.But When I am attempting to this Linux Server from one of Windows Desktop it says "LDAP is Down". I selected LDAPv3 and LDAPv3, hostname and SSL/TLS tried fetching base DN but it dint work.
I can't be the first one with this problem. What am I missing?
I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.
---- Environment summary: Clean server install of CentOS 5.4 includes SELinux - lets call this 'server' - updated samba to 3.0.33-3.15.el5_4.1
Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above Client2 - Windows Vista - WINS configuration uses 'server' noted above
---- What works / what doesn't ------ Clients can see the server (XP and vista) in network neighborhood. The following does not work from windows (xp or vista) net view net view \server net view \server-ip net view \servershare
This does work on the server smbclient -L \server smbclient -L \server --user validuser smbclient -L \client1 --user validuser
---- What I have configured and tried (config/output below) -------- firewall ports for samba are open SELinux enforcing or permissive file context is set on share samba booleans are set
***firewall -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT
***SELinux mode/booleans # sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted
# getsebool -a | grep smb allow_smbd_anon_write --> off smbd_disable_trans --> on
# getsebool -a | grep samba samba_domain_controller --> on samba_enable_home_dirs --> on samba_export_all_ro --> off samba_export_all_rw --> off samba_share_fusefs --> off samba_share_nfs --> off use_samba_home_dirs --> on virt_use_samba --> off
As i was a bit scared to attempt to partition my HDD in order to install Ubuntu, i purchased a USB drive and installed it there. So now if i boot without the USB drive plugged in it boots straight into XP as before. If i boot with the USB drive plugged in it boots to Ubuntu. Great, i'm happy with that - it would be nice for GRUB (on the USB drive) to give me the option to boot to XP on the HDD but i might explore that one some time in the future.
The problem i have is this - i used to boot from a 10.04 Live cd version installed on a USB memory stick and when doing this i could 'see' the HDD and access files on it (mp3s mainly). I should explain that the HDD is actually HDDs - there are two of them in a RAID 0 set-up - two 160Gb drives that appear as a single 320Gb c: drive under Windows. Under 10.04 there was a '316Gb File System entry'
Now, when i boot from the USB drive there's no trace of the HDD in 'places'. If i go into system/administration/disks i can see the two HDDs but all i can do is click on one of them and i can mount what i assume is a 4Gb recovery partition. The rest of the disk appears to be unformatted??? Please can someone help get my HDD access back!
Please let me know what additional information i need to provide ( i know there's bound to be some). Please also accept my apologies for any dodgy terminology i have used.
Seismicmike here. My first post. I'll try to be as clear and concise as possible. For the sake of this post, I'm going to use 1.2.3.4 as a place holder for my public IP. On my web server, I would like to be able to access the /var/ftp directory through a web browser. I have successfully done so with Google Chrome, but I cannot access the directory in Firefox or IE. Both FF and IE ask me for authentication but then time out attempting to load the directory.
I suspect that there may be something up with switching to passive mode and/or that this issue may be more with my configuration of Firefox and not with the server (seeing as how Chrome works). Another possibility may be related to SSL. When I connect with FileZilla, I have to use the FTP over Explicit SSL/TLS option in order to connect. In any case I still would like to fix it. I would also like to avoid having to install FireFTP if at all possible.
Steps to reproduce (not that you can without my actual IP =J):
* Open Chrome * Go to ftp://1.2.3.4 * Enter username * Enter password
Having some memory loss i think (in my head not my pc). I have set up apache before , then changed to dsl in the last week and cant seem to get this new modem/router to work. i can get the loopback address to work, as well as the network ip. can NOT get my other machines to hit the server on the network . also no connection from outside the network from port 80. my modem is a motorola (att) ,apache2 on my toshiba laptop, amd x2, 3gigs ram.
I have installed Fedora 8 on an old PC to use as a home network and I am having trouble getting a Windows PC running XP to get through to the internet, but I am able to access the internet from the Linux box with no issues. I can ping the gateway on eth0 from the Linux box, but I can't ping it from the windows PC. I am able to ping the IP address for eth0 from the Windows PC. My internet gateway is a modem/router from Hughes net. I also have a Netgear router between the Linux box and the Windows PC, but there doesn't appear to be any issues because I can ping both NICs from the Windows PC. I have pasted my Linux NIC config below. code...
I have fedora 10 and vista in my system. however,all was working fine ,but suddenly today when i tried to boot into fedora , i found that the avahi demon was not starting , and when the systemn booted , a message was shown that thre wasn't enough memeory space , and a blacjk scereen was shown , then i booted into vista and tried t acess the linux partiotion by Explore 2f software... At first it showed not enough memory space , but on rescanning the partition,it is showing the /boot folder.So how do i delete some data in fedora ?
I've just installed Squeeze on my laptop (Toshiba Satellite C660D - adapter is a Realtek 8188CE) and was following the instructions on debian.org to set up WiFi. I've changed the source list, done the firmware update and the modprobe, but when I get to step 5 where it says to verify that I have a wireless interface, the output from iwconfig just lists lo, eth0 and pan0, all with "no wireless extensions". Does anyone have any ideas what I should do now?
Who has successfully upgraded going from F7 x86_64 to F9 x86_64 using the yum approach? I have had about 0% success getting everything to work correctly doing a fresh install of F9. Everything works correctly in F7( sound, firefox/flash, networking, samba, etc ), so I figure that starting with something know to work and upgrading to F9 might be a better approach that starting with F9 and having it guess.