GNU/Linux is a UNIX-like Open Source operating system. Linus Torvalds originally wrote the Linux kernel with contributions from others on the MINIX usenet board. Since then, Linux had thousands of developers, both paid by companies and volunteers. The main system tools and libraries for GNU/Linux ...
0
votes
1answer
17 views
Why doesn't sudo -E actually preserve my environment?
I'm trying to sudo some binaries that lies in a custom path. That custom path is removed when I run sudo though, but sudo -E should preserve my path. Why doesn't it work?
$ env | egrep ^PATH
...
0
votes
2answers
10 views
Remove All Repositories - CentOS (Can't Download Normal Stuff Anymore)
Any time I do yum install ___, what used to be normally accessible is no longer so.
I think it is because of an installed repository causing the issue.
How do I remove all repositories?
0
votes
4answers
23 views
Understanding iptables chains in linux (in socket terms)
Is it true to say:
A) OUTPUT chain is for the packets that are "generated" by the machine itself i.e. OUTPUT chain affects connect() function.
B) INPUT chain is for packets that are "addressed to" ...
0
votes
1answer
27 views
Understanding “forward” in linux
Which part of the linux is responsible for "forwarding" traffic between interfaces?
I know about "/proc/sys/net/ipv4/ip_forward" but which part of OS, kernel or a module is actually checking this ...
0
votes
1answer
10 views
Ethtool capabilties affected by ifcfg-ethX settings?
I just resolved an issue when bringing up an interface, but I'm at a loss to explain why it worked. So I'm looking for someone with more knowledge of the linux networking stack to explain this to me.
...
1
vote
0answers
22 views
Why is my RHEL6 x86_64 server trying to install libselinux.i686?
Just did a fresh install using the RHEL 6 DVD on a test VirtualBox server:
[root@bt-rhel6-1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
I am certain it's an ...
1
vote
2answers
77 views
Is there a way to ls -l with like a -f option (like tail -f)?
Suppose I am extracting a huge file or slowly building up a huge file. Is there a way to have ls -lh "on" much like tail -f, so that I can constantly see the size of the file grow until I decide to ...
0
votes
1answer
30 views
Unix: giving a group permissions to a file
On a Ubuntu server, I have a database file under a user's home directory, specifically /home/pistacchio/lessico/mydatabase.db. Apache works under the group www-data. What is the best way to grant ...
0
votes
0answers
6 views
ApacheDS 2.0.0-M3 CentOS 6.2 allow users use passwd to change their own password
Wondering if someone already made this configuration.
I've achieved LDAP auth trough sssd service and it's working fine by now, the only point I'm missing is allow users to change their own password ...
0
votes
2answers
62 views
Can we block any specific webpage on network without blocking whole website?
I want to block a specific webpage on a site but not whole website.
For Example:
www.example.com/about.html should work fine
www.example.com/feedback.html should work fine
and every other page ...
1
vote
2answers
20 views
Mount ext3 from remote Windows machine (XP/Vista/7) through ssh?
Is it possible to mount external ext3 network drive from Windows through ssh/sftp ?
I would like to avoid samba/cifs.
3
votes
1answer
16 views
FTP: How to get rid of “WARNING! 1 bare linefeeds received in ASCII mode” message?
I wrote a little shell script (on CentOS) to download statistics from our APC UPS device. It works great, but everyday cron sends an email with this message:
WARNING! 1 bare linefeeds received in ...
-3
votes
0answers
24 views
poll: best VPS with only necessary features of high/unlimited bandwidth and fast speed? [closed]
Trying to set up nodes for cjdns (https://github.com/cjdelisle/cjdns), and would love input. Alternatives include TonidoPlug or PogoPlug, but they require some setup and a fast home internet ...
2
votes
2answers
56 views
Linux load averages and possible danger?
I have an box I built out of some parts I have around my office.
I used an old Intel Core CPU (not core2) @2.0ghz with 2 cores.
The box is running Ubuntu 11.10 64-bit server edition, it serves as my ...
7
votes
2answers
49 views
btrfs-enabled backup solution
With btrfs hitting production in Oracle EL 14th this month (together with working fsck and scrubbing from Linux 3.2) I was thinking of redesigning my current backup solution to utilise it. Note that ...
0
votes
0answers
8 views
Case-sensitive error in compiler's building using crosstool-ng under Cygwin
When I try to build gcc cross-compiler using crosstool-ng I have the following message:
$ /opt/ng-crosstool/bin/ct-ng build
[INFO ] Performing some trivial sanity checks
[ERROR] Your file system in ...
0
votes
0answers
9 views
Why do i have to stop/restart cups in redhat linux in order to use a custom filter? [migrated]
A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" ...
-3
votes
2answers
52 views
what is the default username / password of telnet?
I have installed Telnet server on my CentOs Server.
and set disable = noa in xinted.d folder and reset xinted.
so telnet is started.
When I telnet to server,it will get login and password but I ...
0
votes
2answers
26 views
Managing user and group information for a lab using Linux and /home mounted from a data node
Our lab consists of multiple desktop machines and a data node, all running Ubuntu Linux. The desktop machines mount /home from the data node. Files and users in /home are managed using UIDs and GIDs ...
1
vote
1answer
28 views
How to use ssh to copy a file multiple hops with agent forwarding?
I have a group of servers all properly configured with SSH agent forwarding. It is a typical bastion server style configuration where the only machine you can connect to from the outside is server A. ...
2
votes
1answer
30 views
Postfix increase recepients limit
I am using Postfix to send mass mails to our customers. But at a time I can only mail to 1000 recepients (mail IDs in Bcc). If I increase the count it says too many recepients.
How can I increase ...
1
vote
1answer
52 views
Why does iptables output to /dev/console?
For some reason I see the output from this iptables rule
$IPT -A FORWARD --jump LOG
$IPT -A FORWARD --jump ACCEPT
on the console eventhough I have disabled kern in /etc/syslog.conf
#kern.* ...
1
vote
0answers
36 views
No font in emacs on CentOS
When I open emacs over an SSH connection I get this error
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string ...
1
vote
1answer
22 views
.htaccess rewrite: How to add exception for specific files?
I need to add an exception for a specific file in my .htaccess. I've tried to add this line:
RewriteRule ^/print.php$ - [L], but it has no effect. Can anybody figure out why?
The whole file looks ...
2
votes
1answer
57 views
Server refuses to use swap partition
We are running a server with 23 cores (cpuinfo shows 22 as the highest process number) and 66 Gig RAM. The development team here is running some apps, which hogs memory.
I have observered that:
1. ...
1
vote
3answers
37 views
How to set up email address on my domain
I realize this is a really elementary question but I can't seem to find a good answer to my question through googling.
I want to set up an email address on my domain, e.g. jason@example.com. I think ...
-1
votes
1answer
21 views
configure outgoing header for zimbra
I'm using a Zimbra Mail server installed on CentOS.
Which file should I configure for outgoing header to insert my company name and address so our sent emails will not be treated as a spam?
Thanks.
1
vote
0answers
26 views
Why does a file on an NFS mount seem to cache randomly, but no longer be cached when running `ls`?
Here's the mount configuration of an NFS mount, we'll call it server2, gotten from running cat /etc/mtab:
<ip1>:/mnt/fs101 /mnt/fs101 nfs ...
-2
votes
3answers
54 views
how to set up multiple IP addresses on my linux? [closed]
I'm doing some computer network homework and I'm supposed to develop some sort of Peer to Peer file sharing software, and when I wanna test it I need to run a few (5) instances on my linux/ubuntnu ...
0
votes
2answers
38 views
SSH intermittently losing connection or not even getting a connection on a local Ubuntu 10.04 server
Thanks in advance for any help.
I'm using Ubuntu 10.04 server, OpenSSH is installed standard via package. I have this running on a dozen other machines in this exact format, and they are virtuals so ...
1
vote
1answer
25 views
Multiple ProxyPass directives for Webmin on Debian Apache Server
I am trying to achieve what is described under:
Webmin In A Sub-Directory Via A Proxy
on this website
Webmin under Apache Guide
...but, with more than one webmin (all on different servers, but ...
0
votes
1answer
19 views
Allow Permissions for Multiple FTP Users to Edit Public HTML Folder - Linux
On a dedicated server hosting one website, running Linux with no control panel, I'm trying to grant permission for multiple users to edit the public HTML folder (/var/www/html/).
I want to make sure ...
2
votes
0answers
78 views
How to keep filesystem layout identical in every RedHat Installation?
I want to keep the following layout same in every installation on the identical servers:
dm-0 /dev/VolGroup00/LogVol00
dm-1 /dev/VolGroup00/LogVol01
dm-2 /dev/VolGroup00/LogVol02
dm-3 ...
0
votes
0answers
14 views
squid configuration issue
I'm trying to configure squid in order to have 30 differents anonymous proxies with differents ips protected by username/password.
Here is my config file : http://pastebin.com/0nYX7kR7
Right now ...
2
votes
1answer
39 views
Is it possible to limit outgoing emails in Postfix to one specific domain?
Our production servers need to mass-mail our clients on a regular basis. That works perfectly. The problem is that our 'staging' environment also sends out the emails to our clients when we test new ...
1
vote
2answers
33 views
How to configure nginx to serve single named virtualhost, aside of apache
I currently have a single apache server with several named virtualhosts defined there, all serving on the same IP, on port 80.
However, I have one static virtualhost (a specific domain) I want to ...
0
votes
2answers
25 views
IP route ppp0 + eth0 access to outside network
I need some help in define a route I have two connections one from eth0 and other a ppp0 (a 3G card) Not having the ppp0 connection active my route table is:
Destination Gateway Genmask ...
3
votes
4answers
233 views
Bash script is not working as cron job
I have the following shell script
$cat capture.sh
TIME=$(date +"%H-%M-%d-%m-%y")
IP="203.208.198.29"
PREFIX=$TIME$IP
tshark -f "udp" -i eth0 -w /root/captures/$PREFIX.cap&
pid=$!
sleep 2m ...
2
votes
1answer
32 views
What are the potential problems with globally setting ulimit to unlimited?
My team recently had an issue with ulimit being set too low on our Apache servers. We talked about increasing the limit to some arbitrary number, but we couldn't think of any reason not to just ...
1
vote
2answers
26 views
removing static route from linux doesn't disconnect session
I want to test "connection retry" with remote application server. For this, I am using route method, wherein I remove static route from my linux server and check if the connectivity goes down or not. ...
1
vote
1answer
38 views
routing internet traffic to a remote host, leaving the local traffic alone
Here's the topology:
gw1 (linux): 10.20.1.1, 192.168.25.3
gw2 (linux): 192.168.25.1, 192.168.26.1
bridge: 10.10.15.2, 192.168.25.2
gw3 (linux): 10.10.10.1, 10.10.15.1
gw4 (ddwrt): 10.20.0.1, ...
0
votes
1answer
22 views
Setup multiple webapps to respond to multiple domains using a single IP
I have two rails webapps, I have configured one webapp to respond to multiple domains. I have done this by making the corresponding server block in nginx as the default.
Now, I want to make even the ...
1
vote
1answer
29 views
Need help upgrading curl on CentOS 6
I have a CentOS 6 server that has curl version 7.19.7. For some reason that doesn't support NTLM authentication. I have found this thread on redhat's site: ...
4
votes
2answers
33 views
Iptables - Block https response only
I'm quite new to Linux and using iptables. Here is what I am trying to accomplish:
I have an ASP.net client that talks with a web service hosted through web-logic on linux. The communication is over ...
2
votes
2answers
63 views
Is it possible to wake a computer connected directly to its NIC?
If two computers are connected by ethernet directly (ie, with no router between them) can one computer wake the other using the magic packet?
I ask because it's not working for me and I'm not getting ...
-4
votes
1answer
35 views
How to get high delivery rate in an e-mail server? [closed]
I need to configure an e-mail server(Postfix/Linux/CentOs) in a VPS, I need to get my e-mail delivered at 95%.
My main question is: Should I use the VPS where I have the website or should I use a new ...
0
votes
1answer
10 views
Linux IPSec Tunnels does not forward IP Packet with ECN bit set to CE (Congestion Experienced)
I have a Linux IPSec Tunnel between a GGSN of a network operator and our data center. The IPSec works fine for all traffic but IP Packets coming from our side and are marked with ECN bit set to 0x3 ...
2
votes
4answers
40 views
Is there a way to log failed file operations in a linux box?
I wonder if there is a log facility in linux that can be enabled to record failed file operations such as a failure in creating a directory due to permissions or in opening a file for writing so that ...
0
votes
2answers
70 views
Mysql Query in Background?
How to insert the data into MYSQL DB in background mode ?
The data contains huge volume about 20 million rows
2
votes
2answers
23 views
How can i make wget download only pages not css images etc?
I want to download an entire website using wget but I don't want wget to download images, videos etc.
I tried
wget -bqre robots=off -A.html example.com –user-agent=”Mozilla/5.0 (Windows; U; Windows ...