Disk W problem

Results 1 to 12 of 12
  1. #1
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts

    Disk W problem

    first, sorry about my bad english.

    I got the disk w problem, and found out this script:

    ON start.bat
    Quote:
    @echo off
    set Disk=%1
    set Disk=w
    c:\windows\system32\subst.exe %Disk%: "diskw"
    set apachepath=\usr\local\apache2\
    set apacheit=%Disk%:%apachepath%bin\Apache.exe -f %apachepath%conf\httpd.conf -d %apachepath%.
    set programit=%Disk%:\home\admin\program\
    set closeit=%programit%close.bat %Disk%
    %Disk%:
    cd \usr\local\php
    start \usr\local\mysql\bin\mysqld-nt.exe --defaults-file=/usr/local/mysql/bin/my-small.cnf
    start %Disk%:\home\admin\WWW\redirect.html
    start %programit%miniserv.exe "%apacheit%" "%closeit%"
    ON stop.bat
    Quote:
    @echo off
    c:\server\diskw\home\admin\program\pskill.exe Apache.exe c
    c:\windows\system32\subst.exe w: /d
    c:\server\diskw\home\admin\program\pskill.exe mysqld-nt.exe c
    subst "%Disk%": /D

    i solved the problem " disk w is busy" but, when use the start.bat, he close after opening the http page, and sometimes, it says some files are missing.

    please help!


  2. #2
    Alpha Member George is offline
    MemberRank
    May 2006 Join Date
    2,159Posts
    let me check
    i also have the same problem :/

    EDIT: On a second thought you only erased the lines that show that there is a problem.It doesnt fix the problem (at least mine)
    Last edited by George; 17-09-06 at 08:34 PM.

  3. #3
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts
    what lines should i erase?

  4. #4
    Account Upgraded | Title Enabled! Hero1711 is offline
    MemberRank
    Oct 2005 Join Date
    Viet NamLocation
    608Posts
    So, use my start.bat:

    Code:
    @echo off
    
    diskw\home\admin\program\pskill.exe Apache.exe
    IF NOT ERRORLEVEL 1 goto started
    set Disk=%1
    IF "%Disk%"=="" set Disk=w
    rem create the disk
    subst %Disk%: "diskw"
    IF ERRORLEVEL 1 goto hint
    set apachepath=\usr\local\apache2\
    set apacheit=%Disk%:%apachepath%bin\Apache.exe -f %apachepath%conf\httpd.conf -d %apachepath%.
    set programit=%Disk%:\home\admin\program\
    set closeit=%programit%close.bat %Disk%
    %Disk%:
    cd \usr\local\php
    start \usr\local\mysql\bin\mysqld-nt.exe --defaults-file=/usr/local/mysql/bin/my-small.cnf
    CLS
    echo The server is working on the disk %Disk%:\ [http/127.0.0.1/a/]
    start %Disk%:\home\admin\WWW\redirect.html
    start %programit%miniserv.exe "%apacheit%" "%closeit%"
    goto end
    :hint
    CLS
    echo The disk %Disk% is busy. Use start.bat [disk letter]
    goto pause
    :started
    CLS
    echo ERROR!!! 
    echo One of the instances of Apache server is started. Use stop.bat
    :pause
    echo .
    pause
    :end

  5. #5
    Alpha Member George is offline
    MemberRank
    May 2006 Join Date
    2,159Posts
    erm...?
    what the difference with the original one?

  6. #6
    Account Upgraded | Title Enabled! Hero1711 is offline
    MemberRank
    Oct 2005 Join Date
    Viet NamLocation
    608Posts
    Quote Originally Posted by Khadia View Post
    erm...?
    what the difference with the original one?
    Compare them and you'll see. :winky:

  7. #7
    Apprentice feneksas is offline
    MemberRank
    Feb 2006 Join Date
    n vanLocation
    16Posts
    still I have the same problem :drinks_no

  8. #8
    Alpha Member George is offline
    MemberRank
    May 2006 Join Date
    2,159Posts
    me too

  9. #9
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts
    me too... =/

  10. #10
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts
    WUHUUUUUU, i found the solution!!
    i hope that i can help who is with that problem too.
    when i tryed to use the star.bat , i saw that in the back CMD window, he dont recognize ON, like a internal command.. then i saw, waht stupid thing i made.. i just have to take off the stop.bat. (dont ask me, why i didnt done it before)... stupid solution... just delete this:

    ON stop.bat
    Quote:
    @echo off
    c:\server\diskw\home\admin\program\pskill.exe Apache.exe c
    c:\windows\system32\subst.exe w: /d
    c:\server\diskw\home\admin\program\pskill.exe mysqld-nt.exe c
    subst "%Disk%": /D

    if you didnt make the same stupid thing as me, and you still have the problem, try to reinstall your server, and do it again. when i reinstall my server, i didnt need to use the script, no more "disk W is busy" ^^ .
    Last edited by EFDos; 19-09-06 at 03:35 AM.

  11. #11
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts
    an important OBS: the last part must be used like stop.bat, the orginal stop.bat, wont close right if you are using this script.

    i have now a problem with the startgameserver... but i'll look take a look in the forum..

  12. #12
    Apprentice EFDos is offline
    MemberRank
    Sep 2006 Join Date
    BrazilLocation
    16Posts
    no more problems with the server.. with the SERVER.... now i need a system wich is compatible with the l2encdec, i need the l2encdec, and the GGemulator.. can someone post this archives to me?



Advertisement