Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
-3
votes
0answers
12 views
How to run a X application on windows without the tech stuff like terimal and commandline? [closed]
I want to run a single X application from a linux host on a Windows OS. I want to see only the X application window, no PuTTY cmd or cmd.exe nor cygwin cmd.
I have tried Xming and Cygwin/X, but I ...
0
votes
1answer
8 views
Locking a user's account locally when kerberos is enabled
I'm trying to set up Chef-managed accounts for a group of machines with the following characteristics:
If there is no local account, login is blocked.
If there is a local account with SSH keys, use ...
-1
votes
1answer
9 views
re-route requests on filtered smtp port 25
My VPN filters port 25 (to prevent spam) but my ISP doesn't. The VPN takes over all traffic and changes the default gateway? How can I bypass the VPN to send mail? I want all outgoing traffic except ...
-1
votes
1answer
20 views
Replacing existing SSL cert on RHEL5/Apache2.2.3
My existing SSL cert is about to expire so I need to replace it with the new one. I have been provided a .cer and .key file. How can I smoothly replace the cert with minimal downtime?
1
vote
0answers
13 views
Spacewalk/Satellite Server - spacewalk-create-channel
I have a Spacewalk installation and I have mirrored the RHEL6 base repo on my server using mrepo.
I created a channel using
spacewalk-create-channel --user=me --server=localhost --version=6 \
...
-1
votes
4answers
45 views
Transfer a huge directory between servers (one of them has no ssh)
So we switched from some crappy shared hosting provider to a dedicated server and I'm trying to transfer a 250+ GB directory from the old crappy server (which I don't have ssh access to), to the new ...
-1
votes
0answers
12 views
How to set up Tiered Chroot jails?
So here's what is going on. I have a system I want to set up SFTP jails on. Simple enough, I got it done easily. The issue I am running into now is that I want to be able to have a user SFTP jailed to ...
0
votes
3answers
57 views
LVM thin provisioning
I am looking to create a group of thin provisioned LVs using LVM.
Is it possible to create a volume group in which every logical volume created is by default thin provisioned, or perhaps there is ...
1
vote
1answer
41 views
Installing RHEL on a single disk with ZFS
I know ZFS is usually used for numerous reasons including it's amazing mirroring features. However in this instance the machine I've been tasked with setting up has a RAID-1 setup so I only have one ...
2
votes
0answers
35 views
Linux bridge static IP using only one NIC
It seems like I have a generic problem, but can't find any solution - every solution that I found so far on internets doesn't work for me. Let me first try to explain what I am trying to do - I have a ...
1
vote
1answer
40 views
Why does md resync cause no iowait?
I've known the defintion of %iowait as
Time the CPU spent idling/blocking, because it had to wait on an IO operation to complete.
Now take a simple Linux system with an mdraid1 and two disks.
...
0
votes
0answers
14 views
GParted to resize paritions on Linux [migrated]
I'm using GParted to resize my partitions on Linux. There is about 5GB of unallocated space following the partition sda5. However, when i right click on sda5 and select 'resize/move', it doesn't show ...
0
votes
0answers
48 views
Can I setup DNS on new server and “flip the switch” later?
I would like to know if setting up DNS/BIND on a new server will mess up my old server. Here is my situation:
example.com
- Main server used for hosting
- Domain registrar currently points to ...
0
votes
1answer
40 views
How to remember a mount point
I am using Red Hat Enterprise 6.3 and I have just mounted a new volume in one folder of my preference.
After reboot that mount point was lost and the volume was mounted at his original place.
In ...
-2
votes
1answer
43 views
How to bind two ip to one domain name for failover solution in Linux (Bind) or Windows server 2008 DNS
How to bind two ip to one domain name for fail over solution in Linux (Bind) or Windows server 2008 DNS ?
0
votes
1answer
38 views
SCP transfer only modified files
I'm using below command to transfer files cross server
scp -rc blowfish /source/directory/* username@domain.net:/destination/directory
Is there a way to transfer only files modified files just like ...
-2
votes
3answers
48 views
Redirect Outbound HTTP to port 53 iptables [closed]
I am new to iptables and would like to reroute all outbound HTTP traffic on my router from port 80 to port 53. Is this possible?
Thanks in advance for any help.
Eric
*Edit
I ran
iptables -t nat ...
0
votes
0answers
14 views
Samba - Logging domain logon and share access?
I'm running SAMBA as file server and PDC in a small network.
3 of the machines are old WinXP machines that use roaming profiles for domain logon. They also automatically connect to their home ...
0
votes
0answers
12 views
ActiveMQ “Started” but No 61616 Port Usage
I installed activemq via apt-get install. Its output say that it's running...
$ sudo activemq restart
INFO: Loading '/usr/share/activemq/activemq-options'
INFO: Using java '/usr/bin/java'
INFO: ...
0
votes
0answers
13 views
Configure Metro on Tomcat 7
I am trying to start a webapplication (Oxalis) that depends on Metro for it's functionality. As far as I can tell the installation of Metro was successful and I can deploy the WAR file via Tomcat ...
0
votes
0answers
20 views
How to disable login into cpanel from doaminname.com:2082?
i am using WHM and cPanel on website
when i goto mywebsite.com:2082 in browser address bar it shows the cpanel window
and mywebsite.com:2087 it shows the WHM login window.
is there any way to ...
2
votes
2answers
22 views
Archetypical user setup for capistrano to tomcat deployment on Linux box
I'm relatively new to the CD and DevOps topics and I am trying to setup automatic deployments with capistrano, which works well on my local add hoc test environment. I wonder however how one would ...
1
vote
0answers
14 views
Installed fonts not available for wish on lubuntu 12.04
We use several lubuntu's in our lab where we control machines using wish. Now the standard lubuntu installation has no xterm-scalable fonts installed. I've installed also the msfonts and the ...
0
votes
1answer
14 views
Bind a Java process to a virtual interface
I'm trying to bind a java process to a specific virtual interface having IP address <myIFaddr> as follows:
export BIND_ADDR=<myIFaddr> LD_PRELOAD=./bind.so
exec java -jar ppp.jar
The ...
0
votes
1answer
18 views
Expose VPN connection on network
I connect to my work network from my home desktop through a VPN connection.
What I am trying to achieve is expose this connection on to my mobile (Android) which connects to internet through 3G ...
-1
votes
1answer
17 views
mysqldbcopy command not found
I'm getting -bash: mysqldbcopy: command not found error even after sudo su-.
My MySQL version is mysql Ver 14.14 Distrib 5.5.25, for Linux (x86_64) using readline 5.1
Do I need to install MySQL ...
0
votes
0answers
27 views
--utc option is not working in iptables
I am using iptables v1.4.7/8.
I used the following command
iptables -A INPUT -s 10.0.4.247 -m time --utc --datestart 2013-5-23T7 --datestop 2013-5-23T9 -j DROP
my utc time
date -u
Thu May 23 ...
0
votes
1answer
29 views
Providing a HTTP proxy for users in another continent
I have a server located in Europe but our customer-base in South America is growing a lot.
I soon realized that many ISPs in South America have random international routing issues. Meaning that our ...
0
votes
0answers
20 views
How does changes in /etc/pam.d/common-session-noninteractive affect fail2ban and possibly other programs/services?
Fail2Ban on Ubuntu 10.04
Configuration files
/etc/fail2ban/jail.local
[DEFAULT]
ignoreip = 127.0.0.1
bantime = 10 # made for test purposes
maxretry = 3
backend = polling
destemail = ...
-1
votes
0answers
35 views
How to listen ctrl+s system call in linux? [closed]
I have one excel file and I want to listen any changes made in it. When ever any changes take place and user place ctrl+s button, changes should be recorded to some log file with timestamp.
I tried ...
0
votes
2answers
26 views
How to forbid non-UTF-8 filenames?
Is it possible to enforce, at filesystem level, that all created file entries will have valid UTF-8 names? I am using Btrfs.
0
votes
0answers
10 views
Cmd line options with moab's ACCOUNTINGINTERFACEURL?
I'm changing moab.cfg to execute a script on new moab events like so:
ACCOUNTINGINTERFACEURL exec:////usr/bin/my-script.sh --host myhost --port myport
but my host and port values aren't being ...
1
vote
2answers
45 views
Why does grepping ps [p]rocess_name exclude grep from the results
A cool trick that saves you from having to use grep -v when grepping ps output (yes I know pgrep exists) is to put the first letter of the process into a character class like ps -ef |grep [s]vn. This ...
-3
votes
0answers
16 views
sed command to leave two decimals and remove the rest after comma [migrated]
I have a numeric value, for example 19.3478 or 22.456 or 10. I would like to remove extra decimals if there are more than two decimals, so that there is never more than two decimals after the comma. ...
0
votes
2answers
27 views
RSync files or Map Network Drive in Windows Server?
I have to create a backup plan, from my machine .155 to .156.
In .155 my files are in C:/MySQLServer/backup and should be copied daily to .156 at I:/MySQLServer/backup, so I was looking over the ...
0
votes
0answers
15 views
schroot auto-mounting doesnt works?
I've been reading about schroot and trying to understand the parts in various tutorials that mention about auto mounting. For example check the section (and the parts after it) "Basic schroot ...
-1
votes
0answers
8 views
Execute command with Jailkit
So I created a jail at /opt/jail using http://olivier.sessink.nl/jailkit/ - how can I execute a command inside the jail now and get the output as I can do with chroot ?
The simplest command I'd like ...
-3
votes
0answers
79 views
Do you still googling Linux log messages? [closed]
I am intermediate Linux user which has basic knowledge of programming (c, perl, js ...) and some system troubleshooting (strace, SystemTap, lsof ...) and I am tired of Googling the messages which ...
31
votes
4answers
1k views
Why is tampering with the TTL of IP dangerous?
I've been reading the iptables man-page (light bedtime reading) and i came across the 'TTL' target, but it warns:
Setting or incrementing the TTL field can potentially be very dangerous
and
...
2
votes
1answer
41 views
Analysing incoming TCP packet discards on GNU/Linux
I use Ubntu 12.04 Server as a gateway/router. The server has two NetXtreme BCM5721 Gigabit Ethernet PCI Express cards for LAN and WAN interfaces. Opennms monitoring software shows incoming packet ...
6
votes
6answers
179 views
Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?
Long story short: Big old corporation, lots of UNIX/Linux servers.
I inherited responsibility for a bunch of scripts that that left a few years ago. One of them was a script that would be run every ...
0
votes
1answer
24 views
Fastest way to clone KVM VMs to be run simultaneously (create a branch VM)
IF I need to have concurrently running versions of a Windows VM (using KVM 0.10.2 on CentOS), each one configured differently ( a snapshot that will then branch off unto its own VM) what is the best, ...
0
votes
0answers
33 views
BASH: launch background process and check when it ends [migrated]
How can I launch a process in background and check when it ends within a bash script?
My idea is a script like this:
launch backgroundprocess &
while [ Process is running ];do
echo "PROCESS ...
1
vote
1answer
25 views
Creating a fallback error page for nginx when root directory does not exist
I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
0
votes
1answer
17 views
Linux DNS server change
We are having linux system in our organisation having 700 systems . I need to change the DNS server of every other system. I cant go and change the DNS in each and every system so i need a script, so ...
0
votes
1answer
30 views
dpkg: error processing linux-image-amd64
After running
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install -f
dpkg --configure -a
I get the following Error:
dpkg --configure -a
Setting up initramfs-tools (0.112) ...
0
votes
0answers
21 views
Tomcat on Linux - won't close socket
When I keep sending http requests to my webserver, it stops responding and I'm stuck in a white screen saying, 'waiting for xxx'. It goes unresponsive.
This only happens on Linux.
Also I don't see ...
0
votes
0answers
23 views
RHEL 6 - how to mount a USB disk after umount it and make it appear in Desktop?
We have implemented a solution to use a USB disk before the system mount it.
To do that we have a rule 89-mount_usb in /etc/udev/rules.d that calls a script (mountUSB.sh).
This script send a message ...
-2
votes
2answers
33 views
Centos RAID1 installation
I have installed Centos 6.2 with RAID1 support, after installation I have checked RAID1 by removing one by one Hard disk, Os booted and worked.
So after I created new users, installed LAMP, ftp and ...
0
votes
0answers
37 views
Lighttpd & Scientific Linux
Not sure if this is the best place to ask a general question ... (please feel free to delete it if it's not appropriate for this forum. or let me know if there's a more appropriate forum, thanks)
At ...


