Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

How can I use sudo to check if a file exists?

I want to check if a file exists like so [ -f /path/to/file/ ] However I am running this command as a regular user and the file is owned by root. How can I use sudo to accomplish this. sudo [ -f ...
0
votes
4answers
340 views

Plesk Alternatives? [closed]

I’m a recently hired developer at my company. We have dedicated Linux servers with RackSpace which currently use Plesk. I find Plesk to be confusing and unwieldy. For example I went to assign some ...
0
votes
5answers
930 views

nginx rejects connections under fairly low load

I have a web service running behind an instance of nginx running as a reverse proxy. Nginx is configured to load balance between 10 app server processes running on two separate hosts. The problem ...
2
votes
1answer
3k views

NFS performance troubleshooting

I am troubleshooting NFS performance issues on Linux, and I'm looking at the following nfsiostat output: host:/path mounted on /path: op/s rpc bklog 96.75 0.01 read: ops/s ...
1
vote
1answer
624 views

Load on linux system is High but CPU is idle

On one of CentOS server i found that load is around 10 , vmstat output says a large number of process are in blocking state. In top command output, cpu is almost 70% idel. What i conclude from my ...
1
vote
1answer
457 views

unable to fsockopen

I have 2 ethernet eth0 and eth1 on my server. The default gateway is set to be eth0. I need to connect ip 10.10.6.2 using fsockopen in php. The ip 10.10.6.2 is routed through eth1 (I have a rule set ...
1
vote
4answers
2k views

Network card suddently doesn't answer anymore, but answers after pinging

We have a problem with the network card on a Dell Power Edge R410 with Debian 6 (squeeze). It seems that the network card went into "sleep" mode after some time. If we are connected via ssh to the ...
2
votes
2answers
981 views

copying directories between NTFS drives in linux uses a lot more space on destination drive

When formatting a Windows computer I always copy the full content of the harddisk to an external drive using an USB-based Linux distro (currently Knoppix). This makes sure that I can always retrieve ...
-1
votes
2answers
9k views

Shrink a Volume Group in LVM / Linux in order to install Windows on the freed space [closed]

I have a Volume Group with Unused space. This 40Gig should become an entidy in order to install Microsoft windows 7 on it. I do not have extra space on the drive - that is why I want to shrink the VG! ...
0
votes
1answer
69 views

CPanel on non-hosting server? [closed]

I'm subscribing a dedicated server on iWeb webhosting, i'm going to use this server as a test node but still accessible on web, do i need cpanel to configure? since i'm not that good with linux ...
1
vote
2answers
4k views

How to get password for EC2 Linux instance?

I am exploring Amazon EC2. I created a Linux SUSE instance etc. now I am trying to remote into it from my mac using a VNC client (Chicken of the VNC client): I have the public dns of the instance ...
1
vote
1answer
956 views

Account with conflicting name exists locally

When I login to a Fedora box through ssh, i get the following error: Account with conflicting name exists locally Anyone know how I can get rid if this? I think whatever issue that is, it's also ...
0
votes
2answers
137 views

Hosting an image server

I have developed a mobile app, that lists some date with images. Currently the images are hosted on the same server where the services reside, but as the number of images rises I would like to unload ...
2
votes
3answers
217 views

Setting up and configuring a new VPS server

I am new to VPS servers. I have always used a shared hosting platform all my life. At the moment, we are working on a project at work thats is going to require more than just a shared hosting server, ...
1
vote
1answer
3k views

How do I figure out why a tomcat6 webapps dir symbolic link works on one machine, but not another?

I recently built an Ubuntu virtual machine for MarkLogic development. The machine was then distributed to 4 other developers to provide a consistent dev platform. Now I'm setting up another piece to ...
1
vote
1answer
882 views

OpenVPN host cannot access client LAN

I have an OpenVPN server, call it vpn-server, with a LAN 192.168.3.0/24 behind it. The client, vpn-client, also has a LAN behind it, 10.4.0.0/24. Machines on 192.168.3.0/24 can access 10.4.0.0/24 ...
0
votes
4answers
636 views

HP DL380 setup help

I have recently acquired a HP DL380 server and I'm tryig to install Ubuntu server on it. The server came with no HDDs, so I have bought 2 72.3GB drives and installed them into the drives. There is ...
4
votes
2answers
3k views

How to change “sender:” field in the header of Logwatch emails

I changed MailFrom="" in /usr/share/logwatch/default.conf/logwatch.conf That altered "From:" in the headers, but "Sender:" is still "root@ip-xx-xx-xx-xx.domain" EC2 Linux AMI beta, Postfix is the ...
2
votes
2answers
64 views

Is there a way to copy the snapshot of the server

I have Redhat Linux Server with Apache, Oracle and PHP. I am using this server as a production server, and I want to create a new test server with the same configurations/product versions as the ...
3
votes
2answers
4k views

How do I verify that my CentOS Guest on a VMWare ESX Host is Using the vmware tools network driver?

I can verify that vmware tools is running with /etc/init.d/vmware-tools status, but how can I verify that the vmware-tools network driver is being used by my CentOS guest? The host is VMWare ESX 4.1 ...
0
votes
4answers
77 views

Requesting different websites with IP and headers

Is it possible to lure a website from the web server without relying on DNS records? Windows IIS WebServer was working with headers, Linux is working with virtual server names etc. Imagine this ...
3
votes
2answers
132 views

Duplicating Linux Installs on Multiple Servers

I have 3 servers of exactly the same configuration. Is it possible to install linux on 1 exactly the way I want it, then clone over the installation? What would be the problems with doing this?
-3
votes
1answer
769 views

Linux System Filesystem mounted or opened exclusively by another program

"fsck.ext2: Device or Resource busy while trying to open /dev/sdb" "Filesystem mounted or opened exclusively by another program?"
3
votes
2answers
218 views

virtual interface names in qemu/kvm

I have an image with a debian-squeeze installation and using that I created two overlay-images to boot two (nearly identical) virtual machines from. When I boot them up individually (connecting them ...
0
votes
2answers
105 views

rsync script to nightly backup var

Having trouble with making a backup script for automatically updating the var folder to another server nightly BDATE=`date +%F` rsync --exclude=foldera/folderb -bavz --backup-dir=backup-$(BDATE) ...
-1
votes
1answer
368 views

Linux does not NAT IPs without defining as IP alias

I have a Linux router like: İnternet <-> Linux <-> DMZ We have /25 subnet of 128 IP addresses. Those are NATed into servers in DMZ. If I did not configure all of these IP addresses as IP ...
0
votes
1answer
152 views

Monit catch run-away process

There are examples for how to make Monit detect a service going amok and use too much RAM. But what if the service forks a program and the child takes too much RAM? Or put another way, how can I make ...
1
vote
2answers
511 views

Keep script running after logout

I'm trying to run DiabloMiner, and keep it running after I logout. I try to use screen. So what I do is: login to the host, with -X switch. Like: ssh -X myhost run screen run my script, i.e. ...
2
votes
2answers
2k views

SSH Connection dropping as soon as I log in

I was changing some settings on my dedi box to do with adding more descriptors and then rebooted. Since then I cannot log into SSH with root details (or anyone else). As soon as I log in, the putty ...
1
vote
1answer
1k views

ip routing on cent os

I have a web server with installation of Cent OS 5.6, cPanel/WHM. Currently the server have 2 ethernet and the configuration for both is listed below: ...
9
votes
6answers
6k views

Rate-limiting incoming traffic

I've never quite understood whether or not it's possible to rate-limit incoming traffic. I realize that there is no direct method whereby to control the remote server's rate of sending packets (unless ...
0
votes
1answer
2k views

Log all incoming and outgoing requests using nc command

I have a web server listening at 8080, I want to use the nc command to listen at port 80, so all incoming request and outgoing response are logged into two files, namely inflow and outflow. I have ...
0
votes
2answers
3k views

Normal to have multiple “dovecot/pop3-login”?

I'm getting multiple instances of dovecot running on my LAMP server, which is in resulting in LFD reporting with constant emails with the following.. Time: Mon Jun 13 05:56:34 2011 -0700 ...
1
vote
2answers
1k views

Convert linux ldapsearch to Windows dsquery

I am converting a website fro being hosted on Linux and Apache to Windows and IIS. The pages are currently written in php but new functionality will be in something along the lines of C#.net In the ...
0
votes
3answers
98 views

Softwares/Tools to reboot Linux server?

We have a service to monitor our server farm by listening to the heartbeats, and send out email notifications if a server is not responding. When that happens one of us will ssh in and reboot the ...
2
votes
2answers
289 views

How to set a reminder to change the passwords in 45 days on linux and unix machines?

Please tell me how to set a remainder to change the passwords for every 45 days on linux and unix machines. Thanks, Srihari
2
votes
1answer
609 views

running ASP on a linux machine

My testing environment for coding is currently a LAMP setup on an internal server running Linux Gnome. We've recently gained 2 or so sites to do maintenance for that were written in ASP. I'm now aware ...
0
votes
2answers
604 views

Days since a specific date

How to print in linux/unix bash the number of days since a specific date till now? (for example days since 23rd of June 2009 till today)!
1
vote
1answer
901 views

`mpstat` sometimes shows above 100% CPU usage

Running mpstat -P ALL on one of our servers returns the following: 06:48:02 AM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s 06:48:02 AM all 15.61 0.08 ...
0
votes
2answers
330 views

Want to upgrade python for django

I would like to upgrade python for django. Currently I have python 2.4.3 on my Red Hat server. I have installed python 2.7.1, but the default python is still 2.4.3 (It didn't upgrade python, but ...
36
votes
4answers
84k views

Postfix - how to retry delivery of mail in queue?

I have a backup mail server in case of a failure on the main one. In that case of failure, mails come on the backup server and stay there until the main one is back. If I wait some times, the ...
1
vote
1answer
367 views

sendmail: deny all, allow only matched recipients

Warning: Total Sendmail noob here. Is there anyway to restrict sendmail so that it can only send mail to specific email addresses, either by list or pattern (preferred) Ideally I'd like to be able ...
-1
votes
2answers
119 views

Special Linux distribution for storing in web server? [closed]

I know this question is weird. I would like to build / find a Linux distribution that is stored in a web server. The reason for me to build / find such Linux is that I would like to save the cost to ...
7
votes
4answers
3k views

Execute program each time somebody logs in via SSH into a Linux box

I have a small SSH server, and I'd like to write a script to run each time somebody logs in via SSH. Now, how would I go about that? I'd like the script to run everytime ANYBODY logs in, and I need ...
0
votes
2answers
64 views

ssh login vs ssh authentication

I set up a new system. I have to use ssh XXXX@XXXXXX to login. It wont let me login via telnet . But I didnt set up any keys. So theres nothing to check against. Can someone explain this to me? Also I ...
2
votes
1answer
444 views

My own IPv6 tunnel

I have a load of IPv6 addresses on my VPS which are not tunneled they are provided by the VPS host. But my ISP at home BT, has no plans yet to allocate IPv6 addresses to even business customers. I ...
-2
votes
1answer
102 views

Hosting: Linux Server vs Windows Server [closed]

What is the main different between them ? What are the main advantages ?
2
votes
2answers
803 views

Transfer between internal disks slows down for large files

I'm running a Ubuntu Server 11.04 (amd64) on a machine with 1.6Ghz dual-core CPU, 4GB RAM, and 2x250GB 7200 SATA drives (both 3.0Gb/s and newly formatted from a fresh install). When I transfer ...
3
votes
2answers
8k views

How to auto-start MongoDB on CentOS reboot?

How do I setup MongoDB so that it will start back up automatically after a server reboot? This is on CentOS 5.5. I start it with the following command, but if the server reboots, I have to login to ...
1
vote
4answers
2k views

sshd wont start at boot

I just installed Debian 6, after reboot sshd stopped responding. I put the default config file but it not help. In the logs (/var/log/auth,syslog) no errors. I think the problem is that sshd not ...