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
0answers
5 views

Apache2 fails to find a newly created page

I've just installed an apache server on Ubuntu, everything went well and I can access the starting page. However, I want to create another page which is located in /var/www/test. I want to be able to ...
0
votes
1answer
27 views

After adding user to a group, can't tell if I'm in it or not?

I added a group called developers sudo groupadd developers then added myself to that group $ sudo usermod -a -G developers nick.weavers Then I issued the command groups to check I'd been added, ...
0
votes
0answers
8 views

Logging windows authentication credentials in public Samba share

I have a very basic SMB share set up on a Debian machine, living in a largely windows workgroup. I very deliberately have not set authentication up on the share, but I am interested in capturing who ...
0
votes
0answers
9 views

SonarQube 7.1 - Debian installation- connection refused

I'm having trouble with first run of a SonarQube 7.1. I still have an error in logs as below: ./sonar.sh console org.elasticsearch.transport.ConnectTransportException: [][127.0.0.1:9001] ...
1
vote
2answers
36 views

Routing tun0 traffic through tun1 (double-hop VPN)

Goal: route all internet traffic from eth0 -> tun0 -> tun1 for double-hop VPN. Is the following routing table correct for that goal? $ ip route show: 0.0.0.0/1 via 10.8.1.1 dev tun1 default via 10....
0
votes
0answers
21 views

VSFTP specific user should have access to specific directory in centos 6.8

I have configured group and user like bellow , and now when user login through winSCP or filezilla they can go to back and can see another directory as well .i just want to this user should have ...
0
votes
1answer
21 views

compiling open-iscsi, __without__ systemd

Hello @helping people, i try to compile open-scsi on K4.9.207 but this system has no systemd. OK for me. I got this: wget https://github.com/open-iscsi/open-iscsi/archive/2.1.0.tar.gz and wget ...
0
votes
0answers
14 views

Is `nginx -s` the same as `service nginx`?

I noticed that many of the commands like nginx -s reload and nginx -s stop seem to be (almost?) the same as service nginx reload and service nginx stop. Are those "prefixes" actually interchangable? ...
0
votes
0answers
40 views

I recovered my RSA key, but I'm locked out of my webserver

So when I built my unmanaged webserver for my portfolio site jasonwarner.dev I had initially locked it down by disabling any login and the root account, completely because I was getting notifications ...
0
votes
0answers
28 views

What does this bind error mean?

Background I'm trying to setup a recursive DNSSec Server, with the dnssec-lookaside option. Following this guide. Error Message root@dnssec:/home/jose# systemctl status bind9 ● bind9.service - BIND ...
0
votes
1answer
17 views

Shell starts in edit only mode. No prompt shows up, no commands can be executed

My tcsh shows up in a weird manner. Be it as a login shell or in terminal, now it always starts with just a cursor. I can type a text in terminal but that's all about what I can do. No prompt does ...
0
votes
0answers
13 views

Ubuntu18.04 Server crashed after installing nvidia-driver-435

I installed nvidia-driver-435 on an Ubuntu 18.04 server with 8 pieces of 1080ti(using my own notebook win10 by MobaXterm)(without uninstall the old version(I am not sure if there is one) During the ...
1
vote
2answers
60 views

Running two web applications on Apache 2.4

I am trying to run two applications on my Linux apache server: OpenProject pgAdmin (which is WSGI application) And, in order to connect them from remote computer, I use those httpd configuration ...
0
votes
1answer
32 views

Cannot get Sendmail to work on Ubuntu 18.04.3 (LTS) x64 on DigitalOcean Droplet

I have taken these steps (gathered from numerous posts in this forum and others) to install and configure SendMail on my DigitalOcean droplet, running Ubuntu 18.04.3 (LTS) x64, but I have been unable ...
0
votes
0answers
17 views

Finding a system vulnerable to dirtycow

I'm not sure where to turn, so I turned to this forum. Please don't downvote me for nothing, I'm just trying to ask a question. Hello! So, I've been trying to find a system vulnerable to dirtycow and ...
0
votes
0answers
16 views

Inspecting only 5 bits with iptables u32

I am trying to use iptables's u32 module to match the 5 highest bits of the first byte of a UDP packet payload, but it does not match everything. iptables -A INPUT -p udp -m u32 --u32 "0>>22&...
0
votes
0answers
15 views

What is the best way to stream 24/7 content from a server, which can be exported as an m3u file?

I have 24 Lectures for my students, and I teach online to many people. I am trying to setup a server with IPTV software, so they can view the lectures going 24/7 and have VOD for other content related ...
0
votes
0answers
10 views

How to determine how much internet bandwidth my cloud server needs? [duplicate]

I want to rent a server to collect data from a websocket over the internet. I want to do it in a way so that it doesn't get bottlenecked by internet bandwidth even when it's busy. I have the option ...
0
votes
0answers
46 views

How to increase speed or increase server bandwidth using multiple ethernet ports? [closed]

My server has NIC: Quad 1GB Ethernet via Onboard ethernet ports (4x 1GBE). Basically my intent is to maximize the utilization of these 4 1GB ethernet ports. I learned that "link aggregation" is what ...
0
votes
0answers
17 views

Restrict access to folders within an NFS share with a Kerberos ticket?

We want to export users' home directories using one NFS share but, obviously, we don't want to allow users to be able to access other users homedirs. So say we have user a, and the NFS shared ...
0
votes
0answers
23 views

apache website not coming with servers private address

I have installed apache webserver on rhel ec2 instance When I do curl 127.0.0.1 , I can see the default page When I do curl ipv4 address, the webpage is not coming up. Anything I can check on this?
0
votes
0answers
15 views

Mysql docker on centos not working

I use centos as server and I use docker-compose like: mysql: build: ./DockerFiles/Mysql ports: - ${LOCAL_PHP_IP}:${MYSQL_PORT}:3306 privileged: true environment: ...
0
votes
0answers
12 views

Nagios Core4.4.3 snmptrap

I followed the instructions at the link: Snmptrap-config-ling To configure Nagios Core 4.4.3 with snmptrap for a Sonicwall, and a Netapp, it works perfectly but I have a problem / error with: When I ...
0
votes
0answers
6 views

Trying to access apache website from another windows instance

I have linux server(ec2) which is running apache webserver (httpd) I can login to linux server using Bastion server and ssh keys I have setup the configuration so that I can tunnel through bastion ...
1
vote
1answer
30 views

User SSH into folder but can nano into any upper folder?

I did useradd -s /bin/rbash -d /var/www/html/directory USRNAME and on ssh login with USRNAME (including ssh key), it goes to directory and cd doesnt go back. So that works... but if they use nano /...
0
votes
1answer
27 views

How do I extend a RAID1 array (PERC H330) with perccli?

I have RAID1. 1st of disks failed, I've replaced it and made it RAID comaptible. How can I add it to degraded RAID? I have access to OS (Ubuntu Server 18.04) with perccli installed. Here some helpful ...
0
votes
2answers
23 views

Pass variable to Linux 'awk'

How can I pass a previously defined variable to awk in bash? For example, hostname="server1" cat /etc/passwd | awk -F":" '{print $1 " of $hostname"} And the expected output is root of server1 sys ...
-2
votes
0answers
161 views

Is it okay to clear Linux memory cache in production? [closed]

We have 6 production app servers load balanced and lately, we've been receiving memory alerts about Memory and Swap almost 100%. When I check using free -m, I see free memory of 237m out of 23947m and ...
0
votes
0answers
12 views

Troubleshooting “traps: proces_name[pid] general protection” memory issue on Linux

I'm trying to troubleshoot a memory issue on one of my servers. Some time ago a daemon my company is developing crashed with segmentation errors. All would be somewhat fine, but seconds later other ...
0
votes
3answers
101 views

how to disable ./watchbog process [duplicate]

./watchbog is using up 198% of my cpu processor and mem 52%. Solar is the user. I tried stopping solar service but of no use. Watchbog is still running and using up as much space.
0
votes
0answers
16 views

kafka + Enabling High Performance Data Transfers

when we look on kafka best practice we see the following details: Max socket buffer size , can be increased to enable high-performance data transfer. More details are here http://www.psc.edu/index....
0
votes
0answers
24 views

How to troubleshoot internet down every day?

Every day the server is unreachable and I need to unplug and replug it in. I cannot ping it and all web services are down. After a reboot the internet is back on again. There are no cronjobs fail2ban ...
0
votes
1answer
61 views

Linux PAM authentication without asking for username and password

Is it possible to authenticate user without asking him to provide username/password and using only "second factor", i.e USB drive or fingerprint device? The idea is that I just want to insert the ...
0
votes
1answer
24 views

Recreate a bind to a unix socket with bound file removed

I've been confronted with a specific situation recently, searching through the internet and linux specs did not give a definitive answer. Well, I believe it's not possible but maybe you know the way. ...
0
votes
0answers
12 views

How do I create a new module (Modules package)?

I need to create a new module that can be loaded and used on a computer cluster. Unfortunately the help functionality of the module command seems to be broken as I cannot get any help for module add. ...
0
votes
0answers
6 views

Issue with Apache Workers and Cloudflare

I am running an Apache Server with this config: 64GB RAM, 4x480GB SSD, Dual 12 cores @ 2.1 GHz Apache settings keepalivetimeout: 5 loglevel: warn maxclients: 2000 serverlimit: 2000 ...
0
votes
2answers
50 views

Can I limit data transfer within timeframe per IP address?

I'm hosting some relatively large files on my website, and it struck me that it would be trivial for someone to create a script that keeps downloading them over and over again, chewing through my data ...
0
votes
0answers
35 views

How to blacklist a kernel module in the Armstrong linux distro?

I need to blacklist some modules. Following a recommendation online, I added the file /etc/modprobe.d/blacklist.conf with the line "blacklist {my-driver-name}". This didn't work, and the system boots ...
1
vote
1answer
15 views

Possible to extend /DEV/SDB1 on Centos machine without downtime/data loss?

on CentOS6 I would like to extend /dev/sdb1 to get more free space: df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_www-lv_root 18G 2.9G 14G 18% ...
0
votes
1answer
38 views

rsyslog over RELP fails on Ubuntu 18.04

On Ubuntu 18.04 and rsyslogd 8.32 logs are sent correctly over tcp without RELP with the next configuration: Server [192.168.1.201] (/etc/rsyslog.conf): module(load="imuxsock") # provides support ...
0
votes
0answers
26 views

Authentication required error sending email using postfix on ubuntu

I am new to this and have succeeded in setting up postfix which forward emails to my gmail account. Below is my /etc/postfix/main.cf file # See /usr/share/postfix/main.cf.dist for a commented, more ...
0
votes
0answers
8 views

SolusVM Xen Backup Speed

I need an advice about the speed of VM backups done by SolusVM. We are running a few VMs in Australia with BinaryLane.com. They are running KVM (not SolusVM). The time to backup a 50GB full VM there ...
0
votes
1answer
42 views

Connected to gateway but no internet [closed]

beforehand i must say i'm a newbie in networking I can't access internet on my local server but it's available in local network and has access to gateway Pinging any IP (other than local network IPs)...
1
vote
0answers
62 views

I've killed the processes that held the deleted files, but a filesystem is still full

I have a host that runs CentOS-6 with Linux 2.6.32-696.18.7.el6.x86_64 (yes, pretty old) and I ran out of disk space on the root filesystem. The filesystem's size is 16G, du shows about 3G being used ...
1
vote
1answer
35 views

IPv6 ULA ( Unique Local Address ) Generation

RFC4193 contains pseudo code for generation of IPv6 ULA (Unique Local Address). Do I have to follow this algorithm or is an arbitrary ULA valid? 3.2.2. Sample Code for Pseudo-Random Global ID ...
0
votes
2answers
44 views

Is there a way to alias a specific interface ip?

I've got a VCS running on debian as prod server, and due to some hypervisor issues it had to be rebooted/migrated/updated several times in the past week. Because i'm running my app using docker ...
0
votes
0answers
24 views

Moving files based on size with ascending order from one server to another in linux

How to move the files based on the size with ascending order from one server to another in Linux.
0
votes
1answer
56 views

CE error on in Memory log

I Have HP server (DL360-G7) and on it run Centos7 + cPanel. in /var/log/message I see this error: EDAC MC0: 5450 CE error on CPU#0Channel#1_DIMM#0 (channel:1 slot:0 I change RAMs and memory slots in ...
0
votes
0answers
50 views

will the files copy when scheduled through cron tab during midnight with date format

* * * * * ssh user@server1 "mkdir -p /root/Documents/folder_$(date +%d-%m-%y)" && scp /root/Documents/tryfile user@server2:/root/Documents/folder_$(date +%d-%m-%y)** Using the above syntax I ...
0
votes
0answers
55 views

Identify the Current Bottleneck in my PostgreSQL Server

This is my first time running a database server that is under some real (non-synthetic) workload and require your help in identifying the current bottleneck. Question: Is it the CPU, RAM, Disk IO? ...