Named and httpd stopped working [SOLVED]

Hi,
ls -lR /var/run
Output:
total 0
ls: cannot access /var/run/httpd/httpd.pid: Permission denied
ls: cannot access /var/run/httpd/cgisock.2642: Permission denied
/var/run/httpd:
total 0
?????????? ? ? ? ? ? cgisock.2642
?????????? ? ? ? ? ? httpd.pid
ls: cannot access /var/run/laptop-mode-tools/enabled: Permission denied
/var/run/laptop-mode-tools:
total 4
?????????? ? ? ? ? ? enabled
-rw-r--r-- 1 root root 15 2009-09-23 12:48 state
ls: cannot access /var/run/named/named.pid: Permission denied
/var/run/named:
total 0
?????????? ? ? ? ? ? named.pid
When I try to start httpd with "/usr/sbin/apachectl start", I get:
(13)Permission denied: Error retrieving pid file /var/run/httpd/httpd.pid
Remove it before continuing if it is corrupted.
When I try to start named with "/etc/rc.d/named start", I get:
:: Starting DNS [FAIL]
" lsattr /var/run/" command's output is:
lsattr: Inappropriate ioctl for device While reading flags on /var/run/hald
lsattr: Inappropriate ioctl for device While reading flags on /var/run/sudo
lsattr: Inappropriate ioctl for device While reading flags on /var/run/utmp
lsattr: Inappropriate ioctl for device While reading flags on /var/run/wicd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/PolicyKit
lsattr: Inappropriate ioctl for device While reading flags on /var/run/httpd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/named
lsattr: Inappropriate ioctl for device While reading flags on /var/run/pulse
lsattr: Inappropriate ioctl for device While reading flags on /var/run/laptop-mode-tools
lsattr: Inappropriate ioctl for device While reading flags on /var/run/portmap_mapping
lsattr: Inappropriate ioctl for device While reading flags on /var/run/ConsoleKit
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dbus.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/NetworkManager
lsattr: Inappropriate ioctl for device While reading flags on /var/run/crond.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/hald.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/mysqld.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/portmap.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/autofs
lsattr: Inappropriate ioctl for device While reading flags on /var/run/clamav
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dhcpcd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/gdm.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dhclient.pid
lsattr: Operation not supported While reading flags on /var/run/gdm_socket
lsattr: Inappropriate ioctl for device While reading flags on /var/run/syslog-ng.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/wpa_supplicant
lsattr: Inappropriate ioctl for device While reading flags on /var/run/daemons
When I try to delete httpd.pid I get the following error:
rm: cannot remove `httpd.pid': Permission denied
Any suggestions how I can fix this problem?
EDIT: "/usr/sbin/apachectl start" command displays a better message to understand the problem.
Thanks,
Ozgun.
Last edited by ozgun (2009-09-27 15:09:25)

I take it that that fixed the issue?
Can you edit your original post and mark as solved please?

Similar Messages

  • X1 Carbon touchpad and trackpad stops working.

    Received my new X1 Carbon 2014 this week. After only two minutes of use, the trackpad and toucphpad stopped working.
    I hade to use an external mouse, and even after all driver updates it still didn`t work.
    If I restart the machine, sometimes the track-touchpad will work, but suddenly it freezes up again (after only minutes of use), and I will have to restart to fix the problem. Have used it for 5 hrs now, and how probably restarted about 30-40 times.
    Anyone know what is causing this problem and/or how I can fix it?
    //alex

    Same issue here.
    Bought my X1 carbon 20A7 last month.
    The touchpad and trackpoint stop working after a while. Sometimes after minutes of use, sometimes after half an hour. When I close the lid, to let it go to sleep, and wake it up again they both work again. Another interesting (might be a coincedance) issue is that when I wake the laptop up after this has ocurred, the fingerprint reader does not work to log back on. 
    I have done a fresh install of windows 8.1 and updated all windows and Lenovo drivers. 
    I hope this gets solved quickly. It's kind of ridiculous for such a premium laptop.
    Lenovo?

  • My iPod 5 has recently updated to iOS 7.0.3. I have noticed something where my internet willonly work for about 2-3 minutes and then stop working. It is not our internet, because all of our other appliances work completely fine. Any help?

    My iPod 5 has recently updated to iOS 7.0.3. I have noticed something where my internet will only work for about 2-3 minutes and then stop working. It is not our internet, because all of our other appliances work completely fine. Any help?

    I did not mean to click the "this solved my question button by the way.
    I have tried most of this, except for a couople of things i currently cannot due. The apps that are acting up the most are YouTube an Vine. Facebook and Safari work fine.

  • Laser Jet M1217nfwMF​P wireless and fax stopped working printer works with usb cord

    I have an HP computer 64 bit version.  The printer suddenly stopped working wireless, fax stopped working weeks ago.  Printer does work with a usb cord.  Turning it off (removing elec cord) on both computer and printer, didn't help.  Nothing changed that was different to cause either problem.

    Hi agueda
    I see that your Laserjet M1217 wireless and fax stopped working but the usb connection does work.
    I would restore the printers defaults to setup the wireless again.
    Touch the setup (wrench button) on the printer, select network config, select restore defaults.
    Then make sure the wireless radio is turned on.
    Touch the setup button (wrench), network configuration, wireless menu, wireless radio-on.
    Temporarily connect the usb cable from the printer to the computer and go to start, all programs, hp, laserjet m1217 and select wireless configuration and go through the wizard to reset up the wireless again.
    or if your router has a wps button on it then you touch the wps wireless button on the printer and immediately touch the wps button on the router.
    Printer should automatically connect to the wireless network.
    Run the add printer wizard.
    Go to control panel,(win7) devices and printers then click add a printer, next, select network
    highlight printer, next, message installing printer.
    Should be able to print over  wireless again.
    Check  fax connections.
    Then run a fax test.
    Touch the setup (wrench button) on the printer, service, run fax test.
    You should have 4 passes.
    Change these fax settings on the printer.
    private receive-wrench/fax setup menu/ok/fax receive setup/ok/private receive/ok/set it to off
    error correction-wrench/arrow to fax setup/ok/all faxes/error correction/ok/set it to off/ok
    speed-wrench/arrow to fax setup/ok/all faxes/ok/fax speed/ok//change speed to medium.
    clear saved faxes-wrench/fax functions menu/clear saved faxes/ok/ok to clear.
    Try sending and receiving a fax.
    If you have any further issues please let me know.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Tiles and charms stop working

    Tiles and Charms stop working. When tiles stopped functioning (clicking on tile on desktop causes the desktop tile itself to scroll) and I could still access the search charm, I ran sfc/scannow as admin. It showed a couple of corrupt files it could not fix, but on reboot, the tiles and charms functioned again. Have been through this about four times at this point.
    Seems to have started with the last Windows 8.1 update, and is somehow related to the OneDrive syncing engine.  I had not used OneDrive; started using it, and this mess started. I disabled all pc and laptop OneDrive settings and stopped using it. However, the "OneDrive sync engine" message appears for no apparent reason, and then the tiles and charms stop working.  If I have Outlook and Foxfire apps open, they still work, and their open windows still appear in the bottom toolbar. All the other app shortcut links that normally pinned there disappear.
    When I try to shut the PC down, if I can do so via the power charm, I get a message that it can't shut down because the "Portrait Display Inc. app is preventing shut down." There is no such program shown in the installed program list in Control Panel. I understand from Googling it that it's somehow embedded in HP PC's.
    This is an HP Envy Phoenix 810, with an HP monitor (non-touch), both purchased Dec., 2013. Running Windows 8.1, on automatic updates; using McAffee All-Access AV, up to date. Standard Office apps. No goofy software.
    I see that many other people have had this problem, have used the sfc/scannow approach, with little lasting effect.
    This question was solved.
    View Solution.

    Plnjmw, welcome to the forum.
    If you have Windows System Restore setup, I suggest going back to a Restore point before you began having the problem.  This will tell you if the update is the problem.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Apple wireless mouse and keyboard stop working ... now says OS X version and bluetooth incompatible

    For no apparent reason my apple wireless mouse and keyboard stopped working. I was not upgrading or installing anything, the batteries are good, nothing was changed as far as I know. Now bluetooth discovers the paired devices, connects for about 30 seconds, the disconnects ... or stays connected but doesn't work.
    What's happenned ... I'm rushing to finish a big job ... any ideas? I've tried re-pairing but doesn't work ... says that OSX version may be incompatible with device bluetooth ... I'm using Lion so maybe there is another lion problem?

    Hello:
    Barry: What do you mean with "making devices favorites"?
    This is the method:
    Go to system preferences>bluetooth.  Highlight an item in the sidebar.  If detailed information does not appear, click on the little gear and select show more info.  Then click on the gear again and select favorite.
    And how could an hardware-related problem be (temporarily) solved rebooting the OS?
    Intermittent problems are, IMHO, most often caused by hardware.  Restarting will occasionally "fix" problems - why, I do not know.
    Barry

  • I was working with my Apple IPad 4G suddenly the sound stopped,I flipped the back of device slowly and it started to work but not properly and again stopped working.

    I was working with my Apple IPad 4G suddenly the sound stopped,I flipped the back of device slowly and it started to work but not properly and again stopped working.
    Now it is not working even with fliping, is the problem with hardware or software?
    Is any soloution to solve the problem?

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Toupad Tapping and Scrolling stopped working after Windows 10 Upgrade

    Hi, I upgraded my OC to Windows 10 today, after the upgrade tapping and scrolling stopped working on the synaptics touchpad. the toucpad only finctions as a pointer now. for taps/Clicks i always have to use the buttons below the touchpad. It was working fine before the upgrade, the earlier OS was Windows 7 I have checked for driver updates but i get a message that the drvier is up to date.I have check the device setting and confirmed that tapping and scrolling is enabled.I have also done a device reset. Nothing solved the problem, i also did not find a relevant answer on the forums.Also, the same problem did not happen with my other HP laptop (Notebook PC) which was also upgraded to windows 10 recently. Does anyone have a solution? Regards,Siddharth. 

    , Hello and thanks for posting on the HP support forums.  What you will need to do is the run the Windows Update Fixer tool.  Here is a link to help you with that.  Make sure you run all updates including optional. Fix Microsoft Windows Update Issues If that fails to work the only other option is to roll your system back to the original supported operating system that came with your notebook. Thanks again for the post and have a great day.

  • Hi Team, Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will st

    Hi Team,
    Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will stuck on enabling
    and will not renable till i am not restart that machine. I have 350 Machine in network but facing this issue in 25 machines. Kindly help me on this issue .
    Regards
    Sahil bhateja

    Hi,
    So switch a LAN card fix this issue...seems a compatibility issue or maybe some packs or programs you installed recently cause this issue.
    Have you manually check the network adapter driver from the PC's manufacture website? sometimes, it will be a time delay before Microsoft push out the driver update.
    Check if issue exists in safemode with network, this mode will launch Windows with limited sets of files and drivers. 
    if you have a restore point, restore the pc to a previous point at which the pc is functioning fine.
    Yolanda Zhu
    TechNet Community Support

  • Mid 2011 Macbook Air - Yosemite keyboard and trackpad stopped working, the only button that worked was the power button, only one USB port works.

    I have a Mid 2011 Macbook Air.
    Upgraded to Yosemite last week.
    Three days ago I was using my Macbook Air for the first time since upgrading to Yosemite. I had been using my Macbook Air for approximately 30 minutes, I was using safari and the keyboard and trackpad stopped working (would not respond). The only button that worked was the power button.
    I rebooted and they were still not working. I plugged in a USB mouse and external USB keyboard, only one USB port would work (the Left USB port if looking at the screen) so I had to swap between keyboard and mouse.
    After logging in there is a bluetooth icon at the top of the screen with a sawtooth line through it. Bluetooth is unavailable and the bluetooth icon is missing from the system preferences menu.
    If I run a hardware test by holding D (on USB keyboard) at startup it says that no problems are found and at the conclusion of the test the keyboard and trackpad start working again. When I log on the bluetooth is working again.
    I shut down the Macbook Air and when I started it again the keyboard and trackpad and right side USB ports were all not working again. I logged in using the USB keyboard and mouse and the bluetooth not available sawtooth icon had returned.
    I ran the hardware test again and at the conclusion of the test the trackpad and keyboard started working again.
    I have tried deleting com.apple.Bluetooth.plist and com.apple.Bluetooth.plist.lockfile from /Library/Preferences/ and tried resetting SMC and Power Functions but this did not fix the issue. The only thing that seems to work is running a hardware test - obviously I don't want to do this every time I use the computer.
    I do not believe any hardware is faulty/damaged - I think it has something to do with bluetooth/Yosemite.
    I do not have the Macbook with me at the moment, if you have suggestions that I can try or additional checks/info you require please let me know and I can get back to you.
    Thanks,
    John

    Hi!
    I have exactly the same problem, and I can't find any solution.
    I can't even track down the root of the problem: the Bluetooth/Wifi module? The trackpad? The keyboard/top case? The logicboard?
    I've tried all the usual: SMC/PRAM reset, clean install, kext cache clearing.
    Any suggestion is greatly appreciated!

  • Maxbook air keyboard, trackpad and usb stop working

    Hi everyone! i have a macbook air (early 2008) and it stop working the keyboard, the trackpad, and the usb port i think the bluetooth too becouse when i checked the hardware it doesn't appear i think is something wrong with the software becouse the ilumination of the keyboard still works but i can't use the restore disks becouse i don't have keyboard so i can't choose the start disk, any ideas what can it be? someone experience the same problem? Thanks

    It's a common problem. I'm not aware of a fix yet.

  • Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. Please help!

    Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. I don't get a spinning ball, it just stops working at whatever page it's on. I can close the program just fine but when I re-open it, either safari or firefox, it freezes trying to load the hompage. This started a few days ago after trying to stream a movie on my computer. I'm on a Mac Air OS X Version 10.6.8 and have downloaded all updates. When I go into finder, it says I have over 80 gigs available. Is there some other memory cache that I need to check? Thanks so much for your help.

    ejwoodall wrote:
    It's not a router problem as I explained in my post. If it was a router problem then I wouldn't have the problem everywhere I go. It is an issue with the software.
    Then I guess the millions of people running 10.5.7 with no issues are just hallucinating that their machines are working fine?
    I'm not trying to belittle your issues; you're certainly having them and I know first hand how annoying an intermittent AirPort issue can be. (In fact, mine was due to an AirPort driver bug that no one else seemed to suffer from.)
    The single best diagnostic you could do is take your system running 10.5.7 to an Apple Store, and try using their in-store network.
    If your machine performs flawlessly, it may be a router issue.
    If your machine has connectivity issues there, it may be a hardware problem with your machine.
    There have been numerous people in multiple threads over the years who swore that an update was buggy because things used to work, but returned later to sheepishly admit that they took their machine in, a problem was found and fixed, and now their Mac works flawlessly with the newer software.
    But simply reinstalling 10.5.5 in no way means the explanation of how firmware bugs may be at play here is incorrect.
    In the context of that explanation, all you've done is possibly reinstall software that asks to add "2 + 3."

  • Email and Chat STOP working

    Email and Chat STOP working. NOKIA - try OVI services.
    Nokia with Microsoft and Windows Mobile 7 - so; forget and don't hope about quality of our Symbian system and Ovi service
    http://www.nokia.com/press/press-releases/showpressrelease?newsid=1488004
    http://www.microsoft.com/presspass/press/2011/feb11/02-11partnership.mspx

    Hi Abdelhediamir,
    Is the mobile data connection (with your provider) up and running? Are you able to browse the web using the phone's browser? If no, this is most likely the reason why the issue is happening. Kindly coordinate with your Network Provider to get the correct Internet/APN settings via SMS. Save it on the phone so it will be configured.

  • Windows 8.1 Onboard Keyboard and Touchpad Stopped Working.

    After upgrading to Win 8.1 my keyboard and touchpad stopped working suddenly.  They both worked fine for the entire Windows 8.0 release.  When I upgraded to 8.1, they both worked for about 3 months.  Then what started happening is the computer
    would freeze during the startup process.  
    Now they both don't don't work.  But a USB powered mouse works.  So with a USB powered mouse and the on screen keyboard I have been troubleshooting.  I have removed the drivers from the device manager, reinstalled the drivers, searched for
    driver updates etc.  Nothing works. 
    Can someone please point me in the right direction.  PC is kind of useless at the moment.

    Hi,
    Kindly check this application that can show incompatible/unwanted/untrusted/ applications then remove these with different kinds of PC cleaner/Application removal tools.
    http://www.getsysteminfo.com/
    After Downloaded, Run the Application and Save Report, Upload the Report and Press Submit Button and Click Read the report as an Expert.
    If you found anything in these 2 Auto analyses
    then find the solution.
    1) Driver To Update:
    2) Application to Update:
    Good Luck!

  • A magnet fell on my macbook "late 2007 series black" and it stopped working. When i start my macbook up it sits on the white screen. i tried inserting the snow leopard disk to do a clean install but the disk ejects and all i see is the pointer.help please

    A magnet fell on my macbook "late 2007 series black" and it stopped working. When i start my macbook up it sits on the white screen. i tried inserting the snow leopard disk to do a clean install but the disk ejects and all i see is the pointer. i even bought a new hard drive to do the clean install but the same thing happens. Please Help

    Your problem is not Boot Camp, in fact, is your optical drive. Win XP requires indeed sp2, but also the internal drive, does not work from external optical drive.
    For other possible tricks, please use the appropriate Boot Camp forum, not here. Mac OS X may be installed from both external and internal optical drive and/or internal/external partition of a disk, any disk. Windows is not so generous.

Maybe you are looking for