| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 89576 | 2008-05-04 23:32:00 | Trying to add existing directories as SAMBA shares | chiefnz (545) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 665918 | 2008-05-04 23:32:00 | Hi guys, I have just installed Ubuntu Linux Server 8.0.4 LTS. Install was a breeze I have to say. I've been using a step by step guide to setup a server which I found on the net... you can see it HERE (jonpeck.blogspot.com) I am up to step 16, I get a reply back from the netstat command. I skipped step 17 and 18 as I'm not using TorrentFlux In step 20 I cannot access the hostname it gives me a 404 error. I can't seem to figure this out though... I have 2x 120GB SATA drives which I store my data on. I have specific folders setup on these hard drives. How do I get those folders setup in SAMBA so that the other computers on the network can access the shares. Can any one help please? Cheers, |
chiefnz (545) | ||
| 665919 | 2008-05-05 00:34:00 | Just to add I can actually see the Ubuntu box in the relevant workgroup in My Network Places under Windows Explorer. I shows Printers and Faxes when I double click on the Ubuntu machine which is displayed as quantum server (Samba, Ubuntu) (Quantum) I'm Googling to see if I can find any command line stuff I need to add the existign folders on the hard drive to SAMBA as shares. Cheers, |
chiefnz (545) | ||
| 665920 | 2008-05-05 00:39:00 | Have you restarted apache after installing phpmyadmin? You will either need to do this, or tell apache to reload its config. After doing this /phpmyadmin/ should work. For sharing existing folders, you'll need to define these in /etc/samba/smb.conf. |
Erayd (23) | ||
| 665921 | 2008-05-05 01:00:00 | Ok I used the following command to restart Apache /etc/init.d/apache2 restart This is the output from the command * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd (pid 4781?) not running apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs [fail] Where to from here? |
chiefnz (545) | ||
| 665922 | 2008-05-05 01:20:00 | This site may help (help.ubuntu.com) Troubleshooting If you get this error: apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName then use a text editor such as "sudo nano" at the command line or "gksudo gedit" on the desktop to edit /etc/apache2/httpd.conf and add ServerName localhost at the end of the file. Note: The Ubuntu/Debian setup uses config snippets in the /etc/apache2/conf.d directory rather than the httpd.conf file. Instead of using httpd.conf edit a new file /etc/apache2/conf.d/fqdn and add the line in there. |
Speedy Gonzales (78) | ||
| 665923 | 2008-05-05 02:03:00 | Thanks Speedy that has fixed the ServerName error message when Ubuntu starts up. I still can't access hostname ??? Also the httpd.conf file is empty with the exception of... "ServerName localhost" entry Cheers, |
chiefnz (545) | ||
| 665924 | 2008-05-05 02:38:00 | Would you have to do something similar to this ? (jonpeck.blogspot.com) | Speedy Gonzales (78) | ||
| 665925 | 2008-05-05 03:45:00 | That is the guide I'm using.. see reference in first post. Cheers, |
chiefnz (545) | ||
| 665926 | 2008-05-05 04:02:00 | Did you read the comments underneath on the site you posted?? Aha! I figured out what the problem was with phpmyadmin not working. It's in the installation... when you have the option of choosing DNS/LAMP packages, it's not enough to merely move the cursor to the LAMP box and hit "Enter." You have to hit the space bar while the cursor is on LAMP, so that the option actually gets selected for installation. |
Speedy Gonzales (78) | ||
| 665927 | 2008-05-05 05:30:00 | Yep I did that... I'm aware of the space bar action to put an "X" in the option you want. |
chiefnz (545) | ||
| 1 2 | |||||