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
0 votes
3 answers
128 views

Need Apache/Tomcat help

Ok, so in an effort to keep things running smoothly, this weekend our company restarted the Linux server our Internet site was running on. Come Monday morning, we can't get to the site. I can ping ...
user avatar
0 votes
3 answers
155 views

Hot linking images

Not sure if this is the right stackexchange site to post this question, but I wanted to know if it is possible to get a list of all websites which are hot linking to images on my website, and how to ...
oshirowanen's user avatar
0 votes
3 answers
760 views

Queue based shell in linux?

I would like to control users programs execution based on server load. Each user uses bash. Are there way to make a some kind of queue where execution for the commands from command line will be pended ...
Arman's user avatar
  • 595
0 votes
3 answers
1k views

Connecting Linux system to switch from 2 interfaces

To get proper redundancy, we've installed 2 switches in our network and connected them to eachother. We now want to hook our servers to both switches. Since all servers have 2 ethernet ports, this ...
user avatar
0 votes
3 answers
6k views

Linux server stopped responding

One of our RedHat Linux server simply stopped responding for a few minutes. For that period of a few minutes there is absolutely no entry in the log files (under /var/log/ - messages etc) or ...
souser's user avatar
  • 197
0 votes
4 answers
2k views

Can you recommend a good GUI (X, Java, web-based, or curses-like console) for syslog and other Linux logs?

I am looking for a convenient tool to view and manage my Linux (Debian, postfix, dovecot, iptables, etc) server logs. Would you, please, share your choice and experience?
Ivan's user avatar
  • 3,398
0 votes
3 answers
596 views

Is this hacking attempt?

on command netstat -na, between others, i'm getting next line: tcp 0 0 XXX.XXX.XXX.XXX:48746 YYY.YYY.YYY.YYY:80 TIME_WAIT is this some kind of hacking attempt? can you give ...
user48058's user avatar
  • 863
0 votes
3 answers
6k views

Remote logging with Syslogd, can I change the hostname?

I am running ddwrt v24-sp2 on three WRT54GL routers. These routers all send their syslog information to the same remote server using syslogd The problem is that in the logs the hostname will change ...
Chris Disbro's user avatar
0 votes
3 answers
3k views

How do you block /etc/passwd file

How do I block the /etc/passwd file for all users except for root?
user avatar
0 votes
2 answers
846 views

Why doesn't this cron work?

I do "crontab -e" and add the following line: 0 9 * * * /usr/bin/python /home/g1/g1/utils/statsEmail.py > /home/g1/log/statsemail.log But it doesn't work! Why? The script itself ...
Alex's user avatar
  • 8,591
0 votes
3 answers
139 views

What could I leave running on a linux server locally when all access is remote?

I'va remote linux debian server that 99.9% of the time I access via ssh remotely. However I was aware that the local terminal is sitting there with a logon prompt. Is there anything I could change ...
ianfuture's user avatar
  • 121
0 votes
1 answer
690 views

Creating a filesystem on a file in linux for software development purposes

This question originally start at Superuser.com https://superuser.com/questions/130032/available-filesystems-for-linux-that-are-case-insensitive Summary: My client has a PHP web application that ...
David's user avatar
  • 419
0 votes
5 answers
8k views

Syntax error near unexpected token 'fi'

I have created a very simple script (see below) but cannot get it to run properly. I always get messages saying line 5: syntax error near unexpected token 'fi' line 5: 'fi' when I try to execute ...
user avatar
0 votes
1 answer
173 views

Where is the "right" place to copy applications and scripts so they are accessible to every user on ubuntu?

I'm configuring a build machine using Ubuntu 9.10 Desktop as the platform. The first user and of course admin is "developer", and then I created lots of user accounts so people could access shares ...
Michael Prescott's user avatar
0 votes
2 answers
284 views

DNSBL Server - Linux Distribution Recommendations? [closed]

I'm preparing to build a publicly accessible DNSBL server. Which Linux distribution would you recommend for something like this? I'm mainly interested in: General security Stability Resource ...
Mike B's user avatar
  • 12k
0 votes
2 answers
7k views

Is there a way to get a list of computers on a linux only network?

On windows networks, I'm used to browse my workgroup using "view workgroup computers". Now I'm on a linux only network. I now I can use samba and just do the same, but is there a way to achieve the ...
user avatar
0 votes
5 answers
1k views

how to locate linux machine by hostname not ip address

I just got a SheevaPlug and installed subversion on it. It gets its IP address using DHCP so it can change from time to time. I would like to be able to connect (from Windows XP and Windows 7 machines)...
KPexEA's user avatar
  • 111
0 votes
4 answers
320 views

Linux Directory Server with existing local accounts

I've got about 50 servers running a mix of RHEL and CentOS, and they all use local authentication. We are about to get these finally under a single unit's control, and we have a slew of local ...
Chad P's user avatar
  • 1,540
0 votes
2 answers
220 views

Can I copy id_dsa keys?

I generated id_dsa key (ssh key) for my client, and then copied them over to authorized_keys. And it works. Is it possible to copy these Keys to another user account, so I don't have to re-create ...
Alex's user avatar
  • 8,591
0 votes
2 answers
388 views

sed on not-owned file

is it possible, to change a file in /etc with sed -i that I am not the owner of? However, I do have write permissions to that file. Or as an alternative, how do I change a line in a file in /etc ...
Mo.'s user avatar
  • 103
0 votes
3 answers
244 views

Should I switch my server to Ubuntu Server from Windows Server 2003

I have a server thats primarily used for SRCDS, I host a few Team Fortress 2 servers on it and I would much prefer a ssh-like (more so the no-gui part) for something like this, mostly because I can't ...
user avatar
0 votes
2 answers
170 views

copying a file 2 connections away?

I dislike calling scp twice. I need to connect to box1 via ssh the again to boxNAME. How do i copy a file from boxNAME to my local drive? also how do i copy a file from my local drive back to boxNAME?...
user avatar
0 votes
4 answers
345 views

Hard drive reliability when constantly handling lots of reads/writes/deletes

In addition to storing lots of photos, my web application has the need to constantly read, write, and delete a lot of temporary files which it uses for various functionality. Some of these temp files ...
Brian's user avatar
  • 137
0 votes
8 answers
10k views

Best commands to use to find out the total CPU and memory usage of a Linux machine in the following situation

These are pretty much questions from a newbie. (I have looked at the other related questions and answers, but none seemed to be exactly answering my own original questions.) I need to remotely ...
His's user avatar
  • 249
0 votes
5 answers
253 views

Best hardware (MB/graphic) for Linux

I am planning to build a new computer on which I will run Ubuntu Linux. Now, which motherboard and which graphic card has the best support for Linux? I have a NVidia MB which you can get to work in ...
leiflundgren's user avatar
0 votes
7 answers
6k views

Configure Wi-Fi adapters in Linux [closed]

Linux distributions these days come with NetworkManager to allow a user to configure a WiFi network adapter. However I can't seem to figure out how to configure a system-wide network adapter. There ...
Mr. Shiny and New 安宇's user avatar
0 votes
1 answer
447 views

Any security reason not to use `root` user for git remote operations?

I've got some configs (docker-compose related files) which I like to store them via git on a private github repo. The configs are owned by root. Is there any reason to change the ownership of the ...
Parsa Noori's user avatar
0 votes
1 answer
416 views

DKIM Record Not Working

I was setup SPF, DKIM and DMARC Record for my mail server, SPF and DMARC Record are working normally now, But i got a problem for my DKIM Record, When i do: dig default._domainkey.example.com txt The ...
user649109's user avatar
0 votes
3 answers
5k views

Why GCP overrides my /etc/resolv.conf file and how to avoid it?

On Google Cloud Platform /etc/resolv.conf file being overridden every time I do sudo systemctl restart NetworkManager.service or I restart the machine. Is there a "correct" way to avoid it? ...
Boppity Bop's user avatar
0 votes
2 answers
291 views

Why use ufw if the ports are closed by default

My question is why use a firewall like ufw if most of the ports are closed by default and the open ones are mean to be accessed.
Algo7's user avatar
  • 297
0 votes
3 answers
339 views

What determines the user a services started

I thought, that the service files under /lib/systemd/system/ determine as what user a service is started. But apparently that's not (always) the case. Here's an example: ~# ps faux ... whoopsie 1445 ...
geets's user avatar
  • 35
0 votes
2 answers
2k views

How do I cut just the file name from from ls -l output? [closed]

I am in the process of concatenating ogg audio files in bulk with the help of ffmpeg using a mylist.txt file The format of the mylist.txt file is file '/path/to/file1.wav' file '/path/to/file2.wav' ...
Siju George's user avatar
0 votes
3 answers
143 views

In linux, Can a filesystem get full even though the volume is not full? [closed]

In linux, Can a filesystem get full even though the volume is not full, how do we differentiate filesystem and volume in terms of storage space ?
user3049437's user avatar
0 votes
1 answer
437 views

Use shell if defined in LDAP, otherwise default

How should /etc/sssd/sssd.conf file be configured to use the shell defined in LDAP and the default one if the variable is not defined in LDAP?
Daniel Argüelles's user avatar
0 votes
2 answers
210 views

One domain for multiple Linux Servers

I apologize in advance if the question I'll be asking is basic or anything but I am quite a newbie on this topic. I have a main domain example.com which is used for the apache web server. Now I have ...
BiciAP's user avatar
  • 3
0 votes
3 answers
813 views

Is there a way to find hidden options and arguments on for a command / package that isnt documented?

On Linux if I install a new package and it contains commands I haven't used before, is there a way to find hidden options and args that are not documented in the MAN page or with the --help option. ...
Matt B's user avatar
  • 99
0 votes
3 answers
2k views

Is it safe to stop a Jboss EAP server with Kill -9?

We are having an internal debate about this. Running jboss eap 7 on RHEL. We currently have a script to stop the server by simply running kill -9 on the java process. My suggestion was to use the ...
OldProgrammer's user avatar
0 votes
1 answer
886 views

How to guarantee CPU time for VPS?

I offered VPS and with virgin Debian it often hangs: simple ssh command responds too long. It is bad :( I made benchmark for it: every 2 minutes it starts ffmpeg to convert 30 seconds low quality ...
Евгений Новиков's user avatar
0 votes
3 answers
800 views

why must I use sometimes screen -rx and not screen -r?

Sometimes to get access to screen console I need to user screen -rx and not just screen -r. Any idea why and why this happens ?
yarek's user avatar
  • 847
0 votes
3 answers
3k views

zfs remove device from pool

Before you read the title and roll your eyes, I've already read all of the various answers, posts, and articles that say you can't shrink a pool once you've made it. However, I saw this post which ...
Ross Tajvar's user avatar
0 votes
1 answer
2k views

Linux configuration of net.ipv4.tcp_rmem

I'm trying to create a script with this command: sysctl -w net.ipv4.tcp_rmem=65536 87380 16777216 However, I get this error: net.ipv4.tcp_wmem = 65536 error: "65536" must be of the ...
user167707's user avatar
0 votes
1 answer
655 views

How I can parse email to get original recipient of an email? [closed]

I had email source with me and want parse original recipient of email. Lets say "[email protected]" is receiving a email, but in "To" list [email protected], [email protected] & [email protected] ...
Pravin's user avatar
  • 121
0 votes
2 answers
1k views

How can I redirect logfile output to a network socket?

I am using a commercial Java app which writes it's logfiles using log4j. I'd like to get those logfile entries into Syslog where we have specific filters setup to trigger on system events. Log4j ...
Server Fault's user avatar
  • 3,784
0 votes
1 answer
986 views

Why is my shell command not working?

I have a shell script that I'm working on that uses pssh to get the user id of a user on a remote server: for USER in $(cat users.txt); do runuser -l mike -c 'pssh -H server.mike.com -o /home/...
Mike's user avatar
  • 321
0 votes
1 answer
2k views

How to increase inodes limit in ReiserFS filesystem?

Is it possible to increase inode limit in ReiserFS without formatting the partition? Currently, the filesystem on my VPS allows me to create 489K inodes, which is not enough. The machine works as ...
lkrzysiak's user avatar
0 votes
1 answer
163 views

Local "incoming" dir

I need to create a directory on a Linux server where users can "submit" files, similar to the incoming directory on an ftp server. (Where they would not be viewable after submission.) Specifically, ...
Joe Fruchey's user avatar
0 votes
1 answer
3k views

How to set UTF-8 charset in exim4?

Using Ubuntu server 14.04 how to set UTF-8 CHARSET? It's using now ANSI by default so i can't see cyrillic letters. I am using non-split config mode, so i have 2 files in /etc/exim4: /etc/exim4/...
Alexander Kim's user avatar
0 votes
2 answers
4k views

Cannot resolve host as non-root user

I recently setup a VPS server running Centos 6.5 together with Web Host Manager. My current problem is that I can't resolve hostname either by nslookup or ping on the command line. But when I login ...
Elitmiar's user avatar
  • 785
0 votes
2 answers
307 views

Is there a way to allow acess to an specific device that is out of my network? [closed]

I’m trying to allow my mobile device to connect from everywhere, Wi-Fi or not to an specific port of my Linux server which is running a webmin service. I’m using iptables to set some rules to which ...
AmirG's user avatar
  • 103
0 votes
2 answers
373 views

Linux Distributions for Limited Bandwidth [closed]

I was recently in a situation where I had limited bandwidth (20GB per month) so I was wondering what Linux distributions (desktop or server) have low bandwidth requirements as far as updates are ...
Benjamin Bryan's user avatar

1
482 483
484
485 486
772