Server :: Apache2 Not Accepting Remote Connections?
Dec 9, 2010
I have run a small webserver from my home computer and I can access it fine from computers on my local network, but cannot access it from other networks. I see in wireshark that the traffic is arriving at the computer and I have checked the firewall logs on my computer and nothing is being blocked(I use iptables as a firewall), and I can't see any reason why it shouldn't be working.
I did a clean install of OpenSuse 11.3 a couple of weekends back. Everything is working great except the SSH server.Once I installed ssh, it appears to accept my connection, allows me to log in, and then freezes Putty, not allowing me to type anything into the terminal.If I wait several minutes, I'll get a message saying that the connection was closed. After that, the server won't accept connections.Sometimes it'll start accepting connections again, but after a while, the connection will close on its own. Other times, I will be unable to get a connection until I restart the server.If you guys needs any more information, please let me know. What could be causing this odd behavior?
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
I have ssh installed and running on my laptop(Debian Sequeeze). I can run "ssh localhost" without any problem. But for some reason I cannot connect to it from other computers. They all give "connection timed out". I can connect to these computers`s ssh servers but for some reason my laptop with Debian is not accepting any connections.
I would like to know if a rule has been applied to the iptables.active file to accept direct connections on port 22 through an IP address, can I also add a mac address/addresses to the rules such that if I am not on the network with the accepting IP address, that my MAC address will still get me in?
I have installed talk on centos, turned it on by editing xinetd.d/talk and setting disable=no.I have restarted xinetd (service xinetd restart) and verified that talk is configured to start (chkconfig --status-all).what am i missing? shouldn't either port 517 or 518 respond to telnet? what else can i do to get talk running?
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.
I recently setup a new SUSE box for the purposes of acting as an ftp/sftp server. It's currently setup to run ProFTPD 1.3.3.rc3 and mod_sftp/0.9.7. The server has two internal network interfaces eth0 and eth1. eth0 is purely for internal use to accept ftp and ssh. eth1 is outward facing and receives connections from the WAN via SFTP over port 22. The problem I am facing is that after half hour to an hour eth1 stops accepting connections whenever there is no SSH connection present on eth0. I can't figure out why this is happening.
ProFTPD is setup as follows: SocketBindTight directive is on, default server and port are commented out.
[code]...
When the external interface is unreachable the proftpd and proftpd-sftp logs show no record of any connection attempt. I have noticed however if I leave eth0 down eth1 stays contactable without problem. Can anyone give me some pointers on what I can check to find out why this may be happening.
I need to setup a xdmcp server on ubuntu 10.10 to allow for remote connections. Obviously this cant be done from the login window as with previous versions of Ubuntu.
I've recently been asked to setup our FTP server to accept connections from a remote host. They sent me a file "id_dsa.pub" with instructions to add this key to the xfer user.
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80 no listening sockets available, shutting down Unable to open logs failed!
I have some perl Web Interfaces for some project tools running on a Linux (Ubuntu) machine, they're in the /var/www directory and I want to view them from other computers on our network.
I have backed up then edited the /etc/apache2/sites-available/default file from:
</Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny
I have a samba server that I had setup using the default smbpasswd backend, and it worked fine. So long as I remembered to use smbpasswd/passwd to setup a user with a username and password matching the account name of a Windows 7 user, then that windows 7 user would be able to navigate the shares with their permissions correctly.I have switched over to using ldap, and: the console/ssh of the machine can correctly use any of the ldap logins getent passwd/group both show the complete listing my Windows 7 machines can all ping the samba server by its netbios name my Windows 7 machines all prompt for authentication if I type \MACHINENAME into explorerHowever, all attempts to access the shares now continually ask for you to enter your username/password, and then fails anyway.No errors appear to be generated on the server (unless I'm missing a log somewhere). Having hunted around on the web, I'm wondering if it has to do with generation of machine accounts (since it tries to access from MACHINENAMEUSER). Without ldap setup, I didn't need to worry about the machine name, but I'm thinking that maybe smbpasswd took care of this somehow.I use the smbldap-useradd tool to setup a user account, which appears to correctly setup the user in ldap, such as:
Code: dn: uid=sharer,ou=Users,dc=intbus,dc=net objectClass: top
I installed a new server running CentOS 5.2. I have iptables and SELinux off. The new server will not accept incoming mail. It will send out fine.Our mail server redirects mail for it.help to it.[url]...- [url]....is this server. Any messages sent to this address get stuck in a deferred queue. The error message on each one (from the mail server admin console) is "connection to[url]... [10.9.10.202] - connection refused". I can ping [url].... from the mail server.
This seems like a firewall issue, but it is off. Is there some configuration file I need to change to allow incoming mail? Or is there some test I can run on the new server to further troubleshoot what is going on
I have been playing with Linux and XWindows for a long time, but this is the first time I have ever needed to post a question to find out how to configure things. Please do not tell me that this TightVNC (VNC Xvnc) on openSUSE as Client or Server (Remote Desktop Connections) is how it is done.
I have a Headless SuSE server on an internal netework, my only access to it is remotely, I need remote desktop as a service for all the accounts. Is this possible in KDE4??
I recently started playing w/ remote desktop connections. W/ a lil persistence I have established connections over my network. Only thing is when connecting from my windows machine via (tightvnc viewer), to my linux desktop,(vncserver) I can only seem to get a remote "virtual login". I do not see and have access to the current login. I can however reverse the connection (starting vnc server) on the windows machine adding a client connect and have control of open over the windows system. Any idea's why I can only get a remote login to my linuz box?
Alrighty, I have a couple of questions regarding use of the TSC for remote desktop connections. I'm connecting from my Ubuntu Desktop (Lucid) and i'm connecting to my Laptop (Windows 7) i'm running PC Tools Firewall Plus on the windows machine. The window's machine has remote assistance allowed. At the moment i'm just trying to get the TSC to work on my home network. I filled it out as follows:
Now the first time I tried to connect, about 20ish seconds passed and "The connection has timed out" appears. So I went into my Firewall and sure enough it was blocking the UDP/TCP packets that my desktop was sending. So I temporarily allowed all UDP/TCP packets. Now when I connect "Connection Refused" immediately pops up. I go into my firewall and it's allowed both inbound and outbound packets from my laptop to my desktop and vis versa. So now i'm really stumped.
Meaning: When I use the Connect to Server feature with SSH or FTP, is there a mount point for the remote location? I checked /media and /dev and didn't see anything that looked like my connection. And when I keep hitting the UP arrow in Nautilus I just end up in / on the remote location.
Under 10.10 the settings dialogue for Remote Desktop said that other machines can connect to this one as kubuntu.local or 192.168.1.85 but after u/g to 11.04 instead of hostname or IP it now just says 'localhost' - which won't work for obvious reasons. I use RD a lot.
Also, despite 'Always display an icon' being checked no icon is displayed in the panel. I tried checking 'Never display an icon' closing the dialogue, re-opening it and re-selecting 'Always display' it still doesn't appear.
i just slammed ubuntu 11.04 onto a spare server i had and im having a real issue with remote desktopping from my Win7 computer, ive checked the settings for the remote desktop server on 11.04 and all seem fine, i go to connect to it using tightVNC from my win7 machine, ask's for password, fill that out then click connect, and as soon as i hit connect it connects for about 1 second, then says there was an error contacting the server, i checked 11.04 and it then says that i can only connect via local host and not the IP address anymore.
I'm having an issue with a Samba server running on an Ubuntu "server". Technically, it's not a server, it's just an old desktop with Ubuntu 10.04 running it..and I have a few server processes running (ProFTP, Samba, etc.)The Ubuntu server is where I store all of my important files that get backed up to a separate hard drive. I shared folders via Samba, and I use two computers to access the shares. I access the shares with an .sh file I created that uses the mount cifs command to mount to those shares.
It has been working flawlessly for a long long time, up until recently. For the past few days to a week, I will try to mount the shares with no result. In the terminal, the commands just freeze, as if the command is trying to execute, but having network issues.The only way I can get it to work is if I reboot the Ubuntu server, then it maps flawlessly. But a day later, it's back to hanging up when trying to mount.
The geek-in-me won and I bought a spiffy little Acer Aspire One netbook, windows 7 starter installed. Now I take it to clients' workplaces instead of my 19" laptop (that I also bought because the geek-in-me won that time too).
So what do I install in the Suse/openSUSE range? I want a lightweight Linux, like Meego or openSUSE with a light Desktop. I need to be able to use remote connections like RDP and VNC to both Linux and windows machines, so maybe Meego can't do that? But maybe openSUSE with a very light Desktop will. I'll use gmail from the netbook, no need for Thunderbird etc. I like to have multimedia.
Alright so i just wanted to try and get remote desktop connections running so i can access files on the other computers in my house. For my first try i went after my laptop. I'm using rdesktop.
First couple times i tried i typed in
Code:
After about 15 seconds it would pop back with
Code:
I realized that my laptop's firewall was blocking the packets, so i created a custom rule that allows all TCP packets on port 3389. So i fired up rdesktop again. Now it pops back with:
Code:
But instantaneously, not after 15 seconds (not sure if thats significant or not.) I checked my firewall's log and it allowed the tcp packets.
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.
I'm running 10.04 with Apache2/PHP5.x I wanted to test some basic cgi scripts, but my browser is displaying the code (#!...) If I run the scripts on the console, they work fine so CGI is not the problem, it's apache. To install the CGI module I ran sudo apt-get install libapache2-mod-perl2 with no problems. By the way, I installed Apache through apt-get instead of doing it manually, but it seems that the installation divides the conf file in different parts, so the regular apache2.conf has this:
Code: # Include module configuration: Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf # Include all the user configurations: Include /etc/apache2/httpd.conf # Include ports listing Include /etc/apache2/ports.conf [Code]....
I can't figure out what I need to do to get CGI working on my server.
I seem to be having a problem with mod_proxy and https websites. A simple connection to port 80 works fine but all calls to 443 fail.
I had a look at my firewall but can't see anything that would block port 443, although I get no tcpdump traffic on that port on the deb01 client when I try and connect to it. I disabled the firewall but still no luck.
My configuration consists of 3 VMs (KVM) each running a different website.
I get the following error when connecting to ssl deb01
Code: An error occurred during a connection to deb03.example.com.
SSL received a record that exceeded the maximum permissible length.
I am having some problems after installing apache2-mpm-itk on my Debian 5.4 server. From my understanding apache2-mpm-itk will run child processes as root until a http request is received. It then suid's to the username in the VirtualHost directive. This is all working fine, as I can see a few apache processes started by a specific user.
However, the problem is when I try to restart apache. It will kill all the processes running by root but wont kill any of the processes that have been suid'ed to another username.
When i attempt to restart I get this error:
Code: charged:/etc/apache2# /etc/init.d/apache2 restart Restarting web server: apache2 ... waiting (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
[Code]....
If I do a "ps aux | grep apache" before and after I see all the root processes killed, but processes running as specified users from VritualHost directive remaining.
Now I am not an extreme linux power user, but I know a bit.