database installer error

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
luke9511
Posts: 8
Joined: Sat Jun 04, 2011 7:30 am

database installer error

Post by luke9511 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:latest
L2JDP Revision Number:latest

hey everyone I have been out of the L2J server install for a while and wanted to try it out again but this time I am doing it on linux, I am up to the point to run the database installer however I keep getting this error

Code: Select all

    user@server01:/var/L2J/tools$ sh database_installer.sh    : bad trap    : not foundstaller.sh: 38: database_installer.sh:    #############################################    # You entered script configuration area     #    # No change will be performed in your DB    #    # I will just ask you some questions about  #    # your hosts and DB.                        #    #############################################    database_installer.sh: 88: database_installer.sh: Syntax error: "elif" unexpected (expecting "then")
does anyone know how to fix it?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: database installer error

Post by UnAfraid »

its bash script not sh.
start it with

Code: Select all

chmod +x database_installer.sh && ./database_installer.sh
Image
luke9511
Posts: 8
Joined: Sat Jun 04, 2011 7:30 am

Re: database installer error

Post by luke9511 »

UnAfraid wrote:its bash script not sh.
start it with

Code: Select all

chmod +x database_installer.sh && ./database_installer.sh
that gives me a bad interpreter error

EDIT i used dos2unix to convert to unix format and now it works

EDIT EDIT now I am getting an error when trying to start startLoginServer.sh saying it cant find LoginServer_loop.sh
Post Reply