| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
Здравствуйте Как можно поставить на автозапуск скажим conky попытался прописать вот сюда /etc/rc.local не помогло |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
Приветик всем Арчеводам мне по работе посто необходим оракл и мне нравится Арч и вот тут на вики я нашел статейку по установки https://wiki.archlinux.org/index.php/Oracle поставил все пакеты которые необходимо проконфигурировал ось как написано создал пользователей и группу и вот дойдя до графической установки сталкнулся с багой [o[email protected] saidmir]$ cd /media/database [[email protected] database]$ ./runInstaller -ignoreSysPrereqs в вики написано During the Graphical installation: затем он выдает ошибки которые приводят к не установки базы ошибка происходит сразу же на втором шаге помогите кто может заранее спасибо может я тему не туда оформил долго искал куда оформить |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
mikhailirnobusСпасибо большое! Помогло мне. А это мне помогло спасибо РЕШЕНО |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
привет у меня тут вот такая ситуация возникла внешнка - платная мировая сеть тасикс - внутреняя бесплатная сеть имеющая зеркало на арч устанавлиать могу только с внешки пакеты с тас ихса не могу с тасикса могу только скачать потом переключиться надо что бы сгениророваться и только потом на второй раз все устанавливается [[email protected] ~]$ sudo pacman -S skype resolving dependencies... looking for inter-conflicts... Targets (11): lib32-libdrm-2.4.26-1 lib32-libgl-7.11-2 lib32-libglapi-7.11-2 lib32-libmng-1.0.10-5 lib32-libpciaccess-0.12.1-2 lib32-libxss-1.2.1-1 lib32-libxv-1.0.6-1 lib32-libxxf86vm-1.1.1-1 lib32-qt-4.7.4-1 libglapi-7.11-2 skype-2.2.0.35-2 Total Installed Size: 97.06 MiB Proceed with installation? [Y/n] y (11/11) checking package integrity [######################################] 100% error: libglapi: key "E8F18BA1615137BC" is unknown :: Import PGP key 615137BC, "Ionut Biru <[email protected]>", created 2011-04-19? [Y/n] y error: key "Ionut Biru <[email protected]>" could not be imported error: skype: key "6D1655C14CE1C13E" is unknown :: Import PGP key 4CE1C13E, "Florian Pritz <[email protected]>", created 2008-08-01? [Y/n] y (11/11) checking package integrity [######################################] 100% error: libglapi: key "E8F18BA1615137BC" is unknown :: Import PGP key 615137BC, "Ionut Biru <[email protected]>", created 2011-04-19? [Y/n] y error: key "Ionut Biru <[email protected]>" could not be imported error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. [[email protected] ~]$ sudo pacman -S skype resolving dependencies... looking for inter-conflicts... Targets (11): lib32-libdrm-2.4.26-1 lib32-libgl-7.11-2 lib32-libglapi-7.11-2 lib32-libmng-1.0.10-5 lib32-libpciaccess-0.12.1-2 lib32-libxss-1.2.1-1 lib32-libxv-1.0.6-1 lib32-libxxf86vm-1.1.1-1 lib32-qt-4.7.4-1 libglapi-7.11-2 skype-2.2.0.35-2 Total Installed Size: 97.06 MiB Proceed with installation? [Y/n] y (11/11) checking package integrity [######################################] 100% error: libglapi: key "E8F18BA1615137BC" is unknown :: Import PGP key 615137BC, "Ionut Biru <[email protected]>", created 2011-04-19? [Y/n] y (11/11) checking package integrity [######################################] 100% (11/11) loading package files [######################################] 100% (11/11) checking for file conflicts [######################################] 100% ( 1/11) installing lib32-libxv [######################################] 100% ( 2/11) installing lib32-libmng [######################################] 100% ( 3/11) installing lib32-libpciaccess [######################################] 100% ( 4/11) installing lib32-libdrm [######################################] 100% ( 5/11) installing lib32-libxxf86vm [######################################] 100% ( 6/11) installing libglapi [######################################] 100% ( 7/11) installing lib32-libglapi [######################################] 100% ( 8/11) installing lib32-libgl [######################################] 100% ( 9/11) installing lib32-qt [######################################] 100% Optional dependencies for lib32-qt lib32-libxinerama: Xinerama support lib32-libxcursor: Xcursor support lib32-libxfixes: Xfixes support (10/11) installing lib32-libxss [######################################] 100% (11/11) installing skype [######################################] 100% Optional dependencies for skype lib32-v4l-utils: webcam support lib32-libcanberra: XDG sound support lib32-libpulse: PulseAudio support [[email protected] ~]$ ощущение такое что на зеркале не все ключи есть один раз сгенерировал после обнавления и больше не могу а при установки все равно просит вопрос как исправить эту ситуацию зарание спасбо |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
vadikЯ это пробывал не помогло поэтому отписался сть у кого еще варианты все что тм написано вот у меня как [[email protected] ~]$ sudo ls /dev/usb/lp* /dev/usb/lp0 [[email protected] ~]$ sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0 CUPS_ConfigPath = /etc/cups/ LOG Path = None UI Port = 59787 Entry Num : Spooler : Backend : FIFO path : Device Path : Status ---------------------------------------------------------------------------- [0] : LBP2900 : ccp : /var/ccpd/fifo0 : /dev/usb/lp0 : Modified [[email protected] ~]$ sudo rc.d restart cups ccpd :: Dameon script cups does not exist or is not executable. [[email protected] ~]$ sudo /etc/rc.d/cupsd restart :: Stopping cupsd daemon [DONE] :: Starting cupsd daemon [DONE] [[email protected] ~]$ sudo /etc/rc.d/ccpd restart Shutting down /usr/sbin/ccpd: /etc/rc.d/ccpd: line 53: killproc: command not found Starting /usr/sbin/ccpd: [[email protected] ~]$ и не печатает |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
привет всем вот мучаюсь с этой моделью вроде делаю все что написано на вики и на разных форумах установил оф драйвера как сказано в арч вики затем добавл принтер в купс веб интерфайс и он все равно не печает даже не шевелится http://localhost:631/ помогите |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
Cоздал пользователя и группу su - root groupadd -g 400 dba useradd -u 400 -g 400 -d /home/oracle -s /bin/bash -c "Oracle Owner" oracle затем поместил saidmir в эту группу sudo gpasswd -a saidmir dba затем groups saidmir audio optical dba users groups oracle dba затем выполнил еще раз sudo sh /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/oraconfig.sh
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify your sga size [128M]:
Specify your pga size [96M]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Starting Oracle Net Listener...
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-DEC-2010 22:46:48
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
NL-00280: error creating log stream /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
NL-00278: cannot open log file
SNL-00016: snlfohd: error opening file
Linux Error: 13: Permission denied
Listener failed to start. See the error message(s) above...
Done
Configuring Database...mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/admin': Permission denied
mkdir: cannot create directory `/usr/lib/oracle/xe/app/oracle/flash_recovery_area': Permission denied
OPW-00001: Unable to open password-file
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0606: Cannot create SPOOL file "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/CloneRmanRestore.log"
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0606: Cannot create SPOOL file "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/cloneDBCreation.log"
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
ORA-10997: another startup/shutdown operation of this instance inprogress
ORA-09967: unable to create or open lock file
Linux Error: 13: Permission denied
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0606: Cannot create SPOOL file "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/postScripts.log"
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
not spooling currently
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0606: Cannot create SPOOL file "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/postDBCreation.log"
ERROR:
ORA-09925: Unable to create audit trail file
SP2-0640: Not connected
SP2-0640: Not connected
ORA-10997: another startup/shutdown operation of this instance inprogress
ORA-09967: unable to create or open lock file
Linux Error: 13: Permission denied
ERROR:
ORA-09925: Unable to create audit trail file
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/initXE.ora'
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
not spooling currently
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory
ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[/<password>][@<connect_identifier>] | /
ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[/<password>][@<connect_identifier>] | /
Done
Starting Oracle Database 10g Express Edition Instance...ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/initXE.ora'
Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"что это так и не понятно как быть ? |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
пакет собрать собрал а вот дальше что установить установил все конфиги в ауре взял а вот основной там не верен #!/bin/bash
# Set path if path not set (if called from /etc/rc)
case $PATH in
"") PATH=/bin:/usr/bin:/sbin:/etc
export PATH ;;
esac
# Save LD_LIBRARY_PATH
SAVE_LLP=$LD_LIBRARY_PATH
RETVAL=0
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
ORACLE_OWNER=oracle
ORACLE_SID=XE
LSNR=$ORACLE_HOME/bin/lsnrctl
SQLPLUS=$ORACLE_HOME/bin/sqlplus
SU=/bin/su
export ORACLE_HOME
export ORACLE_SID
export PATH=$ORACLE_HOME/bin:$PATH
LOG="$ORACLE_HOME_LISTNER/listener.log"
export LC_ALL=C
if [ $(id -u) != "0" ]
then
echo "You must be root to run the configure script. Login as root and then run the configure script."
exit 1
fi
CONFIG_NAME=oracle-xe
CONFIGURATION="/etc/sysconfig/$CONFIG_NAME"
if [ -f /etc/arch-release ]
then
init_status() {
return 0
}
exit_status() {
exit $?
}
success_status() {
success
echo
}
failure_status() {
failure $?
echo
}
fi
success () {
echo " [OK]"
}
failure () {
echo " [FAILED]"
}
# Source configuration
[ -f "$CONFIGURATION" ] && . "$CONFIGURATION"
init_status
#
# if_fail()
#
# Evaluates return codes. If 0, prints "OK", if 1, prints "Failed"
# and exits. If 2, status is "already done" and nothing is printed.
# The rest of the functions in here all honor this convention.
#
if_fail() {
RC="$1"
REASON="$2"
if [ "$RC" = "0" ]
then
return
elif [ "$RC" = "2" ]
then
return
fi
failure_status "${REASON}"
exit 1
}
#
# write_sysconfig()
#
# Writes the system configuration
#
write_sysconfig()
{
cat >"$CONFIGURATION" <<EOF
#This is a configuration file for automatic starting of the Oracle
#Database and listener at system startup.It is generated By running
#'/etc/init.d/oracle-xe configure'.Please use that method to modify this
#file
# ORACLE_DBENABLED:'true' means to load the Database at system boot.
ORACLE_DBENABLED=${ORACLE_DBENABLED:-false}
# LISTENER_PORT: Database listener
LISTENER_PORT=${LISTENER_PORT}
# HTTP_PORT : HTTP port for Oracle Application Express
HTTP_PORT=${HTTP_PORT}
# Configuration : Check whether configure has been done or not
CONFIGURE_RUN=${CONFIGURE_RUN}
EOF
if [ $? != 0 ]
then
return 1
fi
return 0
}
# configure_perform()
#
# Instantantiate listener.ora,tnsnames.ora,and create the database,
# sets the password,start the listener,and adds database to inittab
# if necessary
configure_perform() {
sed -i "s/%sga_target%/$SGA_SIZE/g" $ORACLE_HOME/config/scripts/init.ora
sed -i "s/%pga_aggregate_target%/$PGA_SIZE/g" $ORACLE_HOME/config/scripts/init.ora
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/init.ora
sed -i "s/%sga_target%/$SGA_SIZE/g" $ORACLE_HOME/config/scripts/initXETemp.ora
sed -i "s/%pga_aggregate_target%/$PGA_SIZE/g" $ORACLE_HOME/config/scripts/initXETemp.ora
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/initXETemp.ora
sed -i "s/%hostname%/`hostname`/g" $ORACLE_HOME/network/admin/listener.ora
sed -i "s/%port%/$LISTENER_PORT/g" $ORACLE_HOME/network/admin/listener.ora
/bin/chown oracle:dba $ORACLE_HOME/network/admin/listener.ora
sed -i "s/%hostname%/`hostname`/g" $ORACLE_HOME/network/admin/tnsnames.ora
sed -i "s/%port%/$LISTENER_PORT/g" $ORACLE_HOME/network/admin/tnsnames.ora
/bin/chown oracle:dba $ORACLE_HOME/network/admin/tnsnames.ora
sed -i "s/%httpport%/$HTTP_PORT/g" $ORACLE_HOME/config/scripts/postDBCreation.sql
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/postDBCreation.sql
if test $LISTENER_PORT -ne 1521
then
if [ -f /tmp/local_listener ]
then
cat >/tmp/local_listener$$ <<EOF
###########################################
# Registration of instance with listsner
###########################################
local_listener="(ADDRESS = (PROTOCOL=TCP) (HOST=%hostname%) (PORT=%port%))"
EOF
/bin/chmod 664 /tmp/local_listener$$
cat /tmp/local_listener$$ >> $ORACLE_HOME/config/scripts/init.ora
else
cat >/tmp/local_listener <<EOF
###########################################
# Registration of instance with listsner
###########################################
local_listener="(ADDRESS = (PROTOCOL=TCP) (HOST=%hostname%) (PORT=%port%))"
EOF
/bin/chmod 664 /tmp/local_listener
cat /tmp/local_listener >> $ORACLE_HOME/config/scripts/init.ora
fi
if test -f /tmp/local_listener
then
rm -fr /tmp/local_listener
elif test -f /tmp/local_listener$$
then
rm -fr /tmp/local_listener$$
fi
sed -i "s/%port%/$LISTENER_PORT/g" $ORACLE_HOME/config/scripts/init.ora
sed -i "s/%hostname%/`hostname`/g" $ORACLE_HOME/config/scripts/init.ora
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/init.ora
fi
sed -i "s/%httpport%/$HTTP_PORT/g" $ORACLE_HOME/config/scripts/DatabaseHomePage.sh
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/DatabaseHomePage.sh
sed -i "s/%httpport%/$HTTP_PORT/g" $ORACLE_HOME/config/scripts/readonlinehelp.sh
/bin/chown oracle:dba $ORACLE_HOME/config/scripts/readonlinehelp.sh
homedir=`echo $HOME`
if [ "$homedir" = "/root" ]
then
homedir=`sh -c "echo ~$USER"`
fi
if [ -f $homedir/.gnome-desktop/oraclexe-gettingstarteddesktop.desktop ]
then
/bin/chown oracle:dba $homedir/.gnome-desktop/oraclexe-gettingstarteddesktop.desktop
/bin/chmod 664 $homedir/.gnome-desktop/oraclexe-gettingstarteddesktop.desktop
fi
if [ -f $homedir/Desktop/oraclexe-gettingstarteddesktop.desktop ]
then
/bin/chown oracle:dba $homedir/Desktop/oraclexe-gettingstarteddesktop.desktop
/bin/chmod 664 $homedir/Desktop/oraclexe-gettingstarteddesktop.desktop
fi
if [ -f $ORACLE_HOME/bin/tnslsnr ]
then
echo -n "Starting Oracle Net Listener..."
$SU -s /bin/bash $ORACLE_OWNER -c "$LSNR start" ## > /dev/null 2>&1
echo "Done"
fi
echo -n "Configuring Database..."
$SU -s /bin/bash $ORACLE_OWNER -c "$ORACLE_HOME/config/scripts/XE.sh" ## > /dev/null 2>&1
err=`grep "ORA-44410" $ORACLE_HOME/config/log/*.log`
if test "$err" != ""
then
echo "Database Configuration failed. Look into $ORACLE_HOME/config/log for details"
exit 1
fi
echo alter user sys identified by \"$ORACLE_PASSWORD\"\; | $SU -s /bin/bash $ORACLE_OWNER -c "$SQLPLUS -s / as sysdba" ## > /dev/null 2>&1
echo alter user system identified by \"$ORACLE_PASSWORD\"\; | $SU -s /bin/bash $ORACLE_OWNER -c "$SQLPLUS -s / as sysdba" ## > /dev/null 2>&1
echo "Done"
/bin/chmod -R 640 /usr/lib/oracle/xe/oradata/XE
/bin/chmod 750 /usr/lib/oracle/xe/oradata/XE
rm -fr $ORACLE_HOME/config/seeddb
if [ -f /etc/oratab ]
then
echo "XE:$ORACLE_HOME:N" >> /etc/oratab
else
echo "XE:$ORACLE_HOME:N" >> /etc/oratab
/bin/chown oracle:dba /etc/oratab
/bin/chmod 644 /etc/oratab
fi
echo -n "Starting Oracle Database 10g Express Edition Instance..."
pmon=`ps -ef | egrep pmon_$ORACLE_SID'\>' | grep -v grep`
if [ "$pmon" = "" ];
then
$SU -s /bin/bash $ORACLE_OWNER -c "$SQLPLUS -s /nolog @$ORACLE_HOME/config/scripts/startdb.sql" ## > /dev/null 2>&1
fi
echo "Done"
echo "Installation Completed Successfully."
return 0
}
#
#configure_ask()
#
# Ask configuration questions,setting the variables.
#
configure_ask() {
cat <<EOF
Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
EOF
#get the http port value
while :
do
while [ 1 ]
do
echo -n Specify the HTTP port that will be used for Oracle Application Express [8080]:
read LINE
if [ -z $LINE ]
then
LINE=8080
fi
port=`netstat -n --tcp --listen | grep :$LINE | awk '{print $4}' | cut -d':' -f2`
if [ "$port" = "$LINE" ]
then
echo Port $port appears to be in use by another application.\
Please specify a different port.
else
break;
fi
done
case "$LINE" in
"")
break
;;
*[^0-9]*)
echo "Invalid http port: $LINE"
;;
*)
HTTP_PORT=$LINE
break
;;
esac
done
#get the listener port value
while :
do
echo
while [ 1 ]
do
echo -n Specify a port that will be used for the database listener [1521]:
read LINE
if [ -z $LINE ]
then
LINE=1521
fi
echo
port=`netstat -n --tcp --listen | grep :$LINE | awk '{print $4}' | cut -d':' -f2`
if [ "$port" = "$LINE" ]
then
echo Port $port appears to be in use by another application.\
Please specify a different port.
else
break;
fi
done
case "$LINE" in
"")
break
;;
*[^0-9]*)
echo "Invalid port: $LINE" >&2
;;
*)
if [ "$HTTP_PORT" != "$LINE" ]
then
LISTENER_PORT=$LINE
break
else
echo Database listener cannot be configured on the same port as Oracle Application Express.
fi
;;
esac
done
#get the sga size
while :
do
echo
while [ 1 ]
do
echo -n Specify your sga size [128M]:
read LINE
if [ -z $LINE ]
then
LINE="128M"
fi
break;
done
case "$LINE" in
"")
break
;;
*)
SGA_SIZE=$LINE
break
;;
esac
done
#get the pga_aggregate_target size
while :
do
echo
while [ 1 ]
do
echo -n Specify your pga size [96M]:
read LINE
if [ -z $LINE ]
then
LINE="96M"
fi
break;
done
case "$LINE" in
"")
break
;;
*)
PGA_SIZE=$LINE
break
;;
esac
done
#get the database password
while :
do
echo -n "Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:"
while [ 1 ]
do
/bin/stty -echo ## > /dev/null 2>&1
temp=`echo $IFS`
export IFS="\n"
while [ 1 ]
do
read LINE
while [ -z "$LINE" ]
do
echo
echo -n "Password can't be null. Enter password:"
read LINE
done
result=`expr index "$LINE" [\'\"]`
if [ $result != 0 ];
then
echo
echo -n "The password you entered contains invalid characters. Enter password:"
else
break
fi
done
echo
echo -n "Confirm the password:"
read LINE1
echo
if [ "$LINE" != "$LINE1" ];
then
echo
echo -n "Passwords do not match. Enter the password:"
else
break
fi
done
/bin/stty echo ## > /dev/null 2>&1
ORACLE_PASSWORD=$LINE
export IFS=$temp
break;
done
if [ "$ORACLE_DBENABLED" = "true" ]
then
CUR=y
else
CUR=n
fi
ORACLE_DBENABLED=true
}
configure() {
configure_ask
configure_perform
CONFIGURE_RUN=true
write_sysconfig
echo To access the Database Home Page go to \"http://127.0.0.1:$HTTP_PORT/apex\"
}
configureона ругаеться при выполнении Oracle Database 10g Express Edition Configuration ------------------------------------------------- This will configure on-boot properties of Oracle Database 10g Express Edition. The following questions will determine whether the database should be starting upon system boot, the ports it will use, and the passwords that will be used for database accounts. Press <Enter> to accept the defaults. Ctrl-C will abort. Specify the HTTP port that will be used for Oracle Application Express [8080]: Specify a port that will be used for the database listener [1521]: Specify your sga size [128M]: Specify your pga size [96M]: Specify a password to be used for database accounts. Note that the same password will be used for SYS and SYSTEM. Oracle recommends the use of different passwords for each database account. This can be done after initial configuration: Password can't be null. Enter password: Confirm the password: /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' /bin/chown: invalid user: `oracle:dba' Starting Oracle Net Listener.../bin/su: user oracle does not exist Done Configuring Database.../bin/su: user oracle does not exist grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory /bin/su: user oracle does not exist /bin/su: user oracle does not exist Done /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory Starting Oracle Database 10g Express Edition Instance.../bin/su: user oracle does not exist Done Installation Completed Successfully. /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/oraconfig.sh: line 97: /etc/sysconfig/oracle-xe: No such file or directory To access the Database Home Page go to "http://127.0.0.1:8080/apex" и на старт базы говорит что нет такой команды старт базы произвожу вот так sudo /etc/rc.d/oracle-xe start в чем моя ошибка? проверилвсе конфиги ои правельны тут бага быть не может в чем дело помогите умоляю !!! |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
Здравствуйте друзья У меня вот что тут решил поставить опенофис в терминале написал вот так sudo pacman -Syu go-openoffice но при запуске какого либо приложения из него не завершается успехом выводится только логотип пробигает загрузочная строка и все нового документа я не вижу пытался с аура качнуть то же самое происходит вопрос как быть Спасибо |
| saidmir |
|
|
Темы:
7
Сообщения:
23
Участник с: 30 ноября 2010
|
grunewald Ву-ха-ха понял почему так у меня на буке коре и7 а на десктопе далкоре и материнка друга слегка всеже нашелв сети недостающие файлы и собрал пакет oracle-xe-10.2.01-1-i686.pkg.tar.xz далее я думаю что нужен pacman -S oracle-xe Спасибо за поддержку и помощь |