Перейти к содержимому
La2Base
Главная
ЗагрузкиВикиФорумFAQ
Поиск
ruen
Регистрация Войти
ГлавнаяФайлыВикиВойти
  • Главная
  • Загрузки
  • Вики
  • FAQ
  • Обратная связь
  • О проекте
  • Правила
  • Конфиденциальность
  • Условия использования

© 2026 la2base.com · Все права защищены

ruen
Форум/Ошибки LoginServer -/- GameServer/Ошибка
Поиск

Ошибка

5 ответов73 просмотровСейчас просматривают: 1
A
Akumu
· 19.01.2010, 16:48

При попытке запуска акк менеджера (а также регистрации гейм сервера) вылазят такие вот рода ошиьки:
ОС: Ubuntu Linux Server 9.10

Раскрывающийся текст
user@user-desktop:~$ sudo cd /home/vlad/server/accmanager
sudo: cd: command not found
user@user-desktop:~$ cd /home/vlad/server/accmanager
user@user-desktop:~/server/accmanager$ sudo sh startSQLAccountManager.sh
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
startSQLAccountManager.sh: 2: lib/l2scoria-am-0.2.jar: Permission denied
startSQLAccountManager.sh: 2: lib/mysql-connector-java-5.0.7-bin.jar: Permission denied
startSQLAccountManager.sh: 2: lib/sqljdbc.jar: not found
user@user-desktop:~/server/accmanager$ sudo sh startSQLAccountManager.sh
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/l2scoria-am-0.2.jar: Permission denied
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/mysql-connector-java-5.0.7-bin.jar: Permission denied
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/sqljdbc.jar: not found
vlad@vlad-desktop:~/server/accmanager$ sudo sh startSQLAccountManager.sh
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/l2scoria-am-0.2.jar: Permission denied
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/mysql-connector-java-5.0.7-bin.jar: Permission denied
startSQLAccountManager.sh: 2: /home/vlad/server/accmanager/lib/sqljdbc.jar: not found
user@user-desktop:~/server/accmanager$ sudo sh startSQLAccountManager.sh
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
startSQLAccountManager.sh: 2: lib/l2scoria-am-0.2.jar: Permission denied
startSQLAccountManager.sh: 2: lib/mysql-connector-java-5.0.7-bin.jar: Permission denied
startSQLAccountManager.sh: 2: lib/sqljdbc.jar: not found
vlad@vlad-desktop:~/server/accmanager$ clear

user@user-desktop:~/server/accmanager$ sudo sh startSQLAccountManager.sh
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
startSQLAccountManager.sh: 2: lib/l2scoria-am-0.2.jar: Permission denied
startSQLAccountManager.sh: 2: lib/mysql-connector-java-5.0.7-bin.jar: Permission denied
startSQLAccountManager.sh: 2: lib/sqljdbc.jar: not found
user@user-desktop:~/server/accmanager$


как я понимаю нехватает привелегий, но вроде запускаю из под sudo
есть идеи?

0
A
Akumu
· 19.01.2010, 22:20

Сам сервер работает исправно, но вот акк менеджер отказывается. Конечно не критично, но хочется бы решить проблему на корню, чтобы не сталкиваться с нею в будующем...

0
NewEvil
NewEvil

Пользователь

Бывалый

Постов: 226

На форуме с: 22.12.2008

Репутация: +34

Рейтинг: 0

· 20.01.2010, 00:20

Permission denied

chmod ставь правильный

0
A
Akumu
· 20.01.2010, 07:32

Всё стоит на все файлы в lib`е и сам .sh

0
K
Kpu3uc_Bo3pacTa
· 20.01.2010, 08:34

покажи права
ls -l ./lib/

0
Войдите или зарегистрируйтесь чтобы ответить