Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
0
votes
1answer
15 views
Network request intercept preventing local connections
I'm experiencing a really weird issue on my Ubuntu 10.04 web server where something appears to be intercepting my network requests. Most importantly it's preventing me from performing local ...
-1
votes
0answers
16 views
interface loses IP address after starting OpenVPN connection [closed]
I have a raspberry pi with working wifi, and now I want to connect to a OpenVPN server with it. However, something strange happens: After establishing the connection, my wifi interface loses it's ip ...
-2
votes
1answer
37 views
editing files on remote server with Vi not recognised when I refresh my browser
My server is running on Apache Linux. I'm very new to this area. Is there a default folder where the website files are stored? I mean I thought I had it - the first one in the list below, but it ...
0
votes
2answers
15 views
Nginx yum update checksum error on CentOS5 for CentOS6 package
I'm getting checksum error when doing Yum update due to Yum looking for Nginx package from CentOS 6 repo (I'm using Centos 5.6).
Below is the error:
...
0
votes
3answers
42 views
Security best practice when running process as non-root user
So I'm trying to run Supervisor (http://supervisord.org/) as a non-root user. However the process outputs logs to the /var/log directory which is owned by root and has 755 permissions. Therefore ...
0
votes
0answers
13 views
OpenSuse MySQL server not releasing file handles; receiving too many open files error
I'm running into an issue where a MySQL server has too many open files. Unfortunately I'm not a sys admin or dba, but I have responsibility to keep this server running. I'm looking for suggestions as ...
0
votes
1answer
13 views
Tomcat7 Crashed and can not restart
My Tomcat7 crashed suddenly and
sudo service tomcat7 status
ends up with the following error message.
tomcat7 dead but subsys locked.
And
sudo serice tomacat7 restart fails with the ...
0
votes
0answers
8 views
How to add domail alias in iRedMail open source edition?
Looking at the vmail database of the iRedMail installation I see an alias_domain table which is currently empty.
Is it possible to add domain aliases with a MySQL query directly on the ...
0
votes
1answer
47 views
Allow either password or private key SSH authentication
I set the lines PasswordAuthentication yes and PubkeyAuthentication yes in /etc/ssh/sshd_config. I also disabled root login for security purposes. I can now SSH with a user's password without ...
4
votes
1answer
34 views
Strongswan vpn tunnel connected but the traffic is not routed through it
I have just set up a vpn tunnel site-to-site with strongswan (4.5). The tunnel looks fine and connected to the other side, but seems there is a problem routing traffic through the tunnel.
Any idea?
...
1
vote
2answers
61 views
How to prioritize SSH to work in the event of high CPU load
I'm encountering a weird problem where a Fedora Linux VPS server reports 100% CPU, and effectively becomes unusable, but I don't know why because the high load prevents me from SSHing into it to see ...
0
votes
0answers
17 views
How continue sync with S3CMD after broken connection?
I'm using s3cmd to backup some logs into Amazon S3 buckets. Which is a great tool.
But I notice that, very often, my sync's are broken, they just cancel and try to upload again, until they can upload ...
1
vote
0answers
33 views
Can you think of a way to stop the generation of a core file WHILE it is happening? [migrated]
I was just wondering if you can think of a clever way to stop the creation of a core file while it is being produced.
I understand that there are several way to disable the creation like setting ...
0
votes
0answers
22 views
Which tasks/commands can't be executed with user gid=0 but not uid=0 on Linux [migrated]
In a Linux server I will have an user with gid=0 but it's uid won't be 0. As there are many commands with root:root and execute permissions for group I know there will be a lot of administrative task ...
-3
votes
0answers
19 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
2answers
24 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
43 views
re-route requests on filtered smtp port 25 [closed]
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
23 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
16 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
53 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
13 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
70 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
55 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
1answer
64 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
44 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
51 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
45 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
44 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
42 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
49 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
16 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
26 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
20 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
18 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
37 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
37 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
11 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
47 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
29 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 ...

