Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
54
views
Linux user changed permissions and ownership of shared folder file not created by him
I am using Linux Mint and my workmates are using Windows. We've got a local, shared server (also Linux) for documentation files and a weird thing happened yesterday: a windows user created a file (`.odm`) and after I changed it, the ownership of the file changed to me and all the other users, includ...
I am using Linux Mint and my workmates are using Windows. We've got a local, shared server (also Linux) for documentation files and a weird thing happened yesterday: a windows user created a file (
.odm
) and after I changed it, the ownership of the file changed to me and all the other users, including the one who created it, had permission only to read it, although, initially (before I edited it) everyone could read, write and execute.
I don't know what information I need to give to make context clearer, but I'd like to understand how that happened. I mean, it seems very weird for a different user to be able to change permissions and ownership of a shared server's file.
The server is running samba, and all the clients are using that to access the files.
Bernardo Benini Fantin
(101 rep)
Aug 5, 2025, 11:07 AM
• Last activity: Aug 5, 2025, 10:31 PM
0
votes
2
answers
2027
views
how to wget a file on a remote server connected using ssh?
I am connected to my university computer using SSH as follows : ``` sudo ssh server@A.B.C.D ``` However once connected, I'm not able to download any file on the server using wget like this : ``` server_user@server:~$ wget http://example.com/somefile ``` If I do that, I get following error: ``` --202...
I am connected to my university computer using SSH as follows :
sudo ssh server@A.B.C.D
However once connected, I'm not able to download any file on the server using wget like this :
server_user@server:~$ wget http://example.com/somefile
If I do that, I get following error:
--2020-07-28 10:14:46-- https://example.com/somefile
Resolving example.com (example.com)... failed: Name or service not known.
wget: unable to resolve host address ‘example.com’
Also I'm not able to install any package using pip on the remote server. How shoud I do these things? Thanks in advance :)
PS : of course the address is not the example.com
. I've just used it temporarily here for the example purpose. It is a real http address from which I can download file locally using wget, but doing it on server raises the error reported above.
Ruchit
(101 rep)
Jul 28, 2020, 04:44 AM
• Last activity: Jul 4, 2025, 04:02 AM
2
votes
0
answers
215
views
Samba does not show all ZFS snapshots
I am setting up a file server that uses Samba together with ZFS. I have configured Samba such that it shows the ZFS snapshots under "Previous Versions" in Windows; following is an excerpt of my Samba config: vfs objects = acl_xattr shadow_copy2 shadow:snapdir = .zfs/snapshot shadow:format = -%Y-%m-%...
I am setting up a file server that uses Samba together with ZFS.
I have configured Samba such that it shows the ZFS snapshots under "Previous Versions" in Windows; following is an excerpt of my Samba config:
vfs objects = acl_xattr shadow_copy2
shadow:snapdir = .zfs/snapshot
shadow:format = -%Y-%m-%d-%H%M
shadow:snapprefix = ^zfs-auto-snap_\(frequent\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\}
shadow:delimiter = -20
Further, I have configured
However, when I want to see the previous versions of an ordinary file, that doesn't work:
I wonder how I shall change my Samba configuration such that I can see the previous versions of files as well. I believe this is possible, but I don't know how.
I am using Fedora 38 and Samba Version 4.18.6.
zfs-auto-snapshot
(https://github.com/zfsonlinux/zfs-auto-snapshot/tree/master) and now, I can see the "Previous Versions" of any folder in Windows Explorer:


T. Pluess
(626 rep)
Sep 6, 2023, 01:54 PM
• Last activity: May 15, 2025, 03:03 PM
22
votes
5
answers
78384
views
NFS servers and firewalld
I haven't found a slam-dunk document on this, so let's start one. On a CentOS 7.1 host, I have gone through [the linuxconfig HOW-TO][linuxconfig], including the `firewall-cmd` entries, and I have an exportable filesystem. [linuxconfig]: http://linuxconfig.org/quick-nfs-server-configuration-on-redhat...
I haven't found a slam-dunk document on this, so let's start one.
On a CentOS 7.1 host, I have gone through the linuxconfig HOW-TO , including the
firewall-cmd
entries, and I have an exportable filesystem.
[root@ ~]# firewall-cmd --list-all
internal (default, active)
interfaces: enp5s0
sources: 192.168.10.0/24
services: dhcpv6-client ipp-client mdns ssh
ports: 2049/tcp
masquerade: no
forward-ports:
rich rules:
[root@ ~]# showmount -e localhost
Export list for localhost:
/export/home/ *.localdomain
However, if I showmount
from the client, I still have a problem.
[root@ ~]# showmount -e .localdomain
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
Now, how am I sure that this is a firewall problem? Easy. Turn off the firewall. Server side:
[root@ ~]# systemctl stop firewalld
And client side:
[root@ ~]# showmount -e .localdomain
Export list for .localdomain:
/export/home/ *.localdomain
Restart firewalld. Server side:
[root@ ~]# systemctl start firewalld
And client side:
[root@ ~]# showmount -e .localdomain
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)
So, let's go to town, by adapting the iptables commands from a RHEL 6 NFS server HOW-TO ...
[root@ ~]# firewall-cmd \
> --add-port=111/tcp \
> --add-port=111/udp \
> --add-port=892/tcp \
> --add-port=892/udp \
> --add-port=875/tcp \
> --add-port=875/udp \
> --add-port=662/tcp \
> --add-port=662/udp \
> --add-port=32769/udp \
> --add-port=32803/tcp
success
[root@ ~]# firewall-cmd \
> --add-port=111/tcp \
> --add-port=111/udp \
> --add-port=892/tcp \
> --add-port=892/udp \
> --add-port=875/tcp \
> --add-port=875/udp \
> --add-port=662/tcp \
> --add-port=662/udp \
> --add-port=32769/udp \
> --add-port=32803/tcp \
> --permanent
success
[root@ ~]# firewall-cmd --list-all
internal (default, active)
interfaces: enp5s0
sources: 192.168.0.0/24
services: dhcpv6-client ipp-client mdns ssh
ports: 32803/tcp 662/udp 662/tcp 111/udp 875/udp 32769/udp 875/tcp 892/udp 2049/tcp 892/tcp 111/tcp
masquerade: no
forward-ports:
rich rules:
This time, I get a slightly different error message from the client:
[root@ ~]# showmount -e .localdomain
rpc mount export: RPC: Unable to receive; errno = No route to host
So, I know I'm on the right track. Having said that, why can't I find a definitive tutorial on this anywhere? I can't have been the first person to have to figure this out!
What firewall-cmd
entries am I missing?
Oh, one other note. My /etc/sysconfig/nfs
files on the CentOS 6 client and the CentOS 7 server are unmodified, so far. I would prefer to not have to change (and maintain!) them, if at all possible.
dafydd
(1466 rep)
Nov 18, 2015, 04:38 AM
• Last activity: Apr 29, 2025, 05:02 AM
0
votes
0
answers
44
views
vsftpd FTPS server does NOT allow login
I recently setup an Arch Linux server running an FTPS vsftpd server, I am more or less new to this field, especially with this program so I'm sorry if I may come off as ignorant My issue is that I cannot log into my vsftpd server, no matter what user I am in. This problem persists even if I set the...
I recently setup an Arch Linux server running an FTPS vsftpd server, I am more or less new to this field, especially with this program so I'm sorry if I may come off as ignorant
My issue is that I cannot log into my vsftpd server, no matter what user I am in. This problem persists even if I set the server into anonymous login mode, it establishes a TLS connection but does FireZilla blames '530 Login Incorrect' and WinSCP tells me 'Access Denied'
I have hit a roadblock on what to do, here is what i've tried to do - set
My issue is that I cannot log into my vsftpd server, no matter what user I am in. This problem persists even if I set the server into anonymous login mode, it establishes a TLS connection but does FireZilla blames '530 Login Incorrect' and WinSCP tells me 'Access Denied'
I have hit a roadblock on what to do, here is what i've tried to do - set
pam_service_module
from vsftpd
to ftp
- disabled chroot_local_user
- disabled check_shell
- made a new user and added it as both a sudoer and the ftp group
- checked over god knows many times my login details and even tried anon login
- remade /home
directories for my users
- added a chroot list with my users in the file
here are the contents of my vsftpd.conf
file :ssl_enable
rsa_cert_file=/etc/ssl/private/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/vsftpd.pem
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
force_local_logins_ssl=YES
force_local_data_ssl=YES
pasv_enable=YES
pasv_min_port=40000
pasv_max_port=50000
listen_port=990
local_enable=YES
write_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
xferlog_enable=YES
xferlog_std_format=YES
xferlog_file=/var/log/vsftpd.log
anonymous_enable=NO
pam_service_name=ftp
check_shell=NO
ANY help is appreciated, thank you
Walanao
(1 rep)
Feb 11, 2025, 12:15 AM
• Last activity: Feb 11, 2025, 12:30 AM
3
votes
1
answers
231
views
How does a Linux Workstation interact with Windows Active Directory?
I'm studying **LDAP** and in my company there is an Active Directory Server. In my workstation is installed Linux Mint. I try to show the context that arise my question: - open a *new window for browsing the filesystem* of the workstation; - in the menu `File` of the window opened there is the optio...
I'm studying **LDAP** and in my company there is an Active Directory Server. In my workstation is installed Linux Mint.
I try to show the context that arise my question:
- open a *new window for browsing the filesystem* of the workstation;
- in the menu
Connect to Server of the menù
File
of the window opened there is the option Connect to Server
(see the image added);

File
" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy">
- by this option I can select Type: Windows share
and authenticate with an account registered in a Windows domain;
- after that I can browse some network directories where my account is enabled.
### The question ###
Explained the context, I can finally ask the question: when I'm choosing Connect to Server I'm using LDAP or something else? Is it possible the same authentication by command line?
Thanks
User051209
(498 rep)
Oct 4, 2022, 10:22 AM
• Last activity: Dec 20, 2024, 07:51 AM
19
votes
3
answers
34476
views
Forcing Linux NFS client to reconnect to server after NFS is disconnected
Is there a way to force a Linux client to reconnect to a NFS server after it has lost its connection? The client eventually notices the server is back and resumes working just fine. I'm just wondering if there is a way to speed up this re-connection.
Is there a way to force a Linux client to reconnect to a NFS server after it has lost its connection? The client eventually notices the server is back and resumes working just fine. I'm just wondering if there is a way to speed up this re-connection.
MJD
(299 rep)
Jan 31, 2013, 10:10 PM
• Last activity: Apr 2, 2024, 02:16 PM
3
votes
1
answers
674
views
Building redundancy by creating multiple nfs mounts to a single location
I have been managing a small local Linux cluster for my lab, consisting about two dozens of Ubuntu Linux servers - half of those are headless servers (rack/tower), and the other half are used as desktops by my students. I have setup an LDAP server for centralized account management and setup nfs/aut...
I have been managing a small local Linux cluster for my lab, consisting about two dozens of Ubuntu Linux servers - half of those are headless servers (rack/tower), and the other half are used as desktops by my students.
I have setup an LDAP server for centralized account management and setup nfs/autofs mounts for shared file systems - including everyone's home directory. This setup has been running well over the last 8 years and I have been growing my servers over the time.
A few times of a year, I found that when the nfs server exporting the home directory or the LDAP server went offline for various reasons, the entire cluster hanged. I am trying to build some redundancy to the system so that when this happens, I have a fallback plan.
In a recent test, I noticed that my autofs configured
autofs-ldap
auto.direct
mount to /homes
directory, exported from server B, and the /etc/fstab
configured nfs mount to /homes
dir, exported from server A, can both be mounted, when typing df
, this is what I saw
serverA:/local_mount/fstab/mount/export ... 50% /homes
serverB:/local_mount/auto/direct/export ... 50% /homes
serverA is configured in /etc/fstab
, while serverB is configured in my LDAP system with auto.direct
, both pointing to /homes
.
I found that when the system reboot, /etc/fstab
first mount serverA to /homes
, then, when autofs
service starts, serverB's mount became active and shadows the fstab mount.
My question is
1. does this configuration have any risk to use such folder with double-mounts?
2. does this configuration offers any redundancy to my /home dir mounts? for example, if serverB is down, but serverA is up, or vice versa, will my users still have a usable home dir without hanging?
FangQ
(133 rep)
Feb 23, 2024, 03:04 AM
• Last activity: Feb 23, 2024, 08:16 AM
77
votes
6
answers
166093
views
What is the equivalent of Active Directory on Linux
I have a couple of machines at home (plus a number of Linux boxes running in VMs) and I am planning to use one of them as a centralized file server. Since I am more a Linux user rather than a sysadmin, I'd like to know what is the equivalent of, let's say "Active Directory"? My objective is to have...
I have a couple of machines at home (plus a number of Linux boxes running in VMs) and I am planning to use one of them as a centralized file server.
Since I am more a Linux user rather than a sysadmin, I'd like to know what is the equivalent of, let's say "Active Directory"? My objective is to have my files in any of the machines that I logon in my network.
Pablo
(2635 rep)
Aug 11, 2010, 07:14 PM
• Last activity: Jan 22, 2024, 06:12 AM
0
votes
1
answers
733
views
Active directory server set up DNS resolution failure or VERY SLOW, can I route external DNS requests the traditional way, before the server existed?
I'm very new to the world of active directory, windows server etc., so I apologise if some of the questions I ask are a bit stupid, but I'll try and explain exactly what I want to do below, and my currrent setup. I'm running Ubuntu Server on a Raspberry Pi, using kerberos and other software detailed...
I'm very new to the world of active directory, windows server etc., so I apologise if some of the questions I ask are a bit stupid, but I'll try and explain exactly what I want to do below, and my currrent setup.
I'm running Ubuntu Server on a Raspberry Pi, using kerberos and other software detailed in [this video](https://www.youtube.com/watch?v=tgBuvA6J-_8) to use it as an AD-DC for my four clients that connect to it. At the moment this is really a test network on my Pi 2, before I launch on my Pi 4. The Raspbrry Pi is only just powerful enough to run the network and authenticate user logons and manage group policy etc, but DNS resolutions are extremely slow.
From the client perspective, the network is operating completely fine with logons and policy etc. EXCEPT what they have noticed is the time it takes to make a quick google search has increased dramatically and sometimes the search even fails.
Now, here's the question... **is there a way to operate my AD-DC server setup to manage group policy, users, groups, logon etc. *without* sending external DNS requests e.g. bbc.co.uk or google.com via the AD-DC. I want them to be processed as they would have before the server came along (by the router??) simply because it can't handle them, and the setup before the server was perfectly fine at handling them**
The windows clients are configured in dns settings to use the ADDC as their preferred dns server (if I change this, then they lose connection to the domain and can't find it...) and use 8.8.8.8 google's dns server as their secondary one, but whether I enter this in or not doesn't really seem to have an effect.
And if the ADDC server is down, ALL external dns requests across the entire network fail. It's like the backup isn't even there. You can't get onto google from a client when the DC is down.
Any info I'm happy to provide.
Secondary bonus question wondering why samba network transfer speed is dramatically slower using AD on this rapsberry pi rather than just installing samba and having it as a network share. Gone from 30Mb/s to 2Mb/s
Oliver Ricketts
(11 rep)
Nov 3, 2023, 11:49 AM
• Last activity: Nov 3, 2023, 05:03 PM
5
votes
4
answers
8864
views
How can I make my Linux server sleep and wake on LAN when not in use?
I have recently purchased myself an HP rack server for use as a personal fileserver. This server currently lives under my bed as I have nowhere else to put it. For those not aware (as I was not fully) this server is **VERY LOUD**. I need to be able to access my files a lot of the time during the day...
I have recently purchased myself an HP rack server for use as a personal fileserver. This server currently lives under my bed as I have nowhere else to put it. For those not aware (as I was not fully) this server is **VERY LOUD**.
I need to be able to access my files a lot of the time during the day, and due to the situation of my server, turning it off every night at the wall (it likes to suddenly spring into action for no apparent reason) isn't really an option. I would _really_ like if the server could remain powered on all the time, but when not in use enter a sleep state such that the fans turn off, if nothing else, over LAN. The server also runs Debian.
If this kind of setup can't happen for whatever reason, I could settle for the machine shutting down at a certain time of day (or night) and starting up again in the morning, or something to that effect.
I have very little idea about how to go about such a task, other than to use wake/sleep-on-LAN.
James Stone
(51 rep)
Jan 24, 2018, 05:25 PM
• Last activity: Oct 10, 2023, 04:07 PM
0
votes
2
answers
626
views
Standalone Fileserver with deduplication wanted
**Situation:** I want to reinstall a Homelab Server (Windows OS) as a linux-based Server **Server** | Purpose: Backup System (mostly offline) I currently have an HP Proliant Microserver N54\ Turion II Neo N54l 2,2Ghz , 4GB RAM https://geizhals.at/a688459.html **Setup**\ 6 physikal Disks (5 HDD, 1 SS...
**Situation:**
I want to reinstall a Homelab Server (Windows OS) as a linux-based Server
**Server** | Purpose: Backup System (mostly offline)
I currently have an HP Proliant Microserver N54\
Turion II Neo N54l 2,2Ghz , 4GB RAM
https://geizhals.at/a688459.html
**Setup**\
6 physikal Disks (5 HDD, 1 SSD) in a Pool to a JBOD Storage Space (15,6TiB)\
1 LUN, formatted NTFS\
Files are shared via Windows Share (SMB/Cifs)\
No special NTFS permissions (since it is just me)\
Windows Server 2012 R2 (soon EOL)\
Deduplication enabled , which saved almost 4,5 TiB on data\
mode = general purpose file server
**Clients**
Clients mostly Windows, perhaps some Linux in near future. \
Access the server via SMB/Cifs and RDP (managing)
yeah, the server is slow, but the only purpose is archive, mostly turned off and sometimes access the data (single user, no parallel access needed). works OK as it is now
**Goal**\
Since I want to go for linux a lot more and the Server 2012 R2 is End-of-life, I want to reinstall the system on GNU/Linux, providing the same functionality using the same base.
If I read about deduplication, it is always ZFS or BTRFS but LOTS of RAM needed. Or OpenMediaVault with BorgBackup... but the client also needs BorgBackup (and Clients will Windows still)
what would be the nearest equivalent linux setup?
David
(1 rep)
Aug 9, 2023, 04:36 PM
• Last activity: Aug 10, 2023, 12:53 PM
0
votes
0
answers
1289
views
Squeezebox can't connect to Logitech Media Server running on PC
Debian 11, I have installed Logitech Media Server to use with Squeezebox player. Server is running on local IP Address: 192.168.10.xxx port 9000. I configured that address on my Squeezebox player, but it cann't connect to media server. I'm guessing that it might be caused by an ufw firewall running...
Debian 11, I have installed Logitech Media Server to use with Squeezebox player. Server is running on local IP Address: 192.168.10.xxx port 9000. I configured that address on my Squeezebox player, but it cann't connect to media server. I'm guessing that it might be caused by an ufw firewall running on Debian.
I checked ufw status:
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
23/tcp ALLOW IN Anywhere
23/tcp (v6) ALLOW IN Anywhere (v6)
I set rule for ufw firewall, but that not help:
sudo ufw allow from 192.168.10.103 to any port 9000
here is Logitech Media Server Log File:
[23-07-29 22:07:20.5102] main::init (377) Starting Logitech Media Server (v8.3.1, 1676361197, Fri 17 Feb 2023 06:37:09 AM CET) perl 5.032001 - x86_64-linux-gnu-thread-multi
[23-07-29 22:07:20.5261] Slim::Utils::IPDetect::_init (138) Warning: Couldn't call connect() - falling back to 127.0.0.1
[23-07-29 22:07:25.6148] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
[23-07-29 22:07:25.6617] Slim::Utils::Misc::msg (1325) Warning: [22:07:25.6613] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:25.6621] Slim::Utils::Misc::msg (1325) Warning: [22:07:25.6619] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:27.6621] Slim::Utils::Misc::msg (1325) Warning: [22:07:27.6619] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:31.0260] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (592) Fulltext index missing or outdated - re-building
[23-07-29 22:07:32.6627] Slim::Utils::Misc::msg (1325) Warning: [22:07:32.6624] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:32.6632] Slim::Utils::Misc::msg (1325) Warning: [22:07:32.6630] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:34.6632] Slim::Utils::Misc::msg (1325) Warning: [22:07:34.6630] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:42.6642] Slim::Utils::Misc::msg (1325) Warning: [22:07:42.6637] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:42.6649] Slim::Utils::Misc::msg (1325) Warning: [22:07:42.6646] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:44.6649] Slim::Utils::Misc::msg (1325) Warning: [22:07:44.6645] EV: error in callback (ignoring): pack_sockaddr: invalid host at /usr/share/squeezeboxserver/lib/AnyEvent/DNS.pm line 1114.
[23-07-29 22:07:47.6646] Slim::Networking::Repositories::__ANON__ (147) Failed to fetch https://github.com/LMS-Community/lms-plugin-repository/raw/master/extensions.xml : Couldn't resolve IP address for: github.com
[23-07-29 22:07:47.6656] Slim::Formats::XML::gotErrorViaHTTP (343) Error: getting https://www.mysqueezebox.com/api/sounds/v1/opml
Couldn't resolve IP address for: www.mysqueezebox.com
[23-07-29 22:07:47.6659] Slim::Plugin::Sounds::Plugin::_gotSoundsError (82) Error: Unable to cache Sounds & Effects menu from SN: Couldn't resolve IP address for: www.mysqueezebox.com
[23-07-29 22:07:49.6653] Slim::Formats::XML::gotErrorViaHTTP (343) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16
Couldn't resolve IP address for: opml.radiotime.com
[23-07-29 22:07:49.6656] Slim::Plugin::InternetRadio::Plugin::_gotRadioError (71) Unable to retrieve radio directory from SN: Couldn't resolve IP address for: opml.radiotime.com
[23-07-29 22:11:25.0107] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (592) Fulltext index missing or outdated - re-building
[23-07-29 22:22:18.4412] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (592) Fulltext index missing or outdated - re-building
[23-07-29 23:11:40.4945] Slim::Networking::SqueezeNetwork::Players::_disconnect_player_error (457) Disconnect SN player error: 403 Forbidden
[23-07-29 23:17:07.9891] Slim::Networking::SqueezeNetwork::Players::_disconnect_player_error (457) Disconnect SN player error: 403 Forbidden
[23-07-29 23:17:48.4542] Slim::Networking::SqueezeNetwork::Players::_disconnect_player_error (457) Disconnect SN player error: 403 Forbidden
[23-07-30 00:51:13.7244] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: Timed out waiting for data
[23-07-30 00:51:13.7247] Slim::Networking::SqueezeNetwork::_init_error (145) Unable to login to mysqueezebox.com, sync is disabled: Timed out waiting for data
[23-07-30 00:51:13.7253] Slim::Networking::SqueezeNetwork::_init_error (161) will retry in 300 (https://www.mysqueezebox.com)
[23-07-30 00:51:44.0230] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: Timed out waiting for data
[23-07-30 00:51:44.0234] Slim::Networking::SqueezeNetwork::_init_error (145) Unable to login to mysqueezebox.com, sync is disabled: Timed out waiting for data
[23-07-30 00:51:44.0239] Slim::Networking::SqueezeNetwork::_init_error (161) will retry in 600 (https://www.mysqueezebox.com)
[23-07-30 00:56:23.0746] Slim::Utils::Timers::__ANON__ (272) Error: Timer Slim::Networking::SqueezeNetwork::__ANON__ failed:
[23-07-30 01:25:29.7941] Slim::Networking::SqueezeNetwork::Players::_disconnect_player_error (457) Disconnect SN player error: 403 Forbidden
[23-07-30 03:06:00.8745] Slim::Networking::SqueezeNetwork::_error (421) Unable to login to SN: Invalid mysqueezebox.com username or password.
So, the answer is: to allow incoming connections to these ports:
sudo ufw allow from IP_OF_YOUR_SQUEEZEBOX proto tcp to any port 9000,9090,3483
minto
(575 rep)
Jul 29, 2023, 11:19 PM
• Last activity: Aug 1, 2023, 08:02 PM
1
votes
1
answers
201
views
can we run ftp or sftp from single user account?
I have installed ftp and sftp on my linux mint system, for wordpress file transfer I had to create new user account for ftp and sftp on my system during the installation process. Is it possible to run ftp and sftp from home user account, if yes, how to configure it. And if single user account access...
I have installed ftp and sftp on my linux mint system, for wordpress file transfer
I had to create new user account for ftp and sftp on my system during the installation process.
Is it possible to run ftp and sftp from home user account, if yes, how to configure it.
And if single user account access is possible- what is advisable to have - multiple/seperate user accounts for ftp/sftp OR a single account merged with home user should be used
Tried searching for solutions on various forums, but did not get any clarity
Adding for more clarity:
For wordpress, i referred this link wordpress installation
To upload wordpress files to github, i required to convert it to static site, so for using 'simply static' wordpress plugin, i required ftp to upload files from my local wordpress installation.
Below are the links i used for ftp and sftp installation-
I used these 2 links for ftp installation
ftp install link 1 & its user creation snap
ftp install link 2 & its user creation snap
and for sftp
sftp install link & its user creation snap
in both ftp and sftp , had to create new users for using them on filezilla/ftp client
So i want to clarify , if I can use my default system user for ftp/sftp access and how to configure it. And what is advisable to create new seperate users and the reason for it.
I searched how and why for cant I use the system user for all these server process, but did not get any clarity from internet
blueflyer
(13 rep)
May 1, 2023, 08:15 AM
• Last activity: May 3, 2023, 07:02 AM
2
votes
1
answers
317
views
How to set up a bunch of linux servers with shared file system without using job scheduler?
I am managing multiple GPU servers in our lab, which are mainly used for deep learning tasks. We would like these machines to share the same file system, so it is easier to switch between them. Currently, I am using NFS to share the `/home` folders for all the machines but installing system updates...
I am managing multiple GPU servers in our lab, which are mainly used for deep learning tasks. We would like these machines to share the same file system, so it is easier to switch between them.
Currently, I am using NFS to share the
/home
folders for all the machines but installing system updates on all of them (like NVIDIA driver, outside of the home folder) is quite painful since I have to do it on each machine.
I wonder if there is any way to share the entire file system (the root /
). I am concerned that since these machines are of different configurations (different CPU, GPU, memory) and running different jobs, and there are folders like /dev
, /proc
, /tmp
. is it a good idea to directly share the /
?
I read some posts on how to set up a Linux cluster and most of them suggest using a scheduling system like Slurm. However, our servers are mainly for algorithm development (debugging) so directly connecting them from client machines is preferred. Is it possible to share the entire filesystem without using a job queue system?
x.y.z liu
(33 rep)
Apr 13, 2023, 09:18 PM
• Last activity: Apr 13, 2023, 11:23 PM
1
votes
0
answers
351
views
Install Samba package from ISO file or CDROM
I have an old server which is running Ubuntu Linux 16.04 in a lab environment. It is not not possible to upgrade to the new Ubuntu version due to hardware capacity. I decided to keep it and us it as normal (security issue is not a problem). I need to install samba package but I can't get this packag...
I have an old server which is running Ubuntu Linux 16.04 in a lab environment. It is not not possible to upgrade to the new Ubuntu version due to hardware capacity. I decided to keep it and us it as normal (security issue is not a problem).
I need to install samba package but I can't get this package from the repository anymore. I have an ISO file of this distro and also burn into a CDROM. I have checked the document about select the CDROM as the source of installation but when I tried to do that the system still keep asking me to connect to internet.
I tried to review the configuration file many time but seem nothing wrong but I still can't install the samba package from this media.
If anyone has any solution please kindly let me know how I can fix this problem or is there any offline .deb package that I can't install samba on my Linux?
Thank, Kanel
Kanel Roath
(11 rep)
Mar 29, 2023, 02:40 PM
0
votes
1
answers
92
views
SCP from a distant server with a cumulative size limit
I want to copy a number of files from a distant server to local computer, such that the total size of the files does not exceed certain limit, as I do not locally have enough disk space; and the files are interchangeable samples of a greater whole, i.e. it does not matter which individual files are...
I want to copy a number of files from a distant server to local computer, such that the total size of the files does not exceed certain limit, as I do not locally have enough disk space; and the files are interchangeable samples of a greater whole, i.e. it does not matter which individual files are downloaded and in which order, just that a number of such files is downloaded within the disk space limit.
The files are downloaded as normal, but the download stops once the size limit is breached and the currently processed file is discarded.
Does SCP have such capability? I know that RSYNC can limit file size, but that is for individual files, not for cumulative file size.
If SCP nor RSYNC cannot do that, is there any other way?
Radek Vavřička
(1 rep)
Mar 26, 2023, 03:31 PM
• Last activity: Mar 26, 2023, 04:48 PM
0
votes
1
answers
483
views
scp doesn't work when I use sshpass with password
I am trying to transfer files between my file server and raspberry pi, I can't figure out why this doesn't work When I run this in the terminal it works: ```sh scp "/home/testfile.txt" pi@10.51.112.139:"/home/pi" ``` But this doesn't work: ```sh sudo sshpass -p "Blueberry89" scp "/home/testfile.txt"...
I am trying to transfer files between my file server and raspberry pi, I can't figure out why this doesn't work
When I run this in the terminal it works:
scp "/home/testfile.txt" pi@10.51.112.139:"/home/pi"
But this doesn't work:
sudo sshpass -p "Blueberry89" scp "/home/testfile.txt" pi@10.51.112.139:"/home/pi"
there isn't any output from the command either
I have tried this both ways, on my server and the pi, neither worked. I'm sure it's just something really little, but I can't find out whats wrong.
tommyokie
(11 rep)
Jan 21, 2023, 04:31 AM
• Last activity: Jan 21, 2023, 04:58 PM
3
votes
1
answers
4763
views
Move partition only using CLI tools at same disk
Need a help trying to get a question I couldn't find anywhere, and most solutions were outdated. Is there a CLI-only solution to move partitions between the same disk? "parted" used to have a function for that, but the feature was dropped at 2016 due unmaintainance. For this case, assume the partiti...
Need a help trying to get a question I couldn't find anywhere, and most solutions were outdated. Is there a CLI-only solution to move partitions between the same disk?
"parted" used to have a function for that, but the feature was dropped at 2016 due unmaintainance.
For this case, assume the partition format and data is "unknown" (non standard partition or encrypted), also assume the partition is considerably big and not possible to just create a secondary partition and clone with dd if=/dev/sda1 of=/dev/sda2
For easy understanding of the problem, assume there is a /dev/sda1 at the middle of the disk using ~70% of space.
Thanks!
WalterCool
(541 rep)
May 2, 2020, 08:29 PM
• Last activity: Jan 20, 2023, 03:48 PM
1
votes
2
answers
72
views
Tracking changed files/configurations in Linux
I have a small microserver at home that's several years old (HP Proliant Gen8, Intel Celeron G1610T). I installed Ubuntu 14.04 on it, set up RAID on 2 large disks with `mdadm`, and since then I've used it on and off for trivial things over the years. I've never paid much attention to it (it's still...
I have a small microserver at home that's several years old (HP Proliant Gen8, Intel Celeron G1610T). I installed Ubuntu 14.04 on it, set up RAID on 2 large disks with
mdadm
, and since then I've used it on and off for trivial things over the years. I've never paid much attention to it (it's still on 14.04..) but now I'd like to give it some love.
I'm aiming to wipe Ubuntu and start fresh, but first I need to back things up. Is there a smart way to discern configurations I've added, changed, etc across the filesystem, so that I can back them up? If not now, what options are available if I were to start from scratch with this capability in mind?
I will most likely copy /root
, /etc
, /home
and select items in /var
across to my RAID/NAS disks just for future reference back I am still curious what options are available. Thank you.
TKF
(111 rep)
Nov 29, 2022, 04:44 AM
• Last activity: Nov 29, 2022, 01:33 PM
Showing page 1 of 20 total questions