Coder Social home page Coder Social logo

Comments (5)

jcameron avatar jcameron commented on June 12, 2024

What output do you get on your system if you run systemctl show rsyncd.service

from webmin.

postrational avatar postrational commented on June 12, 2024

This is what I get:

Id=rsyncd.service
Names=rsyncd.service
Requires=basic.target
Wants=system.slice
Conflicts=shutdown.target
Before=shutdown.target
After=network.target systemd-journald.socket basic.target system.slice
Description=Start the rsync server daemon
LoadState=loaded
ActiveState=active
SubState=running
FragmentPath=/usr/lib/systemd/system/rsyncd.service
UnitFileState=disabled
InactiveExitTimestamp=Sat 2014-01-25 14:26:31 CET
InactiveExitTimestampMonotonic=711328065
ActiveEnterTimestamp=Sat 2014-01-25 14:26:31 CET
ActiveEnterTimestampMonotonic=711328065
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Sat 2014-01-25 14:26:31 CET
ConditionTimestampMonotonic=711326582
ConditionResult=yes
Transient=no
Slice=system.slice
ControlGroup=/system.slice/rsyncd.service
Type=simple
Restart=no
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
WatchdogUSec=0
WatchdogTimestampMonotonic=0
StartLimitInterval=10000000
StartLimitBurst=5
StartLimitAction=none
ExecStart={ path=/usr/sbin/rsyncd ; argv[]=/usr/sbin/rsyncd --daemon --no-detach ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=2959
ControlPID=0
Result=success
UMask=0022
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=18446744073709551615
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=4096
LimitAS=18446744073709551615
LimitNPROC=7903
LimitMEMLOCK=65536
LimitLOCKS=18446744073709551615
LimitSIGPENDING=7903
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=24576
CPUSchedulingPolicy=3
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
MountFlags=0
PrivateTmp=yes
PrivateNetwork=no
SameProcessGroup=no
IgnoreSIGPIPE=yes
NoNewPrivileges=no
KillMode=control-group
KillSignal=15
SendSIGKILL=yes
SendSIGHUP=no
CPUAccounting=no
CPUShares=1024
BlockIOAccounting=no
BlockIOWeight=1000
MemoryAccounting=no
MemoryLimit=18446744073709551615
DevicePolicy=auto
ExecMainStartTimestamp=Sat 2014-01-25 14:26:31 CET
ExecMainStartTimestampMonotonic=711327997
ExecMainExitTimestampMonotonic=0
ExecMainPID=2959
ExecMainCode=0
ExecMainStatus=0

from webmin.

jcameron avatar jcameron commented on June 12, 2024

That looks OK.

Do any of the files matching /etc/systemd/system/rsyncd.* or /lib/systemd/system/rsyncd.* exist on your system?

from webmin.

postrational avatar postrational commented on June 12, 2024

No, there are no files in /lib/systemd/system, they are in /usr/lib/systemd/system instead.

When I execute systemctl enable manually, I get the following output:

# systemctl enable rsyncd.service
ln -s '/usr/lib/systemd/system/rsyncd.service' '/etc/systemd/system/multi-user.target.wants/rsyncd.service'

from webmin.

jcameron avatar jcameron commented on June 12, 2024

Ok, that explains it - Webmin is looking in the wrong directory. I will fix this in the next Webmin release.

from webmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.