How to start lighttpd and mysqld on bootup via systemd?

hello,
i can start them with "systemctl start lighttpd.service" and  "systemctl start mysqld.service" in terminal,
but if i try "systemctl enable lighttpd.service" or "systemctl enable mysqld.service" it says:
Failed to issue method call: No such file or directory
also i could not find any of this service files on my system to link them manually...
help  please!
ty, marijus

@65kid
thanks for the hint... now i understand
# systemctl status lighttpd.service
lighttpd.service
      Loaded: loaded (/etc/rc.d/lighttpd)
      Active: inactive (dead)
      CGroup: name=systemd:/system/lighttpd.service
# systemctl status mysqld.service
mysqld.service
      Loaded: loaded (/etc/rc.d/mysqld)
      Active: inactive (dead)
      CGroup: name=systemd:/system/mysqld.service
EDIT: ist there still a way to start during bootup?
Last edited by marijus (2012-04-17 17:03:43)

Similar Messages

  • How to start camera and set storing folder via command prompt

    Hello! I Have a windows 8 on my TAB. How I can run camera application and setup storing folder for photos via command prompt?

    This forum is for helping people in rewriting their working software to support more versions of Windows, not for help in using software (yes that includes using Microsoft's software like Windows and Office). 
    For help in using Windows, ask on answers.microsoft.com.
    Visual C++ MVP

  • How to start CRS and other services after rebooting nodes.

    Hi,
    i have created two node cluster database.how to start CRS and other service after rebooting nodes?
    Thanks,

    use crsctl command start...
    $ORA_CRS_HOME/bin/crsctl start crsOr check status about CLusterware...
    $ORA_CRS_HOME/bin/crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthyIf not OK... check log at $ORA_CRS_HOME/log/hostname/*
    and check status database , service and etc...
    use crs_stat
    $ORA_CRS_HOME/bin/crs_stat -t
    $ORA_CRS_HOME/bin/crs_stat if you find some service or instance ... not online...
    use srvctl command, help to start
    Get Help...
    $ORA_CRS_HOME/bin/srvctl -h

  • HT5569 previous owner isn't with how can start iphon5 and forget previous owner Apple ID ?

    previous owner isn't with how can start iphon5 and haw can forget previous owner Apple ID and how can I use my Apple ID ?

    If you know the previous owner contact them and have them follow the procedure given here:
    http://support.apple.com/kb/PH2702?viewlocale=en_US

  • How To Start Forms and Reports From Start Command

    Hi All,
    How to start Oracle Forms and Reports in Oracle8i My OS is Windows 2000.Please tell the procedure to get into forms and reports.
    Otherwise we have to install other software for Forms and Reports.
    Thanks
    Sujan

    Sujan,
    what does the database have to do with starting Forms and Reports ? If you are on Wondows2000 then navigate to the \bin directory if the Oracle Home you installed Oracle9iDS to. Type ifbld90 for Forms and rwbuilder for Reports design environment.
    If your ability to start Forms and Reports from the command line is your only exit criteria in evaluating software for a project , how far will you go with it?
    Frank

  • How to start, stop and restart task

    Hello Everyone,
    Need advice on what is the correct way to start, stop and restart a Java task?
    I have tried with Executors.newCachedThreadPool() or fixedThreadPool() however I was only able to submit the task once. My program crashed when i tried to resubmit the task again after a shutdownnow command()

    Tasks are designed to be run once. If you want restart functionality, use a service:
    http://docs.oracle.com/javafx/2/api/javafx/concurrent/Service.html
    The sample service I posted in the following thread demonstrates how to do this:
    Multithreading
    Use of Executors is not necessary as a Service encapsulates the execution thread management (though you can set your own executor on the service if you really needed it). All you need to do is make use of the service start, cancel, restart and reset methods as required. If you do use the cancel method, then you need to make sure that your service is properly interrupt aware for the cancel to function as you expect.

  • How to start Rescue and Recovery?

    How do you start Rescue and Recovery? I used to just press the Lenovo Care button and it came up. But now... there is a Startup Interrupt Menu. When the computer already booted, it won't allow me to start the thing up. All it says is that changing it could be bad and you shouldn't change it.

    probably you have changed drive D of the system that is the hidden partition on the hard disk  and is dependant to the lenovo onekey cause this is a part of D partition,and some patitioning and formatting may affect on this hidden partition and it causes to deformes lenovo rescue system.

  • How to start netmgr and xhost on linux Fedora Core 5

    Hi
    I have couple of questions.
    1. I am having problem in starting netmgr on my linux. I am getting following error.
    Exiting
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
    at oracle.sysman.emSDK.client.appContainer.WebApplication.<init>(WebApplication.java:752)
    at oracle.net.mgr.container.NetApplication.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2. How to start xhost . The error I am getting is ..
    xhost: unable to open display "xxx.xxx.xxx.xxx:0.0"
    Please help me.
    Thanks,

    Some tips, based on my experience:
    1) Avoid logging in a root, unless you want to allow your Linux machine to be insecure (at least as insecure as any Windows machine);
    2) Never run X11 as root, as X11 has some known insecurities. (X11 means gnome, KDE, and the other window managers.) It is failrly easy for bad gus to take over the machine when running X11 as root.;
    3) Normally log in as a regular user and su to root, not log in to root and su to a user.
    4) The xhost command needs to be run as the user that is running 'X11' because it tells the X program to allow requests from any user on the host specified. Running 'xhost +' means 'any host. Running xhost by rhe owner of the X11 process should be done before issuing the "export DISPLAY=:0.0" and running the request to use the X11 display (invoking the program);
    5) A quick way of checking whether the permissions are set up properly is to run 'xeyes' at the command line. It seems to be almost always installed and sets up faster than most Oracle programs. (Ctrl-C to exit xeyes.)

  • How to start SAP and oracle on SUN SOLARIS SYSTEM

    hi.
    Please suggest
    (Mistakenly we restarted the server when SAP is on and now SAP is not starting)
    1. How to start the SAP ECC6 in sun Solaris.(version 10)
    2.How to start the oracle in sun Solaris (version 10)
    We are trying with 
    sh startsap SID
    but it showing SAP SYSTEM NAME NOT FOUND
    Please suggest'
    Regards,

    Dear Ravindra,
    First start oracle :
    login as orasid and login to sqlplus "/as sysdba"
    and then startup and make sure that listener is up and running.
    For that you can lsnrctl status, if its not started just do lsnrctl start.
    After that login as sidadm and then startsap R3
    If still if you face any error like system name not found.
    then try as startsap R3 <hostname> or startsap SID <hostname>
    Defenitely it will resolves your issue.
    Thanks
    Kishore

  • How to start ClickStream and Install ClickStream crawler to the portal?

    As title
    Thank you!

    Sujan,
    what does the database have to do with starting Forms and Reports ? If you are on Wondows2000 then navigate to the \bin directory if the Oracle Home you installed Oracle9iDS to. Type ifbld90 for Forms and rwbuilder for Reports design environment.
    If your ability to start Forms and Reports from the command line is your only exit criteria in evaluating software for a project , how far will you go with it?
    Frank

  • How to start OLM and iLearning ?

    Hi, I am new in OLM and iLearning , can anybody tell me where should I start from and tell me the difference between these two modules
    Regards,

    Hi,
    Please refer to this document to know for the difference.
    Note: 387161.1 - What Are The Differences Between Learning Management And I-Learning?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=387161.1
    To start with these modules, see Oracle documentation.
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

  • How to start deadbeef and set rt priority at boot???

    Hi.
    I used this two commands to start Deadbeef ( the media player) and set it to real-time priority:
    $deadbeef
    $chrt -f -p 99 `pgrep deadbeef-main`
    Well, it works, but I want to do it at boot, like automatically start the application and automatically set it to realtime priority.
    I tried editing /home/<myuser>/.config/openbox/autostart and logged as my user (autologin at slim.conf) and the result is:
    WORKS --> $deadbeef
    DOESNT WORK -->$chrt -f -p 99 `pgrep deadbeef-main`
    I tried editing ~/.config/openbox/autostart and logged as root (autologin at slim.conf) and the result is:
    WORKS --> $deadbeef
    DOESNT WORK -->$chrt -f -p 99 `pgrep deadbeef-main`
    I tried editing /home/<myuser>/.bashrc and logged as my user (autologin at slim.conf) and the result is:
    WORKS --> $deadbeef
    DOESNT WORK -->$chrt -f -p 99 `pgrep deadbeef-main`
    I tried editing ~/.bashrc and logged as root (autologin at slim.conf) and the result is:
    WORKS --> $deadbeef
    WORKS -->$chrt -f -p 99 `pgrep deadbeef-main`
    So, the thing is, it works in the bashrc AND if I log in as root.
    Somehow I have to be logged as root to do the $chrt -f -p 99 `pgrep deadbeef-main`
    However, I would like it to be possible to start as I log in with my regular user.
    Any thoughts?
    Thanks in advance.

    Oh okay, that seems simple enough.  In your first post, you should change the $chrt lines to #chrt.  In bash $ represents a normal user, and # represents root.  So it appears in your first post that you are running chrt as a normal user here:
    I used this two commands to start Deadbeef ( the media player) and set it to real-time priority:
    $deadbeef
    $chrt -f -p 99 `pgrep deadbeef-main`
    I would just make the line in your autostart or whatever begin with sudo, and then use visudo to give NOPASSWD access to that one command.
    So simply do
    # EDITOR=<your_editor_choice_here> visudo
    Then scroll to the end and put something like
    %wheel ALL=(ALL) NOPASSWD: /usr/bin/chrt
    So now if you simply prepend sudo to your chrt command, it should not ask for a password for anybody who is within the wheel group.  You could also replace %wheel with you AndreProgressive (or whatever your username is).
    Edit: Oh yeah, and I mentioned "EDITOR=<editor> visudo" because otherwise you end up with vi.  So if vi is what you like, or something you are comfortable with, great, but just in case, I didn't want to give you a command that gets you stuck in an editor you don't know how to get out of.  Sadly, I have seen people reboot their computers because they haven't a clue how to exit vi[m].
    Last edited by WonderWoofy (2012-11-08 15:55:17)

  • How to start fresh and reinstall qmaster

    I had G5 with previous version of Qmaster and shake installed.
    I naively thought I could simply re-install Qmaster version 2.1 and then be able to add this G5 to my existing cluster.
    At first I got the error message
    Unable to start services because qmasterd is not running. Please consult your user's manual for more information.
    Lot of help my user manual was with that.
    trying to manually start/restart the service did no good.
    I then tried to clean out the old install and reinstall the software.
    In another article I found it suggested I clean out the pkg files and the Qmaster framework entries in /Library/Framework then reinstall.
    well I was able to reinstall Qmaster 2.1 and get it to start in the background via the commandline
    now if I try to open up the system preferences for Qmaster it crashes
    I can change some preferences via the commandline using qmasterprefs but I am unable to join it to my existing cluster nor do I want to in the existing state.
    can anyone lend some guidance in getting humpty dumpty back together again!

    HI foro-mark , just been watching this thread.
    I had this issue on our G5 QUAD suddenly from FCS 1 compressor (2) and could only finally resolve it by completely reinstalling the OS and the .apps.
    yes.. sounds harsh, but fruitless hours of messing around I finally resorted to it. I could perform QMASTER work on another STARTUP volume as a test BTW, so assumed some corruption of one of the component resources used by QMASTER task on production startup disk.
    It was clear that the addressing excetpion at x'00000000000....' was caused by a bad pointer form a register.... so data driven I expect becase by other system was ok.
    for more details and the sorrows and tears .. see my post at http://discussions.apple.com/message.jspa?messageID=4519684#4519684

  • How to start admin and manage server

    I can able to start admin server but I want to start admin & manage both the server . Please tell me the solution for this problem .
              

    Your managed Server must have a different listen Port than the admin
              instance.
              "prashant parab" <[email protected]> a écrit dans le message news:
              3bca85c2$[email protected]..
              > I can able to start admin server but I want to start admin & manage both
              the server . Please tell me the solution for this problem .
              

  • How can I store and share PDF files via iCloud?

    I am trying to use iCloud to store and share PDF files from my PC, iPad2 and iPhone 4S... They are supposedly supported. I can share .docs, .xls, etc.... However, I cannot figure out how to share a pdf!

    Welcome to the Apple Community.
    You can download an iWork document from iCloud as a PDF, but you can't share a PDF document with iWork apps on iOS devices.

Maybe you are looking for

  • How to restrict printing of once printed A/R Invoice

    Hi Experts, In India it is Legal requirement of Excise duty authority that once an A/R invoice is printed then it should not be allowed to print again. Is it possible in SAP Business One ? If not then anyone has idea how to do it? Any work around / s

  • Supplier Invoice details in MIRO

    Dear All, As per our client requirement, We have to capture Supplier invoice details(Bill rate, quantity & tax details) during MIRO. As we are using a workflow portal for processing vendor invoices, the person who is processing needs to capture the v

  • Move focus between elements of browser page doesn't work with JVM 1.6.x

    Hi, why JVM 1.6 doesn't support accessibility? with JVM 1.5_10 or above it's possible to move from elements of IE browser page with tab and enter and exit from applet with JVM 1.6 or using plugin 1.6 this is not more possible. with plugin 1.6 and JVM

  • Grant access

    Good day! Is it possible to access a table in system/manager by granting TYRES privileges? Grant select on EMPLOYEE_MSTR to tyres. Tyres is another user. I wanted to access all the tables stored in SYSTEM/MANAGER when I logged in as TYRES/TYRES. I am

  • Need Help!!! Cannot upgrade EFI firmware 1.5.1

    My Boot ROM Version is: MBP31.0070.B02 I followed every step and up to click the shut down button and i clicked it then received a message: "An unexpected error occurred (28 : 3). Your firmware can not be updated." Any ideas how to fix it? Thanks. PS