>Description:
After running the RPM installs the user/group mysql/mysql is not created and
neither is /var/lib/mysql directory. So when I attempt to start mysql daemon this
happens :
[root@dino masiak]# /sbin/service mysql start
[root@dino masiak]# touch: creating `/var/lib/mysql/dino.err': No such file or
directory
chown: `mysql': invalid user
Starting mysqld daemon with databases from /var/lib/mysql
/usr/bin/mysqld_safe: line 272: /var/lib/mysql/dino.err: No such file or directory
/usr/bin/mysqld_safe: line 278: /var/lib/mysql/dino.err: No such file or directory
tee: /var/lib/mysql/dino.err: No such file or directory
030219 01:45:06 mysqld ended
tee: /var/lib/mysql/dino.err: No such file or directory
>How-To-Repeat:
I tried to uninstall and install the RPM's again and no luck.
>Fix:
I suppose I can create the user/group and directory myslef, such as specified
in the binary installation.
>Submitter-Id: <submitter ID>
>Originator: Marcin Jekot
>Organization:
private
>MySQL support: none
>Synopsis: rpm install fails
>Severity: non-critical
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-4.0.10-gamma (Official MySQL RPM)
>C compiler: 2.95.3
>C++ compiler: 2.95.3
>Environment:
System: Linux dino 2.4.18-24.8.0 #1 Fri Jan 31 06:51:30 EST 2003 i686 i686 i386
GNU/Linux
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking
--host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='g++'
CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS='' ASFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 14 Nov 26 12:39 /lib/libc.so.6 ->
libc-2.2.93.so
-rwxr-xr-x 2 root root 1235468 Sep 6 00:12 /lib/libc-2.2.93.so
-rw-r--r-- 1 root root 2233342 Sep 5 23:59 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 5 23:50 /usr/lib/libc.so
Configure command: ./configure '--disable-shared' '--with-mysqld-ldflags=-all-static'
'--with-client-ldflags=-all-static' '--without-berkeley-db' '--with-innodb'
'--without-vio' '--without-openssl' '--enable-assembler' '--enable-local-infile'
'--with-mysqld-user=mysql' '--with-unix-socket-path=/var/lib/mysql/mysql.sock'
'--prefix=/' '--with-extra-charsets=complex' '--exec-prefix=/usr'
'--libexecdir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--localstatedir=/var/lib/mysql' '--infodir=/usr/share/info'
'--includedir=/usr/include' '--mandir=/usr/share/man' '--with-embedded-server'
'--enable-thread-safe-client' '--with-comment=Official MySQL RPM' 'CFLAGS=-O6
-fno-omit-frame-pointer -mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer
-felide-constructors -fno-exceptions -fno-rtti -mpentium'
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php