странно, но там такого файла ваще нету? может создать?))
Проблема с mysql+php в Сentos 5.4
shinobi-sk8,
Ни в коем разе! smile Хотя странно, судя по выводу команды locate он там есть... Можете прислать вывод содержимого каталога (команда ls)?
[root@Evil-Server1 init.d]# ls
acpid hidd network saslauthd
anacron hlds_runscript NetworkManager setroubleshoot
atd httpd nfs single
auditd ip6tables nfslock smartd
autofs ipmi nginx smb
avahi-daemon iptables nscd squid
avahi-dnsconfd irda ntpd sshd
bluetooth irqbalance oddjobd syslog
capi isdn pand tcsd
conman kdump pcscd tux
cpuspeed killall php-fpm vsftpd
crond krb524 portmap webmin
cups kudzu psacct winbind
cups-config-daemon lvm2-monitor rawdevices wpa_supplicant
dc_client mcstrans rdisc xfs
dc_server messagebus readahead_early xinetd
dnsmasq microcode_ctl readahead_later ypbind
dund multipathd restorecond yum-cron
functions named rpcgssd yum-updatesd
gpm netconsole rpcidmapd
haldaemon netfs rpcsvcgssd
halt netplugd rwhodshinobi-sk8,
Н-да... Посмотрите, есть ли такой файл: /usr/bin/mysqld_safe
есть файлы разные но mysqld_safe нету
сейчас напишу какие с mysql
mysql
mysql_config
mysql_find_rows
mysql_tableinfo
mysql_waitpid
mysqlaccess
mysqladmin
mysqlbinlog
mysqlcheck
mysqldump
mysqlimport
mysqlshow
попробуйте еще раз команду whereis mysqld и что она на этот раз покажет?
[root@Evil-Server1 ~]# whereis mysqld
mysqld:
[root@Evil-Server1 ~]# whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
shinobi-sk8,
Похоже, что-то во время инсталляции произошло. Не весь пакет установился (или не все снеслось при деинсталляции)
попробывать удалить и установить заного?
shinobi-sk8,
Ага
[root@Evil-Server1 ~]# yum install mysql
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* addons: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* base: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* epel: mirror01.th.ifl.net
* extras: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* updates: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
CentALT | 951 B 00:00
addons | 951 B 00:00
base | 1.1 kB 00:00
epel | 3.4 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_4.2 set to be updated
---> Package mysql.x86_64 0:5.0.91-1.el5 set to be updated
--> Processing Dependency: mysql-libs = 5.0.91-1.el5 for package: mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: mysql
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: mysql
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.0.91-1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql i386 5.0.77-4.el5_4.2 base 4.8 M
mysql x86_64 5.0.91-1.el5 CentALT 3.5 M
Installing for dependencies:
mysql-libs x86_64 5.0.91-1.el5 CentALT 1.8 M
Transaction Summary
================================================================================
Install 3 Package(s)
Upgrade 0 Package(s)
Total size: 10 M
Total download size: 4.8 M
Is this ok [y/N]: y
Downloading Packages:
mysql-5.0.77-4.el5_4.2.i386.rpm | 4.8 MB 00:23
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : mysql-libs 1/3
Installing : mysql 2/3
Installing : mysql 3/3
Installed:
mysql.i386 0:5.0.77-4.el5_4.2 mysql.x86_64 0:5.0.91-1.el5
Dependency Installed:
mysql-libs.x86_64 0:5.0.91-1.el5
Complete!
[root@Evil-Server1 ~]# service mysqld start
mysqld: нераспознанная служба
oO
или я туплю или линукс, одно из двух :lol:
shinobi-sk8,
Еще раз проверьте наличие где-либо mysqld
всё также((((
[root@Evil-Server1 ~]# whereis mysqld
mysqld:
[root@Evil-Server1 ~]# whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
жесть, на винде не было таких запар :rolleyes:
ls в каталоге /usr/bin/ и покажите все файлы что относятса к mysql. А также ls в каталогах /etc/init.d/ /etc/rc.d.
shinobi-sk8,
У меня в SuSE тоже таких запарок нет :) . А, может, существует вдобавок пакет mysqld ? Скажем, то, что Вы установили - это клиентская часть, а есть еще серверная
[root@Evil-Server1 bin]# cd ../
[root@Evil-Server1 usr]# cd ../
[root@Evil-Server1 /]# cd etc/init.d/
[root@Evil-Server1 init.d]# ls
acpid hidd network saslauthd
anacron hlds_runscript NetworkManager setroubleshoot
atd httpd nfs single
auditd ip6tables nfslock smartd
autofs ipmi nginx smb
avahi-daemon iptables nscd squid
avahi-dnsconfd irda ntpd sshd
bluetooth irqbalance oddjobd syslog
capi isdn pand tcsd
conman kdump pcscd tux
cpuspeed killall php-fpm vsftpd
crond krb524 portmap webmin
cups kudzu psacct winbind
cups-config-daemon lvm2-monitor rawdevices wpa_supplicant
dc_client mcstrans rdisc xfs
dc_server messagebus readahead_early xinetd
dnsmasq microcode_ctl readahead_later ypbind
dund multipathd restorecond yum-cron
functions named rpcgssd yum-updatesd
gpm netconsole rpcidmapd
haldaemon netfs rpcsvcgssd
halt netplugd rwhod
[root@Evil-Server1 init.d]# cd ../
[root@Evil-Server1 etc]# cd ../
[root@Evil-Server1 /]# cd /etc/rc.d
[root@Evil-Server1 rc.d]# ls
init.d rc0.d rc2.d rc4.d rc6.d rc.sysinit
rc rc1.d rc3.d rc5.d rc.local
в /usr/bin/ не хочет список полностью выводить или он большой оч =\
tclsh8.4
tdbbackup
tdbdump
tdbtool
tee
telnet
test
testlibraw
testparm
test-speech
tfmtodit
tgatoppm
tgz
themus-theme-applier
thinkjettopbm
thumbnail
tic
tiff2bw
tiff2pdf
tiff2ps
tiff2rgba
tiffcmp
tiffcp
tiffdiff
tiffdither
tiffdump
tifficc
tiffinfo
tiffmedian
tiffset
tiffsplit
tifftopnm
time
tload
toc2cddb
toc2cue
toe
top
tput
tr
tree
troff
tset
tsort
ttmkfdir
tty
type1afm
tzselect
ucs2any
udevinfo
udevtest
udffsck
ul
uncompress
unexpand
uniq
unix2dos
unix-lpr.sh
unprotoize
unzip
unzipsfx
updatedb
update-desktop-database
update-gdk-pixbuf-loaders
update-gtk-immodules
update-mime-database
uptime
urlgrabber
userformat
userinfo
usermount
userpasswd
users
utmpdump
uuidgen
uz
vbox
vboxbeep
vboxcnvt
vboxctrl
vboxmail
vboxmode
vboxplay
vboxtoau
vdir
vim
vimdiff
vimtutor
vino-preferences
vmstat
vncviewer
volname
w
wall
watch
wbinfo
wbmptopbm
wc
wftopfa
wget
whatis
whereis
which
whiptail
who
whoami
whois
winicontoppm
wmf2eps
wmf2fig
wmf2gd
wmf2svg
wmf2x
word-list-compress
write
wrjpgcom
wrudf
wtpt
wvdial
wvdialconf
X
x86_64
x86_64-redhat-linux-c++
x86_64-redhat-linux-g++
x86_64-redhat-linux-gcc
xargs
xauth
xbmtopbm
xcam
xcmsdb
xdelta
xdpyinfo
xdriinfo
xev
xfd
xfontsel
xfs
xgamma
xgettext
xglyph
xhost
ximtoppm
xinit
xkbbell
xkbcomp
xkbevd
xkbprint
xkbvleds
xkbwatch
xlsatoms
xlsclients
xlsfonts
xminicom
xmkmf
xml2po
xmlcatalog
xmllint
xmlproc_parse
xmlproc_val
xmlwf
xmodmap
Xnest
Xorg
xorg-x11-filesystem-upgrade
xpmtoppm
xprop
xrandr
xrdb
xrefresh
xsane
xsane-gimp
xset
xsetmode
xsetpointer
xsetroot
xsltproc
xsri
xstdcmap
xsubpp
xtrapchar
xtrapin
xtrapinfo
xtrapout
xtrapproto
xtrapreset
xtrapstats
xulrunner
xvidtune
xvinfo
xvminitoppm
xwdtopnm
xwininfo
xxd
ybmtopbm
yelp
yes
ypcat
ypchfn
ypchsh
ypmatch
yppasswd
ypwhich
yum
yuvsplittoppm
yuvtoppm
zcmp
zdiff
zegrep
zeisstopnm
zenity
zfgrep
zforce
zgrep
zip
zipcloak
zipgrep
zipinfo
zipnote
zipsplit
zless
zmore
znew
zsoelim
[root@Evil-Server1 bin]# yum install mysqld
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* addons: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* base: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* epel: [url=ftp://ftp.uni-koeln.de]ftp.uni-koeln.de[/url]
* extras: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
* updates: [url=ftp://ftp.cvut.cz]ftp.cvut.cz[/url]
Setting up Install Process
No package mysqld available.
Nothing to do
ужс)) ща попробуй через rpm -ivh поставить пакет с http://centos.alt.ru/repository/centos/5/x86_64/ мб поможет oO
Прочтите:
http://olemskoi.ru/node/3
посмотрел на [url]ftp://ftp.cvut.cz/centos/5/os/i386/CentOS/[/url] так попробуй доставить ещё пакеты
mysql-server-5.0.77-4.el5_4.2.i386.rpm, mysql-devel-5.0.77-4.el5_4.2.i386.rpm, mysql-bench-5.0.77-4.el5_4.2.i386.rpm
Пакет называется mysql-server
Я просил вывод всех файлов которые имеют в названиий часть mysql из каталога /usr/bin.
Пакет называется mysql-server
Именно я просто скопировал назвы пакетов.