search for: systemctl

Displaying 20 results from an estimated 2099 matches for "systemctl".

2019 May 28
2
Older versions of samba that work with CentOS 7?
...t; style domains support (ie. it supports NT style domains). We use servers > with CentOS 6 and CentOS 7 both with NT style domains. Phew! Thank you, this is great news! I had huge trouble to get the samba server started after I ported it onto a CentOS 7 machine. I tried to start it with systemctl start smbd nmbd winbind samba and it failed without error messages. So I has asked a question on the Samba mailing list. They told me I should do this as systemctl stop smbd nmbd winbind samba systemctl disable smbd nmbd winbind samba systemctl mask smbd nmbd winbind samba syst...
2018 May 09
1
[4.5.12] "guest account" doesn't work
What you want to know is.. ## For a standalone server/Member server. systemctl stop samba-ad-dc samba systemctl disable samba-ad-dc samba systemctl mask samba-ad-dc samba systemctl unmask smbd winbind nmbd systemctl enable smbd winbind nmbd systemctl start smbd winbind nmbd ## For an AD-DC setup. systemctl stop smbd nmbd winbind systemctl disable smbd nmbd winbind systemct...
2015 Apr 03
2
systemctl (again)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yet more information: As a test I moved the link /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service into /etc/systemd/user and reran systemctl daemon-reload. I then rebooted. # ls -l /etc/systemd/user total 4 lrwxrwxrwx. 1 root root 41 Jul 27 2014 dbus-org.fedoraproject.FirewallD1.service -> /usr/lib/systemd/system/firewalld.service -rwxr-x---. 1 root root 246 Apr 3 21:21 timidity.service # systemctl status dbus-org.fedorapro...
2017 Dec 15
2
ot: 2.2 ghettoforge install systemctl Q
I've installed new Centos 7 with Dovecot 2.2 from ghettoforge and, used /etc/dovecot from current Centos 6 Dovecot 2.1 I can start/stop Dovecot with dovecot / doveadm stop BUT when I tried 'systemctl' I get # systemctl status dovecot ? dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/usr/lib/systemd/system/dovecot.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:dovecot(1) http://wiki2.dovecot.org/ how do I fix this, or,...
2015 Apr 02
4
systemctl (again)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SELinux certainly was causing fun and games. I copied your suggestion to /etc/systemd/user/timidity.service (mode 750) but it's still not happy: [root at tamar user]# systemctl status timidity timidity.service Loaded: not-found (Reason: No such file or directory) Active: failed (Result: exit-code) since Th... ... Starting LSB: Add and remove timidity... ... timidity.service: control process exited, code=exited status=203 ... Failed to start LSB: Add and remov...
2015 May 10
2
mariadb fails to start under C7
On 5/10/2015 1:04 PM, Earl A Ramirez wrote: > Did a little Googling [0] and I saw that they recommend starting it as > follows: > > /etc/init.d/mysql start which is old school sysVinit style. my guess is, you'll need to fix up a systemd service description file, like /usr/lib/systemd/system/mariadb.service -- john r pierce, recycling bits in santa cruz
2016 Jul 07
1
CentOS-7 Screen black after boot
...top and leave the system for long time locked, you will notice that CentOS slips into textual interface mode and you will not be able to get GUI which means, you can login to the system and cannot see GUI screen. I have found the following steps on google, which helped me get through this problem systemctl disable gdm.service systemctl enable lightdm.service systemctl set-default graphical.target First command was successful, second one error'd out. Not sure what to do, i reverted back the first command and executed the third command and rebooted. All worked fine ! Below is the log - [root at...
2019 Jan 05
2
Mail server with both postfix and sendmail installed, active MTA gets switched.
...st that, and I don't have control of its requires.? So both postfix and sendmail are installed, and that's just the way it has to be.? Amavisd-new and clamav/clamd, from EPEL are also installed. I have had updates twice now switch the active MTA to sendmail, and I have to manually 'systemctl disable sendmail; systemctl stop sendmail' and 'systemctl enable postfix;systemctl start postfix' afterwards.? I am trying to find out what package update caused this to switch; or which logfile to look at to show me the systemctl messages that show the enable/disable sequence and p...
2019 Apr 25
3
Managing samba ad dc with systemd
...lookup.target [Service] Type=forking ExecStart=/usr/local/samba/sbin/samba -D PIDFile=/usr/local/samba/var/run/samba.pid ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target I've created a mask to smbd, nmbd and winbind and I've disabled them following this command: # systemctl mask smbd nmbd winbind # systemctl disable smbd nmbd winbind. But, when I've use systemctl stop samba-ad-dc to stop samba, the status shown is "failed" with code=exited and status=127. Is it normal behavior? [root at king ~]# systemctl stop samba-ad-dc [root at king ~]# systemctl st...
2017 Dec 16
1
ot: 2.2 ghettoforge install systemctl Q
On 16/12/17 20:45, Aki Tuomi wrote: >> I've installed new Centos 7 with Dovecot 2.2 from ghettoforge and, used >> /etc/dovecot from current Centos 6 Dovecot 2.1 >> >> I can start/stop Dovecot with dovecot / doveadm stop >> >> BUT when I tried 'systemctl' I get >> >> # systemctl status dovecot >> ? dovecot.service - Dovecot IMAP/POP3 email server >> Loaded: loaded (/usr/lib/systemd/system/dovecot.service; disabled; >> vendor preset: disabled) >> Active: inactive (dead) >> Docs: man:dovecot(1)...
2015 Apr 04
0
systemctl (again)
Thats wierd. I've never had any problem with systemctl or systemd like that. Do you have your service file in the right place with the right permissions. here is the httpd service file as a reference. [centos at ipa ~]$ ls /usr/lib/systemd/system/httpd.service -l -rw-r--r--. 1 root root 694 Mar 12 14:57 /usr/lib/systemd/system/httpd.service [cent...
2015 Apr 03
5
vncserver on CentOS 7
...to setup a centos 7.1 vncserver I cannot believe they went from a relatively easy process in 6 to the "crazyness" that is 7. I did the following: yum install tigervnc-server cp /lib/systemd/system/vncserver at .service /etc/systemd/system systemctl daemon-reload edit /etc/systemd.system/vncserver at .service and replace <USER> with myuser su - myuser run vncpassword to set password systemctl enable vncserver at . Says its enabled: systemctl list-unit-files | grep vnc vncserver at .servic...
2020 Mar 06
3
DCs from 4.10.x to 4.11.x
Aah.. Sorry typo. systemctl unmask samba-ad-dc (umask / unmask ) systemctl enable samba-ad-dc systemctl start samba-ad-dc Im very buzy, so slow in responce atm, but if a service fails to upgrade and starts it gets masked. Unmasking is needed then. To make sure its all enable i also run extra enable. > -----Oorspro...
2019 Dec 20
3
Upgrading from Debian Stretch to Buster, Van Belle package
For a AD-DC on systemctl start samba-ad-dc For a member : systemctl start smbd winbind (and optional nmbd) > -----Oorspronkelijk bericht----- > Van: Lmloge [mailto:lmloge at orange.fr] > Verzonden: vrijdag 20 december 2019 14:10 > Aan: L.P.H. van Belle > CC: samba at lists.samba.org > Onderwerp: R...
2015 May 19
2
Turning off wifi in CentOS 7
...ire up the wifi. >> >> On a workstation, in a wired environment. I just want to tell NM to knock >> it off....It's Monday, and my searching isn't going too well. Clues for >> the poor? >> >> > > nmcli radio wifi off Or if you want a bigger hammer: systemctl disable NetworkManager.service systemctl enable network.service systemctl stop NetworkManager.service systemctl start network.service The above will disable NetworkMangler and return control of the network to the scripts in /etc/sysconfig/network-scripts just like previous versions. Regards, --...
2015 Apr 04
2
systemctl (again)
...discovered last thing yesterday there was a missing "[Install]". Using your copy of the httpd service I cut-and-pasted it onto the end of the service file you'd given me earlier and at last was able to load the service. It wouldn't run, but at least it was some progress. I ran systemctl daemon-reload and rebooted. It is still failing though: # systemctl status timidity timidity.service - timidity daemon Loaded: loaded (/etc/systemd/system/timidity.service; enabled) Active: failed (Result: exit-code) since Sat ... Process: 955 ExecStop=/bin/kill -s TERM $MAINPID (cod...
2020 Mar 05
4
DCs from 4.10.x to 4.11.x
Am 05.03.20 um 17:39 schrieb Rowland penny via samba: > On 05/03/2020 16:31, Stefan G. Weichinger via samba wrote: >> Am 05.03.20 um 16:09 schrieb Rowland penny via samba: >> >>> It took nearly 5 hours in my case and during that time, only the samba >>> binary was running, no smbd or winbind. >> Why 5 hours? Thousands of users? > No, just my small test
2016 Apr 28
1
systemctl enable httpd failure
Hi List, [root at mail1 ~]# systemctl enable httpd Failed to execute operation: Invalid argument I can disable and re-enable other services without issue, I'm also seeing the same error when I run [root at mail1 ~]# systemctl enable mailman Failed to execute operation: Invalid argument Any suggestions? Michael
2014 Nov 23
1
CentOs 7.0 and reboot failure
...gnome desktop latter. I also changed the boot level to 5. >> >> Has anyone else had this problem, or any suggestions as to a remedy. >> >> Thanks, >> >> Greg Ennis >> >> >> > Centos 7 runs systemd ,so > may need to use 'systemctl reboot' to reboot and 'systemctl > poweroff' to shutdown system. > I suggest to read systemctl manpage ( towards the end) I think the shutdown command on CentOS 7 already reflects that. # ls -l /usr/sbin/shutdown lrwxrwxrwx. 1 root root 16 Oct 23 16:52 /usr/sbin/shutdown...
2020 Sep 12
3
Server entering Emergency Shell, but continues fine after pressing Enter
On 9/11/20 4:51 PM, Quinn Comendant wrote: > Does anyone know what initrd-parse-etc.service does? Or have suggestions how to troubleshoot that unit specifically? Run "systemctl daemon-reload && echo success" and verify that it reports success, and not errors. Check the output of "systemctl status initrd-cleanup" too.