How can I start Jack with systemd?

Hello everyone,
I switched to systemd and removed initscripts and sysvinit a while ago. I am using my computers for audio production, and I need both jack and pulseaudio.
I followed the directions in the wiki for JACK: A GUI-Based Setup and Pulseaudio will run through Jack -- as long as Jack starts first. Qjackctl is autostarted with KDE, but Pulseaudio starts up first. Therefore, once Jack starts, it disconnects Pulseaudio so only Jack programs output audio. The wiki recommends adding "sudo -u uname jack_start" to /etc/rc.local. However, I have already switched away from initscripts.
I tried to write a service file to start Jack:
[Unit]
Description=JACK
[Service]
ExecStart=/usr/bin/jack_control start
[Install]
WantedBy=multi-user.target
But that clearly didn't work:
Nov 23 12:01:58 silverstone jack_control[280]: Traceback (most recent call last):
Nov 23 12:01:58 silverstone jack_control[280]: File "/usr/bin/jack_control", line 336, in <module>
Nov 23 12:01:58 silverstone jack_control[280]: main()
Nov 23 12:01:58 silverstone jack_control[280]: File "/usr/bin/jack_control", line 132, in main
Nov 23 12:01:58 silverstone jack_control[280]: bus = dbus.SessionBus()
Nov 23 12:01:58 silverstone jack_control[280]: File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 211, in __new__
Nov 23 12:01:58 silverstone jack_control[280]: mainloop=mainloop)
Nov 23 12:01:58 silverstone jack_control[280]: File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
Nov 23 12:01:58 silverstone jack_control[280]: bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
Nov 23 12:01:58 silverstone jack_control[280]: File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 122, in __new__
Nov 23 12:01:58 silverstone jack_control[280]: bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
Nov 23 12:01:58 silverstone jack_control[280]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Nov 23 12:01:58 silverstone systemd[1]: jack.service: main process exited, code=exited, status=1/FAILURE
Nov 23 12:01:58 silverstone systemd[1]: Unit jack.service entered failed state
Nov 23 12:02:00 silverstone pulseaudio[337]: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
Nov 23 12:02:00 silverstone pulseaudio[337]: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket<
Nov 23 12:02:01 silverstone pulseaudio[337]: [pulseaudio] module-jack-sink.c: JACK error >Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<
Nov 23 12:02:01 silverstone pulseaudio[337]: [pulseaudio] module-jack-sink.c: JACK error >JackClient::AcquireSelfRealTime error<
Nov 23 12:02:01 silverstone pulseaudio[337]: [pulseaudio] module-jack-source.c: JACK error >Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<
Nov 23 12:02:01 silverstone pulseaudio[337]: [pulseaudio] module-jack-source.c: JACK error >JackClient::AcquireSelfRealTime error<
Nov 23 12:02:01 silverstone pulseaudio[337]: [pulseaudio] main.c: Source jack_in does not exist.
Can anyone help me write a service file to start Jack?
Thanks,
Nicholas

Thanks for the hint tomk! From what I can understand systemd was starting Jack as root, but since Jack is pretty much a single-user program, it needs to be started by the user intending to use it. So it was throwing errors because I have no display set for root (I don't even know how to do that).
This explains why the wiki used sudo to start Jack. So I changed the service file to:
[Unit]
Description=JACK
[Service]
ExecStart=/usr/bin/sudo -u lion /usr/bin/jack_control start
[Install]
WantedBy=multi-user.target
lion is my username. There is no jack_start, I have to use jack_control start.
And it gives me:
Nov 23 22:21:35 silverstone sudo[289]: root : TTY=unknown ; PWD=/ ; USER=lion ; COMMAND=/usr/bin/jack_control start
Nov 23 22:21:36 silverstone sudo[289]: File "/usr/bin/jack_control", line 336, in <module>
Nov 23 22:21:36 silverstone sudo[289]: File "/usr/bin/jack_control", line 132, in main
Nov 23 22:21:36 silverstone systemd[1]: jack.service: main process exited, code=exited, status=1/FAILURE
Nov 23 22:21:36 silverstone systemd[1]: Unit jack.service entered failed state
Nov 23 22:21:38 silverstone pulseaudio[353]: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket err = No such file or directory<
Nov 23 22:21:38 silverstone pulseaudio[353]: [pulseaudio] module-jack-sink.c: JACK error >Cannot connect to server socket<
Nov 23 22:21:39 silverstone pulseaudio[353]: [pulseaudio] module-jack-sink.c: JACK error >Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<
Nov 23 22:21:39 silverstone pulseaudio[353]: [pulseaudio] module-jack-sink.c: JACK error >JackClient::AcquireSelfRealTime error<
Nov 23 22:21:39 silverstone pulseaudio[353]: [pulseaudio] module-jack-source.c: JACK error >Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<
Nov 23 22:21:39 silverstone pulseaudio[353]: [pulseaudio] module-jack-source.c: JACK error >JackClient::AcquireSelfRealTime error<
Nov 23 22:21:39 silverstone pulseaudio[353]: [pulseaudio] main.c: Source jack_in does not exist.
However, the audio setup seems to be working fine. The only other idea I have is that Jack is becoming a dbus socket and makes systemd think it failed. But Pulseaudio is also claiming that it can't connect to jack., so I don't know whether it's working or not.
I saw a way to set up a .service file for dbus sockets but it required the dbus name of the program, which I don't know how to find.

Similar Messages

  • How can I start anew with Photos and clear the (minimal) stuff it has uploaded

    I've about had it up to here with this new Photos scheme. I reorganised my Aperture libraries on both my iMac and MBA in preparation for this, delayed turning Photos on for a couple of days until I thought everything was ready based upon the limited advice that was out there, and then got stuck in an endless loop of "uploading" and "preparing" every time I opened Photos. There are 19,975 images in my Aperture library on the iMac. I was stuck at Uploading at anywhere between that number and 19,000 with no progress after hours of waiting. I tried all the tricks mentioned here including re booting, restarting the app, repairing/rebuilding the database, killing the "cloudd" process, etc.today Today when I restarted Photos, it now said I had 23,775 images to upload- 4000
    more than I have-and of course it got stuck there, like it has for the last week.
    I copied the previous Aperture library (pre Photos migration)back to my iMac and opened it in Aperture. Thankfully, all the photos I had taken on my iPhone this week during this Photos clusterphuck transition were in the Aperture Stream so I didn't lose any of those. I'm willing to give this whole thing one more shot. So  i need some advice. How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    <Re-Titled By Host>

    How can I start anew with Photos and clear the (minimal) stuff it has uploaded (about 6000 of 19,000 images in the last 7 days) ? If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    It is hard to say from your post, why the migration did not succeed in your case.
    by "stuck on upload" do you mean, you opened the Aperture library in Photos, and Photos converted it to a Photo Library, and then the upload to iCloud Photo Library did hang?  Or did already the upgrade to the Photo Library fail?
    If you want the Aperture library to upload to iCloud Photo Library, it needs to be on a disk formatted MacOS Extended (Journaled) and the original image files must not be referenced. Referenced originals will not upload.
    Also, the upload may hang, if you do not have enough free iCloud storage, orr if one of the videos or photos in your library is in an unsupported format or corrupted.
    To start over, try to repair and rebuild the Aperture library before opening it in Photos. Try all Aperture Library First Aid options - starting with repairing the permissions.  (Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual)
    If I simply delete the Photos.photolibrary file will that do the trick and lt me start a new fresh library using?
    You will have to delete the photos that are already in icloud too; otherwise you are risking duplicates.
    Can you launch Photos at all?  If yes, delete all photos in Photos and empty the Recently Deleted album. Wait for the deletion to sync to iCloud. Then delete the Photos.photolibrary.

  • How can I start firefox with new tab instead of blank page?

    Today I update firefox to 13.0. I like the new "new type". I want to konw how can I start firefox with new tab instead of blank page?
    I don't want to change the homepage to about:newtab.
    Sorry for my bad English.

    This is a very annoying thing. Every update from Firefox resets this config setting back to about:newtab. I changed '''''browser.newtab.url''''' in 12.x to '''''about:blank''''' and it resetted back in update 13.0 and now I have to do the same thing again in 13.0.1.
    The drawback with about:newtab is Firefox opens up dataports for every URL that are linked and gets reopened for every lame 'newtab' you click on. Just use [http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx Tcpview - data port viewer] and watch how many extra dataports that opens up from this crazy 'feature'.

  • I just bought a new computer, how can I start syncing with this computer without erasing everything already on my iphone?

    I just bought a new computer, how can I start syncing with this computer without erasing everything already on my iphone?
    Everytime I try to use the option sync manual it wants me to erase everything.
    Please help

    The iPhone can be synced to one and only one computer at a time. Before you "marry" it to your new computer, be sure your new computer contains all the old computer's information. When you sync the iPhone to a new computer, it will be erased first. Then, whatever is on your iTunes Library will be synced to the iPhone.
    Read: iTunes: How to move your music to a new computer
    You can also copy its previous backup from the old computer to the new one, then "restore from backup".
    From iTunes: About iOS backups
    Where iTunes backups are stored on your computer
    The folder where your backup data are stored varies depending on the computer's operating system. Make sure the backup folder is included in your periodic data-backup routine.
    iTunes places the backup files in the following places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and click OK.
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press the Return key.

  • When I downloaded firefox someone else's bookmarks and homepage are there, it is a used computer. How can I "start over" with firefox?

    I have tried deleting firefox from my computer entirely (I have a macbook). Then when I download it again, much later, it still acts like it knows what bookmarks and homepage I want. These were obviously set by someone else, and I want it to be fresh, I want to start over with a new firefox. I bought the computer used, and apparently firefox recognizes it as having been downloaded before and automatically adds stuff to it. It is annoying!!

    The simplest method will be to create a new profile and delete the old one. User information such as bookmarks is stored in a profile folder. You can create and remove profiles by using the profile manager. First use the profile manager to create a new profile, then use it to delete the old profile.
    For details on using the profile manager see the [[managing profiles]] article. An alternative site that can help is http://kb.mozillazine.org/Profile_Manager

  • How can I start clean with Contacts?

    My iPad3 died under warranty and was replaced with an iPad4. Before I had a chance to really use it, I loaned it to my wife to take on a business trip, supposedly just to access her webmail, Facebook, and maybe take a few photos. Somehow, she managed to import 300+ contacts - seemingly from her Android phone, but maybe from Facebook... she has a lot in both places.
    I discovered the problem when trying to share a video on my own Facebook timeline. I was logged in to Facebook in Safari, but the video wouldn't upload via the Facebook UI (I don't use the FB app because it has 10 times more ads). So I shared the video to FB direct from iPad Photos, it shared to her timeline, not mine.
    When I go into iPad Contacts and look at her contact record, it says "Me" beside it. Somehow she did something so that iPad Contacts thinks the iPad is hers.
    I want to clean out ALL contacts in the iPad and start over. But I don't want to just go to a new iPad and wipe out everything I added before I discovered this problem... apps, etc. And I don't want to try syncing with my MacBook to get my own 50--60 contacts until I understand what will happen. I don't want her 300+ contacts ending up on the Mac! This iPad has never been synced with the Mac, so I can't just take it back to a previous sync.
    Advice much appreciated!

    Hey rubanjoguy,
    Thanks for the question and detailed information. It indeed sounds like these 300+ contacts may be from your Wife’s FaceBook account. When you setup a FaceBook account on your device, you have the option of syncing contacts. To disable this, see the following:
    iOS: Using Facebook, Twitter, and other social network accounts
    http://support.apple.com/kb/HT5500
    Sync contacts and calendars
    iOS can sync your Facebook contacts and calendars with your device. This feature is off by default, but you can enable it in Settings > Facebook after adding your account.
    Thanks,
    Matt M.

  • How to start dhclient with systemd at startup? [SOLVED]

    I have eth0 connected to DHCP server and want to use dhclient instead of dhcpcd. How can I start dhclient with systemd? Is there something similar to
    systemctl enable dhcpcd@eth0
    Last edited by mpelikan (2012-12-18 13:43:28)

    dhcpcd comes in package with completed systemd unit (/usr/lib/systemd/system/dhcpcd.service and /usr/lib/systemd/system/[email protected]) by package developer, but dhclient doesn't.
    mpelikan, you should write your own systemd unit for dhclient for yourself using
    1) dhcpcd units as example
    2) wiki page https://wiki.archlinux.org/index.php/Sy … vice_files
    3) man page for dhclient to get the right options
    Also I'm sure I saw somewhere an example of dhclient unit but I can't find it now. Anyway, it was not working out-of-box in Arch.
    I've done this previously but then I've realized disadvantages of dhclient (so I've removed it).
    Firstly, I didn't like how it's working in daemon-mode after some testing.
    Secondly, it depends on deprecated net-tools.
    You should try dhcpcd. If it doesn't work, you can make it work by editing configuration files / kernel options (like switching off IPv6 if you think you have an issues with it) or adding some parameters.

  • How can I start using IPad without first syncing with my computer?

    I'm out of town and just bought a new IPad2.  I don't have my computer with me and won't be able to use it for another 2 weeks.  How can I start using my IPad before syncing with my computer? 

    You must activate it by syncing it to iTunes on a computer. An Apple Store can do it for you - or anybody with a computer that meets the minimum requirements and has iTunes 10.2 on it can activate it for you.
    If you have someone else activate it, bear in mind that when you do finally sync to your computer, iTunes is going to tell you that all content will be erased because you already set it up on another computer with another iTunes library. Your iPad will sync to one iTunes library only. That is way they are designed to perform.
    You CAN transfer any purchases that you make on the iPad to your iTunes library when you perform your first sync with your own computer, however, and I would strongly suggest that you do that when you get the chance.
    If you do set it up with another computer, I would keep the purchases and downloads to a minimum so that keeping all of your data is not a big problem when you finally sync to your own PC.

  • My hard drive died.  How can I start my computer with my Time Machine external drive?

    My hard drive died.  How can I start my computer with my Time Machine external drive?

    Pondini wrote:
    If you're on 10.7.2, yes, you can boot from the TM drive.
    Beep, beep, beep....
    Hold ON! Getting a call on the red phone.
    "Yes...yes.... ok!"
    It's confirmed, H.e.l.l. has finally frozen over!  TM drives are now bootable!
    Still it's not a real bootable clone, can't run the computer off the external drive for long in only Recovery mode, still requires the boot drive to be replaced if it not functional, and with TM backing up every hour, isn't going to offer much software protection as the TM drive is just as likely to be as messed up as the internal boot drive.
    For a iMac it still requires the computer to be taken in to Apple for a drive replacement, as ONLY Apple can do it due to proprietary connections and firmware on the iMac hard drives.
    But it is bootable!
    The backup time factor can be controlled using TimeMachine Editor, from every hour to just when the user thinks it's necessary.
    Apple lurches slightly forward!  Hurray!
    Question is, can one restore from earlier stable TM's or just the last one? In this bootable fashion?

  • HT2731 i hav iphone and i restart it and delete all the files inside how can i start again my iphoe it say i need a valid sim with no pin lock to activate it again pls help

    i hav iphone and i restart it and delete all the files inside how can i start it again it say i need a valid sim with no pin lock to activate iphone again

    ICCID unknown is a critical failure, usually caused by hacking or jailbreaking the phone. It can not be fixed. The phone will need to be replaced.

  • SAP dispatcher status is stopped in Console how can i start it

    Hi All
    Help me out
    *SAP dispatcher status is stopped in Console how can i start it
    Dispatcher turns green to yellow suddenly and status changes to stopped and all WP elemets shows status as ended.
    Alert from Syslog  : SAP Basis System: Message server disconnected
    Tracert : Disp+work.exe
    trc file: "dev_disp", trc level: 1, release: "640"
    Thu Oct 02 12:32:52 2008
    kernel runs with dp version 128(ext=102) (@(#) DPLIB-INT-VERSION-128)
    length of sys_adm_ext is 312 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    21
    intno      20020600
    make:      multithreaded, ASCII
    pid        736
    ***LOG Q00=> DpSapEnvInit, DPStart (00 736) [dpxxdisp.c   1100]
         shared lib "dw_xml.dll" version 21 successfully loaded
         shared lib "dw_xtc.dll" version 21 successfully loaded
         shared lib "dw_stl.dll" version 21 successfully loaded
         shared lib "dw_gui.dll" version 21 successfully loaded
    Thu Oct 02 12:32:58 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          6624     (828)
    DpShMCreate: sizeof(tm_adm)          2219848     (11044)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)          192000     (384)
    DpShMCreate: sizeof(vmc_adm)          0     (320)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05270040, size: 2505416)
    DpShMCreate: allocated sys_adm at 05270040
    DpShMCreate: allocated wp_adm at 052717A8
    DpShMCreate: allocated tm_adm_list at 05273188
    DpShMCreate: allocated tm_adm at 052731B0
    DpShMCreate: allocated wp_ca_adm at 054910F8
    DpShMCreate: allocated appc_ca_adm at 05495748
    DpShMCreate: allocated comm_adm_list at 05496EB8
    DpShMCreate: allocated comm_adm at 05496ED0
    DpShMCreate: allocated vmc_adm_list at 054C5CD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 054C5CF8
    DpShMCreate: allocated wall_adm at 054C5D00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2450 MB
    <ES> 2449 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( home) [dpxxdisp.c   9719]
    CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 21
    Release check o.K.
    Thu Oct 02 12:33:38 2008
    ERROR => W0 (pid 1500) died [dpxxdisp.c   12170]
    ERROR => W1 (pid 3796) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3548) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 1464) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3368) died [dpxxdisp.c   12170]
    ERROR => W5 (pid 3400) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 2620) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 380) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-1500 (SIGUSR2)
    ERROR => DpWpKill(1500, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-3796 (SIGUSR2)
    ERROR => DpWpKill(3796, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3548 (SIGUSR2)
    ERROR => DpWpKill(3548, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-1464 (SIGUSR2)
    ERROR => DpWpKill(1464, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-3368 (SIGUSR2)
    ERROR => DpWpKill(3368, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-3400 (SIGUSR2)
    ERROR => DpWpKill(3400, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-2620 (SIGUSR2)
    ERROR => DpWpKill(2620, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-380 (SIGUSR2)
    ERROR => DpWpKill(380, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:48 2008
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Thu Oct 02 07:03:48 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     1500 Ended         no      1   0             0                                                             
    1 DIA     3796 Ended         no      1   0             0                                                             
    2 UPD     3548 Ended         no      1   0             0                                                             
    3 ENQ     1464 Ended         no      1   0             0                                                             
    4 BTC     3368 Ended         no      1   0             0                                                             
    5 BTC     3400 Ended         no      1   0             0                                                             
    6 SPO     2620 Ended         no      1   0             0                                                             
    7 UP2      380 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Thu Oct 02 07:03:48 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    8
    8
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    since last update     total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    Dump of tm_adm structure:               Thu Oct 02 07:03:48 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Thu Oct 02 07:03:48 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:53 2008
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (676) (SOFT_KILL)
    Stop icman
    killing process (924) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:676  HANDLE:1564)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Thu Oct 02 12:33:54 2008
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:676  HANDLE:1564)
    [DpProcDied] Process died  (PID:924  HANDLE:1556)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'home'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9945]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1572
    MsIDetach: detach MS-system
    EsCleanup ....
    Thu Oct 02 12:33:55 2008
    ***LOG Q05=> DpHalt, DPStop ( 736) [dpxxdisp.c   8478]
    Good Bye .....
    Trace from WP table DIA 1
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Thu Oct 02 12:32:59 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' ...
    B  Library 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.19)
    B  New connection 0 created
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    21
    M intno      20020600
    M make:      multithreaded, ASCII
    M pid        1500
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1500) [dpxxdisp.c   1160]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: JAVA is not active
    M  DpShMCreate: sizeof(wp_adm)          6624     (828)
    M  DpShMCreate: sizeof(tm_adm)          2219848     (11044)
    M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpShMCreate: sizeof(comm_adm)          192000     (384)
    M  DpShMCreate: sizeof(vmc_adm)          0     (320)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 05A70040, size: 2505416)
    M  DpShMCreate: allocated sys_adm at 05A70040
    M  DpShMCreate: allocated wp_adm at 05A717A8
    M  DpShMCreate: allocated tm_adm_list at 05A73188
    M  DpShMCreate: allocated tm_adm at 05A731B0
    M  DpShMCreate: allocated wp_ca_adm at 05C910F8
    M  DpShMCreate: allocated appc_ca_adm at 05C95748
    M  DpShMCreate: allocated comm_adm_list at 05C96EB8
    M  DpShMCreate: allocated comm_adm at 05C96ED0
    M  DpShMCreate: allocated vmc_adm_list at 05CC5CD0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 05CC5CF8
    M  DpShMCreate: allocated wall_adm at 05CC5D00
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.
    M  calling db_connect ...
    C  Got ORACLE_HOME=C:\oracle\ora92 from environment
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPSUD's password
    C  Connecting as /@SUD on connection 0 ...
    C  Attaching to DB Server SUD (con_hdl=0,svchp=040D325C,svrhp=040D3E34)
    C  Starting user session (con_hdl=0,svchp=040D325C,srvhp=040D3E34,usrhp=040DC614)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      3721]
    C  Detaching from DB Server (con_hdl=0,svchp=040D325C,srvhp=040D3E34)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    9753]
    C  Try to connect with default password
    C  Connecting as SAPSUD/<pwd>@SUD on connection 0 ...
    C  Attaching to DB Server SUD (con_hdl=0,svchp=040D325C,svrhp=040D3E34)
    C  Starting user session (con_hdl=0,svchp=040D325C,srvhp=040D3E34,usrhp=040DC614)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      3721]
    C  Detaching from DB Server (con_hdl=0,svchp=040D325C,srvhp=040D3E34)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    9753]
    B  ***LOG BV3=> severe db error 1033      ; work process is stopped [dbsh#2 @ 1195] [dbsh    1195 ]
    B  ***LOG BY2=> sql error 1033   performing CON [dblink#1 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress [dblink#1 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1271]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9379]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server home_SUD_00 on host home (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Thu Oct 02 12:32:59 2008
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9555
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  246]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1500) [dpnttool.c   357]
    Thanks in advance please help me out
    Edited by: sudhakar aleti on Oct 2, 2008 12:54 PM
    Edited by: sudhakar aleti on Oct 2, 2008 12:56 PM

    Hi All please find the result r3trans -d
    4 ETW000 r3trans version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 03.10.2008 - 11:02:35
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Fri Oct 03 11:02:36 2008                            5494  0.005494
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    40  0.005534
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             26  0.005560
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                33  0.005593
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0        139566  0.145159
    4 ETW000  [dev trc     ,00000]      using "C:\usr\sap\SUD\SYS\exe\run\dboraslib.dll"
    4 ETW000                                                                              22  0.145181
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                         7  0.145188
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              13  0.145201
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "640.00", patchlevel (0.19)
    4 ETW000                                                                            2501  0.147702
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              12  0.147714
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              18  0.147732
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              13  0.147745
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              15  0.147760
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                      12391  0.160151
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              12  0.160163
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              14  0.160177
    4 ETW000  [dev trc     ,00000]  Found ORACLE_HOME=C:\oracle\ora92 in Registry        796  0.160973
    4 ETW000  [dev trc     ,00000]  -->oci_initialize                                    400  0.161373
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8MSWIN1252
    4 ETW000                                                                           34020  0.195393
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => Cannot connect: TNS-name missing         11  0.195404
    2EETW169 no connect possible: "DBMS = ORACLE                           --- TWO_TASK = ''"
    Thanks
    Sudhakar A

  • How do I start iTunes with whichever iTunes library I want?

    How do I start iTunes with whichever iTunes library I want?
    I've created a 2nd iTunes library using the "press shift-key while opening iTunes from the start menu" method given in iTunes help. Now, when I try to start iTunes from the Quick Launch menu or from the system start menu, I get the new library--without choosing it.
    Otherwise, the new library works as I'd hoped. By turning off "Copy files to iTunes Media folder when adding to library," I'm able to use "Add Folder to Library" (where the folders are in the 1st iTunes library) without using more disk space for the 2nd library. So far, it works just fine for CDs and movies. I'm anticipating an iPad which can hold much less than my iPod Classic.
    I have the latest iTunes (10.2.1.1)

    A solution found!
    I found where Apple addresses the question. Actually, I had tried this before I found Apple's answer and before I asked the question here and I didn't get it to work. I finally have it working, but the Apple answer is missing a step--or so it seems.
    Locating Apple's answer:
    From the iTunes window,
    Help > More resources > iTunes Support Website > iTunes Library and Backup > iTunes Library >
    How to open an alternate iTunes Library file or create a new one.
    Apple quote:
    1.If iTunes is running, quit iTunes.
    2.If you are using Windows, hold down the Shift key and from the Start menu and choose All Programs > iTunes > iTunes.
    3.If you are using the Mac, open iTunes and immediately hold down the Option key.
    4.You should see one of the following screens:
    End quote.
    As it says, you get a prompt to: Quit or Choose Library or Create Library.
    I created my new library by choosing "Create Library" and expected to be able to use "Choose Library" later. So, when I clicked "Choose Library," I got a new window that's titled "Open iTunes Library" (it looks a lot like a Windows Explorer window). I selected (on the sidebar) the old library, clicked "Open" and nothing happened. The problem is likely my inexperience with this type of issue, but, still, the solution seems hokey.
    After too much screwing around and a 24oz beer, this is what's working:
    1. If iTunes is running, quit iTunes.
    2. Hold down the Shift key and from the Start menu, choose All Programs > iTunes > iTunes. (You don't have to have the shift key down until just before you click the last "iTunes.") Don't release the shift key 'til the prompt comes up.
    3. The prompt is: Quit or Choose Library or Create Library. Click "Choose Library."
    4. When the "Open iTunes Library" window comes up, click the desired iTunes library on the sidebar. (Mine are named "iTunes" and "iTunesIPad.")
    5. Then, you'll see a list of items in the right pane. Find the file named "iTunes Library.itl" and click it.
    6. Now, with both the iTunes library name selected on the sidebar and the "iTunes Library.itl" file selected in the right pane, click the "Open" button.
    7. iTunes will come up using the desired library.
    8. Using iTunes from the Quick Launch menu or the desktop will bring up the same iTunes library again, even if you shut down your computer.
    9. When you want to change the iTunes library in use, start at step 1.
    Nice about this, is that I would only have to get into the "iTunesIPad" library if I need to add something to it from my regular "iTunes" library or I want to sync to the iPad. Most of the time, I'll use my regular 185GB "iTunes" library (even here, I deselect many movies so that I can sync the library to my iPod).
    Caution:
    I must add the warning that I'm doing this because the iPad (that I don't have yet), won't hold even half of what I have in my iTunes library. At this point, the "iTunesIPad" library will take up very minimal disk space since it's using pointers to the regular library rather than copies from the regular library AND it's easy to switch between libraries only when needed. I can't say that this will all work until I try more setup work and I actually use it with an iPad. If someone knows that this is going to cause problems or if they have a better idea, I'd sure welcome comment. BTW, before trying this, I restructured my iTunes library (File > Library > Organize Library > Reorganize files in the folder "iTunes Media.") to bring it up to date and then backed it up on an external drive. The website "iLounge" has an article about the old and new library structure.

  • How can I start a new paragraph within the same table cell?

    In Numbers, when adding text within a table frame, how can I start a new line within the same frame (rather than advancing to the next cell)?  I'd like to enter a mini-list of several items of various lengths of data.

    While Wayne's answer solves your problem, another possibility is to uncheck the box at the bottom of the Table inspector for "Return key moves to next cell." If that is unchecked, the return key types a paragraph return within the cell (the same as Option Return with the box checked).
    With that box unchecked, Shift Return types a soft return (new line without a paragraph break).

  • How can I start a second window of a second profile through the command line?

    I have two profiles set up, 'default' and 'second'. If both are already running how can I start a second window of profile 'second'?
    firefox -p 'second' : opens a new window of the default and,
    firefox -p 'second' -no-remote : tells me that firefox is already running.

    I don't think that this is possible.<br />
    You need to open this second instance (Firefox profile folder) with the -no-remote command line switch and that makes it impossible to open external links via the command line or via a double-click.<br />
    You can only open a link in such an instance by dragging the link on the tab bar of that Firefox window.

  • How can i start my iphone 5 after it went on safemode and itunes cant help me!! i was trying to update it!!

    how can i start my phone after it went on safe mode while i was updating it!! it says i need to connect with itunes but when i doo it tells me its an error !! i cant use my phone at all!!

    modular747,
    Had same problem, got answer from supprot community and it worked.
    Hold down your power bar (on top) and your Home button (on face at bottom) for about 10 - 20 sec. and your phone will be restored - nothing lost or changed.  Worked like a charm for me 20 sec ago.
    Good luck

Maybe you are looking for

  • Serious problem with ipod!

    Hi people, Having a bit of a nightmare with my ipod...it came up with the sad face on holiday and when I came home I checked the support site and tried resetting and restoring it...however my PC now doesn't recognise my ipod even in Device Manager an

  • XML Parser for PL/SQL and related issues

    I need to have further information about some of the following issues and XML features and make a determination useful for evaluation and recommendation: ISSUES 1) Is there a maximum size for an XML document to provide data for PL/SQL(or SQL) across

  • Wrong procurement type showing in the material master

    Hi, I am creating a material Procurement type is comming as E in the MRP2 view, To where it is comming? I have checked the material type setting in the tcode OMS2 and it below are showing there: Ext. purchase orders   2 Int. purchase orders   2 Hence

  • What code can i use to add an image to a JPanel?

    I tried multiple image tutorials and none of those supplied me with a way to add an image to a JPanel without using hidious code. Don't anyone know simpler code which i can use?

  • IDVD music problem

    I exported a slideshow from iPhoto to iDVD and have problems with the music being distorted.