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

learn more… | top users | synonyms (1)

1
vote
2answers
300 views

Permanent Mount / umount on each execution

We're implementing a service that needs access to three disks that reside on different servers. I have mounted the disks (2 are on windows fileservers, cifs ; 1 is on another Linux server, nfs) and ...
2
votes
1answer
120 views

Disable ctrl+alt+f in X runtime

How do I disable ctrl+alt+f* shortcut that switches me between terminals? I would like to do that one time as I have an application that uses such shortcuts internally in Linux. I want to avoid ...
1
vote
1answer
388 views

Start applications after server restart

How can I configure my CentOS 5.5 to autostart some applications after rebooting? I want to start nginx, mysqld and call some commands like rvm use ree.
1
vote
1answer
451 views

Why did my new iptables rules screw up outbound traffic?

I recently set up Tomcat on Port 80 using instructions provided by Werner Puschitz. In essence, I had to execute these two iptables commands: iptables -t nat -I PREROUTING -p tcp --dport 80 -j ...
9
votes
6answers
9k views

ARP replies contain wrong MAC address

I've got a robot running linux with wired and wireless adapters. When I boot up, it connects to the wireless fine. When I assign an IP to the wired (either statically or with DHCP), it looks like it ...
0
votes
2answers
555 views

scp vs netatalk, samba, and/or vsftpd with External USB drive

I set up a ubuntu server machine to share an ext2 formatted external usb drive. When attempting to copy a single 275MB files from said device through netatalk, I get estimated download rates at around ...
0
votes
1answer
1k views

PHP scripts randomly becoming really slow to respond - Database lockup?

I wasn't sure whether to post this here or on stackoverflow, so apologies if its in the wrong place. I have about 7 php scripts running on a centOS VPS. Each of these scripts contacts a game server ...
0
votes
1answer
865 views

Forced per-user ssh port

I want to allow access to each user on a server through a different port. For example; user1 can only be accessed by ssh through port 2201, user 2 can only be accessed through port 2202. I have ...
0
votes
1answer
286 views

How do you install “extra” versions of backport packages in debian?

I want to install the extra nginx version nginx-full package from debian backports - but when I try to run the install command it says that the package is not found. $ apt-get -t squeeze-backports ...
1
vote
1answer
123 views

Setup windows share on Ubuntu Server 10.10

I was wondering if anyone could provide me, or give me a link to a easy to follow step by step guide to setting up a share on Ubuntu Server 10.10. Requirements: Need to share the folder /var/www/ ...
1
vote
3answers
470 views

How to drop packets in a custom Intrusion Detection System

I'm trying to build a custom Intrusion Detection and Prevention System (IDS/IPS). I found a great utility named ROPE which can scan the packet payload and drop the packet that doesn't follow the ...
1
vote
1answer
2k views

Postfix connect timing out remotely, working fine locally

Running Postfix on Debian I cannot connect to send mail any more. It worked until approximately a week ago. I do not recall touching the configuration of the server during that time, which makes it ...
0
votes
2answers
847 views

IP Blacklists and suspicious inbound and outbound traffic

I administer a web server and recently we had our IP banned (!) from our host after they received a notification e-mail for abuse. In particular our server is allegedly involved in spam attacks over ...
0
votes
3answers
1k views

Query iSCSI ID of a device node on Linux?

I have some iSCSI targets mounted on a linux host as /dev/sd*. How can I query the iSCSI ID from the device node? This is on CentOS 5, using the iscsi-initiator-utils package.
3
votes
3answers
3k views

How can I ignore files/directories when building debian packages?

I have made some debian packages to ease deployment of configurations on new servers and want to put them in SVN source control. The problem is that SVN creates a .svn directory for each subdirectory ...
0
votes
4answers
23k views

Allow anonymous upload for Vsftpd?

I need a basic FTP server on Linux (CentOS 5.5) without any security measure, since the server and the clients are located on a test LAN, not connected to the rest of the network, which itself uses ...
3
votes
1answer
816 views

Howto force kernel to cache more files on NFS

I've a dedicated web server serving static files vía NFS. The server has 32GB of RAM, but the cached memory never grows up more than 16GB. I'm pretty sure that the SO can allocate more than this, ...
6
votes
2answers
6k views

How do I find out if PAE is enabled?

What's the command to find out if PAE is enabled ?
1
vote
2answers
86 views

How to get the amount of memory my linux 32 machine sees . (Not all the physical memory)

How to get the amount of RAM memory my linux 32 bit sees ? If I use free / top it reports the whole physical memory which exceeds the 32 bit limitations .
2
votes
4answers
679 views

openvpn as two factor network entry point integrated to AD

I'm looking to deploy openvpn as a linux RAS server (rather than site-to-site) and i'd like to use two factor authentication, specifically the use of ssl certificates and passwords tied into an ntlm ...
1
vote
3answers
200 views

Unix domain socket firewall

I've got a problem with my debian server. Probably there is some vulnerable script at my web-serser, which is running from www-data user. I also have samba with winbind installed, and samba is joined ...
0
votes
1answer
496 views

Debian SMB share having permission issues in windows 7

I setup a Debian squeeze server with samba. I then shared my /media directory with the following configuration: [media] comment=Hard Drives read only = no locking = no path = /media ...
0
votes
1answer
44 views

Storage subsystem borking after server restart (all on a Parallel SCSI bus)

I have a server (with a SCSI HBA) connected to two Promise VTrak M310p RAID enclosure on the same bus. Everything is working fine until I have to restart my server. Once restarted, the server can no ...
1
vote
1answer
170 views

Git with Password rather than public key

I have a git server running for a small group to check into and I am wondering if there is a way to set it up so the user can log in with their password rather than having to use a public key? Thanks ...
0
votes
1answer
484 views

HAproxy - Redirect issue - Uri Variables?

I'm using haproxy 1.5dev3 and I was wondering if there is any possible way to grab uri variables from a request to reappend the query on the end of a redirect url? What I'm trying to do is redirect ...
2
votes
4answers
2k views

Linux SW Raid: whole disk or per-partition?

I have inherited a machine which has 2 physical disks and uses Linux SW RAID(1). Both disks are partitioned and are are all individual arrays (/dev/md0, /dev/md6, etc.). Those arrays are then mounted ...
1
vote
1answer
3k views

Kickstart installation: Unable to read package metadata

I'm trying to install a CentOS OS with kickstart using HTTP as the installation source. The kickstart server and the installed server are both running on VMs on the same machine. after the anaconda ...
1
vote
1answer
196 views

How to get rid of this error message?

I have this error message popping up in my /var/log/messages file: modprobe: FATAL: Could not load /lib/modules/2.6.33.7.2-rt30-xxxx-std-ipv4-64/modules.dep: No such file or directory My OS is ...
2
votes
2answers
912 views

how limit the number of open TCP streams from same IP to a local port?

i would like to limit the number of concurrent open TCP streams from the the same IP to the server's (local) port. Let's say 4 concurrent connections. How can this be done with ip tables? the ...
0
votes
2answers
422 views

Serial Port ttyUSB0

I picked up a USB serial null modem cable, so that I can connect up to a headless linux box. As a quick test, I plugged the device into the usb null modem, and the other end I connected to a windows ...
1
vote
3answers
179 views

check why memory is being used [duplicate]

Possible Duplicate: How to understand the memory usage and load average in linux server I'm running Debian and I'm wondering why so much of my memory is being used (8GB of the 8GB) Is ...
2
votes
3answers
4k views

Convert directory to QEMU/KVM virtual disk image

I have a directory filled with data at /var/backups/disk1 that I want to convert into a virtual disk image which I'll then be able to boot using QEMU or KVM (the directory contains the file system for ...
0
votes
5answers
819 views

Limiting bandwith per user?

We need to modify our bandwidth usage (per user on our site). I would want to limit bandwidth per ip,,. Basically we want the users who connects to our webstie to only be able to (download @ 2.5Mbps ...
0
votes
1answer
594 views

Segmentation fault lighttpd

Hey guys, I can't figure this out, when I add the fastcgi module to lighttpd when I try to connect to a php page, I get a segmentation fault error. Nothing is in the error log, and nothing else is ...
0
votes
2answers
331 views

linux + swap definition

how to decrease the Priority to 1 in place of 2 as described below? swapon -s Filename Type Size Used Priority dev/cciss/c0d0p6 ...
1
vote
1answer
997 views

Repair or Replace /bin/ folder in Linux

After a power outage, my CentOS server began having a problem where many of the system commands became corrupted. As a result I have been getting messages saying "cannot execute binary file" on ...
2
votes
1answer
505 views

How to stop ethernet interface in bridge configuration from obtaining IP address via DHCP

I'm trying to configure openvpn in bridging configuration. First step of doing this requires creating bridge interface (br0), bridging together physical ethernet interface (eth0) and logical tap0 ...
0
votes
1answer
938 views

Mysql file permissions

I was working to update a server, and accidentally set the entire var directory's owner to root.. This only really affected the mysql server, and I was wondering if anyone can tell me which files were ...
0
votes
2answers
82 views

Only view access_log entries from a certain IP in SSH

I've got a large multi-year access_log and I need to view all of the entries for a certain IP address from SSH. The format is: 111.111.111.111 - ... 222.222.222.222 - ... 111.111.111.111 ...
3
votes
2answers
9k views

iptables redirect local connections to remote system / port

I am trying to use SSH to port forward windows machines local port 3389 to a redhat server on some arbitrary port (in the unprivileged region) I have protected behind a firewall, then forward the ...
2
votes
2answers
495 views

Sending mail through shell script

So I know how to use the mail command to send mail through ssh, as in typing mail -s "Subject here" user@host.com, then typing out the message, hitting CTRL + D to stop composing, then press enter to ...
1
vote
1answer
506 views

Software RAID unmount before shutdown

I have my mysql directory /var/lib/mysql mounted in /dev/md0. When I shutdown/reboot my server, the system fails to switch the md0 in read-only mode because devices are busy, obviously by mysql. ...
2
votes
1answer
338 views

Cannot write to file as root

There is a file on one of the servers I manage that i cannot modify with the root account. This file resides within a web application and contains configuration settings; I suspect that a previous ...
0
votes
1answer
166 views

How to specify a host ip address to sendmail

I have sendmail installed on a server running Ubuntu 10.04. I need to be able to send email to my companies email server from this machine, but I am not currently able to. A rep in the IP department ...
1
vote
1answer
503 views

lsof gives warning for some daemon

lsof | grep /var is giving me following error lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/user/.gvfs Output information may be incomplete. what can be possible reason for ...
0
votes
1answer
430 views

Server simulating a 408 timeout?

I have asked this question on stack overflow and got pointed towards this forum. My question is below: Is it possible for a server to simulate a http 408 error? A payment processor is trying to send ...
0
votes
2answers
570 views

Please explain--getty[7857]: /dev/tty6: cannot open as standard input: No such device--from my auth.log

I'm running a ubuntu server 8.10, and have a ton of these lines in my auth.log Edit: crw------- 1 root root 4, 0 May 27 2010 /dev/tty1 crw-rw---- 1 root dialout 4, 1 May 27 2010 /dev/tty2 ...
0
votes
1answer
323 views

OS Distro benchmarks website?

Im looking for website which contains OS distro benchmarks (comparing in 32 & 64 bit, comparing PHP execution on the distro, etc.)
0
votes
3answers
361 views

How to use bzdiff to find difference between 2 bzipped files with diff -I option?

I'm trying to do a diff on MySQL dumps (created with mysqldump and piped to bzip2), to see if there are changes between consecutive dumps. The followings are the tails of 2 dumps: tmp1: /*!40101 SET ...
0
votes
2answers
2k views

linux + swapon -a problem (cannot find the device?)

please advice about my problem - what need to do? linux details: Kernel release..............2.6.18 Linux-OS-5.3 Thanx # fdisk -l | grep /c0d0p6 /dev/cciss/c0d0p6 31790 33845 ...