'Flush' launchd without rebooting server?
I created a daily 6am disk usage report, then moved it to 8am... but then it began running at 6am and 8am... so I unloaded the job and found the 8am job kept running, even though there's no mention of it in the 'launchd list' results!
I've used the following one-liner to print out the contents of all the loaded launchd jobs, but none of them have been overwritten by my plist, or in any other way call the script that my launchd job was created to run... very weird.
for i in `launchctl list | awk '{ print $NF }'`; do launchctl list $i ; done
I've unloaded, reloaded, and anything else I can think of at the commandline or in Lingon (launchd interface), but can't stop this job!
Is there any way to restart launchd, or flush its cache/database of jobs, without rebooting the server??
Thanks for the thought BDAqua, but cron keeps its jobs in /etc/crontab while launchd uses XML plists and each job is a seperate file.
I haven't touched cron, and cant see a way that launchctl or Lingon (both solely launchd utils) would have injected the job into cron, but I checked anyway and found it wasn't the case. cron has been deprecated in favour of launchd.
launchd is the root of all processes, so i understand if there's no mechanism for restarting it (because it would kill everything else running) but I'm hoping there's a way to get it to rescan all the plist locations like it does on boot, so it will hopefully drop the spurious job and reingest the updated plist.
Similar Messages
-
Hi,
Is it possible to install XDB without a server reboot? I would like to install the latest Application Express, however getting signoff for a server reboot will be large task.
Regards,
Matthew Watson.You have to be a little bit more specific.
Oracle XMLDB is only supported on 9.2.0.3 and upwards as stated in the header on the main page of this forum.
A locally installed APEX based on the Protocol Server (aka Listener) can only be done from 10.2.0.3 and upwards.
I don't know the first supported database version while using apex, apache, mod_sql and the dbms_eqg. You should ask that question on the OTN apex forum
If you want, I could lead you to an post of an apex install on 10.2.0.3 version... -
How to restart VSS writers without rebooting
Hello fellow teckies.
I'm having this problem when backing up with Symantec Backup Exec 11d where it generates errors about not being able to backup VSS sections on the C drive.
I've already posted with Symantec.
https://www-secure.symantec.com/connect/forums/vss-c-drive-errors-when-backing-server
They're saying to re-register and restart the services. My question is, can the services be restarted without rebooting?
Unfortunately rebooting is not an option as this is a critical production server.
If anyone can answer, please let me know.
Thanks :)What Santhosh mentioned is on the right direction. To restart a VSS writer, you need to restart the services or process that hosts the writer. Generally speaking, we will
take the following steps when encountering VSS writer related issues:
Retry the backup or restore operation that caused the error condition.
If this does not resolve the issue, restart the service or process that hosts the writer, and retry the operation.
If this does not resolve the issue, open Event Viewer as described in the "Open Event Viewer and view events related to VSS" section and look for events related to the
service or process that hosts the writer. If necessary, restart the service or process, and retry the operation.
If this does not resolve the issue, restart the computer, and retry the operation.
If restarting the computer does not resolve the issue, provide the Event Viewer information to the vendor whose application is indicated in the event text.
http://technet.microsoft.com/en-us/library/ee264212(WS.10).aspx
As for the impact of the restart, it generally will not cause bad effect. However, it depends on the service which is restarted. Generally speaking, a service should handle
all the related task, such as writing all data in memory into disk and committing the transaction, etc, when a properly restart operation is performed. If there are any particular requirement or order to follow to restart a service or application, you should
follow the recommended restart procedure.
Meanwhile, it is reported that when performing Shadow Copy Components backups with the File Server Resource Manager (FSRM) installed you may encounter this issue. Please
refer to the following Symantec article:
http://www.symantec.com/business/support/index?page=content&id=TECH48419
NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control
these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the
use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Laura Zhang - MSFT -
Deleting local user profile on RDS without reboot
I need to delete the local profile for a user on our RDS server, because of a problem with this user.
Since the user was using RDS a few days ago, and RDS wasn’t rebooted since, I can’t delete the local profile. When I go to advanced system settings—user
profiles. The ‘delete’ option is greyed out.
I know that I can reboot the server then will be able to delete it, but since this server is serving many users, it means they all have to stop using it.
Is there a way to delete this user’s profile without rebooting the server?
I use sever 2008 R2.
ThanksHi,
A local user profile is created the first time a user logs on to a computer. The profile is stored on the computer's local hard disk. Changes made to the local user
profile are specific to the user and to the computer on which the changes are made.
Windows security requires a user profile for each user account on a computer. The system automatically creates a local user profile for each user when the user logs
on to the computer for the first time. The system automatically maintains the settings for each user's work environment in a user profile on the local computer.
Windows Vista and later: User profiles are managed through the
User Accounts control (UAC) panel item.
You can open the
Control Panel and click User Accounts, then click the Change User Account Control setting, dropped to the lowest turn off UAC. Press OK.
Then you can use administrator account try again to see whether you can delete the local user profile or not.
More information:
http://blogs.msdn.com/b/rds/archive/2009/06/02/user-profiles-on-windows-server-2008-r2-remote-desktop-services.aspx
Technology changes life…… -
How to set up Group Policy without any server installed
How to set up Group Policy on Win8 without any server installed?
I have set up 50 users on LAN and want to push softwares via one common point. From google I found to deploy Software using Group Policy. But then Group Policy occurs in Servers and I don't have any server set up.Hello,
a Domain requires at least one Windows server OS machine which has Active Directory installed.
As previous already mentioned from SenneVL this also requires that computers are added to the domain and that you create user accounts in Active Directory users and computers which stores the account information in the Active directory database.
In your case with single computers each machine has its own database(SAM) which stores passwords etc. this is different in a domain.
Each computer has a local policy which will be overwritten from centrally managed policies from the domain.
"The common point would be my PC (Admin PC) ."
This machine can not be used for your needs with software installation for 50 computers.
"How To Use the Group Policy Editor to Manage Local Computer Policy."
This is about the local machine and you cannot manage them for other computers from your Admin PC.
"DOMAIN part: By default Microsoft takes everyone on Workgroup. Is that not a default DOMAIN? or should I make one lets say "ABC" on every PC ?"
NO, this is NOT a domain.
http://windows.microsoft.com/en-us/windows7/what-is-the-difference-between-a-domain-a-workgroup-and-a-homegroup
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://blogs.msmvps.com/MWeber
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Twitter: -
I have Firefox 6.0.1. I am running it on a desktop with Windows XP. I have always loved it and need it for one program I use a lot. Lately, if I close Firefox for any reason, I can't open it back up without rebooting. It says Firefox is still running. I have deleted Firefox and reinstalled it several times with the same result.
See "Hang at exit":
*http://kb.mozillazine.org/Firefox_hangs
*https://support.mozilla.com/kb/Firefox+hangs -
Self Signed in Certificates without CA server
Hi Team,
I am working to configure expressway for Cisco Jabber but i stuck now in certificate step, can i do self signed in certificate without CA server ? if yes what are the procedures to do that.
ThanksIt is better if you use a CA server.
Please follow the deployment guide http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/expressway/config_guide/X8-1/Mobile-Remote-Access-via-Expressway-Deployment-Guide-X8-1-1.pdf -
Is it possible to do DST patch without reboot on Solaris 9
Hi - I have some machines that are difficult to schedule downtime on, and am
wondering if I can manually stop/start processes that are affected by
113225-08 and 112874-33 patches so that I could apply them without rebooting.
Is this possible?
Thanks very much for the help,
JudyThe reboot ensures that all processes are restarted.
Any processes that are started before the timezone patch is installed will not see the update.
So if nothing else, I'd want to restart cron...
Darren -
Is there anyway to kill the email app. without rebooting the phone?
I get emails, but I can't do anything on the screen. It is totally unresponsive to touch. In addition, my sleep button is broken, so I can't reboot the phone. (ordered new one, but not getting it for weeks). Is there anyway to kill the email application without rebooting the phone?
Thanks, I figured as much. Will I be able to save all my apps and content by importing them to my computer and then uploading them back to my iPad after I upgrade the iOS? If so, do you happen to know if a gen 1 iPad running an iOS 4.2.1 is able to upgrade to an iOS 5? I did read online that the iOS 6 is NOT compatible with it so I want to be sure the iOS 5 is before I go through the trouble...
-
SQL server query without indicating server name
I am writing a query in SSIS and utilize servername everytime but it drags every time
I am authorized to work in Development area and can indicate deve server
But Senior officer ask me not to use Server name and when package goes to production query can execute without indicate server name any idea
thank you very much.
Vijay
Vijay PatelI think you're using linked server in your queries based on your description.
While working in SSIS you dont need linked server. You'll just add connection manager to connect to your dev server and database and then use it for your tasks. Inside your query you will just reference objects using schemaname.objectname convention.
You will make servername and database name configurable by adding them as configurations (parameters in SSIS 2012 if you use project deployment). Then you will be able to pass values for configurations from outside based on variety of options like through
XML file, from SQLServer table, Environment variables etc
see
http://www.mssqltips.com/sqlservertip/1405/sql-server-integration-services-ssis-package-configuration/
http://nexxtjump.com/2013/01/14/ssis-2012-configuration-guide-part-1-introduction/
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Essbase 11.1.2.1 without http server
Hi ,
Ive been trying to install Essbase 11.1.2.1 standalone mode. And my doubt is, is it mandatory to go with http server. Cause under normal circumstances starting the opmn ohs instance starts apache.exe process in my server which we dont want to be running. I came across some docs and one of john's post where i found the below workaround.
"To configure the Shared Services Registry without installing Foundation Services Web applications:
1.Start EPM System Configurator from the command line, including the –forceRegistry option
From a Windows console, change to EPM_ORACLE_HOME/common/config/version_number, and then enter configtool.bat —forceRegistry.
On UNIX, change to EPM_ORACLE_HOME/common/config/version_number and then type ./configtool.sh —forceRegistry."
will this method ensure that we can run without http server thereby eliminating the apache.exe process from server?
thanks,OPMN is part of the OHS installation in 11.1.2.1 but that doesn't mean OHS will be running for the essbase deployment.
If you deploy OHS then another OPMN service will be created that runs OHS.
Essbase can be started from command line or the OPMN windows service e.g. opmn_EPM_<instancename>
Cheers
John
http://john-goodw -
How to view the login log in window NPS after login cisco switch and without SQL server database
how to view the login log in window NPS after login cisco switch and without SQL server database
in summary
there is only log with event id 4400
A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.Hi adil,
For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
For more information, you can refer to the articles:
http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Possible to run soa suite without admin server?
Hi,
I'm wondering if it is possible to run the SOA components on a managed server without the admin server running. I intended to shutdown the admin server in production but when I do that I get errors in my (managed) soa server. I believe this was possible previously. Why does it need the admin server?
version is 10.3.3Hi,
do you mean in weblogic domain without running admin server you were able to run managed(soa) servers???
Without admin server how Managed servers gets start?
Though there is a concept in weblogic server called MSI mode,in that case managed servers can be running withut admin server, but very first time you have to start Admin server followed by Managed servers.
Thanks,
Deba -
Programmatically start/stop applications without admin server connection
I know I can programmatically start/stop an application through WebLogic's deployment API, but the call needs to go through admin server. I was wondering if there's a way for an application to start/stop another application on the same managed server when the admin server is down. I remember a managed server could be started without an admin server (unless it's started for the first time). So I suppose there must be some way to programmatically start/stop local applications without an admin server as well.
Thank you for your help in advance.Hai,
I read the Oracle weblogic wlst script document without Admin server you cannot connect the managed server through the WLST script. see the below lines
"The start command starts Managed Servers or clusters in a domain using Node Manager.
To use the start command, WLST must be connected to a running Administration Server.
To start Managed Servers without requiring a running Administration Server, use the
nmStart command with WLST connected to Node Manager."
"You shut down a server to which WLST is connected by entering the shutdown command
without any arguments.
When connected to a Managed Server instance, you only use the shutdown command to shut
down the Managed Server instance to which WLST is connected; you cannot shut down another
server while connected to a Managed Server instance.
WLST uses Node Manager to shut down a Managed Server. When shutting down a Managed
Server, Node Manager must be running.
In the event of an error, the command returns"
They are two option if you are using adminserver then we can stop the any Managed server.
The option is if you are using the nodemanager without admin server we can stop the any Managed server.
The last final solution to kill the particular Managed server pid.
Regards,
S.vinoth babu -
Delegate dataset to zone without reboot.
Hi.
Doc: http://download.oracle.com/docs/cd/E19253-01/819-5461/gbbst/index.html describe how add dataset to zone.
# zonecfg -z zion
zonecfg:zion> add dataset
zonecfg:zion:dataset> set name=tank/zone/zion
zonecfg:zion:dataset> endBut i should restart zone for activate changes.
Is it possible activate changes without reboot zone?
Thanks.Huh, i'm rather certain Nik would remember to do that.
Anyway, for normal filesystems you can mount them using the type LOFS into the zones, i'm uncertain if that works for datasets.
Its possible that you could accomplish it by setting the zfs property zoned to the zone and mount it with zfs mount.. but I've never tried it with datasets and zones..
Also, this is now a quite old issue, so i guess it was solved somehow :-)
.7/M.
Maybe you are looking for
-
Unable to Receive Files at the Receiver end
Hello All, I have configured scenario Proxy to File with 1:2 transformation (Interface collections) ie 1 Sender and Receiver Service 1 Sender interface 2 Receiver interface 1 Message and interface mapping 1 Receiver determination 1 Interface determi
-
How do I create an automatic loop for a DVD I want to show play over and over in Encore? thanks for your help!
-
Allowed goods movement indicator not ticked in Reservations
Hi All, Currently when i am creating a shopping cart ,the reservations which are created in the backend system do not have the allowed goods movement indicator ticked.can we have it ticked automaticaaly like it is when we normally create the reseravt
-
IOS7 showing 265 unread email messages which don't exist
Both my wife's as well as myselfs phones are showing about 265 emails on the homescreen mail count yet there are no meesages actually on the phone inbox. Is there a fix?
-
Zen xtra problem - not rebuilding library ful
I had taken my battery out and when i put it back in the library started to rebuild as normal. however the bar that shows its rebuilding progress only went about 3/4s of the way across. it then went straight to the menu. there is about 50 albums miss