Systemd not running my service
Hello,
I have created a timed service to mirror some repositories. If I do "sudo systemctl start mirror.service", nothing happens. It should fetch git repositories. If I run my mirror script from shell, everything works.
mirror.service
[Unit]
Description=Mirror repositories
[Service]
User=wilhelm
Type=forking
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/home/wilhelm/environment/mirror
mirror
#!/bin/zsh
(mirror-git &) > /dev/null 2>&1
(mirror-svn &) > /dev/null 2>&1
these mirror-git and mirror-svn, will find all their repositories and use xargs to launch multiple git fetch and svn updates simultaneously.
Wilhelm wrote:So, shouldn't it run the script as me?
Good question
I think the problem is that it may run the script as you. I am not familiar with the mirror-git and mirror-svn commands. Is it possible they require that working directories be set?
This may not be exactly what you are looking for, but you may want to look at systemd user services.:
https://wiki.archlinux.org/index.php/Systemd/User
Similar Messages
-
AE program not running but service in task manager visible
So, as title suggests, I dont' have my AE CS3 opened, but I can see it running in task manager. So when I want to run update it won't let me, because the service is running.
Oh, if 'end process' would help, I wouldn't be posting this topic. Is there any other way to kill this process? And why is it running?
I have Production Suite CS3 installed, any other versions are not installed.
Thank you for help.What do you mean by "service"? If you are referring to the Adobe Update Manager (AUM), then yes, indeed, these are severe bugs. Nobody seems to have an idea about them. I'm affected by them myself. I simply recommend deleting the updater.exe so it doesn't start automatically and instead downloading all updates manually from the Adobe site.
Mylenium -
Can not run Form Services on linux
I have sucessfully installed Oracle Froms and Reports Services 10g Enterprise Manager are working but i want to
run forms on web the following error occur.
FRM-92050: Failed to connect to the Server: /forms90/I90servlet:-1
please give solution
thank
asimAlso, did you make any changes to the configuration, or is this out-of-the-box? Did you go through all the very neccessary pre-install steps. Please check memory (disk and SWAP) consumption.
-
SCOM 2012 Linux Monitoring - RPCBIND, RPCIDMAP, RPCSTAT services not running
We are running SCOM 2012 SP1 and added a test Linux server running Red Hat Enterprise 6.3. SCOM is reporting that the server is in Critical health because the following three services are not running.
1) Process Rpcbind Service Health - Rpcbind Mapper Not Running
2) Process Rpcidmap Service Health - NFSv4 ID Name Mapper Not Running
3) Process Rpcstat Service Health - NSM Status Monitor Not Running
My question is that are these services required to be running in order for SCOM to monitor the Linux servers properly? If yes, can you please give brief explaination as to why so I can explain that to our Linux Administrator. The Linux Administrator
is saying that we do not run these services on any of the Linux servers because they are not needed. If infact these services are not needed, how can I have SCOM ignore the critical error messages? ThanksYup, generally running. I'm assuming you've done a basic install of RHEL 6. All processes listed above are enabled by default on a RHEL 6 install if you take the default settings. If someone is just getting started you can pretty much guarantee
they will do a basic install of RHEL 6 and this will not be an issue.
Could it be done better... sure but at what point do you stop? We could discover all services running on the system and start monitoring them out of the box but what are important and what are not to each customer? The idea is to give you some basic monitoring
on a default install based on what each OS provider starts on a "default" install. If this does not suite your needs SCOM is very configurable and adding a custom service monitor is very easy to configure along with disabling existing ones.
If you'd like to provide feedback on this feel free to open a support ticket with Microsoft and file what we call a 'Design Change Request' [DCR]. We go though these prior to starting each update to SCOM. No guarantee it will get fixed/changed as we do have
priorities but we are listening.
Regards,
-Steve -
[Solved]can't get systemd to work, syslog.service not loaded
So, i've been trying to use systemd today, after "Create systemd configuration files." step and reboot, i always got this:
Any Help would be appreciated..
Last edited by veroke12 (2012-08-25 07:31:06)eldragon wrote:remove quiet from your kernel boot parameters. post some more useful stuff like the dmesg (obtained from the recovery console)
that did the trick, but can't login (i use startx)..
and get an error mounting:
mnt-windows.mount - /mnt/windows
Loaded: loaded (/etc/fstab)
Active: failed (Result: exit-code) since Sat, 25 Aug 2012 13:03:57 +0700; 3min 26s ago
Where: /mnt/windows
What: /dev/sdb
Process: 367 ExecMount=/bin/mount /dev/sdb /mnt/windows -t ntfs-3g -o gid=users,fmask=113,dmask=002 (code=exited, status=12)
CGroup: name=systemd:/system/mnt-windows.mount
Aug 25 13:03:57 myhost mount[367]: NTFS signature is missing.
Aug 25 13:03:57 myhost mount[367]: Failed to mount '/dev/sdb': Invalid argument
Aug 25 13:03:57 myhost mount[367]: The device '/dev/sdb' doesn't seem to ha...S.
Aug 25 13:03:57 myhost mount[367]: Maybe the wrong device is used? Or the w... a
Aug 25 13:03:57 myhost mount[367]: partition (e.g. /dev/sda, not /dev/sda1)...d?
dmesg:
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e1d5602b-de83-46e0-8ed8-4366a319b49b ro init=/bin/systemd
[ 0.709226] systemd-udevd[41]: starting version 188
[ 2.936891] systemd[1]: systemd 188 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP; arch)
[ 3.170230] systemd[1]: Inserted module 'autofs4'
[ 3.199718] systemd[1]: Set hostname to <myhost>.
[ 4.267502] systemd[1]: [/usr/lib/systemd/system/rc-local.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
[ 4.445331] systemd[1]: [/usr/lib/systemd/system/rc-local-shutdown.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
[ 4.503987] systemd[1]: Cannot add dependency job for unit dkms.service, ignoring: Unit dkms.service failed to load: No such file or directory. See system logs and 'systemctl status dkms.service' for details.
[ 4.504023] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 4.504291] systemd[1]: Socket service syslog.service not loaded, refusing.
[ 5.060568] systemd-udevd[125]: starting version 188
[ 5.760783] systemd-journald[132]: Fixed max_use=145.0M max_size=18.1M min_size=64.0K keep_free=72.5M
[ 5.760833] systemd-journald[132]: Reserving 33009 entries in hash table.
[ 5.761588] systemd-journald[132]: Vacuuming...
[ 61.730597] systemd[1]: Job systemd-tmpfiles-clean.timer/start failed with result 'dependency'.
[ 61.730612] systemd[1]: Job dbus.socket/start failed with result 'dependency'.
[ 61.730719] systemd[1]: Unit mnt-windows.mount entered failed state.
[ 61.734921] systemd-journald[132]: Received SIGTERM
[ 61.810451] systemd[1]: Startup finished in 3s 223ms 841us (kernel) + 58s 586ms 503us (userspace) = 1min 1s 810ms 344us.
[ 61.839330] systemd-journald[379]: Fixed max_use=145.0M max_size=18.1M min_size=64.0K keep_free=72.5M
[ 61.839678] systemd-journald[379]: Vacuuming...
[ 61.893807] systemd-journald[379]: Received SIGUSR1
Last edited by veroke12 (2012-08-25 06:31:18) -
[SOLVED] systemd not alway starts dnsmasq and minidlna service
Hi!
After I've annoyed some of you (and hopefully helped others) with my threads on systemd I got systemd working. But; I still have one problem. Systemd seems to have trouble starting dnsmasq and minidlna.
dnsmasq.service loaded failed failed A lightweight DHCP and caching DNS server
[email protected] loaded active running Getty on tty1
httpd.service loaded active running Apache Web Server
logitechmediaserver.service loaded active running Logitech Media Server Daemon
lvm.service loaded active exited LVM activation
minidlna.service loaded failed failed minidlna server
Sometimes they do load, sometimes not. Is there a way to find out why a service could not be started?
btw
systemctl start minidlna dnsmasq
does start them perfectly
Last edited by theking2 (2012-12-13 18:50:35)Yes, there is such a command systemctl status and it says
Dec 11 20:54:44 janus systemd[1]: Starting A lightweight DHCP and caching DNS server...
Dec 11 20:54:45 janus dnsmasq[308]: dnsmasq: syntax check OK.
Dec 11 20:54:45 janus dnsmasq[335]: dnsmasq: failed to create listening socket for 172.16.0.8: Cannot assign requested address
Dec 11 20:54:45 janus systemd[1]: dnsmasq.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Dec 11 20:54:45 janus systemd[1]: Failed to start A lightweight DHCP and caching DNS server.
Dec 11 20:54:45 janus systemd[1]: Unit dnsmasq.service entered failed state
and
minidlna.service - minidlna server
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Tue, 2012-12-11 20:54:45 CET; 46s ago
Process: 303 ExecStart=/usr/sbin/minidlna -P /var/run/minidlna/minidlna.pid (code=exited, status=255)
CGroup: name=systemd:/system/minidlna.service -
SBO_Backup Service is not Running In SAP Business one 8.8
Hi Experts,
Here We have Recently Upgraded from SAP Business one 2007 to SAP Business one 8.8.
Previously the SBO_Backup service In Server Tools was running proberly,
But after Upgrade the Backup service is not running .
Kindly Give us your value solutions..
Regards,
M.SenthilnathanHi,
I Am Using Windows Server 2003 Small business Server edition.
I have checked Ur solutions.
Am running Server tools in Administrator Login only with Full Permissions.
The License manager and DI server is running Only The SBO_Backup service is not Running!!!
Regards,
M.Senthilnathan -
Windows 7 professional - one or more audio services are not running
I have a windows 7 professional laptop. The audio stopped working suddenly. When i click on the audio icon (with a red x on it) the system tried to troubleshoot the problem. This is the error i see in the troubleshooter.
One or more audio services isn't is running
I tried to start the windows audio, windows audio endpoint builder. Neither of them started but gave some error.
When i tried to restore to a previous version i got an error message that there are some bad sectors on the C drive but could not run the checkdsk on that drive. Instead windows offered me to run it at next reboot. I did multiple reboots but the chkdsk never
ran.
I am don't have a windows reinstall disk. Can somebody point me where i can get the windows OS to reinstall it?Hi,
You can contact the Original Equipment Manufacturer (OEM) of your computer for obtaining
replacement disks and manuals.
For computer manufacturer contact information,
visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?pr=oemphone
More information about How to replace Microsoft software or hardware,
order service packs, and replace product manuals, please see the following KB article:
http://support.microsoft.com/default.aspx?kbid=326246
Hope it helps.
Tracy Cai
TechNet Community Support -
I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12 file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser. Unknown Error. (123)"
Change browsers. See what happens.
Be well... -
OSB sbconsole "Test Console" service is not running
Hi all,
A problem in the osb domain sbconsole I am facing during testing of proxy/business services. When clicking on the "Launch Test Console" icon I got following error:
Error Accessing Test Configuration
"Test Console" service is not running. Contact administrator to start this service.
I have checked the test-console flag as true in ALSBdebug.xml file in all admin and managed servers. Still I am not able to test the service through sbconsole. All the servers are in OK state
Please help.
regards
Mohit SharmaCluster address should be comma-separated address of managed servers. For e.g. - If managed_server1 is listening on host:8011 and managed_server2 is listening on host:8013 then cluster address should be like host:8011,host:8013
You may refer section "Cluster Address" at below link -
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13709/setup.htm#i717132
Regards,
Anuj -
Report Subscription by email error - The SQL Agent service is not running
Hello All,
This may be an easy answer, so please excuse my ignorance if I am overlooking something simple. I a simply trying to setup Report Subscriptions to be emailed to me. We currently have essentially 3 servers in use in our environment - a CAS, a Site server
and a SQL 2012.
I have configured the email settings in Reporting Services Configuration Manager on the Site server and was finally able to see the email option in the Create Subscription Wizard, but it errors out with:
System.Web.Services.Protocols.SoapException: The SQL Agent service is not running. This operation requires the SQL Agent service. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SchedulerNotRespondingException: The SQL Agent service is not running.
This operation requires the SQL Agent service. at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateSubscription(String Report, ExtensionSettings ExtensionSettings, Boolean isDataDriven, DataRetrievalPlan DataRetrievalPlan, String
Description, String EventType, String MatchData, ParameterValueOrFieldReference[] Parameters, Guid batchId, String& SubscriptionID) at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateSubscription(String Report, ExtensionSettings
ExtensionSettings, String Description, String EventType, String MatchData, ParameterValue[] Parameters, String& SubscriptionID)
We do not have SQL installed locally, therefore it makes sense that the Agent service is not running. How do I subscribe to alerts in SCCM without a local installation of SQL?
-BradI am positive - see screenshots below of services on the SQL server:
Yes, reports work perfectly otherwise... Just cannot subscribe.
-Brad -
The report server service is not running on Reporting Service Point server
Hi,
I have encountered a problem, my reporting service point has stopped working. (SCCM 2012 R2)
In srsrp.log:
Check state SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Check server health. SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Successfully created srsserver SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Reporting Services URL from Registry [https://s-hub-sql1.domain.local/ReportServer/ReportService2005.asmx]
SMS_SRS_REPORTING_POINT 12/15/2014 5:48:54 AM
3152 (0x0C50)
The request failed with HTTP status 404: Not Found.
SMS_SRS_REPORTING_POINT 12/15/2014 5:48:54 AM
3152 (0x0C50)
(!) SRS not detected as running SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Failures reported during periodic health check by the SRS Server S-HUB-SQL1.domain.local.
SMS_SRS_REPORTING_POINT 12/15/2014 5:48:54 AM
3152 (0x0C50)
Registry change SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT
12/15/2014 5:48:54 AM 3152 (0x0C50)
Timed Out... SMS_SRS_REPORTING_POINT
12/15/2014 5:49:54 AM 3152 (0x0C50)
Set configuration SMS_SRS_REPORTING_POINT
12/15/2014 5:49:54 AM 3152 (0x0C50)
In windows event log:
On 12/15/2014 6:39:28 PM, component SMS_SRS_REPORTING_POINT on computer S-HUB-SQL1 reported: The report server service is not running on Reporting Service Point server "S-HUB-SQL1"; start the service to enable reporting.
In configuration manager service manager, the service sms_srs_reporting_point is running.
In Reporting services configuration manager, the service is running.
If I restart the reporting service, it doesn't helps.
What is not properly?I've already found the reason why all stopped working - someone deleted the report manager URL HTTPS bindings (in Report services configuration manager). Added it back, than reporting started to work. Awww!
-
AppLocker service issue: AppIDSvc not running, but enforcement working.
I have a strange problem with AppLocker. I configured the service (AppIDSvc) and some policies using group policy and deployed it to some computers in my domain. I logged onto one of the systems and verified that AppIDSvc was running, and that
enforcement and logging were working correctly.
Later, I decided to expand that policy to more computers. I reorganized the policies somewhat, but the RSOP is the same. I logged onto one of the new machines that I applied the policy to, and noticed that the service was not running and nothing
audited in the AppLocker logs. When I try to start the service, I get "System error 31 has occurred. A device attached to the system is not functioning."
This is strange, but what is more strange is that on the first set of systems I deployed AppLocker to, I am seeing the same behavior from the service: not starting, and attempts to start result in the same error. However, AppLocker is still working!
It is still enforcing the original policies I created, and is still logging events.
I did a little more investigation, and I see that the AppID service (which AppIDSvc depends on) is running, and must be the service doing the heavy lifting behind the scenes. When I prevent the AppID service from starting (by removing it from [HKLM\SYSTEM\CurrentControlSet\services]),
and restart the system; the enforcement/logging stops. When I put it back, it restarts. But, I cannot get it to start on systems other than the original test group, and obviously something is wrong that the AppIDSvc won't start.
It's as if the enforcement mechanism (provided by AppId.sys?) cannot be called by the AppIDSvc, or AppIDSvc cannot access the resources in use by AppID; or something to that effect. I have tried auditing the behavior of the system using procmon, but
haven't made much headway yet.
Any insight into this issue, or how to better troubleshoot it would be greatly appreciated.Despite hours of troubleshooting, just minutes after resorting to posting about this problem I solved it!
The issue ended up being that when I updated my group policy to ensure that the AppIDSvc was enabled, in my due diligence to ensure that everything was set correctly, I selected the radio button for "Log on as: Local System account." In fact, this
service must run under the "NT Authority\Local Service" account, not the Local System account. Once the account settings were corrected, the service started no problem.
I have updated my group policy to fix the issue and all seems to be well. -
The Audio Service is not running when I open certain programs
My audio works fine when I boot my computer. However, any time I got to click on the speaker icon at the bottom right the audio service stops running. When I use the system.msc fix that is very common on the web by the time I open the panel the
audio has already realized that it is running and starts running again. If I open razer comms, it stop working again and I either can open system.msc to fix it, or I can just click the speaker icon to fix it. When I open a game, like FFXIV it stop
working again, click the speaker and all the sudden it turns back on.
I have read every thread I can find on the web about the "Audio is not running" issue but no one seems to have had this exact problem and I don't know how to fix it.
For the love of god help
Hi,
By saying the audio service us not working, do you mean the speaker icon show an red "X" ?
Please take a check with the following KB article:
In Windows 7 a red 'X' may appear over the speaker icon in the notification area even though audio output functions correctly
If this is the issue, then this behavior is cosmetic in nature and does not affect the performance of Windows.
Best regards
Michael Shao
TechNet Community Support -
Error Service Component Container for Java Mailer is not running
Hi,
I installed Oracle Workflow 2.6.3 (Standalone) in Oracle Database 10g Release 1.
Actually there was no problem during the installation.
I have done the Setting Up from step 1 to 8.
I'm going to do the step 9 (Implementing Notification Mailer).
The problem is the Workflow Agent Listener WFALSNRSVC is not running
and I cannot run it using the Oracle Workflow Manager.
In the Oracle Workflow Manager there was 4 rows which related to the Container : WFALSNRSVC
1. Workflow Deferred Agent Listener
2. Workflow Deferred Notification Agent Listener
3. Workflow Error Agent Listener
4. Workflow Inbound Notification Agent Listener
The status is : Stopped.
I cannot run any of them.
Although the Startup Mode is Automatic, but none of them is running.
When I tried to push the Go button to Actions: Start, it showed this message
An error has occured
The Service Component Container is not running.
And after I tried to configure the Workflow Notification Mailer using the wizard
I didn't receive any e-mail after I push the Test Send Mail button.
I read in another post in this forum.
It states that when going to the Workflow Configuration Assistant (WFCA)
we must give the right entry in the LDAP paramaters and Java Mailer parameters,
otherwise those WFALSNRSVC and WFMLRSVC would never run eventhough we enter them in a later time.
Actually I didn't provide the paramaters (both of them) since they are optional.
My questions are:
1. Is there another way to run those service (servlet)?
I really need the Java Notification Mailer to send email.
2. Should I uninstall and reinstall my Oracle Workflow and provide those paramaters?
Do I have to uninstall and reinstall the Oracle Workflow Middle Tier too?
3. Is it okay if I drop and cascade the OWF_MGR user (my Workflow Manager schema)
and then I use the Workflow Configuration Assistant again and choose Install option
to create the OWF_MGR schema?
3. Are the LDAP and OID required before we use the Java Notification Mailer?
Actually I didn't understand the use of LDAP and OID which required in the LDAP paramaters?
Any help would be grateful.
Thanks,
BuntoroIn the service components page click on any container, select stop all from the LOV and Go. Once all the containers Workflow Agent Listener Service,
Workflow Document Web Services Service and Workflow Mailer Service are Deactivated then StartAll. After all the containers are started then check the components status.
Still if they are running bounce the apache.
Maybe you are looking for
-
IWeb version 3.0.4 & adsense
What is the correct code to replace the Google Adsense Widget which USED to work beautifully? I want to stay with the "live ad" sizes already on my webpage but these are now blank on publication. I apologize if I am asking a stupid question, but I re
-
I am having a really annoying problem with my single field search form. When I search for results I want it to load a page with a form with all the fields filled in. I have this method working on another page. The form is on member_search.php and the
-
Display Image from the database but prevent it from refreshing on every pages
Hi there, I can see there are many discussions around this but my query is slightly different. I'm writing this on behalf of one of my developers. (sorry for my ignorance on techie stuff.. :-)) A logo is being displayed on a few pages, which is calle
-
Hi, Can any one help me in knowing more about integration of CRM and BW... some basic steps? Cheers!!!!!!!
-
[SOLVED] xorg / nvidia problems after upgrade
Hello, I have recently done an upgrade with pacman -Syu and am having problems. When X starts, it hangs at a blank screen. Keyboard is frozen and I am unable to hit another tty. I can ssh in, but I cannot even seem to kill X, or reboot. I am forced