Latest Server related questions

Score: 1
projectshave avatar
Install software on Ubuntu using apt without root?
mx flag

I’ve got accounts on many HPC clusters. The machines have a minimal install, and the admins won’t add much else. I need to install lots of typical software. Normally I’d do this with apt, but of course I don’t have root on these machines. Some alternatives:

  1. The admin recommended spack. Then they told me privately everyone hates spack and avoids it. It failed badly for me.
  2. Download source, c ...
Score: 0
Dat Dere Yeehaw avatar
'Domain Users' Security Group has Admin Rights
nc flag

I took over for a previous network admin. He had all 'Domain Users' have admin rights for some reason.. How do I see what makes 'Domain Users' security group have admin rights? It is not added into 'Domain Admins' or 'Administrators' security group. I ran gpresult /v on a domain user and it says its part of the 'built in administrators' group. domain controller: Windows Server 2008

Score: -1
How can I get haproxy to completely ignore SSL handshake errors?
cn flag

Scenario:

I have an old hp dl360 g7 with iLO 3. Modern browsers can't access it because it uses ancient ciphers.

On my internal network, I'd like to have haproxy talk to it and eat the SSL errors and serve the content with SSL that modern browsers will support.

What I've tried:

frontend ilo3
    bind *:3333 ssl crt /etc/letsencrypt/live/mydomain.com/haproxy.pem alpn h2,http/1.1
    mode http
    use_bac ...
Score: 0
Garry avatar
Roaming Profile Alternatives
pa flag

I'm a volunteer system admin at a small UK Charity. We currently use Roaming Profiles + Folder Redirection for Desktop, Documents, Downloads & Pictures. We only have around 8x Windows 10 PCs and just over 10 users with 2 Windows Server 2022 servers and run a Local Windows Domain. We're wanting to replace Roaming Profiles with something more robust - we dont want to disable the 'feature' as users re ...

Score: 0
Himanshu Poddar avatar
Using CNAME to point to other website does not work
ma flag

I have below domain name registered on Hostinger himanshupoddar.tech

I added CNAME record to point my domain to another website "okcredit.com"

enter image description here

But it does not work and I am still not being redirected to the okcredit website when I visit himanshupoddar.tech.

Someone said to wait for 5mins for the same to show up but its been an hour now.

Score: 0
Andreas avatar
Use `known-hosts-files` for `zsh` ssh command completion
in flag

This question was originally asked on SO, which is incorrect. As I was not able to (get it) moved to serverfault, I am re-asking it.

I am trying to configure tab completion for the ssh command in zsh to use an additional known_hosts file (which not located in ~/.ssh). By additional I mean I still want to use the "default" known_hosts file.

Currently, when I hit TAB after ssh, I get a list of hosts ...

Score: 0
Pol Hallen avatar
dualboot win11 + linux = BlInitalizeLibrary Failed 0xc00000bb
eg flag

Recently I wipe macbook pro disk (intel cpu) and installed win11. windows works without problems. The problem born when I installed on same disk linux debian with grub. Debian works but when I select win11 from grub menu I see this error:

BlInitalizeLibrary Failed 0xc00000bb

I found this link:

https://superuser.com/questions/1340248/triple-boot-mac-wont-boot-windows

enter image description here enter image description here I'd like avoid install again osx. ...

Score: 0
baw avatar
Sizing and moving /var/log to meet DISA STIG
hu flag
baw

RHEL 8 DISA has a requirement that /var/log must be on a separate partition. The finding is due to that the main partition might fill up.

I am trying to harden VMs in an Azure Cloud Environment. Since I can terraform any VM of virtually any size, would an appropriate response to this finding be to simply size the VM correctly rather than moving var log?

https://www.stigviewer.com/stig/red_hat_enterpr ...

Score: 1
Luis A. Florit avatar
rsync: No space left on device (28)... with a lot of free space
cn flag

I need to make a copy of 200GB in a 500GB external SSD disk to a 2TB NVMe M2 SSD, which has more than 1TB free. All my other disks and partitions have lots of GBs of free space, too (well, except for the boot partition).

Yet, when doing a rsync, I see a No space left on device (28) error with around 20 files:

rsync: [receiver] rsync_xal_set: lsetxattr("/extraHD/TEMP/<some folder>/RECEBIDOS/423__ ...
Score: 0
skytanium avatar
Nginx cannot find files outside of /var/www directory in OpenBSD
lc flag

I am setting up an nginx webserver for a new website, and I'd like to set the root directory for by webserver to srv, so I created the /srv directory and placed all webserver files there, but nginx is not able to find any files within it. I receive an error 404 on every visit. It is able to find the files when root is set to /var/www/html though. (or any directory inside /var/www). I am running OpenBS ...

Score: 0
grek avatar
not possible run windows from other this after install grub
in flag

I have this disks

sudo fdisk -l
[sudo] password for grek: 
Disk /dev/loop0: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 63.28 MiB, 66355200 bytes, 129600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes  ...
Score: 0
Halacs avatar
Is there a way to force duplicity to use IPv4 instead of IPv6?
us flag

In the below command, example.com has both IPv4 and IPv6 addresses but SSH server listens only on the IPv4 address.

Is there a way to request duplicity to use IPv4 only?

duplicity --progress --ssh-options -oIdentityFile=./cloud.pem --encrypt-key=REDACTED --full-if-older-than 2W --include-filelist ./list.txt --exclude '**' --exclude /root/.cache/duplicity / sftp://example.com//mnt/duplicity/
Score: 0
Arsham ghafari avatar
I've got an error while adding an olcOverlay
ad flag

here is my ldif file : dn: olcOverlay={0}syncprov,olcDatabase={2}hdb,cn=config objectClass: olcSyncProvConfig olcOverlay: syncpro

then I enter ldapadd -Y EXTERNAL -H ldapi:// -f overlay.ldif and here is the error : value of single-valued naming attribute 'olcOverlay' conflicts with value present in entry.

I even tried to change olc from olcOverlay={0} to olcOverlay={1} but nothing's changed.

Score: 0
Adrien Hingert avatar
SSL certificate not working for www subdomain on multiple domain setup
us flag

I have a LAMP server running CentOS Stream 8 and Apache 2.4.37. On this I have three domains (let's call them example.com, example.net & example.org). I have SSL certificates for each domain + the www subdomain.

They share the same codebase (the only difference being the defalt langauge) so they share the same /var/html/www folder and there is no specific domain level configuration in the /etc/httpd/ ...

Score: 0
Nash A avatar
Powershell Linux - Unable to install Module in Azure Ubuntu
cn flag

I'm trying to install the AZ module in the Ubuntu powershell of an Azure Linux server.

However, the powersheel could not find the PSGallery repository.

I suspect the DNS record retrieved by the server is incorrect because the IP address is given by trafficmanager.net.

I would appreciate it if someone could give some pointers how to solve this. Thank you.

Installation attempt:

# pwsh
PowerShell 7.3.4
 ...
Score: 0
Finbar avatar
PHPMyAdmin Fresh Install Error 500 Nginx
cn flag

I've just done a fresh install of phpmyadmin on nginx and ubuntu 22.04, however navigating to the index page is returning HTTP 500.

My error.log:

2023/06/24 22:52:55 [error] 1448200#1448200: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(Symfony/Component/ExpressionLanguage/autoload.php): failed to open stream: No such file or directory in /usr/share/php/PhpMyAdmin/MoTranslator/au ...
Score: 0
Michael Altfield avatar
See per-VM network usage in Xen Hypervisor (nethogs)
cn flag

How can I see my network utilization per-VM in realtime in Xen?

On a system, I can see the real-time, per-process utilization of my network using nethogs.

On my Xen system, there's xentop, but (even with the -n argument), I can't which VM is hogging my bandwidth. I'm using QubesOS.

Is there a command-line tool available on dom0 that I can run to see which AppVM is using lots of network bandwidth in real ...

Score: 0
ob24f3293 avatar
SSH proxy like NGINX Proxy Manager forward ssh session to correct server
pm flag

for my webserver i have one public IP which is determining on one server - the nginx proxy manager is handling the connection & forwarding to the correct server which only has an public ip.

Is there any solution for SSH which works in a similar way based on the hostname?

Score: 0
Shane Hastings avatar
IP routing between two sites and allowing external access to both via Wireguard
br flag

I have two Proxmox notes, in two separate locations. They are connected via a Wireguard Tunnel between the two sites (A and B). This tunnels all traffic destined for the other site through the tunnel on both.

  • All servers on Node A use the range 10.0.0.0/24.
  • All servers on Node B use the range 10.10.0.0/24

Any traffic from A destined for B, say for example, 10.10.0.100, would go via the Wireguard t ...

Score: 0
Devin Ceartas avatar
DynamoDB Auto-Scaling, Application Auto-Scaling
ng flag

I'm trying to setup a set of boto3 python AWS scripts which can create new users and dynamoDB tables, so that the web app I'm working on can add new users with properly scoped permissions.

I'm having trouble getting the scripts to add auto-scaling to the dynamodb tables. I've created an IAM policy which I think is over-broad - adding most of the auto-scaling and application auto-scaling options,  ...

Score: 0
aufy avatar
POSTFIX - sending mails. My mails sent outside bounce back
fr flag

main.cf

compatibility_level = 2
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mail.aufy.pl
mydomain = aufy.pl
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps = unix:passwd.byname $alias_maps
unknown_local_recipient_reject ...
Score: 8
Ancool avatar
Can I build a RAID 5+1 system?
wf flag

I must say I already found a similar question on this platform, but the context was different, so I'm trying by myself.

My idea is as follows:
I have 4 disks, 3 of them are the same capacity, and the fourth one has twice the capacity of either of the others. I would use the 3 disks above in a RAID 5 configuration, and then use them together with the fourth in a RAID 1 configuration.\

Hypothetically, if th ...

Score: 0
HippoMan avatar
Sudden change in how long messages remain in the postfix outgoing queue
by flag

I'm using postfix 3.5.8 under Debian 11.

Starting recently -- approximately 3-5 days ago -- outgoing messages suddenly started to take a lot longer than before to leave the outgoing message queue (as listed by "postqueue -p"). Whereas up until recently, messages would normally leave the outgoing queue within 5-15 seconds, it is now taking 1-2 minutes before messages leave that queue.

I have not chan ...

Score: 0
oᴉɹǝɥɔ avatar
Is there a system/computational overhead when using AccuracySec=1s in systemd timers
cn flag

systemd timers by default have 1 minute accuracy, however it is easy to change that with AccuracySec parameter in the timer definition.

I can't find any information related to whether setting accuracy to 1 second or less incurs penalty/overhead when compared to the default accuracy.

Score: 2
Loki avatar
Convert lscpu output to row based format in excel/csv table format
in flag

I have the below data (lscpu output) for 1000 servers and I want the same in excel but in row format and not as in command output in columns

1.2.3.4      CHANGED
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          8
O ...
Score: -2
How many SAS drives can you put on an ASUS RS720A-E11/E12-RS24U?
br flag

The ASUS RS720-E12-RS24U server comes with 24 2.5‘‘ drive bays. The specification on the ASUS web page says that only 8 of the 24 bays support SAS drives. However, according to the manual, (chapter 2.9, page 2-55), there are 6 mini SAS HD connectors on the backplane, which together would provide enough SAS channels for all 24 bays. The E11 model comes with a similar limitation, but also with enugh SAS ...

Score: 0
Jean Nemarre avatar
How can some IP addresses bypass UFW rules? I get attacks from China and other places
kh flag

I have an Apache web server running under Ubuntu 20.04 LTS.

I allowed the access to the website only to specific ranges of IP addresses.

Everything was working fine until I saw some requests (attacks) coming from not-allowed IP addresses (China, Singapore, USA, etc.) with sometimes some nasty requests.

I double and triple checked everything and those IP addresses do not belong to allowed ranges.

Score: 0
Jonathan avatar
Assign a VLAN directly to a physical interface
ve flag

does anyone have an idea how to assign a VLAN ID to a physical interface under Linux?

More specifically I have a proxmox server on which Opnsense is virtualized. There are VLANs set up and on a connected switch I can assign them to the different ports.

But I would also like to use the ports directly on the server, that is I want to connect a PC to an interface and this should get a VLAN ID.

Thanks for  ...

Score: 0
quinn avatar
Copy boot disk to backup drive using recovery mode or live cd
us flag

I am trying to make a backup of my 1TB boot drive without physically removing the drive or adding more drives. I have a 5TB drive installed that has enough space in one of its partitions to store a clone of the drive created via dd.

I've tried various "portable" linux distros (slax, porteus) but none of them worked (displayed weird errors / couldn't boot into the desktop).

I just tried a debian live ...

Score: 0
Ayayou avatar
more secure way to store username and password for openvpn
cn flag

I've set up an OpenVPN service on my server with username and password authentication and no clients' certificates needed.

I've set the username and password in /etc/passwd and /etc/shadow. now, it's OK to connect with a specific user for OpenVPN (which is client1), but I've tried root (a linux user), it's also OK to be connected.

The question is, is there anyway to store those users for OpenVPN instead  ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.