"Device not configured" after every command, crashing

From: Antonio Lupher (antonioabroad_at_hotmail.com)
Date: 11/25/03

  • Next message: Nick Tonkin: "Re: options PNPBIOS unrecognized in 5.1-RELEASE"
    To: freebsd-questions@freebsd.org
    Date: Mon, 24 Nov 2003 21:34:23 -0800
    
    

    I'm a newbie running FreeBSD (I believe it's 4.4... am at the moment unable
    to check, as the computer is down) to host some of my websites. I sent a
    query to this mailing list before about receiving some errors when trying to
    access my website, after which, ssh would stop logging me into the server
    ("Connection closed by [server ip]"), and all web pages would bring up a
    "Forbidden" error. After this, the server would go down completely... or at
    least I was unable to ping it, access it through http, or anything else that
    I tried...

    This has been happening regularly, about every 3-7 hours after the computer
    is rebooted. However, while the computer is running, I can distinguish
    nothing out of the ordinary.

    However, tonight, it "crashed" while i was logged in through ssh. Suddenly,
    almost every command that I issued or program I tried to run came back as
    "Device not configured."
    e.g.:
    # reboot
    /sbin/reboot : Device not configured

    Some things work... (lynx, ping, ps -- all seem to work fine) but many other
    commands just return the "Device not configured" or "Segmentation fault"
    errors. Also very odd: ls, cd, pwd, etc. seem to work fine, but when I ls
    any directory, no files come up. It is completely blank....

    Anyway, I'm very scared and at my wit's end. The system will appear normal
    once it's rebooted, but the same thing will happen within a few hours... Any
    suggestions on what to look for? Are there certain log files that may
    contain information on this? I think the most recent thing I did to the
    server was several weeks ago, when I installed "wusage" to analyze web
    logs... i had since deleted it. Maybe something went wrong there? Hmmm....

    Thanks!
    -antonio

    >I have also noticed two processes running that I hadn't seen before:
    >
    > 6 con Is+ 0:00.11 sh /etc/rc autoboot
    >447 con I+ 0:00.00 sh /etc/rc autoboot
    >
    Errors when trying to access a php/mysql driven website....
    >>>Warning: open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR)
    >>>failed: Device not configured (6) in
    >>
    >>>Warning: open(/tmp/sess_4a23ba911863d07812e9cdf99656586f, O_RDWR)
    >>>failed: Device not configured (6) in Unknown on line 0
    >>> Warning: Failed to write session data (files). Please verify that the
    >>>current setting of session.save_path is correct (/tmp) in Unknown on line
    >>>0
    >>>=======================================================
    >>>
    >>>I then try to login via ssh... but I get "Connection closed by [my ip]".
    >>
    >>It seems to me there is something wrong with your /tmp filesystem, causing
    >>both php and apache to be unable to write temp files, and also causes
    >>problems for several other daemons.

    _________________________________________________________________
    Groove on the latest from the hot new rock groups! Get downloads, videos,
    and more here. http://special.msn.com/entertainment/wiredformusic.armx

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Nick Tonkin: "Re: options PNPBIOS unrecognized in 5.1-RELEASE"

    Relevant Pages

    • function loss after short period of time
      ... After a fresh reboot I can access websites and my mail ... server using outlook express, everything works fine. ... A reboot solves this problem. ... settings to default, used the handy repair tool in my ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • problems 10 min after reboot
      ... After a fresh reboot I can access websites and my mail ... server using outlook express, everything works fine. ... A reboot solves this problem. ... settings to default, used the handy repair tool in my ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • IIS websites stopped
      ... When I reboot my server, my websites are not accessable. ... In IIS beside each site I can see If I right click and try to ...
      (microsoft.public.windows.server.sbs)
    • low performace - reboot
      ... We have windows 2000 server to hosts our websites and SQL and I have the ... avery 2 or 3 days I have to reboot the server because it ...
      (microsoft.public.win2000.advanced_server)
    • Re: publishing multiple websites in ISA 2004
      ... hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... INSIDE OF SBS NETWORK, IS SAFER THAN JUST ON THE SBS/ISA BOX, CORRECT? ... 816576 How to create a new virtual server or Web site in Internet ...
      (microsoft.public.windows.server.sbs)