容器技术交流

 找回密码
 立即注册
查看: 14776|回复: 20

FAMP使用过程中的常见问题

[复制链接]
发表于 2009-5-7 09:11:15 | 显示全部楼层 |阅读模式
Q:怎么在FreeBSD上登陆mysql?
A:/usr/local/mysql/bin/mysql -u root -p

Q:出现下列字样
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
spawn-fcgi.c.127: bind failed: Address already in use
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
spawn-fcgi.c.197: child spawned successfully: PID: 8634
A:没有主机名,用127.0.0.1代替;httpd没有运行(因为apache在没有运行的情况下重启就会报这样的“错误”...并启动);所以,这些“错误”是正常的,请放心使用!
发表于 2009-5-7 14:10:02 | 显示全部楼层
怎样增加个单独的FTP帐号,给站上的人做FTP服务?
发表于 2009-5-7 14:13:01 | 显示全部楼层
还有个问题,如何指定主站点?
比如我有三个虚拟主机: a.com    b.com  c.com ,我想让 a.com成为默认主站点,在其他站无法访问(比如找不到文件等)时,自动指向a.com 避免流量丢失。
发表于 2009-5-12 01:41:12 | 显示全部楼层
可能你下载的不是最新的famp5.0.2
最新的没有这个问题
------------------------------------------------
原来装了早出的famp5.0.2 现在如何同步到最新的famp5.0.2 ?
不会要我重装把。好多配置手工修改了。
发表于 2009-5-18 02:17:59 | 显示全部楼层
这个安装后FB的 ports 都用不了了。比如我想装个 rsync  screen 都不行了,只有下源码手工安装了。

报下面的错误:
/usr/ports/net/rsync
www# make install
Makefile:33: *** missing separator.  Stop.

/usr/ports/sysutils/screen
make install
Makefile:31: *** missing separator.  Stop.

在另外一台没装FAMP的机器不存在这个问题。看了过Makefile 文件,是这两句:
.if !defined(NOPORTDOCS)
.include <bsd.port.pre.mk>

这些语句前面都有个点 .    ,是装了  FAMP 后就不支持了吗?
 楼主| 发表于 2009-5-18 06:36:00 | 显示全部楼层

回复 5# yzz163 的帖子

应该不是这个问题,因为FAMP没改动系统原文件啦
发表于 2009-5-21 09:50:17 | 显示全部楼层
我用APACHE重启出错。大家给看看,这是什么原因,那有问题?
www# /webserver-restart
httpd (no pid file) not running
spawn-fcgi.c.197: child spawned successfully: PID: 1093
[Thu May 21 17:34:11 2009] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
spawn-fcgi.c.127: bind failed: Address already in use
www#
 楼主| 发表于 2009-5-21 10:21:09 | 显示全部楼层

回复 7# looknm 的帖子

这个不是问题,请放心使用
发表于 2009-5-25 20:35:11 | 显示全部楼层
功能应该会尽快完善吧。
发表于 2009-6-27 14:59:13 | 显示全部楼层
我用FLASHXP登陆FTP的时候显示530错误。
发表于 2009-7-27 13:25:39 | 显示全部楼层
FreeBSD7.2最小化安装后,安装FAMP,登录后台,phpMyAdmin中删除root、famp以外账户,修改root密码之后无法登陆,日志显示:
090727 13:19:38 [ERROR] Invalid (old?) table or database name '.snap'

系统下ll /usr/local/mysql/var/
total 14
drwxrwxr-x  2 famp  famp   512 Jul 27 03:12 .snap
-rw-rw----  1 famp  famp  3483 Jul 27 13:06 as.test.comn.err
-rw-rw----  1 famp  famp     5 Jul 27 12:33 as.test.com.pid
drwx------  2 famp  famp   512 Jul 26 20:49 famp
drwx------  2 famp  famp  2048 Jul 26 20:14 mysql
drwx------  2 famp  famp   512 Jul 26 20:14 test

系统下/usr/local/mysql/bin/mysql -u root -p(使用刚修改的新密码)运行正常
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| #mysql50#.snap     |
| famp               |
| mysql              |
| test               |
+--------------------+
5 rows in set (0.00 sec)

.snap是咋回事?
发表于 2009-7-27 14:41:11 | 显示全部楼层
移除.snap,一切OK,那么.snap是怎样产生的呢?
发表于 2009-7-27 15:08:10 | 显示全部楼层
另外请教:怎么支持perl运行?(.pl或.cgi)有cgi-bin的设置吗?
发表于 2009-7-29 21:42:30 | 显示全部楼层
再请教:我想为apache增加mod_rewrite,如何处理?难道要重新编译apache吗?
 楼主| 发表于 2009-7-29 21:54:34 | 显示全部楼层
原帖由 maxhch 于 2009-7-29 21:42 发表
再请教:我想为apache增加mod_rewrite,如何处理?难道要重新编译apache吗?
改一下httpd.conf文件便可(编译时已经加了rewrite参数)
你搜一下:apache rewrite
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-11 09:56 , Processed in 0.032190 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表