[SOLVED] Can't get xinetd to work FAIL: SERVICENAME libwrap

Hi Guys,
I installed xinetd from core and started the daemon with the following service file in /etc/xinetd.d/
service pingback
disable = no
server = /home/me/pingback.sh
id = pingback
socket_type = stream
wait = no
flags = REUSE
instances = 25
user = root
protocol = tcp
log_type = FILE /var/log/pingback.log
log_on_success = HOST PID
log_on_failure = HOST
Here is /home/me/pingback.sh:
#!/usr/bin/env bash
echo $(uptime)
/etc/hosts.allow:
pingback : ALL : ALLOW
xinetd : ALL : ALLOW
/etc/services:
pingback 8082 # my pingback service
When I attempt to access is via netcat (nc -v 127.0.0.1 8082) (have also tried ktelnet localhost 8082), I get:
127.0.0.1 8082 (pingback) open
...and nothing else. When I look in my log file, a failure has been reported, but I don't understand what is going wrong?! HELP!
10/6/24@00:11:22: START: pingback pid=2524 from=127.0.0.1
10/6/24@00:11:22: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:14:59: START: pingback pid=2558 from=127.0.0.1
10/6/24@00:14:59: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:22:31: START: pingback pid=2649 from=127.0.0.1
10/6/24@00:22:31: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:22:39: START: pingback pid=2652 from=127.0.0.1
10/6/24@00:22:39: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:22:48: START: pingback pid=2654 from=127.0.0.1
10/6/24@00:22:48: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:22:51: START: pingback pid=2656 from=127.0.0.1
10/6/24@00:22:51: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:23:03: START: pingback pid=2658 from=127.0.0.1
10/6/24@00:23:03: FAIL: pingback libwrap from=127.0.0.1
10/6/24@00:28:37: START: pingback pid=2665 from=127.0.0.1
10/6/24@00:28:37: FAIL: pingback libwrap from=127.0.0.1
Thanks!
BTW: There are no errors in the daemon.log, it actually says my service is active!
Last edited by tommed (2010-06-25 10:03:09)

I noticed that the following forum post had the same problem:
http://bbs.archlinux.org/viewtopic.php?id=57281
The solution was to allow all from local loop interface:
ALL : 127.0.0.1
This isn't ideal, but also concludes that the correct service name is yet to be added to the hosts.allow file for this to work.
So I started investigating, using the filename in /etc/xinet.d and the name of the script the server points to, when I figured it out:
SOLUTION:
You have to specify the name of the script file or service (in the service attribute in your xinetd config file) in hosts.allow!
So for my service in the top post, I need to add the following to hosts.allow:
pingback.sh : 127.0.0.1 : ALLOW

Similar Messages

  • [SOLVED] Can't get sound to work.

    Hello, I installed archlinux a few days ago, I love it!
    But I can't get sound to work.
    I followed the alsa archwiki, but I still couldn't get it work.
    I'm a real noob.
    Someone please help.
    Last edited by egb (2011-02-16 22:45:12)

    JokerBoy wrote:
    Inxsible wrote:
    Try this: as your user NOT root
    alsamixer
    why not? i use alsamixer as root to set all "globally". and "alsactl store" after that.
    egb - make also sure you added yourself to audio group.
    yeah, I did that some time ago
    edit: oh and I get this when I do the "alsactl store":
    alsactl: save_state:1504: No soundcards found...
    Last edited by egb (2011-02-16 10:30:34)

  • [SOLVED] Can't get Steam to work, VirtualBox installation

    Hello!
    I'm having problems with getting Steam to work on my Arch Linux installation. I'm new to Linux so I'll just give you a prehistory & console output. I installed the distro on a virtual machine created in VirtualBox, installed xorg & KDE, I didn't install any video drivers because this is what wiki says:
    https://wiki.archlinux.org/index.php/VirtualBox#Installation_steps_for_Arch_Linux_guests wrote:Note: You do not need to also install a specific video driver in the guest system. Install the Guest Additions instead.
    So I installed "virtualbox-guest-utils" package, created a file /etc/modules-load.d/virtualbox.conf with the following contents:
    vboxguest
    vboxsf
    vboxvideo
    Then I executed
    sudo systemctl enable vboxservice
    and rebooted the system. After the reboot I got the shared clipboard feature working => VBox Guest Additions seemed to work. Then I installed "steam" package, launched it via the terminal and waited for it to download it's updated. After Steam downloaded everything, I tried to launch it once again via terminal and got this:
    Running Steam on arch  64-bit
    STEAM_RUNTIME is enabled automatically
    Installing breakpad exception handler for appid(steam)/version(1405013548_client)
    Xlib:  extension "GLX" missing on display ":0".
    Installing breakpad exception handler for appid(steam)/version(1405013548_client)
    Installing breakpad exception handler for appid(steam)/version(1405013548_client)
    Installing breakpad exception handler for appid(steam)/version(1405013548_client)
    Xlib:  extension "GLX" missing on display ":0".
    OpenGL GLX extension not supported by displayAssert( Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamUI/Main.cpp:285
    Installing breakpad exception handler for appid(steam)/version(1405013548_client)
    Uploading dump (out-of-process) [proxy '']
    /tmp/dumps/assert_20140712040049_6.dmp
    Finished uploading minidump (out-of-process): success = yes
    response: CrashID=bp-e2313069-9637-4ef3-aeee-fe3b92140711
    and a GUI window saying "OpenGL GLX extension not supported by display". I tried to find a solution on the internet but they all mentioned installing Nvidia drivers. And VirtualBox GPU != Nvidia GPU.
    Is there any way to solve this? Steam is working on my Fedora-VBox (this is the distro our lecturer uses as an example to teach us about Linux) installation out of the box.
    EDIT: forgot to mention that system is x86_64, multilib in enabled, 3D acceleration in VM settings is enabled.
    Last edited by Nathel (2014-07-12 22:10:16)

    Fixed the issue by replacing nvidia-libgl with mesa-libgl & lib32-mesa-libgl.

  • [SOLVED] Can't get curl to work, among everything else

    No matter what form I put curl in, I can't see to get it to work. The various manuals I've read through <man> and online have all shown me different examples, but none work.
    I've tried <command> | curl -F 'sprunge=<-'http://sprunge.us' and it does... nothing.
    I've tried substituting ix urls and pastebin urls but it does nothing.
    I feel like a complete moron because everyone expects me to instantly understand what all this gibberish means, and no one else seems to have a problem uploading command text online.
    I've had trouble every step of the way installing arch, and its taken me four hours to slug through each problem. Right now I can't start fluxbox for some reason, but I can't get the errors here except for what I write down.
    Heres the error for that
    Xmodmap: unable to open display ''
    Error: Couldn't connect to XServer
    I've tried redirecting xmodmap to the keys but it did nothing. I've tried figuring out this xserver thing but my retardation has apparently gotten in the way.
    Is this normal? Does everyone feel like an 90 year old when they first jump into arch linux?
    Last edited by Swashy (2012-12-05 19:08:13)

    gsgleason wrote:
    this site: http://www.linux-ninjas.com/2012/06/spr … tebin.html
    Shows this method:
    <command> | curl -F 'sprunge=<-' http://sprunge.us
    The Arch Wiki says the same :-)
    You an also try some other pastebin clients: https://wiki.archlinux.org/index.php/Li … in_Clients

  • [Solved] Can't get sound to work proper

    Hey
    I use KDE4 with KMix. I have 5.1 Optical sound.
    When I enter Audio Setup in KMix and test the "hw: 0,1" option I get playback.
    But I haven't gottten any sound except that. Tried a video in MPlayer and Youtube video in Firefox.
    I'm still abit new to Arch and linux.
    Also tried adding
    ctl.equal {
    type equal;
    pcm.plugequal {
    type equal;
    # Modify the line below if you do not
    # want to use sound card 0.
    #slave.pcm "plughw:0,0";
    #by default we want to play from more sources at time:
    slave.pcm "plug:dmix";
    #pcm.equal {
    # Or if you want the equalizer to be your
    # default soundcard comment the following
    # line and uncomment the above line.
    pcm.!default {
    type plug;
    slave.pcm plugequal;
    pcm.eq {
    type ladspa
    # The output from the EQ can either go direct to a hardware device
    # (if you have a hardware mixer, e.g. SBLive/Audigy) or it can go
    # to the software mixer shown here.
    #slave.pcm "plughw:0,0"
    slave.pcm "plug:dmix"
    # Sometimes you may need to specify the path to the plugins,
    # especially if you have just installed them. Once you have logged
    # out/restarted this should not be necessary, but if you get errors
    # about being unable to find plugins, try uncommenting this.
    #path "/usr/lib/ladspa"
    plugins [
    label mbeq
    id 1197
    input {
    #this setting is here by example, edit to your own taste
    #bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
    #50000hz, 10000hz, 20000hz
    controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
    # Redirect the default device to go via the EQ - you may want to do
    # this last, once you're sure everything is working. Otherwise all
    # your audio programs will break/crash if something has gone wrong.
    pcm.!default {
    type plug
    slave.pcm "eq"
    # Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
    pcm.dsp0 {
    type plug
    slave.pcm "eq"
    To
    /etc/asound.conf
    Which I got from https://wiki.archlinux.org/index.php/Ad … leshooting
    Last edited by Syth (2011-11-03 20:20:43)

    Syth wrote:Well as I said. Sounds like KDE startup sound and such works. Just can't get any sound out of mPlayer and youtube.
    Did what you said. PCM was the only one muted.
    Oddly, I recently started having the opposite problem.  KDE startup and other systems sounds have stopped playing.  All my other sound (mplayer, flash, etc) work fine.  I can play the startup sound fine when opening it via dolphin.  It just doesn't play on startup, or any other system sound.  I know this happened after a recent update but I am not sure what or when caused it.  Startup sound isn't that important to me but fixing it is.  No luck so far.

  • [SOLVED] Can't get spamassassin to work

    Hi!
    I'm trying to get spamassassin to work, but it seems like it doesn't want to cooperate
    Here's ~/.forward file
    "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #shin"
    A bit of postfix'es main.cf
    mailbox_command = /usr/bin/procmail -a "$EXTENSION"
    And a .procmailrc
    # SpamAssassin sample procmailrc
    # ==============================
    # The following line is only used if you use a system-wide /etc/procmailrc.
    # See procmailrc(5) for infos on what it exactly does, the short version:
    # * It ensures that the correct user is passed to spamd if spamc is used
    # * The folders the mail is filed to later on is owned by the user, not
    # root.
    DROPPRIVS=yes
    VERBOSE=yes
    :0fw: spamassassin.lock
    * < 256000
    | spamassassin
    :0:
    * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
    almost-certainly-spam
    :0:
    * ^X-Spam-Status: Yes
    probably-spam
    :0
    * ^^rom[ ]
    LOG="*** Dropped F off From_ header! Fixing up. "
    :0 fhw
    | sed -e '1s/^/F/'
    The X-Spam-... doesn't appear in headers, and there's nothing in the logfiles. What's wrong?
    Last edited by lateralus (2008-10-17 19:36:56)

    Aight, solved it. I had to replace this line of .procmailrc
    | spamassassin
    With this one
    | /usr/bin/perlbin/vendor/spamassassin

  • [SOLVED] Can't get any sound working at all

    I've just installed Arch again on my MacBook 5,2 and I can't get any sound (speakers or earphones) to work. I've tried the ALSA wiki page for troubleshooting, but none of that has worked. Does anyone have any ideas where to start with this?
    Last edited by dave1022 (2011-05-07 15:04:31)

    When you try something and it doesn't work, post the commands and the errors you get here, so that someone can actually help you with your problem.
    Please help us help you.

  • [SOLVED] can't get flash to work

    First i tried copying the flashplayer.so to /usr/lib/mozilla/plugins dir, but it didnt exists yet, so i did a searh and i found. This http://wiki.archlinux.org/index.php/Ins … bit_System  tried installing nspluginwrapper but it didnt work after restarting firefox. Tried manually installing the flashplater.so files again, since there was a dir there. Tried pacman -S flashplugin after i found that to be the most up to date way. None of this has worked, any ideas? I installed the 10.0.42.34 version. I never restarted anything other than firefox either. Thanx for any help.
    Last edited by leetstalker (2009-12-23 08:20:13)

    Yes, sorry about the editing, i just spent 10 minutes looking for the edit buttons and then the submit buttons, my new style made them invisible:P . I had a thought though. Before i installed gnome i had installed firefox, could i have installed a second copy while installing gnome or done something else to cause me difficulty? I like firefox but i guess i'll try getting flash to work in some other browsers and see how that goes.  Also, firefox isnt detecting any plugins in its add-ons section, perhaps thats a clue?

  • [SOLVED] Can't get network to work (realtek NIC)

    Hi there!
    I found Arch a couple of weeks ago and I got pretty excited with the possibility of taking my old Athlon 750MHz out of inactivity.
    Unfortunately, I can't seem to get the network to work.
    * I installed the system using Archlinux-i686-2007.08-2.core.iso
    * I have a little router and the machine has static IP
    lspci:
    00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    rc.conf:
    MOD_AUTOLOAD="yes"
    MOD_BLACKLIST=()
    MODULES=(8139cp 8139too mii slhc)
    USELVM="no"
    HOSTNAME="hige"
    lo="lo 127.0.0.1"
    eth0="eth0 192.168.2.103 netmask 255.255.255.0 broadcast 192.168.2.255"
    INTERFACES=(lo eth0)
    gateway="default gw 192.168.2.61"
    ROUTES=(gateway)
    DAEMONS=(syslog-ng network netfs crond)
    I think I got the configuration right, however, I have no eth0 (i.e., ifconfig -a only gives 'lo')
    Not sure if it's relevant, but here's something I found interesting in dmesg:
    8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
    8139cp 0000:00:0a.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
    8139cp 0000:00:0a.0: Try the "8139too" driver instead.
    8139too Fast Ethernet driver 0.9.28
    ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
    PCI: setting IRQ 10 as level-triggered
    ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
    PCI: Unable to reserve I/O region #1:100@de00 for device 0000:00:0a.0
    Trying to free nonexistent resource <000000000000de00-000000000000deff>
    Trying to free nonexistent resource <00000000efffff00-00000000efffffff>
    8139too: probe of 0000:00:0a.0 failed with error -16
    And here's a dmesg of an old gentoo instalation that I had in the same computer, but with an old, damaged HDD:
    Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
    Copyright (c) 1999-2006 Intel Corporation.
    e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
    e100: Copyright(c) 1999-2006 Intel Corporation
    forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
    8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
    8139cp 0000:00:0a.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
    8139cp 0000:00:0a.0: Try the "8139too" driver instead.
    8139too Fast Ethernet driver 0.9.28
    AMD756: dev 10ec:8139, router pirq : 3 get irq : 10
    PCI: setting IRQ 10 as level-triggered
    PCI: Found IRQ 10 for device 0000:00:0a.0
    eth0: RealTek RTL8139 at 0xc8800f00, 00:e0:4d:84:1b:55, IRQ 10
    eth0: Identified 8139 chip type 'RTL-8100B/8139D'
    Am I doing something wrong?
    Any advice would be greatly appreciated!
    edit: changed the subject to [solved]
    Last edited by jorgenmz (2008-04-16 22:39:48)

    The kernel module for
    Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
    is 8139too I think
    So /etc/rc.conf should be like this
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    # - prefix a module with a ! to blacklist it
    MODULES=( 8139too forcedeth sk98lin slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-$
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    The first one is 8139too, so it will be eth0
    In my example the second one is forcedeth for nvidia ethernet controler, so its going to be eth1
    Don't forget to edit /etc/resolv.conf

  • [SOLVED] Can't get DE to work with catalyst

    Hey everyone,
    I got problems getting KDE/Fluxbox running. I've installed the latest catalyst drivers (11.6) from AUR. "aticonfig --initial" created the xorg.conf for me, which seems to be ok but it gives me this error:
    Found fglrx primary device section
    Fail to link to fglrx-libglx.so, please check wether driver is installed correctly
    I got two Radeon HD5850s. Is it necessary to connect those two cards with the crossfire cables? I did, but I think it doesn't make any difference if I don't, it's probably unrelated to my problem. When I try to "startx" this is what I got:
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:0) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
    (WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found
    Segmentation fault at address 0x838
    Fatal server error:
    Caught signal 11 (Segmentation fault). Server aborting
    I've also uploaded my /var/log/Xorg.0.log, maybe this is helpful.
    My xorg.conf looks like this:
    #Section "InputDevice"
    # Identifier "Generic Keyboard"
    # Option "CoreKeyboard"
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    # Option "XkbOptions" "ctrl:nocaps"
    #EndSection
    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    Screen "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
    EndSection
    Section "Files"
    EndSection
    Section "Module"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-1"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-1"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-1"
    Device "aticonfig-Device[0]-1"
    Monitor "aticonfig-Monitor[0]-1"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    I'm using kernel 2.6.39 (x86_64) and I've only one display connected to the first card, I don't have another one, so no xinerama or something like that.
    Can anyone help?
    best regards
    Webmaniac
    Last edited by Webmaniac2 (2011-06-24 19:41:57)

    1- remove your catalyst an catalyst-utils driver build from AUR.
    2- remove fglrx from your modules, in my experience you don`t need it there unless you`re using catalyst-daemon.
    3- I recommend you use the Catalyst repository:
    [catalyst]
    Server = http://catalyst.apocalypsus.net/repo/catalyst/$arch
    4- Be sure to remove /etc/ati/
    5- update repositories and install catalyst and catalyst-utils from there
    6- finally follow this part of the wiki:
    After installing package you probably need to configure xorg. Using provided aticonfig tool is recommended:
    # aticonfig --initial
    (or for Dual Head: # aticonfig --initial=dual-head)
    And add nomodeset to your kernel line in /boot/grub/menu.lst , ie.:
    kernel /boot/vmlinuz26 root=/dev/sda1 ro nomodeset
    You may now reboot your system.
    I hope that works, also if you want you can ask in the The AMD/ATI Bar & Grill thread.

  • [SOLVED] Can't get DHCP to work with wifi

    On my recent install my wireless connection won't work with DHCP. If I use static IP I can associate with my AP and all is well but with DHCP wicd-gtk goes through the connection process and then just says "Not Connected". Any ideas?
    Last edited by ill (2013-01-22 01:18:28)

    ill wrote:I don't believe that's the issue. wicd successfully autodetected the interfaces... plus if it had the wrong interface I don't think using static IPs would fix the problem.
    Have you tried connecting manually with wpa-supplicant?
    The wiki says this
    If wicd repeatedly fails to get an IP address using the default dhcpcd client, try installing and using dhclient instead:
    # pacman -S dhclient
    I'd try manually with wpa-supplicant and if that works try the new dhcp client

  • [Solved] Can't get MPD to work with PulseAudio

    After a long time using straight Alsa I've been setting up Pulse because I want to send my laptop's audio to a networked device. So far I have audio output working (through my laptop) with everything except MPD.  MPD won't output audio with Pulse enabled; songs stay in "paused" mode.  I run MPD as my local user and have been trying to get this suggested systemd service to work, but it fails when I start it:
    systemd[1]: Starting Music Player Daemon (running as 0112358)...
    systemd[1]: Started Music Player Daemon (running as 0112358).
    systemd[4098]: pam_unix(system-local-login:session): session opened for user 0112358 by (uid=0)
    sudo[4095]: pam_unix(sudo:session): session closed for user root
    mpd[4098]: Failed to bind to '[::]:6600': Failed to create socket: Address family not supported by protocol
    systemd[4100]: pam_unix(system-local-login:session): session closed for user 0112358
    systemd[1]: mpd-myuser.service: main process exited, code=exited, status=1/FAILURE
    systemd[1]: Unit mpd-myuser.service entered failed state.
    dbus-daemon[943]: dbus[943]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1000 pid=4100 comm="(sd-p ") interface="org.freedesktop.login1.Manager" member="ReleaseS
    dbus[943]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1000 pid=4100 comm="(sd-p ") interface="org.freedesktop.login1.Manager" member="ReleaseSession" error name
    systemd[4100]: pam_systemd(system-local-login:session): Failed to release session: Access denied
    sudo[4114]: 0112358 : TTY=pts/3 ; PWD=/home/0112358 ; USER=root ; COMMAND=/usr/bin/journalctl
    sudo[4114]: pam_unix(sudo:session): session opened for user root by (uid=0)
    This is my /etc/mpd.conf:
    music_directory "/home/0112358/Music"
    playlist_directory "/home/0112358/Music/Playlists"
    db_file "/home/0112358/.mpd/mpd.db"
    log_file "/home/0112358/.mpd/mpd.log"
    pid_file "/home/0112358/.mpd/mpd.pid"
    state_file "/home/0112358/.mpd/mpd.state"
    user "0112358"
    gapless_mp3_playback "yes"
    input{
    plugin "curl"
    audio_output{
    type "pulse"
    name "My Pulse Output"
    /etc/asound.conf:
    # Use PulseAudio by default
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    /etc/pulse/default.pa:
    .nofail
    .fail
    load-module module-device-restore
    load-module module-stream-restore
    load-module module-card-restore
    load-module module-augment-properties
    load-module module-switch-on-port-available
    ### Automatically load driver modules depending on the hardware available
    .ifexists module-udev-detect.so
    load-module module-udev-detect
    .else
    ### Use the static hardware detection module (for systems that lack udev support)
    load-module module-detect
    .endif
    ### Automatically connect sink and source if JACK server is present
    .ifexists module-jackdbus-detect.so
    .nofail
    load-module module-jackdbus-detect channels=2
    .fail
    .endif
    ### Automatically load driver modules for Bluetooth hardware
    .ifexists module-bluetooth-policy.so
    load-module module-bluetooth-policy
    .endif
    .ifexists module-bluetooth-discover.so
    load-module module-bluetooth-discover
    .endif
    ### Load several protocols
    .ifexists module-esound-protocol-unix.so
    load-module module-esound-protocol-unix
    .endif
    load-module module-native-protocol-unix
    .ifexists module-gconf.so
    .nofail
    load-module module-gconf
    .fail
    .endif
    ### Automatically restore the default sink/source when changed by the user
    ### during runtime
    ### NOTE: This should be loaded as early as possible so that subsequent modules
    ### that look up the default sink/source get the right value
    load-module module-default-device-restore
    ### Automatically move streams to the default sink if the sink they are
    ### connected to dies, similar for sources
    load-module module-rescue-streams
    ### Make sure we always have a sink around, even if it is a null sink.
    load-module module-always-sink
    ### Honour intended role device property
    load-module module-intended-roles
    ### Automatically suspend sinks/sources that become idle for too long
    load-module module-suspend-on-idle
    ### If autoexit on idle is enabled we want to make sure we only quit
    ### when no local session needs us anymore.
    .ifexists module-console-kit.so
    .nofail
    load-module module-console-kit
    .fail
    .endif
    .ifexists module-systemd-login.so
    load-module module-systemd-login
    .endif
    ### Enable positioned event sounds
    load-module module-position-event-sounds
    ### Cork music/video streams when a phone stream is active
    load-module module-role-cork
    load-module module-filter-heuristics
    load-module module-filter-apply
    ### Load DBus protocol
    .ifexists module-dbus-protocol.so
    load-module module-dbus-protocol
    .endif
    ### Make some devices default
    #set-default-sink output
    #set-default-source input
    Could anyone give me a hand please?
    Last edited by 0112358 (2013-06-30 15:30:33)

    0112358 wrote:
    ngoonee wrote:Or you could workaround it by outputting to tcp/ip to pulse (I wrote that section of the pulseaudio article on wiki.archlinux.org)
    You're suggesting running mpd as its own user?  If I did that, and configured mpd to output to 127.0.0.1, etc, would Pulse then be able to redirect the audio to another networked machine (since that's my end goal here)?  I don't want to end up having to put the other machine's IP directly in mpd.conf, since I won't always be running that way (since it's a laptop - sometimes I'll take it on the road and use headphones).
    Pulse can do that, yes, its very flexible that way. Doesn't matter where the audio comes from, really. Though as a disclaimer, I haven't tried it myself yet.
    Why not just set two outputs for mpd and toggle between them since it has native support? Doesn't sound like you really need pulseaudio.

  • [Solved]can't get systemd to work, syslog.service not loaded

    So, i've been trying to use systemd today, after "Create systemd configuration files." step and reboot, i always got this:
    Any Help would be appreciated..
    Last edited by veroke12 (2012-08-25 07:31:06)

    eldragon wrote:remove quiet from your kernel boot parameters. post some more useful stuff like the dmesg (obtained from the recovery console)
    that did the trick, but can't login (i use startx)..
    and get an error mounting:
    mnt-windows.mount - /mnt/windows
    Loaded: loaded (/etc/fstab)
    Active: failed (Result: exit-code) since Sat, 25 Aug 2012 13:03:57 +0700; 3min 26s ago
    Where: /mnt/windows
    What: /dev/sdb
    Process: 367 ExecMount=/bin/mount /dev/sdb /mnt/windows -t ntfs-3g -o gid=users,fmask=113,dmask=002 (code=exited, status=12)
    CGroup: name=systemd:/system/mnt-windows.mount
    Aug 25 13:03:57 myhost mount[367]: NTFS signature is missing.
    Aug 25 13:03:57 myhost mount[367]: Failed to mount '/dev/sdb': Invalid argument
    Aug 25 13:03:57 myhost mount[367]: The device '/dev/sdb' doesn't seem to ha...S.
    Aug 25 13:03:57 myhost mount[367]: Maybe the wrong device is used? Or the w... a
    Aug 25 13:03:57 myhost mount[367]: partition (e.g. /dev/sda, not /dev/sda1)...d?
    dmesg:
    [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e1d5602b-de83-46e0-8ed8-4366a319b49b ro init=/bin/systemd
    [ 0.709226] systemd-udevd[41]: starting version 188
    [ 2.936891] systemd[1]: systemd 188 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP; arch)
    [ 3.170230] systemd[1]: Inserted module 'autofs4'
    [ 3.199718] systemd[1]: Set hostname to <myhost>.
    [ 4.267502] systemd[1]: [/usr/lib/systemd/system/rc-local.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
    [ 4.445331] systemd[1]: [/usr/lib/systemd/system/rc-local-shutdown.service:3] Unknown lvalue 'ConditionPathIsExecutable' in section 'Unit'. Ignoring.
    [ 4.503987] systemd[1]: Cannot add dependency job for unit dkms.service, ignoring: Unit dkms.service failed to load: No such file or directory. See system logs and 'systemctl status dkms.service' for details.
    [ 4.504023] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
    [ 4.504291] systemd[1]: Socket service syslog.service not loaded, refusing.
    [ 5.060568] systemd-udevd[125]: starting version 188
    [ 5.760783] systemd-journald[132]: Fixed max_use=145.0M max_size=18.1M min_size=64.0K keep_free=72.5M
    [ 5.760833] systemd-journald[132]: Reserving 33009 entries in hash table.
    [ 5.761588] systemd-journald[132]: Vacuuming...
    [ 61.730597] systemd[1]: Job systemd-tmpfiles-clean.timer/start failed with result 'dependency'.
    [ 61.730612] systemd[1]: Job dbus.socket/start failed with result 'dependency'.
    [ 61.730719] systemd[1]: Unit mnt-windows.mount entered failed state.
    [ 61.734921] systemd-journald[132]: Received SIGTERM
    [ 61.810451] systemd[1]: Startup finished in 3s 223ms 841us (kernel) + 58s 586ms 503us (userspace) = 1min 1s 810ms 344us.
    [ 61.839330] systemd-journald[379]: Fixed max_use=145.0M max_size=18.1M min_size=64.0K keep_free=72.5M
    [ 61.839678] systemd-journald[379]: Vacuuming...
    [ 61.893807] systemd-journald[379]: Received SIGUSR1
    Last edited by veroke12 (2012-08-25 06:31:18)

  • [solved] can't get printer to work. HP deskjet 710c

    i follow this guide from the wiki:
    http://wiki.archlinux.org/index.php/CUPS_Setup
    i have installed cups and ghostscript.
    also i have installed, foomatic-filters, hplip
    i also download from here
    http://www.linuxprinting.org/show_print … skJet_710C
    the PPD file, that suit my printer.
    after that, i copy the file to  /usr/share/cups/model/
    after that i did:
    modprobe lp
    modprobe parport
    modprobe parport_pc
    no errors
    started CUPS:
    /etc/rc.d/cups start
    go to:
    http://localhost:631/
    and added my printer using the PPD file, i downloaded before.
    (i used LPT 1 for the printer, its a parallel printer, not usb)
    this is the web interface with my printer details and status. also you can see the error, that said: "/usr/lib/cups/filter/foomatic-rip failed"
    http://img300.imageshack.us/img300/6605/hpyj2.png
    in buttom line, when i try to print, it's trying to print, but that's it, nothing happend. no printing. not even a noise from the printer :-)
    after everything didn't work i tried to install more foomatic_*  packages.
    i installed(as i see in pacman -Qs):
    foomatic-db 3.1-1
    foomatic-db-engine 3.1-1
    foomatic-db-ppd 20060411-2
    and foomatic-filters 3.1-1
    still, nothing is working
    thanks

    [coco@myhost local]$ sudo pacman -Qi abiword
    Password:
    Name           : abiword
    Version        : 2.4.5-1
    Groups         : None
    Packager       : Arch Linux (http://www.archlinux.org)
    URL            : http://www.abisource.com
    License        : None
    Architecture   : i686
    Size           : 11457296
    Build Date     : Sun Aug 13 16:33:02 2006 UTC
    Install Date   : Sun Dec  3 22:56:35 2006 UTC
    Install Script : No
    Reason:        : explicitly installed
    Provides       : None
    Depends On     : enchant fribidi libgnomeprintui wv
    Required By    : None
    Conflicts With : None
    Description    : A fully-featured word processor
    no other errors found in terminal.
    just Aborted

  • [SOLVED]Can't get Orage to work in Openbox

    Put simply, nothing happens.
    orage
    ** Message: Orage **: Too small icon size, using static icon
    if I try that again, with orage still running, I get this
    (orage:6523): Gdk-CRITICAL **: gdk_x11_get_server_time: assertion `GDK_IS_WINDOW (window)' failed
    (orage:6523): Gdk-CRITICAL **: gdk_x11_window_set_user_time: assertion `GDK_IS_WINDOW (window)' failed
    It DOES show up then in pypanel however, and I get a small, unresizable window, as described in this thread: http://bbs.archlinux.org/viewtopic.php?id=37431. But for me, a reboot doesn't solve the problem.
    Last edited by celettu (2008-05-02 16:07:20)

    Apparently orage is dependent on xfce-mcs-manager, which has to run before launching orage.

Maybe you are looking for

  • How do I re-download a song that i hid from the cloud?

    So here's the story: My wife downloaded some songs from the store directly to her iphone 5, and while they played on our pc just fine, they wouldnt play on her phone. To try and remedy this, I deleted the songs from itunes library, sync'd her phone t

  • Standard Report For Invoice Details

    Dear All I required a report as following Material No      Inv No I          nv Date. In there any standard report or any process through which I could get the data. Pl reply asap. Manoj

  • Re:Profit center as mandatory for VA01

    Hi Experts, Good Morning, my issue is if i didnt give profit center in va01 the document should not be saved, so in OMS9 which field sel.group (eg:name-0001,0002.....) i need to go and maintain as "Reqd Entry" Thanks in advance & points will be assig

  • My MacBook Pro is using too much RAM.

    Hello, I have got Apple MacBook Pro 13.3" (ME865LL/A) with OS X Mavericks 10.9.3 and I've noticed that my MacBook is using too much RAM. I'm doing nothing, I've got opened only my Google Chrome web browser and my notebook is using about 6,6 GB RAM of

  • Horrendous battery life

    i have had my iPhone 6 for almost a week and a half, and have never gotten more than 6 hours of battery from it. First day I got to actually use it like normal was 4 hours and 15 minutes of usage at 1%. Usually "Home and Lock Screen is the very top,