Pure-ftpd-mysql socket error after latest mysql update [SOLVED]

As we know the socket path in mysql have been moved from /tmp/mysqld.sock to /var/run/mysqld/mysqld.sock.
The problem now with pure-ftpd-mysql is that it tries to use /tmp/mysqld.sock even though I have:
MYSQLSocket /var/run/mysqld/mysqld.sock
Inside of my /etc/pure-ftpd/pure-ftpd-mysql.conf
I guess that either MYSQLSocket is the wrong keyword or that the path is hard coded into pure-ftpd-mysql.
Any ideas how to solve this?
EDIT:
The path for the mysql conf was changed during last update
from
MySQLConfigFile  /etc/pure-ftpd/pure-ftpd-mysql.conf
to
MySQLConfigFile /etc/pure-ftpd/auth/mysql.conf
Last edited by ancide (2009-11-25 10:23:24)

maksvlad wrote:
I've edited /etc/rc.d/mysqld file and added "ln -fs /var/run/mysqld/mysqld.sock /tmp/mysql.sock" like this
echo $(getPID) >/var/run/mysqld/mysqld.pid
add_daemon mysqld
ln -fs /var/run/mysqld/mysqld.sock /tmp/mysql.sock
stat_done
It isn't  correct solution but it works...
On other hand you would try something like this http://bbs.archlinux.org/viewtopic.php?id=85441
Thanks for the reply. The problem is that all my other applications are using the new correct path. But I guess I can just make a symlink like you said for now until pure-ftpd-mysql is fixed.

Similar Messages

  • "The Selected Video could not be played" error after latest software update

    After the latest software update for the Apple TV I've come across an interesting problem that's driving me crazy.
    In a nutshell:
    - I can rent movies and watch them.
    - I can watch video podcasts.
    - I can watch TV shows purchased on iTunes and streamed from my mac
    - I can watch TV shows ripped by myself and streamed from my mac
    - I can watch movie trailers
    - I can watch YouTube videos
    - I can watch a movie purchased on iTunes that has been synched to the Apple TV
    - I can watch a movie ripped by myself that has been synched to the Apple TV
    - I CANNOT watch a movie purchased on iTunes but it's streamed from my mac
    - I CANNOT watch a movie ripped by myself that is streamed from my mac
    Whenever I'm trying to watch a movie streamed from the mac I get the following error message:
    "The selected video could not be played. The format was not recognized"
    These are movies I could watch perfectly well before the software update, and I could perfectly watch them streamed from the mac.
    Any clues as to what could be going on? Any help or hits will be greatly appreciated.
    Many Thanks,
    Julian

    I am having similar problems. Rolling Apple TV back to 2.0 fixes it, but then I deal with the 2.0 bugs.
    Basically, I've tried this three times so far: reset back to 2.0. Resync everything I can(I have about 500gb of video which is stored on a USB drive, but I selectively sync part of my library and all my music).
    I have about 40gb free on the 160gb ATV. Everything plays fine - synched music, synced video, streaming video. My types of video are:
    - iTunes purchased
    - Ripped using handbrake to h.264 standard stuff (plays fine on my iphone and computer)
    - downloaded h.264 "ipod compatible"
    - converted video using iSquint
    After upgrading to 2.0.2, initially everything plays fine. But the MOMENT I sync something new to the ATV, then it all falls to crap.
    - itunes purchases play fine (synced and streamed
    - iSquint converted videos play fine when synced, won't stream "The selected video could not be played" bs)
    - Handbrake rips can play if sync'ed, won't stream
    - downloaded ipod compatible will usually play and sync.
    Doesn't matter if they're movies or tv shows.
    *All of these played fine before the "upgrade" (some upgrade).* After the upgrade, and after the first post-upgrade sync, it falls apart.
    Talking to Apple support about this results in the usual BS. Unplug your ATV. Resync your purchases, We don't support third party software yada yada.
    All I know is, Apple broke something with 2.0.2. Either something to do with a USB drive access, or something to do with one of their stupid new flags in quicktime, or whatever. It needs to be fixed.
    Going back, once again, to 2.0 until this is recognized and fixed by Apple.
    Mark

  • Error after latest nvidia update...missing libpangox?

    Latest nvidia update  (304.60-1):
    $ nvidia-settings
    "nvidia-settings: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory"
    Closest thing is libpango, libpangoxft....

    Or recompile nvidia-settings. Here's a snippet of how I do it (in a totally different distro), from nvidia's nvidia-settings sourcecode:
    if module_installed "gtk+-2" ; then
    # Build nvidia-settings from source
    cd nvidia-settings-$VERSION &&
    # xf86vmode.h has been removed in xf86vidmodeproto 2.3
    if [[ ! -e /usr/include/X11/extensions/xf86vmode.h ]] ; then
    sed -i -e "s:#include <X11/extensions/xf86vmode.h>:#include <X11/extensions/xf86vmproto.h>:" src/libXNVCtrlAttributes/NvCtrlAttributes{,VidMode,Glx}.c
    fi &&
    make clean &&
    make -C src/libXNVCtrl &&
    make || exit 1
    module_installed is distro-specific - of course, it's checking whether gtk+-2 is available, FYI.
    Edit: Corrected sourcecode file
    Last edited by brebs (2012-11-17 23:32:30)

  • MOVED: X99S Mpower not starting up sometimes, UCPI error after latest BIOS Update

    This topic has been moved to MSI Intel boards.
    https://forum-en.msi.com/index.php?topic=256218.0

    Clearing CMOS doesn´t help the ACPI Issue, so I probably have to downgrade to older version. The other (original) M.1 bios runs ok so far.
    The loose connector seems like a pssibility, will definitely check that. I´ll post again later this week to try it enough times, since it only does this like 1 in 5 times or so.
    Thanks for the hints, I appreciate it.

  • Booting error after post-install update [Solved]

    hi
    Been using Linux for a while, but wanting to learn rather than just use, so decided to give Arch a go, after the review in LinuxMagazine.
    Managed to install and boot into it after a few trial and error.
    Ran "pacman -Syu"
    pacman updated itself, then ran into the hotplug conflict. I took it from This thread that it was safe to accept to remove hotplug.
    Ran "pacman -Syu" again 
    I then ran into the the error:
    error: the following file conflicts were found
    grub: /usr/share/grub: exists in filesystem.
    Followed This thread and did
    phrakture wrote:'mv' /usr/share/grub to something like /usr/share/grub-backup
    Ran pacman -Syu again, this time, it ran properly (I think)
    Rebooted the computer, ran into  a kernel panic:
    UFS: unable to mount root on unknown-block(0,0)
    . Followed This thread and  the wiki and edited the instruction on Grub's boot screen to set
    root=/dev/hda1 ro
    and added
    initrd /initrd26.img
    to the line uderneath.
    this allows me to boot (sort off), but I then get the following error:
    /bin/sh: can't access tty; job control turned off
    From there, I get what seems to be a limited shell (get the "#" sign but not the location I am in such as "root@archbox:#" which I would expect). Here, I am snookered. If I search the wiki for this message, I get one article which refers to Cups and is not relevant to the issue, as far as I can tell, and I do not get any joy from the forum either.
    Reinstalling the system is not a problem, but I would rather understand what is happening before I do it, so that I can fix it if the issue reappears, and because it fits into the "learning" purpose of installing this distro.
    Could someone guide me on my next step?
    Thx
    Damien

    tomk wrote:Change initrd26.img to initrd26-full.img, and you should be able to boot. When you're up and running, have a look at the wiki page on initrd for more info.
    Thanks, that did it. Thought I had tired that as well, though, must have been tired and made some typos.....
    On a sidenote, it seems that after the install, there was "/dev/discs/disc0" then came the partitions: part1; part2; part3, which is now translated as hda1; hda2; hda3.  I thought partitions started with hda0..  Am I wrong or is the way Arch auto-prepares the hard drive just skips the 0 partition?

  • MySQL socket problems after system update

    I have been using my new Mac Mini Snow Leopard server as Squeezebox Server for over a month wihtout problems. After a system update this weekend I started to get MySQL socket errors after reboot.
    Started; log sequence number 0 43655
    091213 17:10:04 [ERROR] Can't start server : Bind on unix socket: Invalid argument
    091213 17:10:04 [ERROR] Do you already have another mysqld server running on socket: /Users/admin/Library/Caches/Squeezebox/squeezebox-mysql.sock ?
    091213 17:10:04 [ERROR] Aborting
    Although I have posted this issue to the Squeezebox forum (http://forums.slimdevices.com/showthread.php?t=72510) where it primarily belongs to I wanted to hear if anyone maybe had an idea what recent changes in Apple updates could cause this? Maybe someone else has similar MySQL problems with other installations? I am a bit desperate by now so any idea or hint is appreciated.

    Here was my solution/workaround for this issue to the rest of us poor fellas that have too fight around with Squeezebox server from time to time:
    I setup SBS to use the the standard MySQL installation on Mac OS X SL Server since I could get it to run without problems from Server Admin. Here are the instruction from the SBS Wiki:
    http://wiki.slimdevices.com/index.php/ExistingMySQLInstance
    However, I had to deviate a bit from that in order to make it work since it seems a bit outdated.
    First deviation was necessary for the MySQL access privileges. Notice the extra grant to slimserver@localhost. Don't ask me why but this worked. I do also not know whether both grants would be necessary because I haven't tried it. Feel free to improve it:
    # mysql -u admin_user -p
    Enter password: admin_password
    Welcome to the MySQL monitor.
    Commands end with ; or \g.
    Your MySQL connection id is 103 to server version: 5.0.24a-log
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
    mysql> create database slimserver;
    Query OK, 1 row affected (0.22 sec)
    mysql> grant all on slimserver.* to slimserver identified by 'slimserver_password';
    Query OK, 0 rows affected (0.13 sec)
    mysql> grant all on slimserver.* to slimserver@localhost identified by 'slimserver_password';
    Query OK, 0 rows affected (0.13 sec)
    mysql> flush privileges;
    Query OK,
    mysql> quit
    There were also slight differences necessary in the preferences setup because MySQL socket location was different from the standard one. Here are my db entries ~/Library/Application Support/Squeezebox/server.prefs:
    dbpassword: slimserver_password
    dbsource: dbi:mysql:database=slimserver;mysql_socket=/var/mysql/mysql.sock
    dbusername: slimserver
    Notice the extra mysql_socket configuration.

  • VMware wont start after latest kernel update!

    Okay when i went to reboot it went to boot into arch but wile it was loading the vmware modules it would stay stuck at loading vm communication interface socket family and would just stay there the only way i could even boot into arch was to edit my grub so i could login and at least comment out vmware i tried to reapply the vmware patch fix that was on the wiki and had no luck also tried reinstalling + reapplying patch after words and still no luck I'm hoping this is happening to someone else as well and not just me (mean i know lol) I also tried virtualbox but seems it has it's own mess of problems as well after latest kernel update.

    I have tried rebuilding the the kernel image and even tried reinstalling grub with no luck.  After not having a usable system for several days I ended up just having to reinstall and maybe found out more about the problem.  Using the net install image and a 64 bit install this time making a EXT2 boot and a root partition of JFS right after install I get a panic during boot about how the system can't find a valid filesystem on what would be root partition.  Even when passing the "rootfstype=jfs" to the kernel line in grub it still errors out telling me that it is "Bailing out, your on your own.  Good luck!" (pretty funny error messages if you are not ripping your hair out).  After that I redid the install this time making a EXT4 root partition and everything is working.
    It seems to me that this all points to a problem with JFS on 64 bit systems, my other systems are all 32 bit and usign JFS root just fine... can anyone else confirm this?
    Last edited by vendion (2011-01-12 13:39:56)

  • Iphone 4 not recognized and will not sync after latest itunes update.  I have done all trouble shooting and uninstalled and reinstalled itunes to no avail.

    iphone 4 not recognized and will not sync after latest itunes update.  I have done recommendedl trouble shooting and uninstalled and reinstalled itunes to no avail. Can I go back to earlier version of itunes or restore computer to fix?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • IPad mini will not let me access mail after latest software update, 6.1.2, seems to want me to sign in, but whenever I type my Id ad password it just says that the mail account already exists.. Still can't open my mail!

    iPad mini will not let me access mail after latest software update, 6.1.2, seems to want me to sign in, but whenever I type my Id ad password it just says that the mail account already exists.. Still can't open my mail!
    Help would be appreciated.

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • ITunes won't open after latest OSX update

    AFter latest OSX update iTunes won't open.  Reinstalled iTunes.  Reinstalled OSX update.  When I click on icon in applications or in finder nothing happens.

    This is what worked for me and others--original post found on this thread: Yosemite slow opening and cannot open itunes
    This solved my question by Linc Davis.......
    According to multiple reports on this site, Apple Support has given the following instructions to others who had a similar problem. I can't confirm that this procedure works or that it's necessary, but it won't leave you any worse off than you are now.
    First, back up all data.
    Select the iTunes icon in the Applications folder and open the Info window. Click the padlock icon in the lower right corner to unlock the settings.
    In the Sharing & Permissions section, change the Privilege setting for each Name in the list to Read & Write. Close the window. If the settings aren't visible, click the disclosure triangle on the left so that it points down.
    You should now be able to drag the iTunes application to the Trash and empty. Your iTunes data won't be affected.
    Click the iTunes link at the top of this page, download the installer package and run it.
    If iTunes still doesn't launch, or if you can't complete the procedure, reinstall the OS.

  • Windows 7PC no longer detects iPad 3 after latest itunes update. Why?, Windows 7PC no longer detects iPad 3 after latest itunes update. Why?

    Windows 7PC no longer detects iPad 3 after latest itunes update. Why?,

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
     Cheers, Tom

  • Wifi not working after latest iOS update

    wif not working after latest iOS update 7.0.4.  Any suggestions?

    Same happening to my iphone no wifi or bluetooth since latest update tryed everything reset restore reset back to factory setting all to no avail phoned apple they want 155 pound for a replacement (cheeky #$%/$$#@) when everyone knows its there fault .i read phone may need new wifi chip if its out of warrenty cheaper to take to local phone doctor

  • After latest security update my MacBook is not finding any network. My network is ok, iPad and iPhone have no problems, but laptop is for all practical purposes turned into typing machine. Has somebody encountered similar problem? What to do?

    After latest security update my MacBook is not finding any network and I think is not really turning wifi on. Has anyone encountered similar problem?

    Checked the older discussion of the same type and found solution, well kind of... Thanks to other people who tried it, I just cannot remember their names at the moment. So, the solution for me was to turn off the firewall in the system preferences and suddenly lo and behold there was my network.

  • My iPhone crashing after latest IOS Update. Screen is not working anymore. I cannot use buttons, the screen is freezing up.Only thing I am able, is to 'restart' the phone. Now it does it after 5 minutes itself! Already removed en reset phone, no success!

    My iPhone crashing after latest IOS Update. Screen is not working anymore. I cannot use buttons, the screen is freezing up.Only thing I am able, is to 'restart' the phone. Now it does it after 5 minutes itself! Already removed en reset phone, no success!
    Can anyone help me?

    Hi there Cinthia88,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    -Griff W.

  • HP4501e "print spooler off" error after installing printer update

    Motorola Android OS, getting "print spooler off" error after installing printer update... have rebooted both printer and phone to no avail... any help ideas?

    Loralee,
    ??  I am sorry the computer is not working.  I don't work for HP and cannot comment on lawsuits or other calamities.
    If the notebook worked prior to an update -- and this is an entirely different can of worms and problems -- and you think that there is any chance the notebook is just in some sort of "tangled" state and not completely hosed for some reason, you can try the following non-lethal device reset:
    Create a Restore Point:   Create a Restore Point – Win7 OR  Create a restore point Win8
    If you are using a Notebook:
    Close all your programs and shut down the computer
    Disconnect everything (little Unifier for the keyboard / external mouse can stay)
    Perform the Hard Reset for your notebook model
    Boot the computer and log in
    Reminder:  Hard Reset is just a device Reset.  The procedure does not wipe out your files nor does it destroy your Windows setup in any way.  This type of reset "clears the cobwebs". Depending on the root cause of the problem, this procedure can fix a variety of computer glitches.
    This does not fix severe Operating System errors -- it is just a device reset.  It can fix minor problems that updates sometimes cause.
    ============================================================================
    I am sorry you are having so much trouble.
    Other help:
    HP Mobile Printing
    You can call HP for help --
    Contact HP – USA - Phone Assistance
    List of
    HP tech support/ Customer Service Phone Numbers – Some English Speaking Countries
    Warranty Required – USA and Canada
    USA – Contact HP // Self-Help – Email - Chat
    Happy New Year, Loralee!  I know it seems to be getting off to a rocky start!
    Click the Kudos Thumbs-Up to show you appreciate the help.
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Click Accept as Solution when the Answer provides a Fix or Workaround!
    Kind Regards,
    Dragon-Fur

Maybe you are looking for

  • Sharepoint 2010 Database Storage double in size

    Hi, I've noticed something interesting about content databases on SharePoint 2010. I appears that size of the database is double the size of the content. Is this how SharePoint is designed? For example, the web application content database "Current s

  • Passing data to custom smartform from a custom program...

    Hello Gurus, Since, the function module gets generated dynamically at runtime when smartform is activated, I know that first I should use  "SSF_FUNCTION_MODULE_NAME" and pass custom smartform name to it to get the name of function module. Then I have

  • Why can't I use a micro via

    I think I'm being dense!  I have a two layer board, and want to use a "micro-via", but the PCB properties/Copper Layers tab doesn't seem to allow this. Why?  I want a rectangular spiral inductor on the board, and need a very small via in the centre t

  • Converting photos for etching machine

    I am trying to design a layout for a headstone. It will be etched into black granite. They want a custom landscape done with images that they provided me. How do I change these photos to be a deep black and white that prepared for an etching machine?

  • Need help on conversion

    hi friends Ive a sqlserver query to be converted into pl/sql, I cant understand it . Can any one please convert this query = STUFF(securityname, (CHARINDEX(',',s_name,1)), 1, ' ') FROM Report Where (CHARINDEX(',',s_name,1)) > 0 this is an update stat