CentOS 5 :: Connections Refused When Try To Use SWAT

Jan 28, 2010

I've got SAMBA and SWAP installed. I tried to localhost:901 and telnet localhost 901 And both connections tries were refused. I opened the port and even shut down iptables. What else do I need to do to use SWAT?

View 1 Replies


ADVERTISEMENT

Server :: All Connections Being Refused On LAN?

May 26, 2010

I have a little file server, which also acts as a printer server and it has a web server implementation for Mapserver too.

Suddenly, nothing can connect.

if I try ssh

Code:
john@john-desktop ~ $ ssh -vv 192.168.1.100
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

[Code].....

I am not running any software firewalls on any of the boxes, nor have I messed with anything on our router (Linksys Wireless-G)

Also, all connections are ethernet, not wireless, and the server and the other two boxes are assigned IPs - no dhcp issue

View 7 Replies View Related

CentOS 5 :: Unable To Connect To Swat

Aug 24, 2009

I just installed swat, but I'm unable to connect. I read the "man swat" file and it says that I have to modify the /etc/inet.d/swat file, which in my install does not exist; however, I found the /etc/xinetd.d/swat file, and I edited setting disable=no, and also setting only_host=to my ip address. After that I restarted the server "service xinetd restart" because "service inetd restart" doesn't work, so I checked if the port was listening with netstat -l | grep 901. Again no service is listening on that port..

View 1 Replies View Related

Fedora :: Fc11 Virtual Machine All Connections Are Refused?

Jun 12, 2010

I run Fc11 on my desktop and Fc11 in virtual machine to test the connections that could be established between two linux machine, all the connection from virtual machine to the physical machine are refused the only thing that answer is ping to default gateway.

View 7 Replies View Related

Ubuntu :: 2 Pptp Vpn Connections - When I Dial One Of My Vpn Connections, My Other Vpn Connections Be Disabled?

Feb 7, 2011

have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.

View 1 Replies View Related

CentOS 5 :: Dag Repository Connection Refused Error Using Yum

Jun 7, 2011

Since last Friday I get the following error when trying to upgrade packages with yum: [URL]: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Trying other mirror." The content of dag.repo:

[Code]..

View 2 Replies View Related

CentOS 5 :: Ssh: Connect To Host 111.222.33.44 Port 22: Connection Refused

Sep 12, 2010

I have become convinced that rsync for CentOS 5 is broken. I'm trying to set up automatic backups between 2 servers in 2 different countries using rsync under CentOS 5.I can get manual backups to work between the 2 servers by doing two things I shouldn't need to do, but automatic backups fail and I see no solution.Here are the problems I am encountering: According to the instructions I've read everywhere, I am to set up two configuration files:

/etc/rsyncd.conf
/etc/rsyncd.secrets

When I run rsync from root, it apparently just totally ignores these two files. No custom greeting, no log, no password used.
Even when I specify --password-file=/etc/rsyncd.secrets in the command line, it still ignores it. I am prompted and I must enter the password manually. Let me back up a moment. After first installing rsync, when I ran any command to access the root server, I get this error:

ssh: connect to host 111.222.33.44 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]

I read everywhere that rsync uses port 873, not port 22 which is used for SSH. Why is rsync on CentOS trying to use port 22?I have SSH switched from port 22 to another port (let's call it 5432 here) and block port 22.So, I have added this to the command line:

--rsh='ssh -p5432'

Then I get a connection ...

... but it prompts me for my password. It doesn't matter that I have my username and password, same one, in /etc/rsyncd.secrets on both servers. It still asks.And it rejects my password!The only way I can get it to connect is by creating an SSH user on the remote server for this.Even then, rsync STILL prompts me for a password, even though:

1. the username and password are specified in the /etc/rsyncd.secrets files on both servers

2. I've added the command line parameter --password-file=/etc/rsyncd.secrets Therefore, it is totally impossible to use an any cron job or other automatic synchronization, under CentOS 5.

rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* 111.222.33.44:httpdocs/rsync
rsync -av --verbose --progress --stats --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync

Yes, I have made sure that I have the latest rsync. I have run yum update for everything.Yes, I have double checked, triple checked, and quadruple checked my config files.

View 2 Replies View Related

CentOS 5 Networking :: Unable To Connect To Remote Host: Connection Refused

Feb 5, 2009

telnet localhost the output is...

Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

I don't understand what is the problem. Its not configured properly how do i configure it?

View 7 Replies View Related

CentOS 5 Networking :: Error: Unable To Connect To Remote Host: Connection Refused, It Happens With Any Port

Feb 11, 2009

I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.

View 3 Replies View Related

CentOS 5 Server :: Status=deferred - Delivery Temporarily Suspended - Connect To 127.0.0.1[127.0.0.1]: Connection Refused

Apr 6, 2010

For some reason my mail server (Postfix) seems to have stopped delivering mail.

The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.

I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.

I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.

I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.

View 5 Replies View Related

Server :: How To To Install Swat Utility

May 25, 2010

I am using RHEL 9 I want to install swat utility on this,where i can download the RPMs of?

1. samba-comman
2. samba-utils
3. swat

View 1 Replies View Related

Fedora Installation :: Configuration Of Swat And Samba ?

Jan 8, 2010

The configuration of swat and samba. I have tried the vi edit approach but there is no save option so after I edit it and close it, it just says the terminal is in the middle of a process and closing will kill it or something to that effect. Of course then it doesn't save the changes. That reminds me that I do su to root before I do this. I have also tried the pam edit in order to allow myself to log on to root from the gui but that doesn't work either. Am I missing something? I can't imagine how you are supposed to configure anything if it won't let you even in root. Would the fact that my user and root passwords are the same effect this in anyway? I'm desperate as this is for a school project and obviously I'm new to linux.

View 2 Replies View Related

General :: Config SWAT For Samba On Fedora 14?

Mar 23, 2011

Ive followed this:

[URL]

SWAT service is running
Firewall is disabled
disable is saved in this file.

Doesnt work. http://localhost:901

What to do to diagnose this? What to check?

View 1 Replies View Related

General :: Administer Each Of The Servers From One SWAT Instance?

Sep 16, 2010

I have a few different Linux servers with samba shares on each of them. Is it possible to administer each of the servers from one SWAT instance?

View 1 Replies View Related

Server :: Install And Configure Swat On Rhel5?

Jan 7, 2010

I want to install swat on rhel5. how to install it on rhel5.

View 1 Replies View Related

Server :: Make Changes To SWAT Html Files?

Jan 28, 2010

I want to make some changes to the SWAT browser interface, does anyone know where the html files reside? I am using Ubuntu hardy

View 1 Replies View Related

Software :: Tweak Wine To Play Swat 4?

Sep 25, 2010

I downloaded Swat 4 (legally) as well as wine, using all defaults I hoped it would work. (yeah right) After installing using wine, which worked great, I get an error when I try to play the game. Wine is trying to load the game from the Cd drive yet it's installed.

EDIT: forgot to mention that wine does recognize that I have installed the program to its virtual c drive.

View 5 Replies View Related

CentOS 5 Networking :: No WPA Or WPA2 Connections

Mar 30, 2009

I have a Intel WIreless 3945 card, wit ipw3945 installed on Dell E1505. I use NetworkManager to function and everything is ok. I can connect to wireless networks that have no security, or WEP security, but I just can't connect to networks with WPA or WPA2 securty. What can be my malfunction?

View 2 Replies View Related

Networking :: CentOS Allow Unlimited Connections?

Jun 6, 2009

I'm a newbie in CentOS
I have a question
Does CentOS allow unlimited connections like Windows 2003 enterprise ?

View 1 Replies View Related

Ubuntu Networking :: Use SWAT To Configure Samba.conf?

Jul 21, 2010

I am trying to use SWAT to better configure Samba.conf I have swat installed and working but it is missing the GLOBAL button which is its main configuration tool?

View 3 Replies View Related

CentOS 5 :: Tftpd Only Accepting Connections From Localhost?

Jul 12, 2011

Having a problem with tftpd on CentOS 5.5. I am only able to download files from the localhost address.

I have checked iptables (by adding rules and by turning the firewall completely off -- nothing changes) and enabled tftpd logging (by adding -v to the server_args section in xinetd.d/tftp) and I DO see the request coming in, but no response from the daemon. I've also tried upping the verbosity by adding multiple -vs and/or --verbosity 10 to the mix, but all I ever see is the initial request come in, nothing more. I've even tried running the daemon in foreground mode with -L but I get no verbosity then.

View 3 Replies View Related

CentOS 5 :: Socket Programming: Accept()-ing All Pending Connections

May 28, 2009

I am writing a server which uses edge-triggered epoll. When the server calls accept(), it just extracts the first connection in the pending queue. If there are more connections that are waiting, can we make the server accept all the pending connections? I wrote a loop like the following:

do {
client_fd = accept(...);
/* Work with the client fd */
} while (client_fd != -1); [/code]

Doesn't seem to work. A related question, more a clarification, is as follows. My understanding was that a connect() at the client returns only when accept() in the server returns. Clearly, I was incorrect. Even with no accept() call in the server, my client was able to connect and send data. Am I getting this right?

View 2 Replies View Related

CentOS 5 Networking :: TCP Connections Stuck In FIN_WAIT2 State?

Jul 21, 2009

I'm developing a simple TCP server. 99% of incoming connections terminate correctly and the sockets disappear from netstat outputHowever, a few connections hang around for indefinitely in the FIN_WAIT2 state. Now, I know that the clients in this case are misbehaving by not sending a FIN,ACK to close the connection. However, regardless of client behaviour, the connections should only remain in this state for a maximum of 60 seconds (set globally by /proc/sys/net/ipv4/tcp_fin_timeout)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer
tcp 0 0 10.0.0.12:2000 10.0.0.6:50990 FIN_WAIT2

[code]....

View 4 Replies View Related

CentOS 5 Networking :: Can't Get Vsftpd To Accept Anything But Anonymous Connections

Jun 5, 2010

This is on Centos 5.3 by the way..... I had a DVD and, well, just wanted to test some things.. I'm aware that this is not the latest release.

And, by the way (I just read an earlier post) I've added the username and password with which I'm trying to login (..hello?).

I'm at work and I don't have a copy of my Vsftpd configuration file (don't wanna edit this whole thing - actually there is a copy, below). I've used Slackware for years and never had any issues with Vsftpd - it just works. I am trying Centos because I need help with upgrading my mail server (qmail) and there's not much help for Slackware users. Also, I used to run RHEL3 and had vsftpd working fine (had to copy some file to /etc/pam.d) but it worked famously. I compiled all my web server stuff (just don't like these default things where I have no idea how things are integrated) and I'm hung up on - of all things - vsftpd.

Anyway....When I try to log into my ftp server I get "KERBEROS_V4 rejected as an authentication type" and only the anonymous account works. Any other logins produce an error (incorrect login - see ya' later). I have SE Linux and the firewall OFF. I don't recall the directive, precisely, but my vsftpd.conf file is set allow local users to connect. I installed with yum and it added some lines at the bottom (one was about a user list and the other was about PAM). I've got a chroot list and a user list although it's not clear to me precisely where the user list should be placed. I actually uninstalled the RPM and compiled, too. I've done everything but call an exorcist. And I've found tons of posts regarding this on the net and none of the fixes worked. Man - on slackware you type "make" and "make install" (I build it with tcp_wrappers) and you're off to the races.

Actually - I did upload the vsftpd.conf file to work (where I'm at, now). Minus lines that were commented out it looks like this:

Could it, possibly, be something about how I am adding the user, the shell type, etc? I know that in Redhat I used to type "/usr/sbin/useradd -d /home/someuser joe". I've done it that way and I've also done it like so: "useradd -d /home/schmoe -s /bin/bash schmoe".

View 2 Replies View Related

CentOS 5 Networking :: Configuring For Large Number Of Tcp Connections?

Jan 24, 2011

i've got a select based application that wants to support a large number of mostly idle connections. the code is java and works on windows, suse enterprise linux, mac os x. it does not work on centos 5.5 (32-bit, 2.6.18 kernel, 1G of memory).

i've read and followed the directions in various articles about tuning linux for large numbers of connections (including the C10K problem), and gotten the number of sockets up to 3200.

these didn't make any apparent difference:

[URL]

on windows, i can get up to around 78,000.

on suse enterprise linux (a few years ago), i got up to 90,000. that's where i got bored and stopped.

on my mac laptop with os x (snow leopard), i got up to 10,500.

i have used ulimit -n 10240

my current goal is 10k sockets.

the test is that i'm opening one socket at a time until it fails. when it fails, many of the sockets which have already been opened also fail, in one giant cascade. sounds like a buffer / memory problem.

each group of 64 sockets gets a thread to manage select calls for them. thus i'm only using around 61 threads total when it fails.

View 3 Replies View Related

Security :: Limit Number Of Connections For Single Ip On Port 80 To CentOS 5.5

Sep 5, 2010

How to number of connections for a single ip on port 80 to CentOS 5.5 with iptables? connlimit did not work on CentOS and nginx does not provide a module for that

View 4 Replies View Related

Programming :: MySql [Centos] - ERROR 1040 (00000): Too Many Connections

Apr 18, 2011

I execute: mysql -u root -p and asks for a password after I put the password and ENTER the following error! ERROR 1040 (00000): Too many connections Can you tell me where is the folder of mysql? For me to edit the my.cnf?

View 12 Replies View Related

CentOS 5 Networking :: E1000e Driver And 80003ES2LAN Nic Dropping Connections?

Apr 7, 2009

After doing a clean base install of CentOS 5.3 on a test server, I started having problems with network disconnects. While SSH into the box, I would be intermittently disconnected from the SSH session. At first I thought it was my workstation, but after running ping tests from multiple machines on the network to the test box, it became apparent that the test box was dropping packets. When I lose my SSH connection, the pings also start timing out, for a few seconds, then start again. I increased the console logging and I can see when the ethernet port goes up and down when I physically disconnect the cable, but it does not go down or lose link when the disconnects occur. I changed the NIC ports being used and had the same result. I tried with a different switch with same result. I reinstalled CentOS 5.2 and the problem went away.

Upon further investigation, I found that CentOS 5.2 is using the e1000 driver for my NICs and CentOS 5.3 is using the e1000e driver. I resinstalled CentOS 5.3, and tried using the e1000 driver instead of the e1000e but it no longer detects my NIC's... apparently they moved the support from e1000 to e1000e. I have spent the last 3 days googleing for info on this problem and have not found a solution. Any recommendations? Should I submit a bug report?

[Code]...

View 12 Replies View Related

Security :: Policy That Limits Connections On Port - Encapsulates Total Sum Of All Connections From Hosts?

Jan 21, 2011

Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?

View 3 Replies View Related

CentOS 5 Server :: Openssh 5.8p2 - Transfer Data From Other Server Through Scp It Gives Connection Refused?

Aug 1, 2011

I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.

Port 22
PermitRootLogin no
1.override default of no subsystems[code].....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved