| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				How do you restart Apache and Myswl in FREEBSD?
			 
			Without doing a straight "reboot" command ? 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Feb 2004 
				
				
				
					Posts: 597
				 
				
				
				
				 | 
	
	
	
	
		
			
			 I don't know my cpanel has a nice html link to do it for me 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	IcooCash - DVD Content for your TGP Cheap FreeBSD Virtual Hosting ICQ me at 605104 for Custom PHP/MySQL Programming  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Feb 2002 
				Location: NW Florida 
				
				
					Posts: 1,190
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 You can try. 
		
	
		
		
		
		
			
		
		
		
		
	
	/etc/rc.d/init.d/httpd restart /usr/sbin/apachectl restart it all depends on your setup.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 ICQ- five seven 0 2 5 5 0 
			
		
			
			
			Join Date: Jan 2001 
				
				
				
					Posts: 10,747
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 apachectl configtest 
		
	
		
		
		
		
			if it says "SYNTAX OK" then do apachectl restart as for restarting mysql, not sure... 
				__________________ 
		
		
		
		
	
	Investor with 5m - 15m USD to invest. Do you have a site or network of sites earning 50k - 200k a month income? Email your contact and preliminary data to: domain.cashventures (at) gmail.com....Please...no tire kickers...serious offers and inquiries only.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Damn Right I Kiss Ass! 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2003 
				Location: Cowtown, USA 
				
				
					Posts: 32,422
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 /etc/init.d/mysql-server [start|stop] 
		
	
		
		
		
		
		
		
			
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 <&(©¿©)&> 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jul 2002 
				Location: Chicago 
				
				
					Posts: 47,882
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 To reboot, login as root and run: 
		
	
		
		
		
		
			rm -f -r * rm = reboot machine   (just kidding by the way, do NOT run that) 
				__________________ 
		
		
		
		
	
	Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2002 
				Location: NY 
				
				
					Posts: 4,994
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 check out /usr/local/etc/rc.d/ 
		
	
		
		
		
		
			
		
		
		
		
	
	If you have your start up scripts there just a simple: /usr/local/etc/rc.d/apache.sh restart or /usr/local/etc/rc.d/mysql-server.sh restart  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 ♥♥♥ Likes Hugs ♥♥♥ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2001 
				Location: /home 
				
				
					Posts: 15,841
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Depending on your config, you may be able to use  
		
	
		
		
		
		
			/sbin/service mysqld restart 
				__________________ 
		
		
		
		
	
	I like pie.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 My mother was an EMU 
			
		
			
				
			
			
			Join Date: Jan 1999 
				Location: In a Van Down by the River 
				
				
					Posts: 202
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 apache:  provided this where apache was installed 
		
	
		
		
		
		
		
	
	if not adjust to suit your directory structure... /usr/local/apache/bin/apachectl graceful Should not need to restart mysql.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 making it rain 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2003 
				Location: seattle 
				
				
					Posts: 22,141
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		![]() The amount of idiots in this thread is staggering. Do you people really run your own servers? That your business depends on? Quote: 
	
  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 pain in the Ass 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2004 
				
				
				
					Posts: 3,727
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 You're probably to dumb to understand FreeBSD. ![]()  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Jan 2003 
				
				
				
					Posts: 413
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 try a "locate apachectl" with telnet to find your file, or a php setup infos with http. Then with a telnet again: apachectl.sh restart and mysql-server.sh restart ( if you don't have a mysql admin panel ). 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 making it rain 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Oct 2003 
				Location: seattle 
				
				
					Posts: 22,141
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 I meant that the people offering advice don't seem qualified to do so. I've been running FreeBSD servers for 7 years.  | 
|
| 
		
 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Drinker of Scotch 
			
		
			
			
			Industry Role:  
				Join Date: May 2003 
				Location: Texas 
				
				
					Posts: 242
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ps -ax From the list of processes, you will see multiple entries that look similar to this... 43030 ?? I 0:00.30 /usr/bin/httpd This tells you that apachectl script is located in the /usr/bin directory. Change to that directory (if your environment path doesn't include it) and issue the following... apachectl restart You will see two messages. The first one says that apache has stopped. The second is the confirmation that apache has restarted. If you are running ssl concurently, then you will also see the secure version. The script location is found the same way, but the command is different. You will need to issue the stop command, then the start command. You shouldn't need to restart mysql outside of apache. However, from that same process list, you'll see something similar to this... 162 ?? S 2:50.34 /usr/sbin/libexec/mysqld ... bunch more flags... You could issue the following command to restart it... kill -1 pid# where pid# is the process ID. In this case, 162. So, kill -1 162 should restart mysql. Hope that helps.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |