Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

mysql initscript problems [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

mysql initscript problems [solved]

  • Quote

Post by slicedlime » Tue Jan 16, 2007 12:09 pm

Hi,

I'm trying to fix a system after a disk failure, and one part of that includes getting some old mysql databases back up and running. So I've used an old ebuild to install the old version of mysql, copied over the old start script (since it refused to start on the new one for some reason), started it up and dumped the relevant databases. So far, so good.

Now however, I unmerged the old mysql version, removed all the config files and start script, and re-merged the newest mysql version (5.0.26-r2). This left me with an installed mysql version, but no /etc/init.d/mysql file. Is this file not a part of the package? If so, where should I get it?
Last edited by slicedlime on Wed Jan 17, 2007 3:48 pm, edited 1 time in total.
Top
m_spidey
Guru
Guru
User avatar
Posts: 312
Joined: Mon Feb 28, 2005 10:42 pm
Location: Planetexpress Ship

  • Quote

Post by m_spidey » Tue Jan 16, 2007 12:13 pm

Just out of interest was there any config files which needed updating with `etc-update`

Also if you re-emerge the old version of mysql does it bring back the init-scripts?
Ronald McDonald -> The necessary Evil.
Top
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

  • Quote

Post by slicedlime » Tue Jan 16, 2007 12:29 pm

No config files needed upgrade after the move back to the new version, since I deleted all of them before re-merging it.

I'm not entirely sure about if it will bring the old script back, but I would assume that it wouldnt since I had to copy one in the first place.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Jan 16, 2007 12:30 pm

It might have been renamed. Check /etc/init.d for other scripts that seem mysql related, e.g.

Code: Select all

ls /etc/init.d/*mysql*
If that doesn't turn up anything make sure you don't have USE=minimal set in either make.conf or package.use.
Top
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

  • Quote

Post by slicedlime » Tue Jan 16, 2007 12:51 pm

Code: Select all

ls: cannot access /etc/init.d/*mysql*: No such file or directory
and no minimal set in USE flags.
Top
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

  • Quote

Post by slicedlime » Tue Jan 16, 2007 4:50 pm

Tried syncing to latest unstable as well, didn't help.
Top
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

  • Quote

Post by slicedlime » Wed Jan 17, 2007 7:34 am

Maybe someone could help me just by posting the contents of a /etc/init.d/mysql file? I dont really care what's the cause of the problems at this point, I just need that file :(
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Wed Jan 17, 2007 10:51 am

Taking another look at the eclass, do you have dev-db/mysql-init-scripts installed? (should have been installed as a dependency of mysql)
Anyway, for the initscripts and related files take a look here.
Top
slicedlime
n00b
n00b
Posts: 6
Joined: Tue Jan 16, 2007 10:18 am
Location: Stockholm

  • Quote

Post by slicedlime » Wed Jan 17, 2007 3:48 pm

According to portage, I did... but the files were missing. Remerging that package fixed it. Thanks alot :)
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic