Mpd and pulse problem - Connection refused [SOLVED]

I'm having problems getting mpd to play nice with pulse-audio.  Pulse is installed and works with vlc, mplayer, flash, etc. just fine.  When I try to play through mpd the song in the gui simply shows a status of "paused" and the following gets written to the mpd.log. 
Advice is appreciated.
# tail -f /var/log/mpd/mpd.log
Oct 08 11:12 : output: Failed to enable "pulse audio" [pulse]: pa_context_connect() has failed: Connection refused
Oct 08 11:12 : output: Failed to enable "pulse audio" [pulse]: pa_context_connect() has failed: Connection refused
Oct 08 11:12 : output: Failed to enable "pulse audio" [pulse]: pa_context_connect() has failed: Connection refused
Oct 08 11:12 : player_thread: problems opening audio device while playing "Not_So_Hard_Stuff/Disturbed-The Sickness-2000/01_Voices.flac"
Here is my mpd.conf
$ sed '/#/d' /etc/mpd.conf
music_directory "/media/data/all_genres"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
gapless_mp3_playback "yes"
zeroconf_enabled "yes"
zeroconf_name "Music Player"
input {
plugin "curl"
audio_output {
type "pulse"
name "pulse audio"
mixer_type "software"
audio_buffer_size "35000"
buffer_before_play "5%"
The pulseaudio wiki suggests that a 'pulse' group and 'pulse-access' and even 'pulse-rt' groups may be required?  I have used mpd for a year now with no such groups on my system.
EDIT: solved in post #13
Last edited by graysky (2011-10-16 13:42:46)

graysky wrote:
I too modified my /etc/mpd.conf to use alsa even though I don't have alsa-utils installed at all.
$ sed '/#/d' /etc/mpd.conf
music_directory "/media/data/all_genres"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
gapless_mp3_playback "yes"
zeroconf_enabled "yes"
zeroconf_name "Music Player"
input {
plugin "curl"
audio_output {
type "alsa"
name "My ALSA Device"
mixer_type "software"
audio_buffer_size "35000"
buffer_before_play "5%"
Doesn't work for me I get this error when I try to play something with your configuration:
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Oct 16 18:23 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": Connection refused

Similar Messages

  • Mpd and JACK - problem with ncmpcpp

    I have archlinux with kde installed on my desktop computer, however I was curious and wanted to record sound from movies and games with recordmydesktop. I went with the jack solution, but halfway through the process I ended up with this:
    [wyrm88@nbabic ~]$ jackd -d alsa
    jackd 0.118.0
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 32bit integer little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: use 2 periods for playback
    Now, I'm not sure if it has to stop there or is there anything else supposed to follow after this... Anywho, if I don't do this, i can't start mpd normally. If I do this, mpd starts normally , ncmpcpp also, but I have a conky with covers displaying according to the song, which worked before this all jack-messing, now notify-osd doesn't work at all. This is my conky (first post). Also I have qjackctl and alsa-plugins installed, I unchecked realtime in the setup of qjackctll but jack still isn't working.
    Any help appreciated.

    Hmm, managed to get mpd start without inputing "jackd -d alsa", had to delete /etc/asound.conf, also got cover showing to work. If anybody has any advice about setting jack I'll be very happy.

  • Nokia X6 and mega problems connecting to PC

    Connecting Via USB cable, set up the Ovi suite trying to install support software that fails everytime, try to update the phones device software and that says i have no sim card inserted which i do, cant transfer any music no options in the drop down menu for chosing where to store music
    Seems my pc can see the phone but cant do anything with it
    Nokia Ovi Suite 2.1.0.87
    PC Connectivity Solution 10.5.1.0
    Connectivity Cable Driver 7.1.27.0
    Nokia Ovi Suite Software Updater 2009.46.1.60264
    Maps Service API 3.0.38.0
    Nokia mPlatform 2.6.86
    Ovi Desktop Sync Engine 1.1.0.80
    Operating system:
    Microsoft Windows 7 64-bit Edition
    Language: English
    PC
    Manufacturer
    Dell Inc.
    Model
    Inspiron 580
    Total amount of system memory
    4.00 GB RAM
    System type
    64-bit operating system
    Number of processor cores
    4
    Storage  
    Total size of hard disk(s)
    922 GB
    Disk partition (C
    874 GB Free (922 GB Total)

    Hey,
    Uninstall NOS 2.1 from ur PC, clean ur pc registries, run cleaner for your pc. Reinstall NOS 2.1 from www.nokia.com/ovisuite reboot and connect ur device is other USB ports on ur pc and check
    If my post helped you, click on Kudos button and if my solution provided is opt 2 u, accpt my solution

  • HT4528 On my iPhone4s, the earpiece speaker is muffled and practically useless. I have had said speaker replaced and the problem was not solved.  The technician said that it may be due to something wrong with the software.  Help?

    If there is no solution, there is money back.

    Who replaced your speaker? If you have had the device worked on by a 3rd party repair shop, then you will need to go back there to see about help. If you are willing, you can try this http://support.apple.com/kb/TS1631, but as far as out of warranty work, since the phone has been opened, Apple won't touch it.

  • Netbean Oracle : Problem with connection refused

    Hi, Im currently using Netbean to develop a system in JSP. I already succeed to connect to Oracle 11g. However, I'm facing problem connection refused. It always happen.
    For the server, I using GlassFish Server 3.1
    Any one have idea to solve this problem? Thanks in advances.
    Detail of the error:
    WARNING: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186646784)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(EMFI=4))))
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:579)
         at java.sql.DriverManager.getConnection(DriverManager.java:221)
         at dbConnection.dbConnection.connectEasy(dbConnection.java:66)
         at org.apache.jsp.Boundary.insertStudForm_jsp._jspService(insertStudForm_jsp.java:783)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:462)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    user8963384 wrote:
    I already run the sql that you ask, this is the result
    RESOURCE_NAME     CURRENT_UTILIZATION     MAX_UTILIZATION     INITIAL_ALLOCATION     LIMIT_VALUE
    processes     26     150     150     150
    sessions     30     154     248     248
    This my function I use to connect to database
    public class dbConnection {
    public Connection conn=null;
    public String id="Se";
    public String password="See";
    public dbConnection(){
    public dbConnection (String id, String password){
    this.id=id;
    this.password=password;
    public void connect(){
    try{
    //load driver
    String driverName="oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    //Create connection
    String serverName = "localhost";
    Is it the same server on which db is running. Better put servername or IP for serverName above.
    String portNumber = "1521";
    String sid = "DEGREE";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    System.out.println("url: " + url);
    conn = DriverManager.getConnection(url,id,password);
    }Can you try id/password@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEGREE))) from sql prompt and post the result.
    catch(ClassNotFoundException e){
    System.out.println("ClassNotFoundException: " + e.getMessage());
    catch(SQLException e){
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    }Everything goes OK, then download latest driver from oracle corporation and try again. A code sample can be found at http://www.orafaq.com/wiki/JDBC.
    Regards
    Virendra
    Edited by: Virendra.k.Yadav on Oct 18, 2011 11:26 PM

  • Connection refused to host 127.0.0.1  (Lookup  windows -- Linux)

    Hi Folks,
    Buddies I am facing a problem. My server is running at specified port on a linux machine but when I try to connect it from a windows machine i got error massage "Connection refused to host 127.0.0.1 " but it's very inscrutable message.
    I made some changes in /etc/hosts file and /etc/xinetd.d/services and everything worked fine.
    But now there is a question come in my mind that , Is there any alternative so we don't need to make any change in above mentioned two files.
    My Changes;
    /etc/host
    I've added system ip and name in the first line.
    /etc/xinetd.d/services
    Modified services files and enabled protocol and permitted to all system who are under class three network.
    Could anybody have a better idead to avoid these changes because of security issues?
    --Manoj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,,,Thanks
    When I refer to random it is when the pc in windows in his configuration of net it has " obtain ip automatic " when the ip are fixed in the configuration of net I do not have problems of (connection refused to host:name_machine) what I need is to know that I must do to solve the problem (connection refused to host:name_machine) when in the pc they have a configuration of net of obtaining ip automaticamennte,
    I dont understand when you say that..."you should always set java.rmi.server.hostname at server JVMs to the FQDN of the host, not the IP address." Where I do this ??, where I put it??, I dont understand
    you can help me to know if this could solve my problem when the ip is obtained automatically
    this it is my code...
    public static UserPreferences systemPrefs;
    static
    try
    Configuration cfgServer = (Configuration) Registry.lookupServer(Configuration.class);
    systemPrefs = cfgServer.getSystemPreferences();
    catch (Exception e)
    Logger log = LoggerFactory.getLogger(AlertManagerServer.class);
    log.error("Error obteniendo las preferencias para Alert Manager Client", e);
    /** Puerto **/
    public static final String SERVER_PORT = systemPrefs.getString(SystemModuleDescriptor.Settings.ALERTMANAGER_SERVER_PORT, "1198");
    /** Server Name **/
    public static final String SERVER_NAME = NotificationConstants.ALERTSERVER_NAME;
    /** Client Separator **/
    public static final String ALERTCLIENT_SEPARATOR = NotificationConstants.ALERTCLIENT_SEPARATOR;
    * Constructor
    public AbstractAlertManagerClient()
    * Constructor
    * @param clientName Nombre del cliente
    * @throws Exception Problemas
    public AbstractAlertManagerClient(String clientName)
    throws Exception
    launchClient(clientName);
    * Subiendo el Cliente de Mensajeria
    * @param clientName Nombre
    * @throws ProvisioningException Problemas
    public void launchClient(String clientName)
    throws ProvisioningException
    try
    NotificationInterface notification = (NotificationInterface)Registry.lookupServer(NotificationInterface.class);
    String serverIPAddress = notification.getServerIPAddress();
    String serverInfo = "//" + serverIPAddress + ":" + SERVER_PORT + "/" + SERVER_NAME;
    AlertManagerServerInterface server = (AlertManagerServerInterface) TransparentItemProxy.getItem( serverInfo,new Class[] { AlertManagerServerInterface.class });
    AlertManagerClient client = new AlertManagerClient();
    this.server = server;
    this.name = setClientName(clientName);
    client.server = server;
    client.name = setClientName(clientName);
    Object oclient1 = new Remote(this);
    oclient = oclient1;
    Remote.invoke(server, "registerClient", oclient1);
    catch(Exception ex)
    String msg = "";
    msg += "[ERROR] trying com.iptotal.notification.bo.AbstractAlertManagerClient.AbstractAlertManagerClient()...subiendo Client ";
    ProvisioningException pex = new ProvisioningException(ProvisioningException.ErrorCatalog.NOTIFICATION_DISPATCHING_ERROR, ex);
    Logger log = LoggerFactory.getLogger(AbstractAlertManagerClient.class);
    log.error(msg, pex);
    throw pex;
    * Registrar un Cliente
    * @param client Cliente
    public void registerClient(Object client)
    try
    String name = (String)Remote.invoke(client,"getClientName",null);
    if( ! clients.containsKey(name) )
    clients.put( name, client);
    catch(Exception ex)
    String msg = "";
    msg += "[ERROR] trying com.iptotal.notification.bo.AlertManagerServer.registerClient(1) ";
    Logger log = LoggerFactory.getLogger(AlertManagerServer.class);
    log.error(msg + " " + ex.getMessage()); // VA: para que no salgan en el log los stacktrace del CAJO no route to host
    Really Thank you for the help that you can offer me

  • New problem connecting Canon 20D camera to OS 10.4.3

    I've searched these forums and others but can find nothing about this. Hopefully someone here can help.
    I've been connecting my 20D to my 15" PowerBook 2005 (first running OS 10.3.9 and now running OS 10.4.3) since I got the camera two months ago. I have been using EOS Viewer Utility and the supplied USB cable and everything has been fine so far... The camera has appeared as "EOS 20D" in the left sidebar of EVU and I have been able to offload images and connect to EOS Capture.
    Yesterday, all of a sudden (that is, I haven't installed anything new on my PowerBook), the camera stopped being recognized properly by EVU. When I connect the camera as I always have, "EOS 20D 1" or "EOS 20D 2" appears in the left sidebar of EVU and, when I click on it to view what's on the camera, I get the message "Cannot detect Camera. Check connection to Camera, then retry." I have un-plugged and re-plugged everything. I have tried an alternate USB cable (from my SD100). I have trashed preference files ("EOS CameraCom Pref" and "CanonEOSViewerUtility Pref"). I have removed and re-installed the EOS Viewer Utility (and all software from the CD). I have re-formatted the CF card as well as tried another CF card that hasn't been in the camera before. (The CF card still acts perfectly fine when used in a card reader.) I have updated the camera firmware to 2.0.3. I have even Repaired Disk Permissions on the PowerBook. Alas, none of this has fixed it.
    I tried connecting to another identical computer with a fresh installation of EVU. That computer had never been connected to my 20D... same results.
    I tried connecting to an older PowerBook (that had never been connected to my 20D) running 10.3.9 ... and everything was fine & back to normal. Usually this would lead me to believe that OS 10.4.3 was the problem, but I have been connecting to it without issue for several weeks.
    Has anyone seen or heard of this before? (especially the "EOS 20D 1" and "EOS 20D 2" showing up in EVU.)
    Does anyone know how to get the camera recognized properly again by EVU and EOS Capture?
    Might there be a file or setting somewhere in 10.4(.3) that is not "seeing" the camera properly all of a sudden?
    Despite years of Mac troubleshooting experience, I am stumped on this one and would love to get things back to normal.
    In the meantime, I am able to offload JPEG's and RAW files using Image Capture, but I find EVU too handy to give up for some things. Also, EOS Capture is lost to me until I can get this figured out.
    Any thoughts would be most appreciated. Thank you in advance.
    -Neil
    PB G4 15 2005, 100gb hd, 1gb ram, superdrive   Mac OS X (10.4.3)  

    Hi AJ, Thanks for the thoughts. Here's the results...
    New account:
    I made a new account and tried the camera there. Got the exact same results. Good idea though, as that does sometimes clear things up or at least pinpoint problems.
    iPhoto:
    I removed it from our PB's long ago. Found its filing system too troublesome early on and never looked back. I could install it if it would get the camera recognized by EVU again, but I'd be surprised if that changed anything. (I'm guessing iPhoto recognizes cameras the same wat Image Capture does, and IC still works fine, so I'm not sure I'd discover anything new.)
    EOS 20D 1 vs EOS 20D 2:
    Nope, the camera doesn't have any internal memory. Only the CF card is used to hold images. I'm not sure where EVU gets the 1 and 2 from, but I'm thinking that if I knew that I could trash that pref and the problem might be solved. (Mind you, I've trashed all recognizable prefs so far. I'm wondering if Canon's EVU creates some very cryptically named file to store its camera prefs...?)
    Waiting time & number of pics on card:
    I don't need to wait at all, since the camera is on when I start Canon's EOS Viewer Utility, as recommended by the manual. The camera is listed when the app's main window appears. (I have tried starting EVU first, then the camera, and it takes about 3 seconds for the "EOS 20D 1" to appear, still inaccessible.)
    I've tested the camera-computer connection with anywhere from 0 to about 45 images on the camera's card. I've never had any lag with either my SD100 or my 20D, no matter what app I use to access them or the number of pics on either camera's card.
    Any other thoughts anyone?
    -Neil
    PB G4 15 2005, 100gb hd, 1gb ram, superdrive   Mac OS X (10.4.3)  

  • My tablets and smart phones connect to the printer as if it was a router bypassing my router

    Deskjet 3520
    What happens is when the wireless devices connect to the printer they are not connected to the internet. Unfortunately if I block the connection, I can no longer print wirelessly. I suspect that someone smarter than me can figure out a solution.
    Thanks

    We usually print from the cloud because of our tablets an cell phones, but we can print through the network.
    The printers are on the same home network.
    My tablets and cell phones see the printer as a different wireless service (router) since the printer was in the same room as the router there were situations that the printer signal was slightly stronger than the router so they connected.
    update: I moved the printer into another room some distance from the router and the problem is now solved, my tablets etc. no longer change from my router.
    Thank you,
    Larry

  • SAP NETWEAVER TRIAL 7.02 Connection refused

    hi all !  First of all let me tell that I installed in a Windows 7 enterprise enviorment (64bits)
    I installed my SAP netweaver, everything was working fine, then I deleted the user accounts that were created in windows and it stopped working (wsaeconnrefused). So I reinstall it and Im trying to log but all Im getting is the wsaeconnrefused error.
    I checked the services related to SAP, they are running, the service file located in windows/system32... is also correct. I dont know what else could be.
    Any help is appreciated.
    Thanks!

    OK I was able to install the system when I tried to login using SAP GUI I got the initial problem (connection refused) went to the SAP management and I see the system is not in green so I try to start it and a console pops asking me for my OS user and pass (I have no pass) so I try to log but I get:
    Start failed:2
    Invalid credentials
    Any help is appreciated.
    Thanks in advance.
    Edited by: juanmanuelsanchez on May 12, 2011 7:55 PM

  • SUNW.iws - "Connection refused" when probing a uri in monitor_uri_list

    Hi,
    I use Sun Cluster 3.2 and would like to set Sun Webserver 7u2 as failover resource.
    I configured Resource Group which contain Logical Hostname and Sun Webserver as data resource (using SUNW.iws). I set all nedded data and turn on the resource.
    I've got the messages:
    Feb 11 01:25:21 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: Failed to connect to host ha-web and port 80: Connection refused.
    Feb 11 01:25:36 krasnal-A last message repeated 7 times
    Feb 11 01:25:37 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: A resource restart attempt on resource Webserver-server in resource group Webserver-gr has been blocked because the number of restarts within the past Retry_interval (620 seconds) would exceed Retry_count (2)
    Feb 11 01:25:37 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: Failed to start iPlanet Web Server.
    Feb 11 01:25:37 krasnal-A Cluster.RGM.rgmd: Method <iws_svc_start> failed on resource <Webserver-server> in resource group <Webserver-gr> [exit code <1>, time used: 7% of timeout <300 seconds>]
    server has been shutdown
    In this moment the second node on cluster start the resource and do the same. Monitor, failed, turn off. :-( . Resource are switched 3 times between nodes and at the end get offline status.
    The most important is that connection refused for uri in monitor_uri_list and resource in cluster isn't start or triggering restart/failover.
    It is look like the failover monitor try check resource on port 80 after service start and when notice that service (Webserver) not started - turn down the interface on this node and turn up on second node. Service (webserver) can;t start becouse the interface are down.
    I've found some similar problems which are describes on sunsolve:
    http://sunsolve.sun.com/search/document.do?assetkey=1-1-4900125-1
    and
    http://sunsolve.sun.com/search/document.do?assetkey=1-1-4967197-1
    I'm beginner in cluster problems and maybe I did some big mistake, but ...some help me
    Irek

    Solved!
    I read this post: http://forum.java.sun.com/thread.jspa?messageID=3966316
    and now get things work.
    If you installed NetBeans, you should notice that in your {tomcat_home}/conf/web.xml, NetBeans add these:
      <filter>
        <filter-name>HTTPMonitorFilter</filter-name>
        <filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>
        <init-param>
          <param-name>netbeans.monitor.ide</param-name>
          <param-value>127.0.0.1:8082</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>HTTPMonitorFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
        <dispatcher>ERROR</dispatcher>
      </filter-mapping>Now you should comment out these lines and then can get connected.

  • AFP to a default host in AEBS (and other problems with F/W 7.1.x)

    Hi all -
    I have a AEBS version N connecting a workgroup of several Macbooks and a Mac Mini acting as a app server/file server. This workgroup is connecting to the internet via the AEBS running WPA.
    Due to the network configutation, I have 1 publically routable IP address (200.13.99.x), which the Mini needs in order to allow "outsiders" access to a database app. The other laptops can share a NAT address for normal email, web browsing etc.
    After several attempts, I found the best solution was to set the AEBS Ethernet WAN manually to the public IP address (200.13.99.x), and set connection sharing to share a public IP address. Then using DHCP and NAT options, I fix and specify the MAC address of the Mini (10.0.1.2), and get the AEBS to enable a default host to be the public IP address (200.13.99.x -> 10.0.1.2).
    So far, so good. To recap, the AEBS has the public IP address (everthing else has a DHCP 10.0.1.x address). When outside users need to connect to the database on the Mini, they use the same public IP that the AEBS has. It works perfectly.
    NOTE: This ONLY WORKS WITH FIRMWARE 7.0. F/W 7.1 & 7.1.1 FAIL and do not allow any connections in this configuration.
    My question is this: How do I enable people to connect to the Mini and mount the filesystem remotely?
    If someone goes to Finder, Go, Connect to Server, then input the public IP (200.13.99.x), they attempt to mount the AEBS (which does not have any disks). How do I disable disk sharing on the AEBS and forward all AFP (disk mount) requests to the Mini (acting as Default Host)? I have attempted to Port Map Personal File Sharing, but when attempting to mount 200.13.99.x I still see the AEBS.
    The fallback plan is to buy an external disk for the AEBS, but it would be nice not to have that expense.
    Any thoughts appreciated!
    Regards,
    Charles
    ===
    Footnote: I have also seen a lack of stability in F/W 7.1.1. In addition to the above, I was having to restart the AEBS every week or so, and was also getting peridic connection problems to the Internet. F/W 7.0 seems fine. Hopefully these issues will be address in the next F/W release.

    Hi Robby
    I don't know if you solved your 'register now' problem concerning LE7 & LE8. I suspect the error your making is trying to open up each project in it's initial program - i.e. 7 or 8. The computer sees it differently (concerning Library settings etc) and your problem will be solved (hopefully) if you open up things in the right order :
    1° Open Logic EX 8.
    2° Then open the old project from LE 7. This should then open in your new system of LE8.
    Of course if you wish to keep working on LE7 projects in LE7 then you'll have to change between each system as you go. You should remember that in terms of programs (with the same 'name/directory') that a computer works much like a tightly packed garage - if you wish to get out your old bike you'll have to move the new one first and vice versa!!
    Normally you won't be asked to register again, BUT ... remember that you have to decide if you're going to save in 8 (and so keep working in that format) or not and I imagine if you've bought an update this is certainly your idea. Of course if you now decide to close LE8 and then start clicking on files in LE7 you'll be back at square one ..... register now etc. Please also remember that LE7 projects can work in LE8 but not the other way round, so once you've opened a LE7 project and made adjustments using LE8 you can't reuse 7 - I suggest you back up all your LE7 first on external/DVD support for later/backwards adjustments or reference.
    Another small point to remember is that your computer will now be saving your project a second time in a LE8 format. So at some point you should remember that you'll be using valuable HD space twice over if you just convert and save in the new format - if you see what I mean?!

  • What is command design pattern? what is the problem that it solves?

    Hi i have been reading few articles on command design pattern but was unable to understand what it is and what problem does it solve. As far as my understanding goes if there is a pre specified method in an object that could execute and perform the necessary activities then it is called as command design pattern. Why is it named as command design pattern, it is because in a shell we use commands to retrieve output. For example when we type "dir" in dos command prompt it returns the list of files. so here we have to remember a preexisting exe file named "dir" which does something when used. So here like we call it command because when "dir" is passed to the computers it returns something that is expected. may be the computer obeys the command issued and return something back. So like wise if there is a method that is defined as as the command, for example in struts framework the action class must have a method "execute()" which is called by the framework to execute the necessary action mapped to it. So if there is a predefined method like "execute" in struts then the object is said to be followed command design pattern. So what actually does it solve?
    What ever i have written is my understanding from the articles i have read about the design pattern. So kindly correct me if i am wrong. Help me understanding what actual problem does this pattern solves. Thanking you in advance.

    This is really off-topic for these forums. You might do better on StackOverflow.com. I'll just say that although the first Design Patterns book came as a revelation to me, it was more for (a) the nomenclature (decorator, factory, facade, etc) which is still with us and (b) about five of the original patterns, which told me things I didn't already know. I've never used any of the others, including Command, and the whole design patterns thing quickly degenerated into farce with what seemed like a sustained attempt to reduce the whole of computer science to design patterns, which really isn't the point. As an example, there is one in another book called Type Object, which is nothing but 3rd normal form, which can be defined roughly in a couple of sentences. This pattern went on for dozens of pages with a very artificial example. I wrote to the mailing list about it: 'Type Object considered hilarious'. I got a rude reply from the original author, which I guess I expected, but also an incredible response from the list owner, saying I should recast my objections in the form of a design pattern. That lost it for me. True story. Moral: don't take this religion, or any IT religion, too seriously. They come around every 18 months or so with the regularity of the next bit of Moore's Law. I've seen dozens of them come and go since 1971, all with something to say, all 90% nonsense.
    See here for a longer version of this incident.

  • After the latest update of iTunes does my iPhone and iPod not connect to iTunes but connects fine to Windows?

    I recently updated iTunes and when I went to put music on my iPod, however, iTunes could not pick anything up even though windows was. I then tried my iPhone and I had the same issue. I have gone through the steps off this page http://support.apple.com/kb/TS1538, and my problem was not solved. I have also tried reinstalling iTunes and got nothing. What should I do now?

    I have also tried reinstalling iTunes and got nothing. What should I do now?
    Doublechecking. Have you tried a complete uninstall of both iTunes and all the other related software components and then a reinstall? If not, try the instructions from the following document:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • Z1 bluetooth and network problem after updating to 1.136

    Hi,
    Last week I updated my phone via PC companion when it notified me a new system update was available. The update took me from Android 4.2.2 to 4.3, and the biuld number is now 14.2.A.1.136.
    I use my phone with a SmartWatch 2 all the time, and a SBH20 bluetooth headset in my car. Before the update everything worked fine, but now I have issues with bluetooth connectivity. My SmartWatch 2 randomly disconnects and reconnects to the phone, and so does the headset. In the watch, specifically the Whatsapp notification app by LIS software stopped getting notifications most of the time, although every once in a while it does. The SBH20 also randomly disconnects and sometimes it takes minutes to reconnect by itself. I already unpaired and paired again both devices, even reset the SmartWatch, and the problem persists.
    But the most recurrent issue is that the phone repeatedly notifies me to "Sign in to network"... and has problems connecting to the 4G and even to wi-fi networks, meaning that sometimes I don't get any data at all for who knows how long, because it happens randomly.
    One thing that seems to me is that every time i lose my bluetooth connections it's because (or at the same time) of whatever happens that triggers the "Sign in to network" notification.
    I was really happy of having purchased the whole package of phone, watch and headset, please help me with this.
    Leonardo

    This is the responses I go from Sony "Customer DON'T Care....." regarding bluetooth issues - 
    "We can advise Sony Xperia do not test our products with other manufacturer’s devices and so we can not confirm the two devices are compatible.
    As the handset has been updated this does indicate it is running different software which means the Bluetooth will have also been updated. Sadly, as Sony Xperia does not test our products with third party Bluetooth devices we will not have been able to foresee the change with your specific device.
    We could only suggest that you contact the manufacturer of the device for any further assistance as there is nothing further we could advise.
    We do apologise for any inconvenience this may have caused.
    It is not that the software does not work it is the fact that we have updated the bluetooth drivers withing the update you have which no longer makes the bluetooth compatable with your car kit, if you ahve not contacted the car manufacturer already then I would suggest contacting them and seeing if there are any updates needed to the car kit."
    Mmmmmm... so it seems that they DO NOT test any O/S upgrades against anything.....
    It seems strange that both Samsung(S3 running 4.3)  and HTC M* (running 4.4.2) both work perfectly with my car audio system and the "developers" at Sony cant... either that or they just do not care... The smart money is on the latter... My z1 is THE WORST PHONE THAT I HAVE EVER HAD THE MISFORTUNE OF OWNING....

  • Registration requests and other problems with LE 8.0.2 upgrade from 7.2.3

    Great upgrade. Improved sound, look and features, but:
    1. When I switch between Logic Express 7 and 8, I'm forced to register each version again & again.
    2. If LE 8 is left open when I put my computer to sleep, it won't recognize an iControl at wake up. After deleting the device from the surface controller set-up, rescanning it & resetting midi drivers, the play button won't work. It took until OS X 10.4.9 for Apple to get the iControl to work in LE 7.2.
    3. The instrument plug-in window doesn't come up after selecting a software instrument even with the box checked in preferences.
    3. If you've used a lot of preset voices in LE 7, the upgrade will require a lot of reprogramming. Tones like Jangly Jack are gone completely. Some missing LE 7 voices like the Ubiquitous DX can be imported into version 8 and saved as a channel strip setting. Logic 8 & GarageBand 3 lack a good DX7.
    4. The word Strings is misspelled in the channel strip setting window.
    5. Some LE 7 keyboard commands are no longer available in LE 8. For example, at certain times, you could move around an environment window in LE 7 with shift-plus and shift-minus keys. There was no way to program that in LE 7 either.

    Hi Robby
    I don't know if you solved your 'register now' problem concerning LE7 & LE8. I suspect the error your making is trying to open up each project in it's initial program - i.e. 7 or 8. The computer sees it differently (concerning Library settings etc) and your problem will be solved (hopefully) if you open up things in the right order :
    1° Open Logic EX 8.
    2° Then open the old project from LE 7. This should then open in your new system of LE8.
    Of course if you wish to keep working on LE7 projects in LE7 then you'll have to change between each system as you go. You should remember that in terms of programs (with the same 'name/directory') that a computer works much like a tightly packed garage - if you wish to get out your old bike you'll have to move the new one first and vice versa!!
    Normally you won't be asked to register again, BUT ... remember that you have to decide if you're going to save in 8 (and so keep working in that format) or not and I imagine if you've bought an update this is certainly your idea. Of course if you now decide to close LE8 and then start clicking on files in LE7 you'll be back at square one ..... register now etc. Please also remember that LE7 projects can work in LE8 but not the other way round, so once you've opened a LE7 project and made adjustments using LE8 you can't reuse 7 - I suggest you back up all your LE7 first on external/DVD support for later/backwards adjustments or reference.
    Another small point to remember is that your computer will now be saving your project a second time in a LE8 format. So at some point you should remember that you'll be using valuable HD space twice over if you just convert and save in the new format - if you see what I mean?!

Maybe you are looking for

  • GUI program... CALCULATE button not working... help please

    I am trying to make my GUI work... all buttons work except my CALCULATE button... which I want to say... if Binary radio button is set... and user inputs string into the txtFieldOne.... then when click Calculate - go to my function called "convertBin

  • [SOLVED] wireless dropping, dhclient = solution

    Hi I recently bought a Packard Bell dot nc05, and wireless is dropping all the time. If I try to download something (like a big package) the wireless will shut down and the only thing to do is to reboot. This is some output: lspci 00:00.0 Host bridge

  • Command line parameters for OMBPlus?

    Hi, Is it possible to pass command line parameters to TCL scripts running in OMBPlus.sh, and if so, can someone provide an example? I'm able to use the argv0 variable to get the script name itself but not sure how to get any other additional parms...

  • Closing a web page

    Easy one here - I've created a shockwave app that a client will have open in it's own browser window. When a user clicks an exit button within the shockwave app, I want the window it's playing in to close so they'll be taken back to whatever page the

  • Multiple servlet requests

    Hi, I want to send multiple requests to my servlet (tomcat container) simultaneously from Java code........what is the best way of doing this in Java?? Thread?? If so how do I do this?? Can anyone suggest please.......... Help will be much appreciate