Server is a computer program running to serve the requests of other programs or a physical computer dedicated to running one or more such services.
3
votes
3answers
31 views
What is the recommended way of checking running services?
I'm often exposed to various GNU/Linux systems including CentOS, SLES and Debian.
I want to know: what is the recommended method of checking all running services across these systems?
I am aware of ...
0
votes
1answer
23 views
Accessing Apache server over the Internet
I'm trying to access my Apache server over the Internet.
When I use my external IP to connect from a different system, my router's welcome page is displayed. How can I access the server?
1
vote
1answer
46 views
SSH not working from one specific computer
I can connect from every other computer on the LAN, as well as externally. It connects fine to other machines running SSHD. When trying ssh with verbosity, I get the following readout:
$ ssh -vvv ...
2
votes
4answers
185 views
List of servers to check for SSH availability
I have a list of IP address that I need to SSH to and log if I could get to them. I would use a Ping script, but DNS might have already reassigned the address. I do not care about the ones I can't get ...
1
vote
1answer
37 views
CentOS vs RedHat on hp DL 380 G5
hp lists downloads for:
» Red Hat Enterprise Linux 5 Server (x86)
» Red Hat Enterprise Linux 5 Server (x86-64)
» Red Hat Enterprise Linux 6 Server (x86)
» Red Hat Enterprise Linux 6 Server ...
0
votes
1answer
21 views
Mail server installation in Cent OS 6.2
I have a server with a dedicated IP. I didn't take any domain yet. CentOS 6.2 is installed on this server. I tried to install mail server in it and followed these links exactly.
The Perfect Server ...
1
vote
1answer
21 views
PECL memcached installation gets error
I installed Zend Server 6 (debian).
Also installed several packages:
apt-get install gcc
apt-get install g++
apt-get install libncurses5-dev
apt-get install zlib1g
apt-get install zlib1g-dev
...
1
vote
2answers
70 views
Benefits of rpm over deb in the context of a server? [closed]
This related question What are the pros/cons of deb vs. rpm? seems to be more focused on personal computers, but in the context of a server, why do most of the servers run either RedHat / CentOS or ...
1
vote
1answer
36 views
Running services without sudo
I want to run a nodeJS web server on a couple of machines which I don't have sudo access on. What would be a good way to do this?
The two requirements are:
running the service without being ...
2
votes
1answer
46 views
How can I be sure that access to my home server from my home network is not done via Internet?
As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server.
However, my needs have changed a bit. I want to be ...
0
votes
1answer
59 views
Git pull error libcurl.so.3 not found
I have a php script to git pull from my github repository set up in my webservice hook urls like so:
<?php
echo shell_exec('~/git/usr/bin/git pull 2>&1');
?>
When I open this script ...
23
votes
4answers
2k views
How to recover from a chmod -R 000 /bin?
And now I am unable to chmod it back.. or use any of my other system programs. Luckily this is on a VM I've been toying with, but is there any way to resolve this? The system is Ubuntu Server 12.10.
...
1
vote
0answers
31 views
CUPS Color & Black and White
Yesterday I set up CUPS to turn a USB printer into a network printer. All of the print jobs are being sent to the server from windows and it's working great except for one problem.
When I set the ...
3
votes
1answer
105 views
How can I set up a usb printer as a network printer using a linux server?
Basically right now I have a USB only printer, it's very nice. There are 5 people in my household and we all are constantly wanting to use the printer.
Windows has a built in way to share the ...
1
vote
1answer
69 views
Upgrading Debian Squeeze to Wheezy - Should updatedb.conf be kept or replaced?
A similar question to Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?, but in my case it concerns a different conf file and I am not on Linode.
I am upgrading a VMWare ...
1
vote
3answers
132 views
how can I find out my server's subnet mask via SSH
Hi I use media tamples dv server... I connected it via SSH with putty.. I need my server's IP address and subnetmask. I know the IP address but I don't know the subnetmask.
How can I find out my ...
1
vote
2answers
56 views
Remote backup of local server applying Rsnapshot
I have a server which uses Rsnapshot to take snapshots of folders in miscellaneous computers within a Lan.
I would like to have another server located remotely that is to serve as a backup to this ...
0
votes
1answer
50 views
Certificate extensions in generating and signing certificartes using openssl
References:
SSL Configurations for Intermediate certificate
How to add my own created certificate authority to system trusted repositories
Why I can't find a page which tell me what's the kind of ...
1
vote
1answer
98 views
How can I test whether the output from a command is null or empty string? [closed]
I'm trying to get a pre-commit hook script to work on our old SVN box.
It's very old, running Ubuntu Server 8.04.
This script:
@echo off
::
:: Stops commits that have empty log messages.
...
1
vote
2answers
46 views
How can I get Fedora and Opensuse server edition?
I want to get server edition for Fedora and Opensuse. I've visited their respective sites, but there is no specific server edition in the download section. So how can I get the server edition for ...
1
vote
2answers
64 views
Unable to chown recursively
I'm using this command:
chown root:www-data /var/www/example.com -R
but I get an error message that the directory is not listed.
What is wrong?
1
vote
0answers
48 views
Samba and Active Directory limitations
I was wondering if somebody could help me with a question on a networking assignment I have do do with Active Directory and Samba working together (I chose SAMBA). I understand using a Samba domain ...
0
votes
0answers
33 views
uploading from Netbeans to remote CentOS server failed
I have a php web application on Netbeans on my Ubuntu , and server is CentOS on a virtualBox .
Suddenly uploading to server stopped and I'm getting these errors for non-root user :
Failed:
file ...
0
votes
0answers
41 views
Postfix address resolver + loopback to root problem
Ubuntu Linux 12.04.1 With LAMP stack.
The goal is to setup a web server that can send mail via the PHP mail() function, which uses localhost. The mail must then be relayed to an ISP domain ...
0
votes
0answers
82 views
Samba guest access
I have a home server with samba. with windows i can access and make folder(always with permission 777) like guest( no password ) without problem. But with linux, when i mkdir i can not modify this ...
1
vote
2answers
181 views
How to simulate unplugged network cable or down server?
I have simulated network latency with netem and It's great. Now I want to simulate unplugged network cable or when server goes down. I need this to make testing of my application easier and I couldn't ...
0
votes
1answer
52 views
Keep the ssh session
I am using Macbook developing a client application.
I want to access server logs, so I opened a shell terminal and established a ssh connection to the server and access the log file there by ...
2
votes
1answer
34 views
Sharing /boot between two Ubuntu 12.04 Server installations?
This question may seem trivial at first sight, but it has certain implications and I'm wondering what is the recommended path to take here.
Assume the following scenario: a server system. The default ...
0
votes
1answer
72 views
Problem in connecting server to Internet
I just have setup a Linux server. But currently I am having problem in connecting to the outside world. I am not able to do wget,apt-get or ping. Here ar some relevant details:
$ping google.com
...
2
votes
1answer
360 views
Cannot reach outside network or IP after upgrading to Ubuntu 12.04
I am running Ubuntu 12.04 on my server but since the upgrade from 10.04 I can no longer reach any outside sources of the server.
I can SSH into the box, but from inside here I can not reach anything. ...
0
votes
0answers
149 views
NFS server optimization for maximum performance
I'm looking for maximum of performance for a NFS mount.
I'm on local network, it could be completly unsecure, the performance is the most important in my case.
What I already found :
In /etc/export ...
1
vote
2answers
163 views
Mount a folder without noexec
Is it possible to mount a single folder without the noexec option. I have a situation in which a web app in the users home folder on the server has to be mounted without noexec to run correctly, ...
1
vote
2answers
192 views
/nagios/cgi-bin/statusmap.cgi was not found on this server
I installed Nagios 3.4.4 on Ubuntu server 12.10. Installation was successful but now I'm not able to view maps and trends.When I try, I get the following error
/nagios/cgi-bin/statusmap.cgi was not ...
1
vote
1answer
214 views
How to create partition in ubuntu server 12.10
I'm trying to create partition during Ubuntu Server installation(12.10).Now I have a 500GB hard disk where I need to create a partition of 200GB for root file system and another 20GB for swap space ...
9
votes
1answer
463 views
How to build a personnal cluster?
I have a debian server running some services (mail, web, git, mysql...). But it is alone, meaning that if it breaks, I have to repair it to access my services.
I'd like to put a second server so that ...
1
vote
2answers
482 views
How to display open file descriptors but not using lsof command
Hi I have read Here that lsof is not an accurate way of getting the number of File Descriptors that are currently open. He recommended to use this command instead
cat /proc/sys/fs/file-nr
While ...
1
vote
2answers
140 views
Can Linux PC serve as network router?
I was wondering if it is possible for Linux PC to substitute router in small networks.
I'm not expert in networking so this question may be stupid, but I don't see why one should not use Linux ...
0
votes
1answer
147 views
FTP cannot connect - connection closed by server
I entered the hostname, username/password and port, it seemed to connect but then the connection was lost, what should I check for? See the log below:
Status: Resolving address of ...
2
votes
3answers
2k views
How to set up an SSTP Server
Is there a way to set up a linux based, preferably ubuntu, SSTP server? I know there is a SSTP client available on sourceforge, but I can't find a server.
To be clear: I do NOT want openVPN, I want ...
0
votes
1answer
75 views
Altered fstab - no longer able to SSH or access http
I might have done something stupid on my person debian server - I altered the fstab file. I changed udev to dev to try to fix a mounting issue in /dev/sda1 but after I restarted the server, I cannot ...
1
vote
3answers
179 views
SUID permissions - Which is correct?
Trying to secure a Linux server and have little experience with SUID. After executing
find / -perm +4000
many programs were discovered. I have seen conflicting advice here and hereon what should ...
1
vote
2answers
77 views
how to require sudo to view files?
I have a ssh server. I allow people to connect to it if they want. I do my programming homework on it. I am in trouble with my teacher because people were cheating off it. I need to know how to ...
1
vote
1answer
144 views
Error 'IO Error: Broken Pipe' when upgrading server from Debian Squeeze to Wheezy
As I am upgrading my virtual machine from Debian 6 (Squeeze) to 7 (Wheezy), I am seeing what appears to be a changelog (screenshot below).
So, I pressed the 'q' key to quit and proceed with the ...
3
votes
2answers
1k views
Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?
I am currently upgrading my all-new Linode server running Debian 6 (Squeeze) to 7 (Wheezy) this way:
Updating current system:
sudo apt-get update && sudo apt-get upgrade
Replace all ...
2
votes
2answers
167 views
Apache server redirects main domain to https
I have this server with multiple domains running CentOS 6.2 and Apache. This server has a SSL certificate installed and working well.
Every time I browse to the main domain, without adding http:// it ...
1
vote
0answers
235 views
NFS sharing is read only
I have problem with NFS sharing. See my exports:
/export 192.168.1.11(rw,fsid=0,insecure,no_subtree_check,sync)
/export/share 192.168.1.12(rw,nohide,insecure,no_subtree_check,sync)
From a client ...
0
votes
0answers
184 views
TigerVNC Viewer resolution
I am using TigerVNC to connect to my development server. I create a view by typing
vncserver
in a putty shell.
My monitor is a widescreen monitor and the vncviewer in fullscreen mode does not ...
0
votes
2answers
50 views
Knowing if a directory is modified
I have a server online and I am wondering if there's a way to know if some file on the server is modified or a new file is added to certain directories.
For example, I have this ...
0
votes
1answer
1k views
How to setup VLAN on same subnet as Ethernet ?
I have a physical NIC with dev name eth0 with ip 192.168.1.2 and gateway 192.168.1.1 and I want to setup a VLAN with ip 192.168.1.x and same gateway as eth0.
Setting up the VLAN runs smoothly and I ...
0
votes
1answer
56 views
What is a remote config server?
I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show:
bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote ...