Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
514 views

iptraf shows excessively high traffic, switch says almost no traffic

I have a weird problem with traffic here. My server is connected via 100mbit to a netgear switch. Now sometimes when I look at the traffic on the server using iptraf it reports in excess of ...
Blubber's user avatar
  • 293
5 votes
2 answers
5k views

top command occupied high cpu usage

My system is SUSE 10 and I observe that top occupies 57% CPU usage when I use it. I don't have too many processes: ps -eLf | wc -l 106 Here are top's stats: cat /proc/2913/stat 2913 (top) R 2879 ...
DaVid's user avatar
  • 91
5 votes
2 answers
4k views

expect + how to identify if expect break because time out?

The target of the following simple expect script is to get the hostname name on the remote machine Sometimes expect script fail to perform ssh to $IP_ADDRESS ( because remote machine not active , etc ...
Eytan's user avatar
  • 611
2 votes
1 answer
194 views

Pro Linux Administration Guide / Book [closed]

We run a cluster of 45 linux machines with a lot of different stuff running (nginx, Varnish, Apache, MySQL, memcache etc) and load getting balanced on different machines. We do around 3000 requests ...
Sparsh Gupta's user avatar
  • 1,147
1 vote
1 answer
87 views

Apache on linux with two real certificates (.com and .co.uk)

I can only configure one. when I try to configure the other I get httpd error with bad syntax. any one know how to configure 2 certificates in apache? this is what I have: # ssl LoadModule ...
edotan's user avatar
  • 1,946
0 votes
2 answers
257 views

Secure tunnelling networks with linux

I would like to build some kind of "virtual network" between two companies located in two different countries. This way, an LAN machine (192.168.x.x) located in the A company could ping directly a LAN ...
Stef's user avatar
  • 592
1 vote
2 answers
3k views

VMware vCenter Converter - P2V Linux Machine

I'm trying to do P2V with a Debian powered-on source. Everything works perfectly up until the point of selecting destination. It states that the destination type is VMware Infrastructure virtual ...
deed02392's user avatar
  • 278
0 votes
1 answer
297 views

How can I find out what user from a specified IP is doing with my server?

Yesterday night around 2:00, I occasionally try out a snippet: netstat -ntu | tail -n +3|awk '{ print $5}' | cut -d : -f 1 | sort | uniq -c| sort -n -r | head -n 5 Then it turns out one IP is having ...
allanruin's user avatar
4 votes
1 answer
4k views

setting the linux capability CAP_SYS_RESOURCE

I'm trying grant a user the CAP_SYS_RESOURCE linux capability on an Ubuntu 10.04 machine. I need this so that a process run by this user can write to /proc/self/oom_adj (yes I realize this this is ...
user avatar
0 votes
1 answer
288 views

ec2 coppied AMI carries over old.ppk key, need to change keys

i copied a private AMI (lamp) over from a different account and created a new instance on ec2. the new instance has a new.pem key associated with it and i can see the title from AWS Management Console:...
t q's user avatar
  • 273
0 votes
1 answer
984 views

What equipment/software is needed for setting up a LAN-based webserver for learning the ropes locally? [closed]

I'm a complete linux/networking beginner. What equipment/software will be needed to do this? Basically I want to set up a server computer and be able to connect to it locally with my desktop, and ...
128KB's user avatar
  • 101
2 votes
1 answer
5k views

Getting OpenVPN to fully connect two networks

I have a client (which is also a gateway for a 192.168.203.0/24 network) that is trying to connect to a remote server (that is a gateway for a 192.168.150.0/24 network) and make a fully bridge between ...
djsumdog's user avatar
  • 1,130
2 votes
2 answers
2k views

How to correctly set up iWARP? Preferably on loopback

iWARP is a protocol for doing remote direct memory access (RDMA) on top of TCP/IP, so that it can work with Ethernet and other network types as opposed to Infiniband. It works with many of the ...
ajdecon's user avatar
  • 1,301
15 votes
3 answers
78k views

How to configure Samba to allow root user for full control to the particular share?

$(subj), it appears to be what root user is denied by default for all of the shares. I'm trying to reproduce Windows administrative share.
user539484's user avatar
5 votes
3 answers
10k views

Fail2Ban - how to prevent my ISP IP dynamic get banned?

I have just installed Fail2Ban. I want to add my ISP IP to my ignore list but my IP is dynamic. In the jail.conf file, I have like this: [DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or ...
I'll-Be-Back's user avatar
0 votes
2 answers
820 views

How can I see if mysql starts without errors?

Today I have changed mysql config file and restarted mysql with: service mysql restart And saw the following: Stopping mysql database server: mysqld. Starting mysql database server: mysqld. ...
nightcoder's user avatar
1 vote
2 answers
1k views

Syntax error when starting Rails server, RVM could be the issue?

I am getting the following error when trying to start my Rails application in production for the first time: /var/www/railsapp/config/initializers/session_store.rb:3: syntax error, unexpected ':', ...
dannymcc's user avatar
  • 2,727
1 vote
1 answer
443 views

Linux File Permission 0070 - Group RWX

A friend of mine set permissions on a file that he owns to 0070. He's in the group. Basically, he wants the group to have rwx, but not the file owner. When he tries to cat or vi the file, he gets ...
user1200129's user avatar
0 votes
1 answer
2k views

linux yum through a socks v5 proxy

I can't use yum because port 80,443 are being blocked by a firewall. I setup a ssh proxy tunnel (socks v5), it works fine. I've tried to find how to use yum with a socks v5, but looks like it only ...
jonv1's user avatar
  • 101
2 votes
2 answers
2k views

squid reply_body_max_size not working

I have been tasked to limit bandwidth consumption. I have setup squid as a transparent proxy and am blocking various content types i.e video, x-flv... The content type acl's seems to work fine. I have ...
Yves Richard's user avatar
2 votes
1 answer
1k views

zabbix import trigger template

i am importing a zabbix template, the items load successfully snippet of the xml template: <triggers> <trigger> <description>PING response on Vlan1</...
krisdigitx's user avatar
6 votes
1 answer
6k views

Ubuntu Linux - two interfaces, same subnet, different vlan - MAC/ARP issues

I'm attempting to setup a server that needs to have interfaces on the same IP subnet, but different VLANs: eth1.102 Link encap:Ethernet HWaddr 00:50:56:b1:00:0f inet addr:10.1.1.6 ...
Andy Coates's user avatar
1 vote
1 answer
4k views

How to connect to virtualbox's host-only network from outside using openvpn

What i want to do is: have an internal network for guest systems / be able to make connections between guests inside network have internet connection for guests (to download updates) be able to ...
Jeff's user avatar
  • 423
0 votes
2 answers
2k views

xorg.conf missing in Debian

I'm attempting to configure X on a headless server. I've installed the xorg, tightvnc, and fluxbox but /etc/X11/xorg.conf is missing. I've run xorg -configure and it gives fails giving the following ...
devnill's user avatar
  • 307
0 votes
3 answers
2k views

How do I block an email sender using SSH

Having a bit of a nightmare with our Linux server. Somehack is using our server for spaming. I sanitaized all inputs, have captcha image, change passwords, etc. but still. Somehow they keep on doing ...
Tino's user avatar
  • 3
0 votes
3 answers
192 views

Creating backups securely

So I have the following setup: Server A (webserver) Server B (Xen Dom0 - with logical volumes) Server C (backup server) I want to create backups from server B to server C all automatically and ...
Devator's user avatar
  • 1,483
1 vote
3 answers
1k views

Cannot login after chmod o -rwx

I have typed a recursive chmod o-rwx command from root in a linux via ssh. After that I can not login as root anymore. It is a huge problem now. Can I do anything to do to resolve this? I can only ...
ald mike's user avatar
22 votes
3 answers
118k views

How do I pass credential file to mount.cifs?

I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines. The current implementation in linux is in /etc/fstab ...
icasimpan's user avatar
  • 616
4 votes
3 answers
23k views

How do I limit concurrent session on a per user basis for ssh?

I am trying to prevent my ssh users from having more than one session open at once, my system is Ubuntu 11.10. I thought the setting was in /etc/security/limits.conf where I set the following: ...
Kyoku's user avatar
  • 63
2 votes
2 answers
11k views

How do I upgrade php on openSuse?

I'm currently running openSuse 12.1 with php 5.3.8 and would like to upgrade to 5.4. How may I do this? I'm used to just installing software packages with yast.
Isius's user avatar
  • 284
1 vote
2 answers
332 views

Starting a screen while su'ed into another user from an alias isn't working

minecraft@283823:~$ script /dev/null ; screen -t minecraft Script started, file is /dev/null minecraft@283823:~$ exit Script done, file is /dev/null Cannot open your terminal '/dev/pts/0' - please ...
Noah's user avatar
  • 13
0 votes
1 answer
78 views

Tomcat 4 Upgrade

I'm looking to migrate a custom web-based application written for Tomcat 4 to a new CentOS system. The old Debian 3.1 system is starting to have issues with it's storage. I'm well versed in Linux ...
tedh's user avatar
  • 9
2 votes
3 answers
537 views

Linux FTP alternative for single application

I have a dedicated ubuntu 10.4 LTS x64 server running with: nginx webserver Php mysql community mongodb The webserver will be running a single web application, I don't share the server with anyone I ...
Mike Vercoelen's user avatar
0 votes
1 answer
67 views

what is DDODBC.DAT

The file /var/local/odbc/DDODBC.DAT is being created/accessed on some (not all) servers when the database is accessed via Perl dbi:ODBC. I did a full crawl through /var/local/odbc on a server that ...
Christopher Neylan's user avatar
1 vote
1 answer
301 views

Putty fatal error after I enter CLI?

I am new to the whole virtual linux world. And this particular problem is strange and after a day of googling I find myself again on serverfault so thanks for your time! I created a linux ec2 ...
javasocute's user avatar
0 votes
3 answers
21k views

How to give a user account root privileges in Fedora 14?

I want to give my user account root access rights permanently, how can i do that? (i don't want to login using the root account). thx!
user avatar
-2 votes
2 answers
477 views

BIND DNS SERVER in my Production environment [closed]

I would like to start working with a local DNS server in my production. right now instead of working with DNS I'm working with IP Addresses. I would like to know what is the effect of working with ...
edotan's user avatar
  • 1,946
0 votes
4 answers
2k views

Linux du and rsync 100% disk utilization

Whenever I run du -sh or rsync I get my disk utilisation at 100%. This causes mysql slow queries to appear, which usually causes my site going down. Any tips or tricks running these to commands ...
Katafalkas's user avatar
0 votes
1 answer
4k views

How to change Firebird default port in linux?

I'm trying to change firebird (2.5.1) default port from 3050 to 3051 on OpenSuse 11.4 So I installed firebird (install.sh) and in /opt/firebird/firebird.conf I uncommented and changed ...
JustMe's user avatar
  • 103
0 votes
1 answer
712 views

yum: how to see processes affected by an upgrade?

While zypper offers a "ps" option to show processes currently using deleted/upgraded files, yum appears to lack such an option... How do you know with yum if there are processes needing to be ...
Christian's user avatar
  • 295
1 vote
2 answers
2k views

Why is my process dying mysteriously?

I have read quite a lot of pages about the OOMKiller, including http://www.linuxatemyram.com/ , but I don't quite get still why a backup script I run would be killed if I look at my output of 'free -m'...
datadevil's user avatar
  • 535
8 votes
4 answers
34k views

How to add a user without knowing the encrypted form of the password?

I use the following command to create a user in a linux machine: useradd -d /home/dummy -g idiots -m -p 12345689 dummy The user is created and the home directory as well. The problem is that I ...
Jim's user avatar
  • 335
0 votes
1 answer
41 views

HTTPS but don't share certficate, manual installation required

Is it possible, from a server level (Apache), to enable HTTPS but that we don't share the certificate via the browser, the certificate must be installed prior to accessing HTTPS via the browser? Best ...
Anders's user avatar
  • 283
2 votes
2 answers
2k views

Different results from GnuPG and OpenSSL when using AES256 encryption

Text: apple Pass: password openssl aes-256-cbc -e -a -in apple.txt Output: U2FsdGVkX1/sqDrVkgk/7dKiCfLW+1/bgvRT/YAopJQ= gpg -c --cipher-algo AES256 apple.txt Output: ...
Howard's user avatar
  • 2,175
6 votes
3 answers
12k views

Broken BIOS detected, complain to your hardware vendor. WTF?

This is what I found in dmesg on my new Fedora 16 instalation on new HP ProLiant DL320 G6 [ 0.130963] Performance Events: PEBS fmt1+, Westmere events, Broken BIOS detected, complain to your ...
B14D3's user avatar
  • 5,258
0 votes
1 answer
323 views

SuSE Enterprise Linux 10 reports "write error: disk full?" even though there are 13TB available

So, I recently added some disk to a system and everything seemed to be peachy, the extending of the LVM went fine and so did the filesystem resize. However, when a user logs on to the system and tries ...
David Lind's user avatar
1 vote
1 answer
2k views

Missing LV in VG in LVM partition on Ubuntu

After a power failure, Ubuntu 10.04 Server hard drive is no longer bootable. I tried using boot-repair but it couldn't locate an operating system. I ran gdisk to verify where the lvm partition was ...
Joseph's user avatar
  • 277
1 vote
3 answers
2k views

Faster MySQL DB pull from remote machine into local machine

I use this command to pull some remote db to local db: $ ssh remote.com "mysqldump remotedb | gzip" | gzip -d | mysql localdb I see this runs a bunch of individual commands on the database. Is there ...
Pentium10's user avatar
  • 444
0 votes
1 answer
183 views

Tunneling mysql through a second server not visible to the outside

This is the setup: I have 1 debian server deep within the network running a mysql server. I have a second debian server who is exclusively allowed to access the mysql server of the first server. I ...
Polity's user avatar
  • 103
0 votes
2 answers
9k views

How to change Tomcat user in red hat Linux

I installed my Tomcat as root user in Linux for testing purpose and It's working fine. I would like to change the user for security purpose, So that owner of log files and other files will be created ...
Selvakumar P's user avatar

1
511 512
513
514 515
772